Terminal system and method for integrating EPG module in terminal system

By integrating terminal application modules, intermediate processing modules and EPG modules in the TV terminal system, and using the cross-domain communication framework, the problem that the terminal system cannot independently implement the set-top box function is solved, and the independence and flexibility of the terminal system are achieved.

CN114339322BActive Publication Date: 2025-04-18ZTE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011064770.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-30
Publication Date
2025-04-18
Estimated Expiration
2040-09-30

Smart Images

  • Figure CN114339322B_ABST
    Figure CN114339322B_ABST
Patent Text Reader

Abstract

The present application relates to the field of communication, and discloses a terminal system and a method for integrating an EPG module in the terminal system. The terminal system includes: a terminal application module, an intermediate processing module, and an electronic program guide EPG module in a different domain from the terminal application module; the intermediate processing module is used to load the EPG module based on a built-in framework supporting cross-domain communication, and display the EPG page provided by the loaded EPG module through a window provided by the terminal application module; the intermediate processing module is also used to map the first object required to be called during the operation of the EPG module to the local operating platform where the terminal application module is located, and obtain the second object corresponding to the first object supported by the local operating platform for the EPG module to call. The terminal system does not need to rely on a set-top box, and does not need to modify the EPG module, and the terminal system itself can realize the functions of the set-top box.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communications, and in particular to a terminal system and a method for integrating an EPG module into the terminal system. Background Art

[0002] Internet Protocol Television (IPTV) is a new technology that uses broadband cable TV networks and integrates multiple technologies such as the Internet, multimedia, and communications to provide home users with a variety of interactive services including digital television. Currently, the implementation of IPTV services on TV terminals depends on set-top boxes, which display the Electronic Program Guide (EPG) on the TV terminal in an intuitive form for users to choose from. After the user makes a choice, the IPTV service is presented on the TV terminal through the set-top box for users to watch.

[0003] Currently, TV terminals are gradually developing into smart TV terminals. Smart TV terminals can realize multiple functions such as downloading application software, multi-screen interaction, on-demand, etc. In terms of hardware, abandoning the original set-top boxes has become the development trend of smart TV terminals. Summary of the invention

[0004] The embodiment of the present application provides a terminal system and a method for integrating an EPG module in the terminal system, so that the terminal system itself can realize the functions of the set-top box without relying on a set-top box and without modifying the EPG module.

[0005] To achieve the above-mentioned purpose, an embodiment of the present application provides a terminal system, including: a terminal application module, an intermediate processing module, and an electronic program guide (EPG) module in a different domain from the terminal application module; the intermediate processing module is used to load the EPG module based on a built-in framework that supports cross-domain communication, and display the EPG page provided by the loaded EPG module through a window provided by the terminal application module; the intermediate processing module is also used to map a first object required to be called during the operation of the EPG module to a local operating platform where the terminal application module is located, and obtain a second object corresponding to the first object supported by the local operating platform for the EPG module to call.

[0006] To achieve the above-mentioned purpose, an embodiment of the present application also provides a method for integrating an EPG module in a terminal system, which is applied to an intermediate processing module in the terminal system, and the method includes: loading the EPG module based on a framework supporting cross-domain communication built into the intermediate processing module, and displaying the EPG page provided by the loaded EPG module through a window provided by a terminal application module in the terminal system; mapping a first object called during the operation of the EPG module to a local operating platform where the terminal application module is located, and obtaining a second object corresponding to the first object supported by the local operating platform for the EPG module to call.

[0007] The terminal system and the method for integrating the EPG module in the terminal system proposed in the present application integrate the terminal application module, the intermediate processing module, and the EPG module in a different domain from the terminal application module into the interior of the terminal system. The intermediate processing module is used to load the EPG module based on the built-in framework supporting cross-domain communication, and the EPG page provided by the loaded EPG module is displayed through the window provided by the terminal application module. Since the EPG module is loaded through the framework supporting cross-domain communication, cross-domain communication can be achieved between the terminal application module and the intermediate processing module and the EPG module. The intermediate processing module is also used to map the first object required to be called during the operation of the EPG module to the local operating platform where the terminal application module is located, and obtain the second object supported by the local operating platform and corresponding to the first object. In this way, the EPG module can call the second object of the local operating platform, and the relevant functions of the set-top box can be realized by using the second object of the local operating platform, that is, the terminal system does not need to rely on the set-top box, and does not need to modify the EPG module, and the terminal system itself can realize the functions of the set-top box. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 is a schematic diagram of the structure of the terminal system in the first embodiment of the present application;

