CN115334343A - Method and device for controlling IPTV service - Google Patents

Method and device for controlling IPTV service Download PDF

Info

Publication number
CN115334343A
CN115334343A CN202210918526.2A CN202210918526A CN115334343A CN 115334343 A CN115334343 A CN 115334343A CN 202210918526 A CN202210918526 A CN 202210918526A CN 115334343 A CN115334343 A CN 115334343A
Authority
CN
China
Prior art keywords
iptv service
key value
television system
intelligent television
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210918526.2A
Other languages
Chinese (zh)
Inventor
诸亮
袁文利
卢强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202210918526.2A priority Critical patent/CN115334343A/en
Publication of CN115334343A publication Critical patent/CN115334343A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/4221Dedicated function buttons, e.g. for the control of an EPG, subtitles, aspect ratio, picture-in-picture or teletext
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the invention provides a method and a device for controlling an IPTV service, wherein the method comprises the following steps: when a first operating instruction sent by a remote controller matched with the intelligent television system is received, intercepting the first operating instruction by an application program aiming at an IPTV service in the intelligent television system; converting the first operation instruction by an application program aiming at the IPTV service in the intelligent television system according to a preset mapping relation to obtain a second control instruction; and controlling the IPTV service through the second control instruction. According to the embodiment of the invention, the remote controller instruction matched with the intelligent television system is converted into the control instruction aiming at the IPTV service, so that the error of the IPTV service caused by the incapability of capturing due to the key operation of the remote controller is avoided, and the quality of the IPTV service based on the intelligent television system is improved.

Description

