The Java TV API is an application interface based on the Personal Java application environment. It is an extension of the Java platform for MHP terminals. It provides control over the unique functions of the MHP terminal, including access to the business information database, service selection, and media playback on the TV. Control and so on. The Java TV API is for terminal media and receiving functions, and does not include APIs common to other electronic devices. Since the Java TV API is a more abstract higher layer protocol that is independent of hardware and physical cable transport protocols, it can also be used in some existing standards. In addition, the lifecycle of various applications in MHP terminals is defined by the Xlet application model of the Java TV API. The Xlet runtime can request and release resources, display content access, discover and select services.