[0009] Figure 2 It is a schematic diagram of cross-domain interaction between the terminal application module and the intermediate processing module in the first embodiment of the present application;

[0010] Figure 3 It is a schematic diagram of the interaction between the intermediate processing module and the IPTV platform in the second embodiment of the present application;

[0011] Figure 4 is a schematic diagram of the interaction between the terminal system and the IPTV platform in the second embodiment of the present application;

[0012] Figure 5 is a schematic diagram of the interaction between the EPG module and the IPTV platform in the third embodiment of the present application;

[0013] Figure 6is a schematic diagram of the interaction between the EPG module and the CDN platform in the fourth embodiment of the present application;

[0014] Figure 7 It is a schematic diagram of the interaction between the terminal system and the IPTV platform and the CDN platform in the fourth embodiment of the present application;

[0015] Figure 8 is a flowchart of a method for integrating an EPG module in a terminal system in a fifth embodiment of the present application;

[0016] Fig. 9 It is a schematic diagram of the structure of the server in the sixth embodiment of the present application. DETAILED DESCRIPTION

[0017] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the present application, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can also be implemented. The division of the following embodiments is for the convenience of description, and the specific implementation of the present application should not be construed as any limitation, and the various embodiments can be combined and referenced with each other under the premise of no contradiction.

[0018] The first embodiment of the present application relates to a terminal system, such as a smart TV terminal, etc., and the specific structural diagram is as follows Figure 1 As shown, it includes: a terminal application module 101, an intermediate processing module 102, and an electronic program guide EPG module 103 which is in a different domain from the terminal application module.

[0019] The intermediate processing module 102 is used to load the EPG module 103 based on the built-in framework supporting cross-domain communication, and display the EPG page provided by the loaded EPG module 103 through the window provided by the terminal application module 101 .

[0020] The intermediate processing module 102 is also used to map the first object required to be called by the EPG module 103 during operation to the local operating platform where the terminal application module 101 is located, and obtain the second object corresponding to the first object supported by the local operating platform for the EPG module 103 to call.

[0021] Specifically, when any one of the protocols, domain names, and port numbers of the URL of the current page and the requested page is different, it is cross-domain. The terminal application module 101 and the EPG module 103 in this application are in different domains, that is, at least one of the protocols, domain names, and port numbers of the URLs of the pages displayed by the terminal application module 101 and the EPG module 103 is different; and the intermediate processing module 102 has a built-in framework that supports cross-domain communication, and the built-in framework that supports cross-domain communication in the intermediate processing module 102 enables the terminal application module 101 and the EPG module 103 to interact across domains.

[0022] When the terminal application module 101 is opened by the user, the intermediate processing module 102 loads the EPG module 103 based on the built-in framework supporting cross-domain communication. At this time, the intermediate processing module 102 also displays the EPG page provided by the loaded EPG module 103 through the window provided by the terminal application module 101, so that the user can see the EPG page and select the electronic program on the EPG page, and the EPG module 103 can detect the selected electronic program.

[0023] The intermediate processing module 102 is also used to map the first object required to be called during the operation of the EPG module 103 to the local operating platform where the terminal application module 101 is located, and obtain the second object corresponding to the first object supported by the local operating platform for the EPG module 103 to call. Since the EPG module 103 is a module with the same function as the EPG module in the set-top box, when there is a set-top box on the terminal system, the EPG module operation can directly call the object in the set-top box, but there is no set-top box in the present application, then the EPG module 103 needs to call the object of the local operating platform where the terminal application module 101 is located, but the identifier of the object of the local operating platform where the terminal application module 101 is located may be inconsistent with the identifier of the object of the local operating platform where the terminal application module 101 is located, and the intermediate processing module 102 can map the first object required to be called during the operation of the EPG module to the local operating platform where the terminal application module 101 is located, and obtain the second object corresponding to the first object supported by the local operating platform for the EPG module to call, wherein the first object and the second object represent the same content, but the identifiers may be different. For example: the streaming media playback unit required to be called during the operation of the EPG module 103 is the first object "A", and the streaming media playback unit in the local operating platform where the terminal application module 101 is located is not represented by the first object "A" but by the second object "B". The intermediate processing module maps the first object "A" required to be called during the operation of the EPG module to the local operating platform where the terminal application module is located, and obtains the second object "B" corresponding to the first object supported by the local operating platform for the EPG module to call.

[0024] In one example, if the system type is a global wide area network web operating system, the intermediate processing module 102 is specifically used to load the EPG module 103 based on the built-in inline framework supporting cross-domain communication. If the local operating platform is an Android Anroid operating system, the intermediate processing module 102 is specifically used to load the EPG module 103 based on the built-in hybrid development framework supporting cross-domain communication. Specifically, since different system types use different programming languages, different frameworks frameset_builder need to be used to load the EPG module 103 for different system types, see Figure 2 , which is a schematic diagram of cross-domain interaction between the terminal application module and the intermediate processing module. The system type of the local operating platform may be a global wide area network web operating system or an Android system. The web operating system includes a Tizen system and a webOS system. When the local system is Tizen or webOS, the intermediate processing module loads the EPG module based on a built-in inline frame supporting cross-domain communication, that is, an inline frame is created by using an iframe tag to load the EPG module, and the EPG page provided by the loaded EPG module is displayed through the main window provided by the terminal application module, and at this time, the terminal application module and the intermediate processing module use an asynchronous communication postMessage method for cross-domain communication. When the local system is an Android system, the intermediate processing module loads the EPG module based on a built-in hybrid development framework supporting cross-domain communication, that is, a hybrid development framework is created by using WebView to load the EPG module, and the EPG page provided by the loaded EPG module is displayed through the main window provided by the terminal application module, and at this time, the terminal application module can call the method EPG method exposed to the terminal application module by the intermediate processing module, and the intermediate processing module can call the method androidObjmethod exposed to the intermediate processing module by the terminal application module, thereby realizing cross-domain communication between the terminal application module and the intermediate processing module. Due to the differences between different systems, different frameworks are used to load the EPG module for different systems to increase the possibility of successfully loading the EPG module.

[0025] In this embodiment, the terminal application module, the intermediate processing module, and the EPG module in a different domain from the terminal application module are integrated inside the terminal system. The intermediate processing module is used to load the EPG module based on the built-in framework supporting cross-domain communication, and the EPG page provided by the loaded EPG module is displayed through the window provided by the terminal application module. Since the EPG module is loaded through the framework supporting cross-domain communication, cross-domain communication can be achieved between the terminal application module, the intermediate processing module, and the EPG module. The intermediate processing module is also used to map the first object required to be called during the operation of the EPG module to the local operating platform where the terminal application module is located, and obtain the second object supported by the local operating platform and corresponding to the first object. In this way, the EPG module can call the second object of the local operating platform, and the relevant functions of the set-top box can be realized by using the second object of the local operating platform, that is, the terminal system does not need to rely on the set-top box, and there is no need to modify the EPG module. The terminal system itself can realize the functions of the set-top box.

[0026] The second embodiment of the present application relates to a terminal system. The second embodiment is substantially the same as the first embodiment, with the main difference being that the intermediate processing module 102 is specifically used to receive a loading request sent by the terminal application module 101 when the access address corresponding to the EPG module 103 is opened, load a login interface and display the login interface through a window provided by the terminal application module 101, and authenticate the login information input into the login interface. If it is determined that the login information authentication is successful, the EPG module 103 is loaded based on a built-in framework that supports cross-domain communication.

[0027] Specifically, when the terminal application module 101 is opened by the user, the terminal application module 101 can detect the instruction that the access address corresponding to the EPG module 103 is opened. At this time, the terminal application module 101 sends a loading request to the intermediate processing module 102. The intermediate processing module 102 loads the login interface and displays the login interface through the window provided by the terminal application module 101, so that the user can see the login interface. When the intermediate processing module 102 detects that the user enters the login information into the login interface, the login information entered into the login interface is authenticated. If the login information authentication is determined to be successful, the EPG module 103 is loaded based on the built-in framework supporting cross-domain communication, wherein the login information includes but is not limited to the account number, password, and verification code; the intermediate processing module 102 also displays the EPG page provided by the loaded EPG module 103 through the window provided by the terminal application module 101; the intermediate processing module 102 is also used to map the first object required to be called during the operation of the EPG module 103 to the local operating platform where the terminal application module 101 is located, and obtain the second object corresponding to the first object supported by the local operating platform for the EPG module 103 to call.