IPTV service control method and device
Technical Field
The present invention relates to the internet field, and in particular, to a method and an apparatus for controlling an IPTV service.
Background
For an IPTV (interactive network television), a set-top box is a main carrying device and system for operation, but as the operation time goes on, some set-top box devices cannot be updated in time, which seriously affects the application of a new operation mode, and as the smart television terminals such as Android and the like rise and performance improve, it becomes possible to migrate an IPTV service to a smart television system.
However, in the IPTV service based on the smart television system, when the IPTV service is controlled by the remote controller configured to the smart television system, there may be a situation that key operations such as returning and ending video playing cannot be captured, which may cause an error report, abnormal rendering or no response to the IPTV service, thereby causing a serious decrease in the experience of using the IPTV service.
Disclosure of Invention
In view of the above problems, it is proposed to provide a method and apparatus for controlling an IPTV service that overcomes or at least partially solves the above problems, including:
a method for controlling IPTV service, the method comprising:
when a first operation instruction sent by a remote controller matched with the intelligent television system is received, intercepting the first operation instruction by an application program aiming at an IPTV service in the intelligent television system;
converting the first operation instruction by an application program aiming at the IPTV service in the intelligent television system according to a preset mapping relation to obtain a second control instruction;
and controlling the IPTV service through the second control instruction.
Optionally, the converting, by the application program for the IPTV service in the smart television system according to the preset mapping relationship, the first operation instruction to obtain a second control instruction includes:
converting a first key value in the first operation instruction into a second key value by an application program aiming at the IPTV service in the intelligent television system according to a preset mapping relation;
and generating a second control instruction according to the second key value.
Optionally, before the converting, by the application program for the IPTV service in the smart television system according to the preset mapping relationship, the first key value in the first operation instruction into the second key value, the method further includes:
judging whether a first key value in the first operation instruction is a designated key value;
and when the first key value is the designated key value, the first key value in the first operation instruction is converted into a second key value by an application program aiming at the IPTV service in the intelligent television system according to the preset mapping relation.
Optionally, the designated key value is a key value used for return control or video playing completion control in the smart television system.
Optionally, the controlling the IPTV service through the second control instruction includes:
sending the second control instruction to a browser inner core of an electronic program guide system in the IPTV service by an application program aiming at the IPTV service in the intelligent television system;
and converting a second key value in the second control instruction into a standard format by a browser inner core aiming at an electronic program guide system in the IPTV service, and generating a target event according to the second key value converted into the standard format so as to control the IPTV service through the target event.
Optionally, the target event is an onkeydown event.
Optionally, the smart television system is an Android-based smart television system.
An apparatus for controlling an IPTV service, the apparatus comprising:
the instruction intercepting module is used for intercepting a first operation instruction by an application program aiming at an IPTV service in the intelligent television system when the first operation instruction sent by a remote controller matched with the intelligent television system is received;
the instruction conversion module is used for converting the first operation instruction by an application program aiming at the IPTV service in the intelligent television system according to a preset mapping relation to obtain a second control instruction;
and the control module is used for controlling the IPTV service through the second control instruction.
An electronic device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, the computer program, when executed by the processor, implementing the control method of the IPTV service as above.
A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements a control method of an IPTV service as above.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, when a first operation instruction sent by a remote controller matched with an intelligent television system is received, the first operation instruction is intercepted by an application program aiming at an IPTV service in the intelligent television system, the first operation instruction is converted by the application program aiming at the IPTV service in the intelligent television system according to a preset mapping relation to obtain a second control instruction, and the IPTV service is controlled by the second control instruction, so that the conversion of the instruction of the remote controller matched with the intelligent television system into the control instruction aiming at the IPTV service is realized, the error of the IPTV service caused by the incapability of capturing the key operation of the remote controller is avoided, and the quality of the IPTV service based on the intelligent television system is improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the description of the present invention will be briefly introduced below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings may be obtained according to the drawings without inventive labor.
Fig. 1 is a flowchart illustrating steps of a method for controlling an IPTV service according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of another IPTV service control method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating steps of another IPTV service control method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an example of controlling an IPTV service according to an embodiment of the present invention;
fig. 5 is a schematic diagram of another example of controlling an IPTV service according to an embodiment of the present invention;
fig. 6 is a block diagram of a control device for an IPTV service according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
For the IPTV service, the rendering is implemented by an EPG (electronic Program Guide) system, the remote controller is an important element for operating and controlling the EPG, and the user can control an EPG page of the IPTV by key operations such as up, down, left, right, confirm, and return, so as to finally obtain the required service information. In the IPTV service based on the smart television system, in order to implement the control of the IPTV service by using the remote controller associated with the smart television system, the remote controller key processing is implemented by intercepting, processing, and forwarding the application program for the IPTV service in the smart television system.
Specifically, in the IPTV service based on the Android smart television system, key control is intercepted and issued by an Android underlying method dispatchkeyEvent, and is finally processed by several events such as onkeydown of a JavaScript script in an EPG browser kernel of the IPTV service.
However, events such as a return, an end of video playing, etc. that the remote controller key operation is onkeydown, etc. cannot capture, may cause error situations such as error reporting, rendering abnormality, no response, etc. to occur in the IPTV service, thereby causing a serious decline in the usage experience of the entire IPTV service.
Based on this, the embodiment of the present invention provides that a control event of a remote controller configured with an Android smart television system is intercepted by an application program for an IPTV service in the smart television system, then the intercepted key value is converted and issued to an EPG side of the IPTV service, the converted key value is reconstructed into a standard format in which the EPG can receive and execute in a browser kernel of the EPG, and finally service execution processing is completed in an onkeydown event of the EPG.
By the embodiment of the invention, the use experience of the whole IPTV service is improved, and the problems that the key control of returning, video playing ending and the like in a remote controller matched with an intelligent television system cannot be transmitted to the EPG browser kernel of the IPTV service and cannot be captured by events such as onkeydown and the like in the EPG browser kernel of the IPTV service are solved.
Specifically, on one hand, the control of special keys of the IPTV can be unified through intercepting, converting and then sending the control instruction of the remote controller by an application program aiming at the IPTV service in the intelligent television system, different key control is not needed to be realized aiming at different services, and abnormal operation or other EPG errors caused by personalized setting of different equipment during key operation are effectively avoided.
On the other hand, in the IPTV service based on the intelligent television system, the IPTV service is separated from the constraint of the set-top box and the set-top box remote controller, the IPTV is directly operated in the intelligent television system and is operated by the remote controller matched with the intelligent television system, the efficiency of smoothly transplanting the IPTV service from the set-top box to the intelligent television system is improved, EPG on the original IPTV service is not required to modify key control source code adaptation, the same experience as the IPTV service of the set-top box can be provided, the operation habit of old users of the original IPTV is reserved and supported, and the complexity of EPG transplantation is greatly reduced,
moreover, the unified encapsulation of key control can support different brands and different models of intelligent television systems, and the efficiency can be greatly improved in the later stage when the different intelligent television systems are adapted.
Further description is provided below:
referring to fig. 1, a flowchart illustrating steps of a method for controlling an IPTV service according to an embodiment of the present invention is shown, which may specifically include the following steps:
step 101, when a first operation instruction sent by a remote controller matched with the smart television system is received, intercepting the first operation instruction by an application program aiming at an IPTV service in the smart television system.
The intelligent television system can be an Android-based intelligent television system, the remote controller matched with the intelligent television system is a remote controller matched with the intelligent television terminal, the remote controller is different from the remote controller matched with the IPTV set-top box, for example, the key value settings of the keys such as return and video playing completion are different, and the EPG system of the IPTV service can only identify the key value of the remote controller matched with the IPTV set-top box.
For example, the key value of the return key in the remote controller matched with the smart television system is 04, and the key value of the return key in the remote controller matched with the IPTV set-top box is 08.
For another example, the key value of the video playing completion key in the remote controller configured for the smart television system is 123, and the key value of the video playing completion key in the remote controller configured for the IPTV set-top box is 768.
In the IPTV service based on the intelligent television system, the IPTV service can be separated from the constraint of the set top box and a set top box remote controller, and the IPTV service is directly operated in the intelligent television system and operated by the remote controller matched with the intelligent television system. Specifically, the smart television system may deploy an application program for the IPTV service, after the smart television system is started and the application program for the IPTV service is started, the application program for the IPTV service may perform initial registration on the smart television system, and after the initial registration is successful, the user may control the IPTV service through a remote controller associated with the smart television system.
After the smart television system receives a first operation instruction sent by a remote controller matched with the smart television system, the first operation instruction can be intercepted by an application program aiming at an IPTV service in the smart television system, for example, in an Android smart television system, the first operation instruction can be intercepted and received by a dispatckeyEvent method in the application program aiming at the IPTV service.
And step 102, converting the first operation instruction by an application program aiming at the IPTV service in the intelligent television system according to a preset mapping relation to obtain a second control instruction.
Because the remote controller matched with the intelligent television system and the remote controller matched with the IPTV set top box are different in key value setting of keys such as returning, video playing completion and the like, and the EPG system of the IPTV service only can identify the key value of the remote controller matched with the IPTV set top box, a mapping relation can be set in advance according to different key values for realizing the same function in the intelligent television system and the EPG system.
For example, if the key value of the return key in the remote controller matched with the intelligent television system is 04, and the key value of the return key in the remote controller matched with the IPTV set-top box is 08, the key value 04 in the intelligent television system is mapped to the key value 08 which can be identified by the EPG system.
For another example, if the key value of the video playing completion key in the remote controller matched with the intelligent television system is 123, and the key value of the video playing completion key in the remote controller matched with the IPTV set-top box is 768, the key value 123 in the intelligent television system is mapped to the key value 768 that can be identified by the EPG system.
After the first control instruction is intercepted, the first operation instruction can be converted by an application program aiming at the IPTV service in the smart television system according to the mapping relation, so as to obtain a second control instruction.
In an example, a first key value in an intercepted first control instruction may be temporarily stored, when key value conversion is required, a key value to be converted may be extracted from a temporary storage area for conversion, and the temporarily stored first key value is deleted in the temporary storage area after the conversion is successful.
In an embodiment of the present invention, step 102 may include:
converting a first key value in the first operation instruction into a second key value by an application program aiming at the IPTV service in the intelligent television system according to a preset mapping relation; and generating a second control instruction according to the second key value.
In specific implementation, a second key value mapped by a first key value of the first operation instruction can be searched, the second key value is a key value which can be identified by the EPG system, and then a second control instruction can be generated according to the converted second key value, that is, the smart television system is implemented by converting the physical remote controller key control into a virtual key control.
For example, the key value of the return key sent by the remote controller matched with the smart television system is 04, and the key value is converted into a key value 08 which can be identified by the EPG system. For another example, the key value of the video playing completion key sent by the remote controller associated with the smart television system is 123, which is converted into the key value 768 recognizable by the EPG system.
In an embodiment of the present invention, before the converting, by the application program for the IPTV service in the smart television system, the first key value in the first operation instruction into the second key value according to the preset mapping relationship, the method may further include:
judging whether a first key value in the first operation instruction is a designated key value; and when the first key value is the designated key value, executing the preset mapping relation, and converting the first key value in the first operation instruction into a second key value by an application program aiming at the IPTV service in the intelligent television system.
The designated key value can be a key value used for return control or video playing completion control in the smart television system.
Because part of key values in the intelligent television system can be identified by the EPG system, and not all key values need to be converted, whether the first key value in the first operation instruction is the designated key value or not can be judged, if the first key value is the designated key value, the key value conversion can be carried out, if the first key value is the non-designated key value, the key value conversion is not carried out, and the first operation instruction containing the key value is directly issued to the EPG system.
For example, the key value that needs to be repackaged may be locked by comparing the getKeyCode () specific key value in the argument KeyEvent object of the dispatckeyevent method.
And 103, controlling the IPTV service through the second control instruction.
After the second control instruction is obtained through conversion, the second control instruction can be issued to an EPG system in the IPTV service, and the IPTV service can be controlled through the second control instruction.
In an embodiment of the present invention, step 103 may include:
sending the second control instruction to a browser inner core of an electronic program guide system in the IPTV service by an application program aiming at the IPTV service in the intelligent television system; and converting a second key value in the second control instruction into a standard format by a browser core aiming at an electronic program guide system in the IPTV service, and generating a target event according to the second key value converted into the standard format so as to control the IPTV service through the target event.
In specific implementation, an application program for the IPTV service in the smart television system may send the second control instruction to a browser core for an EPG system in the IPTV service, and since the key value is only an identifier of the operation instruction, the browser core may reconstruct the second key value in the second control instruction into a standard format that can be processed by the EPG system, and then may package the second key value converted into the standard format into a target event, for example, the target event may be an onkeydown event, and then the target event is sent to an EPG page to complete execution.
In the embodiment of the invention, when a first operation instruction sent by a remote controller matched with an intelligent television system is received, the first operation instruction is intercepted by an application program aiming at an IPTV service in the intelligent television system, the first operation instruction is converted by the application program aiming at the IPTV service in the intelligent television system according to a preset mapping relation to obtain a second control instruction, and the IPTV service is controlled by the second control instruction, so that the conversion of the instruction of the remote controller matched with the intelligent television system into the control instruction aiming at the IPTV service is realized, the error of the IPTV service caused by the incapability of capturing the key operation of the remote controller is avoided, and the quality of the IPTV service based on the intelligent television system is improved.
Referring to fig. 2, a flowchart illustrating steps of another IPTV service control method according to an embodiment of the present invention is shown, which specifically includes the following steps:
step 201, when a first operation instruction sent by a remote controller matched with the smart television system is received, the first operation instruction is intercepted by an application program aiming at the IPTV service in the smart television system.
In the IPTV service based on the intelligent television system, the IPTV service can be separated from the constraint of the set top box and a set top box remote controller, and the IPTV service is directly operated in the intelligent television system and operated by the remote controller matched with the intelligent television system. Specifically, the smart television system may deploy an application program for the IPTV service, after the smart television system is started and the application program for the IPTV service is started, the application program for the IPTV service may perform initial registration on the smart television system, and after the initial registration is successful, the user may control the IPTV service through a remote controller associated with the smart television system.
After the smart television system receives a first operation instruction sent by a remote controller matched with the smart television system, the first operation instruction can be intercepted by an application program aiming at an IPTV service in the smart television system, for example, in an Android smart television system, the first operation instruction can be intercepted and received by a dispatckeyEvent method in the application program aiming at the IPTV service.
Step 202, determining whether the first key value in the first operation instruction is a designated key value.
The designated key value can be a key value used for return control or video playing completion control in the smart television system.
Because part of key values in the intelligent television system can be identified by the EPG system, and not all key values need to be converted, whether the first key value in the first operation instruction is the designated key value or not can be judged, if the first key value is the designated key value, the key value conversion can be carried out, if the first key value is the non-designated key value, the key value conversion is not carried out, and the first operation instruction containing the key value is directly issued to the EPG system.
For example, a key that needs to be repackaged may be locked by matching the getKeyCode () specific key in the KeyEvent object of the dispatckeyevent method.
Step 203, when the first key value is the designated key value, the first key value in the first operation instruction is converted into a second key value by an application program aiming at the IPTV service in the smart television system according to a preset mapping relation.
In a specific implementation, a second key value mapped by the first key value of the first operation instruction may be searched, where the second key value is a key value that can be identified by the EPG system.
For example, the key value of the return key sent by the remote controller matched with the smart television system is 04, and the key value is converted into a key value 08 which can be identified by the EPG system. For another example, the key value of the video playing completion key sent by the remote controller associated with the smart television system is 123, which is converted into the key value 768 recognizable by the EPG system.
And 204, generating a second control instruction according to the second key value.
After the second key value is obtained, a second control instruction can be generated according to the converted second key value, that is, the smart television system is realized by converting the key control of the physical remote controller into a virtual key control.
Step 205, controlling the IPTV service through the second control instruction.
After the second control instruction is obtained through conversion, the second control instruction can be issued to an EPG system in the IPTV service, and the IPTV service can be controlled through the second control instruction.
In the embodiment of the invention, when a first operation instruction sent by a remote controller matched with an intelligent television system is received, the first operation instruction is intercepted by an application program aiming at an IPTV service in the intelligent television system, whether the first key value in the first operation instruction is a designated key value is judged, when the first key value is the designated key value, the first key value in the first operation instruction is converted into a second key value by the application program aiming at the IPTV service in the intelligent television system according to a preset mapping relation, a second control instruction is generated according to the second key value, and the IPTV service is controlled by the second control instruction, so that the conversion of the application program aiming at the IPTV service in the intelligent television system to the control key value of the remote controller is realized, and errors caused by the fact that an IPTV service EPG system cannot realize the key value are avoided.
Referring to fig. 3, a flowchart illustrating steps of another method for controlling an IPTV service according to an embodiment of the present invention is shown, which specifically includes the following steps:
step 301, when a first operation instruction sent by a remote controller matched with the smart television system is received, intercepting the first operation instruction by an application program aiming at the IPTV service in the smart television system.
In the IPTV service based on the intelligent television system, the IPTV service can be separated from the constraint of the set top box and a set top box remote controller, and the IPTV service is directly operated in the intelligent television system and operated by the remote controller matched with the intelligent television system. Specifically, the smart television system may deploy an application program for the IPTV service, after the smart television system is started and the application program for the IPTV service is started, the application program for the IPTV service may perform initial registration on the smart television system, and after the initial registration is successful, the user may control the IPTV service through a remote controller associated with the smart television system.
After the smart television system receives a first operation instruction sent by a remote controller matched with the smart television system, the first operation instruction can be intercepted by an application program aiming at an IPTV service in the smart television system, for example, in an Android smart television system, the first operation instruction can be intercepted and received by a dispatckeyEvent method in the application program aiming at the IPTV service.
Step 302, according to a preset mapping relationship, an application program for the IPTV service in the smart television system converts the first key value in the first operation instruction into a second key value.
In a specific implementation, a second key value mapped by the first key value of the first operation instruction may be searched, where the second key value is a key value that can be identified by the EPG system.
For example, the key value of the return key sent by the remote controller matched with the smart television system is 04, and the key value is converted into a key value 08 which can be identified by the EPG system. For another example, the key value of the video playing completion key sent by the remote controller associated with the smart television system is 123, which is converted into the key value 768 recognizable by the EPG system.
Step 303, generating a second control instruction according to the second key value.
After the second key value is obtained, a second control instruction can be further generated according to the converted second key value, that is, the smart television system is realized by converting the key control of the physical remote controller into a virtual key control.
And step 304, sending the second control instruction to a browser kernel of an electronic program guide system in the IPTV service by an application program in the intelligent television system for the IPTV service.
In a specific implementation, the application program for the IPTV service in the smart television system may send the second control instruction to the browser kernel for the EPG system in the IPTV service.
Step 305, a browser kernel of an electronic program guide system in the IPTV service converts the second key value in the second control instruction into a standard format, and generates a target event according to the second key value converted into the standard format, so as to control the IPTV service through the target event.
Because the key value is only the identifier of the operation instruction, the browser kernel can reconstruct the second key value in the second control instruction into a standard format which can be processed by the EPG system, and then can encapsulate the second key value converted into the standard format into a target event, for example, the target event can be an onkeydown event, and then the target event is issued to the EPG page to complete execution.
In the embodiment of the invention, when a first operation instruction sent by a remote controller matched with an intelligent television system is received, the first operation instruction is intercepted by an application program aiming at an IPTV service in the intelligent television system, the first key value in the first operation instruction is converted into a second key value by the application program aiming at the IPTV service in the intelligent television system according to a preset mapping relation, a second control instruction is generated according to the second key value, the second control instruction is sent to a browser kernel aiming at an electronic program guide system in the IPTV service by the application program aiming at the IPTV service in the intelligent television system, the second key value in the second control instruction is converted into a standard format by the browser kernel aiming at the electronic program guide system in the IPTV service, a target event is generated according to the second key value converted into the standard format, the IPTV service is controlled through the target event, the converted key value is packaged into the event by the browser kernel aiming at the EPG system in the IPTV service, and further the control of an EPG page can be carried out.
The invention is illustrated below with reference to fig. 4 and 5:
as shown in fig. 4, an IPTV service in an Android smart television is described:
android intelligent television system starts → IPTV business APP is started, user state verification is completed, key control registration initialization → a user starts key control operation through an Android intelligent television remote controller → IPTV business APP intercepts system keys through a discrete KeyEvent method, corresponding key values are converted and then are sent to a browser kernel of the IPTV business EPG → the browser kernel of the IPTV business EPG receives the sent key values, onkeydown events are reconstructed, the converted key values conforming to EPG execution are packaged and executed → EPG pages finish business execution
As shown in fig. 5, the IPTV service in the Android smart television is described from three sides, namely, an Android smart television, an IPTV service APP, and an IPTV service EPG:
in the registration phase:
on the Android smart television system side: and starting the Android intelligent television system.
At the side of IPTV service APP: starting an IPTV service APP, judging whether the user state is effective, judging whether key control registration of the IPTV service APP is successful under the condition that the user state is effective, not performing initialization key control under the condition that registration is successful, and initiating key control initialization operation to an Android smart television system under the condition that no registration or registration is failed.
And returning a message to the IPTV service APP side after the successful registration at the Android intelligent television system side.
In the control phase:
on the Android smart television system side: and receiving a control instruction of the remote controller and initiating key operation control.
At the side of IPTV service APP: and converting the control instruction into a control instruction of a virtual key of the Android intelligent television system, and issuing the control instruction to the IPTV service EPG side after the control instruction is converted successfully.
In an IPTV service EPG: and reconstructing the issued control instruction into an EPG event onkeydown, controlling an EPG page through the onkeydown event, and returning an EPG execution virtual key control result to the IPTV service APP side.
At the side of IPTV service APP: and converting the received virtual key control result, and returning the converted result to the Android smart television system side.
It should be noted that for simplicity of description, the method embodiments are shown as a series of combinations of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 6, a schematic structural diagram of a control device for an IPTV service according to an embodiment of the present invention is shown, and the control device may specifically include the following modules:
the instruction intercepting module 601 is configured to intercept, when receiving a first operation instruction sent by a remote controller configured to the smart television system, the first operation instruction by an application program for the IPTV service in the smart television system.
An instruction conversion module 602, configured to convert, according to a preset mapping relationship, the first operation instruction by an application program for the IPTV service in the smart television system to obtain a second control instruction;
a control module 603, configured to control an IPTV service through the second control instruction in an embodiment of the present invention, the instruction converting module 602 includes:
the key value conversion sub-module is used for converting a first key value in the first operation instruction into a second key value by an application program aiming at the IPTV service in the intelligent television system according to a preset mapping relation;
and the key value generation instruction submodule is used for generating a second control instruction according to the second key value.
In an embodiment of the present invention, the method further includes:
the designated key value judging module is used for judging whether a first key value in the first operation instruction is a designated key value or not; and calling a key value conversion sub-module when the first key value is the designated key value.
In an embodiment of the present invention, the designated key value is a key value used for performing return control or video playing completion control in the smart television system.
In an embodiment of the present invention, the control module 603 includes:
the second control instruction sending submodule is used for sending the second control instruction to a browser inner core of an electronic program guide system in the IPTV service by an application program aiming at the IPTV service in the intelligent television system;
and the key value conversion sub-module is used for converting a second key value in the second control instruction into a standard format by a browser core aiming at an electronic program guide system in the IPTV service, and generating a target event according to the second key value converted into the standard format so as to control the IPTV service through the target event.
In an embodiment of the present invention, the target event is an onkeydown event.
In an embodiment of the present invention, the smart television system is an Android-based smart television system.
In the embodiment of the invention, when a first operation instruction sent by a remote controller matched with the intelligent television system is received, the first operation instruction is intercepted by an application program aiming at an IPTV service in the intelligent television system, the first operation instruction is converted by the application program aiming at the IPTV service in the intelligent television system according to a preset mapping relation to obtain a second control instruction, and the IPTV service is controlled by the second control instruction, so that the conversion of the instruction of the remote controller matched with the intelligent television system into the control instruction aiming at the IPTV service is realized, the error of the IPTV service caused by the incapability of capturing due to the key operation of the remote controller is avoided, and the quality of the IPTV service based on the intelligent television system is improved.
An embodiment of the present invention further provides an electronic device, which may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the method for controlling the IPTV service.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the above method for controlling an IPTV service.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "include", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method, article, or terminal device. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or terminal device that comprises the element.
The detailed description is given above to the method and apparatus for controlling an IPTV service, and a specific example is applied herein to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for controlling IPTV service, the method comprising:
when a first operation instruction sent by a remote controller matched with the intelligent television system is received, intercepting the first operation instruction by an application program aiming at an IPTV service in the intelligent television system;
converting the first operation instruction by an application program aiming at the IPTV service in the intelligent television system according to a preset mapping relation to obtain a second control instruction;
and controlling the IPTV service through the second control instruction.
2. The method according to claim 1, wherein the converting, by an application program for the IPTV service in the smart television system according to the preset mapping relationship, the first operation instruction to obtain a second control instruction includes:
converting a first key value in the first operation instruction into a second key value by an application program aiming at the IPTV service in the intelligent television system according to a preset mapping relation;
and generating a second control instruction according to the second key value.
3. The method according to claim 2, wherein before the converting, by the application program for the IPTV service in the smart television system according to the preset mapping relationship, the first key value in the first operation instruction into the second key value, the method further comprises:
judging whether a first key value in the first operation instruction is a designated key value;
and when the first key value is the designated key value, executing the preset mapping relation, and converting the first key value in the first operation instruction into a second key value by an application program aiming at the IPTV service in the intelligent television system.
4. The method according to claim 3, wherein the designated key value is a key value for performing return control or video playing completion control in the smart television system.
5. The method according to any of claims 2-4, wherein said controlling IPTV services by said second control instruction comprises:
sending the second control instruction to a browser inner core of an electronic program guide system in the IPTV service by an application program aiming at the IPTV service in the intelligent television system;
and converting a second key value in the second control instruction into a standard format by a browser inner core aiming at an electronic program guide system in the IPTV service, and generating a target event according to the second key value converted into the standard format so as to control the IPTV service through the target event.
6. The method of claim 5, wherein the target event is an onkeydown event.
7. The method according to claim 1, wherein the smart television system is an Android-based smart television system.
8. An apparatus for controlling an IPTV service, the apparatus comprising:
the instruction intercepting module is used for intercepting a first operation instruction aiming at an IPTV service by an application program in the intelligent television system when the first operation instruction sent by a remote controller matched with the intelligent television system is received;
the instruction conversion module is used for converting the first operation instruction by an application program aiming at the IPTV service in the intelligent television system according to a preset mapping relation to obtain a second control instruction;
and the control module is used for controlling the IPTV service through the second control instruction.
9. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing a method of controlling an IPTV service of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements a method of controlling an IPTV service of any of claims 1 to 7.
CN202210918526.2A 2022-08-01 2022-08-01 Method and device for controlling IPTV service Pending CN115334343A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210918526.2A CN115334343A (en) 2022-08-01 2022-08-01 Method and device for controlling IPTV service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210918526.2A CN115334343A (en) 2022-08-01 2022-08-01 Method and device for controlling IPTV service