[0028] In one example, when the intermediate processing module 102 authenticates the login information input into the login interface, the intermediate processing module 102 is specifically used to send the login information to the interactive network television IPTV platform for authentication. If a response indicating that the login information authentication is passed is received from the IPTV platform, it is determined that the login information authentication is passed. Specifically, if Figure 3 As shown, it is a schematic diagram of the interaction between the intermediate processing module and the IPTV platform. The intermediate processing module sends the login information to the IPTV platform. After receiving the login information, the IPTV platform compares the login information with the locally stored login information. If the login information is stored locally, the IPTV platform sends a response to the intermediate processing module indicating that the login information authentication has passed. After receiving the response from the IPTV platform indicating that the login information authentication has passed, the intermediate processing module determines that the login information authentication has passed. The following will be specifically described in conjunction with a specific example, see Figure 4 , is a schematic diagram of the interaction between the terminal system and the IPTV platform. When the access address corresponding to the EPG module is opened, the terminal application module sends a loading request to the intermediate processing module. The intermediate processing module sends a request to the server 1 of the IPTV platform to enter the login interface as a visitor. The server 1 of the IPTV platform processes the business process B / S corresponding to the request. However, the load of server 1 is large. In order to balance the load, the IPTV platform sends the request to server 2, which processes the business process B / S corresponding to the request. When server 2 allows the login interface to be loaded, it sends a response allowing the login interface to be loaded to the intermediate processing module. The intermediate processing module loads the login interface and displays the login interface through the authentication window provided by the terminal application module. When it is detected that the user has entered the login information, the server 2 sends the login information to the intermediate processing module. When the information is input into the login interface, a request for authentication of the login information, namely the C / S login process, is sent to the IPTV platform. Server 1 of the IPTV platform processes the business process C / S corresponding to the request. However, the load of server 1 is relatively large. In order to balance the load, the IPTV platform sends the request to server 2, which processes the business process C / S corresponding to the request. Server 2 compares the login information with the locally stored login information. If the login information is stored locally, the IPTV platform sends an authentication response to the intermediate processing module, which can display the official login homepage. The intermediate processing module loads the EPG module based on the built-in framework that supports cross-domain communication, and displays the EPG page provided by the loaded EPG module through the main window provided by the terminal application module.

[0029] In one example, if the IPTV platform does not store the login information locally, the IPTV platform sends a response to the intermediate processing module that the login information authentication has not passed, and the intermediate processing module receives the response sent by the IPTV platform that the login information authentication has not passed, and determines that the login information authentication has not passed, then the EPG module is not loaded. In one example, if the IPTV platform does not store the login information locally, the IPTV platform does not send a response to the intermediate processing module, and the intermediate processing module does not receive a response for more than a preset time, and determines that the login information authentication has not passed, then the EPG module is not loaded; wherein the preset time can be set according to actual needs, and this embodiment does not make specific limitations. Through such a method, the login information can be authenticated on the IPTV platform, which can reduce the workload of the terminal system.

[0030] In one example, when the intermediate processing module authenticates the login information input into the login interface, the intermediate processing module is specifically used to compare the login information with the login information stored locally in the intermediate processing module. If the login information is stored locally in the intermediate processing module, it is determined that the login information authentication has passed; if the login information is not stored locally in the intermediate processing module, it is determined that the login information authentication has failed.

[0031] In one example, if the system type is a global wide area network web operating system, the intermediate processing module 102 is specifically used to load the EPG module 103 based on a built-in inline framework that supports cross-domain communication. If the local operating platform is an Android Anroid operating system, the intermediate processing module 102 is specifically used to load the EPG module 103 based on a built-in hybrid development framework that supports cross-domain communication. Specifically, the system type of the local operating platform may be a global wide area network web operating system, an Android Android system, and the web operating system includes a Tizen system and a webOS system. Due to differences between different systems, different frameworks are used to load the EPG module for different systems to increase the possibility of successfully loading the EPG module.

[0032] In this embodiment, the intermediate processing module can authenticate the login information, so as to determine whether to load the EPG module for the user corresponding to the login information, avoiding direct loading of the EPG module in all cases, and realizing loading the EPG module for authorized users.

[0033] The third embodiment of the present application relates to a terminal system, which is substantially the same as the second embodiment, with the main difference being that the EPG module is also used to obtain the playback address of the electronic program from the IPTV platform when it detects that an electronic program is selected, determine the first object required to be called in the content corresponding to the playback address when the EPG module runs the content, and obtain the second object corresponding to the first object from the intermediate processing module, and play the content corresponding to the playback address through the second object.

[0034] Specifically, when the terminal application module 101 is opened by the user, the terminal application module 101 can detect the instruction that the access address corresponding to the EPG module 103 is opened. At this time, the terminal application module 101 sends a loading request to the intermediate processing module 102. The intermediate processing module 102 loads the login interface and displays the login interface through the window provided by the terminal application module 101, so that the user can see the login interface. When the intermediate processing module 102 detects that the user enters the login information into the login interface, the login information entered into the login interface is authenticated. If it is determined that the login information authentication is passed, the EPG module 103 is loaded based on the built-in framework supporting cross-domain communication, wherein the login information includes but is not limited to the account number, password, and verification code; the intermediate processing module 102 also displays the EPG page provided by the loaded EPG module 103 through the window provided by the terminal application module 101, so that the user can see the EPG page and select the electronic program on the EPG page, and the EPG module 103 can detect the selected electronic program. When the EPG module 103 detects that an electronic program is selected, it obtains the playback address of the electronic program from the IPTV platform, determines the first object required to be called in the content corresponding to the playback address when the EPG module 103 runs the content, and sends the first object to the intermediate processing module 103. The intermediate processing module 103 maps the first object to the local operating platform where the terminal application module 101 is located. The intermediate processing module 103 obtains the second object corresponding to the first object supported by the local operating platform, and sends the second object corresponding to the first object to the EPG module 103. The EPG module 103 obtains the second object corresponding to the first object from the intermediate processing module 102, and plays the content corresponding to the playback address through the second object.

[0035] In one example, the EPG module 103 is specifically used to authenticate the electronic program. If the electronic program authentication is determined to be passed, the play address of the electronic program is obtained from the IPTV platform, the first object required to be called in the content corresponding to the play address is determined to be run by the EPG module 103, and the second object corresponding to the first object is obtained from the intermediate processing module, and the content corresponding to the play address is played through the second object. Through this method, the selected electronic program can be authenticated, so that it can be determined whether the selected electronic program is provided to the user corresponding to the login information, so as to provide the selected electronic program to the authorized user.

[0036] In one example, when the EPG module authenticates the electronic program, the EPG module is specifically used to send the electronic program to the IPTV platform for authentication. If a response indicating that the electronic program authentication is passed is received from the IPTV platform, it is determined that the electronic program authentication is passed. Specifically, Figure 5 As shown, it is a schematic diagram of the interaction between the EPG module and the IPTV platform. The EPG module sends the electronic program to the IPTV platform. After receiving the electronic program, the IPTV platform compares the selected electronic program corresponding to the login information with the electronic program supported by the locally stored login information. If the electronic program supported by the locally stored login information includes the selected electronic program, a response of passing the electronic program authentication is sent to the EPG module. After receiving the response of passing the electronic program authentication sent by the IPTV platform, the EPG module determines that the electronic program authentication is passed. In one example, if the electronic program supported by the locally stored login information of the IPTV platform does not include the selected electronic program, the IPTV platform sends a response of failing the electronic program authentication to the EPG module. The EPG module receives the response of failing the electronic program authentication sent by the IPTV platform and determines that the electronic program authentication is not passed. In one example, if the electronic programs supported by the locally stored login information of the IPTV platform do not include the selected electronic program, the IPTV platform does not send a response to the EPG module, and the EPG module does not receive a response for a preset time period, and determines that the electronic program authentication fails; wherein the preset time period can be set according to actual needs, and this embodiment does not make specific restrictions. Through such a method, the service request can be authenticated on the IPTV platform, which can reduce the workload of the terminal system.

[0037] In one example, when the EPG module authenticates an electronic program, the EPG module is specifically used to compare the electronic program with the electronic programs supported by the locally stored login information of the EPG module. If the electronic programs supported by the locally stored login information include the selected electronic program, it is determined that the electronic program authentication has passed; if the electronic programs supported by the locally stored login information do not include the selected electronic program, it is determined that the electronic program authentication has failed.

[0038] In one example, when the intermediate processing module 102 authenticates the login information input into the login interface, the intermediate processing module 102 is specifically used to send the login information to the interactive network television IPTV platform for authentication. If a response indicating that the login information authentication is successful is received from the IPTV platform, it is determined that the login information authentication is successful.

[0039] In one example, the intermediate processing module 102 is also used to receive the attribute information of the local operating platform sent by the terminal application module 101, and adjust the playback-related information of the electronic program according to the attribute information. Specifically, the attribute information of the local operating platform includes but is not limited to supported resolutions, supported channels, and system types. When the playback-related information of the electronic program is inconsistent with the attribute information of the local operating platform, the playback-related information of the electronic program is adjusted according to the attribute information of the local operating platform. For example: the resolution of the electronic program is set to 4K, but the resolution supported by the local operating platform is 1080P. At this time, the resolution of the electronic program needs to be adjusted to 1080P. Through such a method, the playback-related information of the selected electronic program can be adapted to the attribute information of the local operating platform, thereby increasing the possibility of successful playback.

[0040] In one example, if the system type is a global wide area network web operating system, the intermediate processing module 102 is specifically used to load the EPG module 103 based on a built-in inline framework that supports cross-domain communication. If the local operating platform is an Android Anroid operating system, the intermediate processing module 102 is specifically used to load the EPG module 103 based on a built-in hybrid development framework that supports cross-domain communication. Specifically, the system type of the local operating platform may be a global wide area network web operating system, an Android Android system, and the web operating system includes a Tizen system and a webOS system. Due to differences between different systems, different frameworks are used to load the EPG module for different systems to increase the possibility of successfully loading the EPG module.

[0041] In this embodiment, the EPG module can authenticate the selected electronic program, so as to determine whether to provide the selected electronic program to the user corresponding to the login information, thereby providing the selected electronic program to the authorized user.

[0042] The fourth embodiment of the present application relates to a terminal system. The fourth embodiment is substantially the same as the third embodiment, with the main difference being that if the content represented by the second object is a streaming media playback unit, the EPG module 103 is specifically used to send a request to a content distribution network CDN platform to obtain a stream slice corresponding to a playback address, and play the stream slice obtained from the CDN platform through the second object.

[0043] Specifically, when the terminal application module 101 is opened by the user, the terminal application module 101 can detect the instruction that the access address corresponding to the EPG module 103 is opened. At this time, the terminal application module 101 sends a loading request to the intermediate processing module 102. The intermediate processing module 102 loads the login interface and displays the login interface through the window provided by the terminal application module 101, so that the user can see the login interface. When the intermediate processing module 102 detects that the user enters the login information into the login interface, the login information entered into the login interface is authenticated. If it is determined that the login information authentication is passed, the EPG module 103 is loaded based on the built-in framework supporting cross-domain communication, wherein the login information includes but is not limited to the account number, password, and verification code; the intermediate processing module 102 also displays the EPG page provided by the loaded EPG module 103 through the window provided by the terminal application module 101, so that the user can see the EPG page and select the electronic program on the EPG page, and the EPG module 103 can detect the selected electronic program. When the EPG module 103 detects that an electronic program is selected, it obtains the playback address of the electronic program from the IPTV platform, determines the first object that needs to be called in the content corresponding to the playback address when the EPG module 103 runs, and sends the first object to the intermediate processing module 103. The intermediate processing module 103 maps the first object to the local operating platform where the terminal application module 101 is located. The intermediate processing module 103 obtains the second object corresponding to the first object supported by the local operating platform, and sends the second object corresponding to the first object to the EPG module 103. The EPG module 103 obtains the second object corresponding to the first object from the intermediate processing module 102. If the second object represents a streaming media playback unit, it means that the stream slice needs to be played through the streaming media playback unit at this time, and the EPG module 103 needs to obtain the stream slice from the content distribution network CDN platform. Figure 6 As shown, it is a schematic diagram of the interaction between the EPG module and the CDN platform. The EPG module sends a request to the CDN platform to obtain the stream slice corresponding to the playback address. After receiving the request, the CDN platform obtains the stream slice according to the playback address and sends the stream slice to the EPG module. The EPG module plays the stream slice through the second object representing the streaming media playback unit. In this way, the stream slice corresponding to the electronic program can be directly obtained from the CDN platform, reducing the workload of the terminal system.

[0044] The following will be explained in detail with specific examples, see Figure 7 , which is a schematic diagram of the interaction between the terminal system and the IPTV platform and CDN platform, including:

[0045] Step 201, the terminal application module sends a loading request to the intermediate processing module. Specifically, when the terminal application module 101 is opened by the user, the terminal application module 101 can detect the instruction that the access address corresponding to the EPG module 103 is opened, and at this time, the terminal application module 101 sends a loading request to the intermediate processing module 102, and the intermediate processing module 102 loads the login interface and displays the login interface through the window provided by the terminal application module 101, so that the user can see the login interface.

[0046] Step 202: When the intermediate processing module 102 detects that the user inputs login information into the login interface, the intermediate processing module sends the login information to the IPTV platform. Specifically, when the intermediate processing module 102 detects that the user inputs login information into the login interface, the intermediate processing module sends the login information to the IPTV platform.

[0047] Step 203, the IPTV platform sends a response to the intermediate processing module indicating that the login information has been authenticated. Specifically, after receiving the login information, the IPTV platform compares the login information with the locally stored login information. If the IPTV platform has the login information locally stored, the IPTV platform sends a response to the intermediate processing module indicating that the login information has been authenticated.

[0048] Step 204: The EPG module sends the electronic program to the IPTV platform. Specifically, when the EPG module detects that the electronic program is selected, the electronic program is sent to the IPTV platform for authentication.

[0049] Step 205, the IPTV platform sends a response to the EPG module indicating that the electronic program authentication has been passed. Specifically, after receiving the electronic program, the IPTV platform compares the selected electronic program corresponding to the login information with the electronic programs supported by the locally stored login information. If the electronic programs supported by the locally stored login information include the selected electronic program, the IPTV platform sends a response to the EPG module indicating that the electronic program authentication has been passed.

[0050] Step 206: The EPG module sends a request to the IPTV platform to obtain the play address of the electronic program.

[0051] Step 207: The IPTV platform sends the play address of the electronic program to the EPG module.

[0052] Step 208: The EPG module sends the first object required to be called in the content corresponding to the determined running and playing address to the intermediate processing module.

[0053] Step 209: the intermediate processing module sends the obtained second object supported by the local operating platform and corresponding to the first object to the EPG module.

[0054] Step 210: If the second object represents a streaming media playback unit, the EPG module sends a request to the CDN platform to obtain a stream segment corresponding to the playback address.

[0055] Step 211: The CDN platform sends the code stream slices to the EPG module.

[0056] In step 212, the EPG module sends the code stream slices to the streaming media playback unit, which plays the stream. In one example, the intermediate processing module 103 is also used to monitor the playback status of the streaming media playback unit in the intermediate processing module. Specifically, the playback status includes but is not limited to pause, fast forward, rewind, etc. Since the streaming media playback unit is inside the intermediate processing module, the intermediate processing module and the streaming media playback unit are in the same domain. When the playback status of the streaming media playback unit changes, there is no need to monitor the playback status across domains, which reduces performance consumption, and the intermediate processing module can also quickly obtain the information of the playback status change, so as to achieve the timeliness of monitoring the playback status.

[0057] In one example, the intermediate processing module 102 is further configured to receive attribute information of the local operating platform sent by the terminal application module 101, and adjust the playing-related information of the electronic program according to the attribute information.

[0058] In one example, if the system type is a global wide area network web operating system, the intermediate processing module 102 is specifically used to load the EPG module 103 based on a built-in inline framework that supports cross-domain communication. If the local operating platform is an Android Anroid operating system, the intermediate processing module 102 is specifically used to load the EPG module 103 based on a built-in hybrid development framework that supports cross-domain communication. Specifically, the system type of the local operating platform may be a global wide area network web operating system, an Android Android system, and the web operating system includes a Tizen system and a webOS system. Due to differences between different systems, different frameworks are used to load the EPG module for different systems to increase the possibility of successfully loading the EPG module.

[0059] It is worth mentioning that the modules involved in the above embodiments are all logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, the present embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in the above embodiments.

[0060] The fifth embodiment of the present application relates to a method for integrating an EPG module in a terminal system, which is applied to an intermediate processing module. Figure 8As shown, including:

[0061] Step 301 : Loading an EPG module based on the framework supporting cross-domain communication built in the intermediate processing module, and displaying an EPG page provided by the loaded EPG module through a window provided by a terminal application module in a terminal system.

[0062] Step 302, mapping the first object called during the operation of the EPG module to the local operating platform where the terminal application module is located, and obtaining a second object corresponding to the first object supported by the local operating platform for the EPG module to call.

[0063] The sixth embodiment of the present application relates to a server, which is applied to an intermediate processing module, such as Fig. 9 As shown, it includes at least one processor 402; and a memory 401 that is communicatively connected to the at least one processor; wherein the memory 401 stores instructions that can be executed by the at least one processor 402, and the instructions are executed by the at least one processor 402 so that the at least one processor 402 can execute an embodiment of the method for integrating an EPG module in the above-mentioned terminal system.