Publications (1)

Publication Number Publication Date
CN115334343A true CN115334343A (en) 2022-11-11

Family

ID=83919985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210918526.2A Pending CN115334343A (en) 2022-08-01 2022-08-01 Method and device for controlling IPTV service

Country Status (1)

Country Link
CN (1) CN115334343A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629157A (en) * 2012-02-29 2012-08-08 深圳市茁壮网络股份有限公司 Message conversion method and device
CN104780430A (en) * 2015-03-19 2015-07-15 四川长虹电器股份有限公司 Interactive method of complete machine system and extended system in multisystem television equipment
CN105516765A (en) * 2014-09-25 2016-04-20 阿里巴巴集团控股有限公司 Button matching method and device and signal processing method and device of remote controller
CN105847922A (en) * 2016-04-01 2016-08-10 青岛海信电器股份有限公司 Intelligent television control method and intelligent television
WO2018113497A1 (en) * 2016-12-19 2018-06-28 深圳创维数字技术有限公司 Method and device adaptive to multiple remote controls
CN108347638A (en) * 2018-02-27 2018-07-31 烽火通信科技股份有限公司 A kind of button processing method and system of IPTV set top box browser
CN110609964A (en) * 2019-08-05 2019-12-24 烽火通信科技股份有限公司 IPTV browser page implementation method and IPTV browser
CN114489354A (en) * 2022-01-14 2022-05-13 深圳Tcl新技术有限公司 Key event processing method and device, storage medium and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629157A (en) * 2012-02-29 2012-08-08 深圳市茁壮网络股份有限公司 Message conversion method and device
CN105516765A (en) * 2014-09-25 2016-04-20 阿里巴巴集团控股有限公司 Button matching method and device and signal processing method and device of remote controller
CN104780430A (en) * 2015-03-19 2015-07-15 四川长虹电器股份有限公司 Interactive method of complete machine system and extended system in multisystem television equipment
CN105847922A (en) * 2016-04-01 2016-08-10 青岛海信电器股份有限公司 Intelligent television control method and intelligent television
WO2018113497A1 (en) * 2016-12-19 2018-06-28 深圳创维数字技术有限公司 Method and device adaptive to multiple remote controls
CN108347638A (en) * 2018-02-27 2018-07-31 烽火通信科技股份有限公司 A kind of button processing method and system of IPTV set top box browser
CN110609964A (en) * 2019-08-05 2019-12-24 烽火通信科技股份有限公司 IPTV browser page implementation method and IPTV browser
CN114489354A (en) * 2022-01-14 2022-05-13 深圳Tcl新技术有限公司 Key event processing method and device, storage medium and terminal