[0064] The memory 401 and the processor 402 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 402 and the memory 401 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 402 is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor 402.

[0065] The processor 402 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 401 can be used to store data used by the processor 402 when performing operations.

[0066] A seventh embodiment of the present invention relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.

[0067] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0068] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present invention, and that in actual applications, various changes may be made in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A terminal system, characterized in that: include: A terminal application module, an intermediate processing module, and an electronic program guide EPG module in a different domain from the terminal application module; The intermediate processing module is used to load the EPG module based on the built-in framework supporting cross-domain communication, and display the EPG page provided by the loaded EPG module through the window provided by the terminal application module; The intermediate processing module is also used to map the first object required to be called during the operation of the EPG module to the local operating platform where the terminal application module is located, and obtain a second object corresponding to the first object supported by the local operating platform for the EPG module to call; Among them, the intermediate processing module is specifically used to receive a loading request sent by the terminal application module when the access address corresponding to the EPG module is opened, load the login interface and display the login interface through the window provided by the terminal application module, and authenticate the login information input into the login interface. If it is determined that the login information authentication is passed, the EPG module is loaded based on the built-in framework that supports cross-domain communication.

2. The terminal system according to claim 1, characterized in that: The intermediate processing module is specifically used to send the login information to the interactive network television IPTV platform for authentication. If a response indicating that the login information authentication is successful is received from the IPTV platform, it is determined that the login information authentication is successful.

3. The terminal system according to claim 1 or 2, characterized in that: The EPG module is also used to obtain the playback address of the electronic program from the IPTV platform when it detects that an electronic program is selected, determine the first object required to be called in the content corresponding to the playback address when the EPG module runs the content, and obtain the second object corresponding to the first object from the intermediate processing module, and play the content corresponding to the playback address through the second object.

4. The terminal system according to claim 3, characterized in that: The EPG module is specifically used to authenticate the electronic program. If it is determined that the electronic program authentication has passed, the playback address of the electronic program is obtained from the IPTV platform, the first object required to be called in the content corresponding to the playback address is determined to be run by the EPG module, and the second object corresponding to the first object is obtained from the intermediate processing module, and the content corresponding to the playback address is played through the second object.

5. The terminal system according to claim 4, characterized in that: The EPG module is specifically used to send the electronic program to the IPTV platform for authentication. If a response indicating that the electronic program authentication has passed is received from the IPTV platform, it is determined that the electronic program authentication has passed.

6. The terminal system according to claim 3, characterized in that: The intermediate processing module is further used to receive the attribute information of the local operating platform sent by the terminal application module, and adjust the playing-related information of the electronic program according to the attribute information.

7. The terminal system according to claim 3, characterized in that: If the second object represents a streaming media playback unit, the EPG module is specifically used to send a request to the content distribution network CDN platform to obtain the code stream slice corresponding to the playback address, and play the code stream slice obtained from the CDN platform through the second object representing the streaming media playback unit.

8. The terminal system according to claim 7, characterized in that: The intermediate processing module is also used to monitor the playing status of the streaming media playing unit in the intermediate processing module.

9. The terminal system according to claim 1, characterized in that: If the system type is a global wide area network web operating system, the intermediate processing module is specifically used to load the EPG module based on a built-in inline framework that supports cross-domain communication; if the local operating platform is an Android operating system, the intermediate processing module is specifically used to load the EPG module based on a built-in hybrid development framework that supports cross-domain communication.

10. A method for integrating an EPG module in a terminal system, characterized in that: Applied to an intermediate processing module in a terminal system, the method comprises: Loading an EPG module based on a framework supporting cross-domain communication built into the intermediate processing module, and displaying an EPG page provided by the loaded EPG module through a window provided by a terminal application module in the terminal system; Mapping the first object called during the operation of the EPG module to the local operating platform where the terminal application module is located, and obtaining a second object corresponding to the first object supported by the local operating platform for the EPG module to call; Among them, the intermediate processing module is specifically used to receive a loading request sent by the terminal application module when the access address corresponding to the EPG module is opened, load the login interface and display the login interface through the window provided by the terminal application module, and authenticate the login information input into the login interface. If it is determined that the login information authentication is passed, the EPG module is loaded based on the built-in framework that supports cross-domain communication.

Citation Information

Patent Citations

  • Method for controlling interactive web TV business as well as equipment and system thereof

    CN101753976A

  • Redirecting method, system and terminal

    CN102244642A