Similar Documents

Publication Publication Date Title
EP2963933A1 (en) Remote control processing method, apparatus and system
CN110149518A (en) Processing method, system, device, equipment and the storage medium of media data
CN101211349A (en) System for generating digital television startup page and its method
CN111443939A (en) Configuration method and device of software development kit and storage medium
CN107396188B (en) A kind of upgrade method and system of set-top box
WO2010020124A1 (en) Method, server and system for software installing
CN110750415B (en) Interface service configuration method, device, medium and computer equipment
CN104754062A (en) Internet based information popularization method, server and user terminal
EP3474559B1 (en) Smart-television playback method and apparatus
CN112953983A (en) SFTP transmission method and device
CN111858113A (en) Application program repairing method, device, service system and storage medium
EP3125541A1 (en) Data acquisition and interaction method, set top box, server and multimedia system
CN108881320B (en) Authentication processing method for user login, server and client
US11449324B2 (en) Automatic updating of an application executing on an application server
CN110806913A (en) Webpage screenshot method, device and equipment
CN106610845B (en) Information management method, device, server and system
CN115334343A (en) Method and device for controlling IPTV service
CN105549995A (en) Audio device upgrading method and apparatus
CN103024545A (en) Starting method of operating system of set-top box, set-top box and server
CN115412192A (en) Time synchronization method, device, equipment and medium for network television private network
CN111638652B (en) Device control method, system, device and readable storage medium
CN103870586B (en) Method and device for exporting data from website system
CN112422566A (en) Remote call processing method and device, storage medium and electronic device
CN113971051B (en) Plug-in based development method, device and storage medium
CN118194297B (en) Encryption upgrading method for robot servo assembly application program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination