CN112449223A - Control method of television external equipment, television and storage medium - Google Patents

Control method of television external equipment, television and storage medium Download PDF

Info

Publication number
CN112449223A
CN112449223A CN201910835858.2A CN201910835858A CN112449223A CN 112449223 A CN112449223 A CN 112449223A CN 201910835858 A CN201910835858 A CN 201910835858A CN 112449223 A CN112449223 A CN 112449223A
Authority
CN
China
Prior art keywords
key
television
instruction
key value
remote controller
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
CN201910835858.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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201910835858.2A priority Critical patent/CN112449223A/en
Publication of CN112449223A publication Critical patent/CN112449223A/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
    • 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/4104Peripherals receiving signals from specially adapted client devices
    • 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/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4135Peripherals receiving signals from specially adapted client devices external recorder

Abstract

The invention discloses a control method of external equipment of a television, the television and a storage medium, wherein the method comprises the following steps: if the key instruction meets the preset condition, acquiring a native key value in the key instruction, and converting the native key value into a target key value which can be identified by the television peripheral equipment, wherein the function of the target key value is the same as that of the native key value; and sending the target key value to the external television equipment to control the external television equipment. The key value of the key instruction sent by the television remote controller is converted into the target key value which can be identified by the television external equipment and is sent to the television external equipment, so that the television remote controller can directly operate the television external equipment.

Description

Control method of television external equipment, television and storage medium
Technical Field
The invention relates to the technical field of terminal equipment control, in particular to a control method of external equipment of a television, the television and a storage medium.
Background
Currently, many televisions support functions accessed by external devices, such as CEC (Consumer Electronics Control) devices, DVD devices and projector devices that are external to the televisions. In the prior art, although there is a function of directly controlling an external device of a television by using a television remote controller, only transmission of conventional keys is supported, such as pause, play, go-out, previous song, next song, stop, and the like, keys such as schedule (reservation list), PVRList (recording list), Sound (voice switch-overseas fast switch audio), and the like, are all keys that need to be set up in a customized manner, but are not native keys on the television remote controller (that is, the system is not a native key value of the system). That is to say, in the prior art, the external device of the television cannot be directly operated through the native key on the television remote controller, which brings inconvenience to the user.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The present invention provides a method for controlling an external device of a television, a television and a storage medium, aiming at solving the technical problem that the external device of the television cannot be directly operated by native keys on a television remote controller in the prior art.
The technical scheme adopted by the invention for solving the technical problem is as follows:
in a first aspect, an embodiment of the present invention provides a method for controlling a television external device, where the method includes:
when a key instruction sent by a television remote controller is received, judging whether the key instruction meets a preset condition or not;
if the key instruction meets the preset condition, acquiring a native key value in the key instruction, and converting the native key value into a target key value which can be identified by the television peripheral equipment, wherein the function of the target key value is the same as that of the native key value;
and sending the target key value to the external television equipment to control the external television equipment.
In one embodiment, the preset conditions are: the key instruction is a long-time pressing instruction;
or, the preset conditions are as follows: the key instruction comprises customized key request information, and the customized key request information is used for reflecting that the key instruction is used for controlling the television external equipment.
In an embodiment, when receiving a key instruction sent by a television remote controller, the determining whether the key instruction meets a preset condition includes:
acquiring the key instruction, and judging whether the key instruction is the preset instruction or not;
and if the key instruction is the preset instruction, judging that the key instruction meets a preset condition.
In an embodiment, when the preset instruction is a long press instruction, the determining whether the key instruction is a preset instruction manner includes:
acquiring signal data in the key instruction, and extracting the moment when the television remote controller starts to send signals and the moment when the television remote controller stops sending signals from the signal data;
acquiring the total time length of the signal transmitted by the television remote controller according to the time when the television remote controller starts to transmit the signal and the time when the television remote controller stops transmitting the signal, and comparing the total time length with the preset time length;
and if the total duration is greater than the preset duration, judging that the key instruction is a long-press instruction.
In an embodiment, when the preset condition is that the key instruction is a preset instruction, if the key instruction meets the preset condition, obtaining a native key value in the key instruction, and converting the native key value into a target key value that can be recognized by the television peripheral device, includes:
acquiring a standard protocol of the external equipment of the television, and acquiring a key value data conversion protocol table from the standard protocol, wherein the key value data conversion protocol table comprises key value conversion requirements among keys with the same function of different remote control equipment;
and converting the native key value in the key instruction into the target key value according to the key value data conversion protocol table.
In an embodiment, when the preset condition is that the key instruction includes customized key request information, and when the key instruction sent by a television remote controller is received, determining whether the key instruction meets the preset condition includes:
when a key instruction sent by a television remote controller is received, signal data in the key instruction is obtained;
and determining a customized key request identifier from the signal data, and identifying and confirming the customized key request identifier searched to confirm whether the customized key request information exists in the key instruction, wherein the customized key request information is used for reflecting that the key instruction is used for controlling the external equipment of the television.
In an embodiment, when the preset condition is that the key instruction includes customized key request information, if the key instruction meets the preset condition, obtaining a native key value in the key instruction, and converting the native key value into a target key value that can be recognized by the television external device, the method includes:
if the customized key request information exists in the key instruction, analyzing the key instruction to obtain a native key value in the key instruction;
acquiring a preset mapping relation table, and inquiring a target key value having a mapping relation with a native key on the television remote controller from the mapping relation table; the mapping relation table stores the corresponding relation of target keys which have the same functions with the original keys on the television remote controller on the television external equipment and target key values corresponding to the target keys;
and converting the native key value into the target key value according to the mapping relation table.
In one embodiment, the method further comprises:
and if the key instruction does not meet the preset condition, controlling the television according to a native key value in the key instruction.
In a second aspect, an embodiment of the present invention provides a television, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by one or more processors, where the one or more programs include steps for executing a method for controlling a television external device according to any one of the above descriptions.
In a third aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform any one of the above-mentioned steps of the method for controlling a television external device.
The invention has the beneficial effects that: according to the control method of the external television equipment, provided by the embodiment of the invention, the key instruction can be analyzed after the key instruction sent by the remote controller of the television is received, and when the key instruction meets the preset condition, the key instruction is considered to be used for controlling the external television equipment, so that a primary key value in the key instruction needs to be converted into a target key value which can be identified by the external television equipment, and the converted target key value is sent to the external television equipment. And because the function of the target key value is the same as that of the original key value, the external television equipment can execute corresponding operation after receiving the target key value, so that the external television equipment can be controlled through the original key on the television remote controller, a customized key is not required to be arranged on the television remote controller to specially operate the external television equipment, and convenience is provided for the use of a user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for controlling an external device of a television according to an embodiment of the present invention.
Fig. 2 is a flowchart of determining whether a key instruction is a long-press instruction in the method for controlling an external device of a television according to the embodiment of the present invention.
Fig. 3 is a flowchart illustrating determining whether a customized key request message exists in a key command in the method for controlling an external device of a television according to an embodiment of the present invention.
Fig. 4 is a flowchart of key value conversion when the key instruction is a long-press instruction in the control method of the external television device according to the embodiment of the present invention.
Fig. 5 is a flowchart of key value conversion when a key instruction indicates that customized key request information exists in the method for controlling the external device of the television according to the embodiment of the present invention.
Fig. 6 is a schematic block diagram of a television peripheral control system according to an embodiment of the present invention.
Fig. 7 is a functional block diagram of a television according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art, a television peripheral (e.g., a CEC device) basically has a dedicated remote controller, and when controlling the television peripheral, the dedicated remote controller corresponding to the television peripheral can be directly used to control the television peripheral. For example, the DVD device has a corresponding DVD remote controller, and when the DVD device is playing, the DVD device can be directly operated by using the DVD remote controller. However, when a user operates the external television equipment, the user needs to take the corresponding dedicated remote controller to realize the operation, which obviously brings inconvenience to the user. Although the existing tv remote controller can perform traditional operation control on the external device of the tv, such as pause, play, go out of the warehouse, previous song, next song, stop, etc., for some advanced key functions, such as Settings, PvrList, Guide, etc., some keys need to be customized on the tv remote controller to realize the control on the external device of the tv, and the corresponding menu needs to be called to perform operation using the customized keys during operation. Therefore, the existing motor remote controller can not use the native key (the key value of the key is the native key of the system) to realize the control of the external equipment of the television.
In order to solve the above problem, in the embodiments of the present invention, after receiving a key instruction of a television remote controller, analyzing the received key instruction and determining whether the key instruction meets a preset condition, where the preset condition is used to determine whether the key instruction is an instruction for operating an external device of a television, that is, to determine whether the key instruction sent by a user through the television remote controller is used to control the external device of the television or to control the television. Specifically, the preset conditions in this embodiment include: the key instruction is a preset instruction (such as a long-time pressing instruction or a continuous clicking instruction). And if the key instruction received by the television is a preset instruction, judging that the key instruction meets a preset condition, namely judging that the key instruction is an instruction for controlling the television external equipment connected with the television. Alternatively, the preset condition in this embodiment may also be set as: the key instruction comprises customized key request information. The customized key request information is used for driving the television to perform key value conversion after receiving the key instruction, and if key value conversion is required, the key instruction is an instruction for controlling external equipment of the television. Therefore, the embodiment can judge whether the purpose of the key instruction is used for controlling the external equipment of the television through the preset condition. And because the key instruction is sent out by the television remote controller, the original key value in the key instruction can only be used for controlling the television and cannot be used for controlling the television external equipment connected with the television. Therefore, in order to control the external television device by the key instruction, the embodiment of the present invention needs to convert a native key value in the key instruction into a target key value that can be recognized by the external television device, and after the conversion is completed, the converted target key value is sent to the external television device, and the external television device can execute a corresponding operation after receiving the target key value, thereby controlling the external television device. Therefore, in the embodiment of the invention, the television remote controller is not provided with the customized keys, but converts the native key values in the key instructions sent by the native keys of the television remote controller, so that the converted key values are used for controlling the external equipment of the television, namely, when a user uses the television remote controller, the external equipment of the television can be controlled through the television remote controller, and the television can be controlled through the television remote controller.
For example, when a user presses a "set key" on a television remote controller, the "set key" sends a key instruction, and the key instruction includes a native key value of the "set key". After the television receives the key instruction, the key instruction is analyzed first to judge whether the preset condition in the embodiment is met, if the preset condition is met, the purpose of the key instruction is to control the DVD device connected with the television, and if the key instruction does not meet the preset condition, the key instruction is judged to be used for controlling the television. When the key instruction sent by the 'set key' is judged to be used for controlling the DVD device, the key value in the key instruction needs to be converted into the key value which can be identified by the DVD device, and the converted key value is sent to the DVD device, and the DVD device opens the set page in the DVD device after receiving the converted key value. Similarly, the user can press other keys on the television remote controller and perform corresponding control on the DVD device through key value conversion.
Exemplary method
As shown in fig. 1, an embodiment of the present invention provides a method for controlling an external device of a television, and specifically as shown in fig. 1, the method includes the following steps:
step S100, when a key instruction sent by a television remote controller is received, whether the key instruction meets a preset condition is judged.
In this embodiment, since the television remote controller is used for controlling the television, a key instruction sent by a user through the television remote controller is firstly received by the television, and after the television receives the key instruction, the received key instruction is firstly analyzed, so that the purpose of analysis is to judge whether the key instruction is an instruction for controlling the television or an instruction for controlling a television external device connected to the television. The specific judgment mode is that a preset condition is set, whether the key instruction meets the preset condition is judged by analyzing the key instruction, if the preset condition is met, the key instruction is used for controlling the external equipment of the television, and if the preset condition is not met, the key instruction is not used for controlling the external equipment of the television, namely, the key instruction is used for controlling the television.
The preset condition is used for judging whether the key instruction is an instruction for operating the external television equipment, namely, the preset condition is used for judging whether the key instruction sent by the user through the television remote controller is used for controlling the external television equipment or the television. Specifically, the preset conditions in this embodiment include: the key instruction is a preset instruction (such as a long-time pressing instruction or a continuous clicking instruction). And if the key instruction received by the television is a preset instruction, judging that the key instruction meets a preset condition, namely judging that the key instruction is an instruction for controlling the television external equipment connected with the television. Alternatively, the preset condition in this embodiment may also be set as: the key instruction comprises customized key request information. The customized key request information is used for driving the television to perform key value conversion after receiving the key instruction, and if key value conversion is required, the key instruction is an instruction for controlling external equipment of the television.
In an implementation manner, the preset instruction in this embodiment may be a long-press instruction, where the long-press instruction is the key instruction sent after the time that the key on the television remote controller is pressed exceeds a preset time period, that is, if the time that the user presses a certain key on the television remote controller exceeds the preset time period, the key instruction sent by the key is the long-press instruction. And if the key instruction received by the television is a long-time pressing instruction, judging that the key instruction meets a preset condition, namely judging that the key instruction is an instruction for controlling the television external equipment connected with the television.
Specifically, as shown in fig. 2, the manner of determining whether the key instruction is a long-press instruction in this embodiment includes the following steps:
step S101, acquiring signal data in the key instruction, and extracting the moment when the television remote controller starts to send signals and the moment when the television remote controller stops sending signals from the signal data;
step S102, acquiring the total time length of the signal transmitted by the television remote controller according to the time when the television remote controller starts to transmit the signal and the time when the television remote controller stops transmitting the signal, and comparing the total time length with the preset time length;
and S103, if the total duration is greater than the preset duration, judging that the key instruction is a long-press instruction.
In this embodiment, after receiving a key instruction sent by a user through a certain key on a television remote controller, the television analyzes the key instruction, and then acquires signal data in the key instruction. The signal data is data transmitted to the television after a native key on the television remote controller is pressed, and includes data such as a time when a signal starts (i.e., a time when the television remote controller starts to transmit a signal), a time when the signal ends (i.e., a time when the television remote controller stops transmitting the signal), and signal data (e.g., a native key). In order to judge whether the key instruction is a long-press instruction, whether the total time for pressing the native key on the television remote controller by the user exceeds a preset time is judged. Therefore, in this embodiment, the time when the television remote controller starts to send a signal and the time when the television remote controller stops sending the signal are extracted from the signal data, since the television remote controller will send a signal to the television set after a certain native key is pressed, and will stop sending the signal to the television set after a certain native key is released, it is obvious that the time when the television remote controller starts to send a signal is extracted from the signal data, that is, the time when a user starts to press a certain native key on the television remote controller, and the time when the television remote controller stops sending a signal is extracted, that is, the time when a user releases a certain native key on the television remote controller. And then obtaining the total time length of the signal sent by the television remote controller (namely the total time length of the original key on the television remote controller pressed by the user) according to the time when the television remote controller starts to send the signal and the time when the television remote controller stops sending the signal, then comparing the total time length with a preset time length (such as 2s), if the total time length is greater than the preset time length, judging that the key instruction is a long-press instruction, and further judging that the key instruction meets a preset condition.
For example, the user presses a "set key" on the tv remote control, and issues a key command a. After receiving the key instruction A, the television analyzes the key instruction A to acquire signal data in the key instruction A. Then, the time when the television remote controller starts to transmit signals is 9 o 'clock 13 min 24 sec (the time when the user presses the "set key") and the time when the television remote controller stops transmitting signals is 9 o' clock 13 min 27 sec (the time when the user releases the "set key") are extracted from the signal data. Therefore, the total duration of the signal sent by the television remote controller is 3 seconds (namely the total duration of pressing the 'setting key'), then the total duration of 3 seconds is compared with the preset duration of 2 seconds, and when the total duration is judged to be greater than the preset duration, the key instruction sent by the 'setting key' is judged to be a long-time pressing instruction, and the key instruction is further judged to meet the preset condition.
Certainly, the preset instruction in this embodiment may also be a continuous click instruction, for example, when it is detected that the native key on the television remote controller is continuously pressed twice, the key instruction is the continuous click instruction, and therefore it is determined that the key instruction meets the preset condition, that is, it is determined that the key instruction is an instruction for controlling the external television device connected to the television.
Further, the preset conditions in this embodiment may also be set as: the key instruction comprises customized key request information. The customized key request information is used for driving the television to perform key value conversion after receiving the key instruction, and if key value conversion is required, the key instruction is an instruction for controlling external equipment of the television. Therefore, after the key instruction is analyzed, if customized key request information exists in the key instruction, it is determined that the preset condition is met in the key instruction, that is, it is determined that the key instruction is an instruction for operating and controlling a television external device connected to the television.
Specifically, as shown in fig. 3, the manner for determining whether the key instruction includes the customized key request information in this embodiment includes the following steps:
step S110, when a key instruction sent by a television remote controller is received, signal data in the key instruction is obtained;
step S120, determining a customized key request identifier from the signal data, and identifying and confirming the customized key request identifier searched out to confirm whether the customized key request information exists in the key instruction.
In this embodiment, after the television receives a key instruction sent by a user through a certain native key on the television remote controller, the key instruction is analyzed, and then signal data in the key instruction is obtained. The signal data is then searched for a customized key request identifier that reflects whether customized key request information is present in the signal data. That is, if the customized key request flag is present, it indicates that the customized key request information is present in the signal data. In one embodiment, the customized key request information in this embodiment is added to the key command via a specific key on the tv remote controller. That is, when the user sends the key command through the television remote controller, the user can simultaneously press a preset specific key, that is, customized key request information can be added to the key command and sent to the television together. In this embodiment, after the customized key request identifier is searched, the searched customized key request identifier is identified and confirmed, so as to prevent misjudgment caused by identification error, and thus determine whether the customized key request information exists in the key command. In an implementation manner, the customized key request identifier in this embodiment may be a character identifier, for example: the character identification customizations may be set as the customized key request identification.
For example, the user presses a "set key" on the tv remote control, and issues a key command a. After receiving the key instruction A, the television analyzes the key instruction A to acquire signal data in the key instruction A. And then searching the signal data, searching a preset character identifier, and if the character identifier is searched, indicating that a customized key request identifier exists in the signal data, and further judging that the key instruction meets a preset condition.
Further, after it is determined that the key instruction meets the preset condition, it is determined that the key instruction is used for controlling the external television device, and therefore a native key value in the key instruction needs to be converted. Executing step S200, if the key instruction meets the preset condition, obtaining a native key value in the key instruction, and converting the native key value into a target key value that can be recognized by the television peripheral device.
In this embodiment, the received native key value in the key instruction is used for controlling the television, and it is found through the analysis of the key instruction that the key instruction is used for controlling the external television device connected to the television, and therefore the native key value in the key instruction needs to be converted, and the conversion aims at converting the native key value in the key instruction into a target key value which can be recognized by the external television device, so that the external television device can perform corresponding operations.
Specifically, the preset conditions set in the embodiment of the present invention have two different forms, that is, the manner of determining whether the key instruction satisfies the preset conditions is different, so the manner of key value conversion is also different. As shown in fig. 4, the key value conversion process when the key instruction is a preset instruction (such as a long press instruction or a continuous click instruction) includes the following steps:
step S201, acquiring a standard protocol of the external equipment of the television, and acquiring a key value data conversion protocol table from the standard protocol, wherein the key value data conversion protocol table comprises key value conversion requirements among keys with the same function of different remote control equipment;
step S202, according to the key value data conversion protocol table, converting the native key value in the key instruction into the target key value.
In this embodiment, if it is determined that the key instruction is a preset instruction, that is, it is determined that the key instruction meets the preset condition, it is determined that the key instruction is used for controlling the external device of the television. And at the moment, the standard protocol of the external television equipment is obtained from the external television equipment, and the key value data conversion protocol table is obtained from the standard protocol. The key value data conversion protocol table is used for guiding a user to perform key value conversion and comprises a special remote controller of the external television equipment and a key value conversion requirement between keys with the same function on the remote controller of the television. For example, key value conversion of the same function keys between the television remote controller and the special remote controller of the external equipment of the television. Because the key value conversion protocol table has a key value conversion relationship, namely the key value conversion relationship between the original key value of the original key on each television remote controller and the target key value of the target key of the exclusive remote controller of the external equipment, the original key value can be converted into the target key value according to the key value conversion relationship so as to realize the identification by the external equipment of the television. In an embodiment, the key-value conversion relationship may be an operation manner determined based on the key-value data conversion protocol table, and the key-value conversion is implemented by the operation manner. Therefore, after the key value data conversion protocol table is obtained, the received native key value in the key instruction is converted into the target key value according to the key value data conversion protocol table, and the function of the converted target key value to the external television device is the same as the function of the native key value to the television device, that is, the operation functions corresponding to the two key values to the respective devices are the same. Therefore, in the embodiment, the key value conversion only converts the original key value originally used for operating the television into the target key value which can be identified by the external equipment of the television, the function of the key value conversion is not changed, and only the object on which the original key value is to be acted is converted into the external equipment of the television from the original television.
For example, after the television receives a key instruction a sent by a user through a "set key" on the television remote controller, and it is already determined that the key instruction a is a preset instruction, a key value data conversion protocol table is obtained from a DVD device (in this example, the television external device is a DVD device), where the key value data conversion protocol table includes a key value conversion requirement between a dedicated remote controller of the DVD device and a same function key of the television remote controller. Therefore, the key value data conversion protocol table can be searched, the original key value of the setting key on the television remote controller is converted into the key value conversion requirement of the key value corresponding to the setting key on the exclusive remote controller of the DVD equipment, and the original key value of the setting key on the television remote controller is converted into the key value corresponding to the setting key on the exclusive remote controller of the DVD equipment according to the key value conversion requirement, so that the DVD equipment can execute corresponding operation through the converted key value.
Further, as shown in fig. 5, the key value conversion process when the key instruction includes the customized key request message includes the following steps:
step S310, if the customized key request information exists in the key instruction, analyzing the key instruction to obtain a native key value in the key instruction;
step S320, acquiring a preset mapping relation table, and inquiring a target key value which has a mapping relation with the native key on the television remote controller from the mapping relation table; (ii) a
And step S330, converting the native key value into the target key value according to the mapping relation table.
In this embodiment, if it is determined that the key instruction has the customized key request information, that is, it is determined that the key instruction meets the preset condition, it is determined that the key instruction is used for controlling the external television device. And adjusting the original key value originally corresponding to the key instruction, and converting the original key value into a target key value so as to be identified by the external equipment of the television. Specifically, after the key instruction is judged to meet the preset condition, a preset mapping relation table is obtained, and a target key value having a mapping relation with a native key on the television remote controller is inquired from the mapping relation table; and finally, converting the native key value into the target key value according to the mapping relation table so as to realize the identification of the native key value by the external television equipment.
In an implementation manner, the mapping relationship table in this embodiment is preset, and the mapping relationship table is obtained by adjusting the original key value mapping relationship in the television remote controller. For example, the mapping relationship table may be generated by performing data initialization on the original key value mapping relationship in the television remote controller, where the data initialization is to reset data, and reconstructing the key value mapping relationship in the television remote controller. Or the converted target key value can replace a native key value in the original key value mapping relation in the remote controller to generate the mapping relation table.
In an embodiment, for the construction manner of the mapping relationship table, in this embodiment, the television firstly obtains a configuration file of the external television device, where the configuration file stores mapping files of mapping relationships between each native key in the external television device (i.e., a target key on a dedicated remote controller of the external television device) and a target key corresponding to each native key. The purpose to be achieved by the embodiment of the invention is to control the external television equipment through the native keys on the remote television controller, the native key values corresponding to the keys on the remote television controller cannot control the external television equipment, and the target key values of the external television equipment correspond to the native keys on the dedicated remote controller of the external television equipment. Based on this, in this embodiment, after the mapping file is obtained, the mapping relationship in the mapping file is adjusted, and specifically, according to a corresponding relationship between a target key of the external television device having the same function and a native key on the television remote controller, a mapping relationship manner is added or an existing mapping relationship is adjusted, so that a mapping relationship table of a native key used for sending the key instruction on the television remote controller and a target key value corresponding to a target key having the same function as the native key is constructed. The mapping relation table stores the corresponding relation of the target key with the same function as the original key on the television remote controller on the television external device and the target key value corresponding to the target key; therefore, the native key value of the native key on the television remote controller can be converted into the target key value key corresponding to the target key with the same function as the native key on the external equipment of the television according to the mapping relation, and the key value conversion is completed. That is to say, in this embodiment, a mapping relationship is established between native keys on a television remote controller and target key values, the target key values correspond to target keys on the external television device, and the functions of the native keys and the target keys are the same, so that a user can directly operate the native keys on the television remote controller during operation, and then the target key values mapped with the native keys on the television remote controller are sent to the external television device through the established mapping relationship table, thereby controlling the external television device.
For example, when the mapping relationship table is constructed, the configuration file is obtained from a DVD device (in this example, the television external device is the DVD device). Then, a mapping file is obtained from the configuration file, and each target key of the dedicated remote controller of the DVD device and a target key value corresponding to each target key are stored in the mapping file, for example, a "set key" on the dedicated remote controller corresponds to a 101 key value, and a "menu key" on the dedicated remote controller corresponds to a 102 key value. If a key instruction A is sent by a 'set key' on a television remote controller, and a 'set key' of a dedicated remote controller of DVD equipment with the same function as the 'set key' on the television remote controller is obtained from a mapping file, the 'set key' on the television remote controller corresponds to a 101 key value, and because the 'set key' on the television remote controller and the 'set key' of the dedicated remote controller of the DVD equipment have the same function, a mapping relation between the 'set key' (namely a native key) on the television remote controller and the 101 key value (namely a target key value) can be established. In the same way, the mapping relation between other native keys on the television remote controller and the target key values of the target keys with the same function on the exclusive remote controller of the DVD equipment can be constructed, so that a mapping relation table is generated. After the television receives a key instruction A sent by a user through a 'set key' on a television remote controller and the key instruction A is judged to comprise customized key request information, the 'set key' on the television remote controller is mapped to a 101 key value (namely a target key value corresponding to the 'set key' of a special remote controller of the DVD device) according to the mapping relation table, and then the mapped 101 key value is sent to the external equipment of the television so as to control the external equipment of the television.
In an embodiment, the mapping relationship table in this embodiment is preset and stored, so that when a user operates a television external device through a television remote controller later, the mapping relationship table can be directly called, and a target key value corresponding to a key of the user on the television remote controller is directly found out, thereby operating CEC.
Further, step S300, the target key value is sent to the external television device to control the external television device.
In specific implementation, after the native key value in the key instruction is converted into the target key value, the target key value can be sent to the external television equipment, and the external television equipment executes corresponding operation after receiving the target key value.
In an embodiment, if the key instruction does not satisfy the preset condition, that is, the key instruction is neither a preset key instruction nor customized key request information, the television is directly controlled according to a native key value in the key instruction. In other words, when the key instruction does not satisfy the preset condition, it indicates that the key instruction is not used for operating the external equipment of the television and is used for operating the television, so that the television is directly controlled to execute corresponding operation.
According to the control method of the external television equipment, provided by the embodiment of the invention, the key instruction can be analyzed after the key instruction sent by the remote controller of the television is received, and when the key instruction meets the preset condition, the key instruction is considered to be used for controlling the external television equipment, so that a primary key value in the key instruction needs to be converted into a target key value which can be identified by the external television equipment, and the converted target key value is sent to the external television equipment. And because the function of the target key value is the same as that of the original key value, the external television equipment can execute corresponding operation after receiving the target key value, so that the external television equipment can be controlled through the original key on the television remote controller, a customized key is not required to be arranged on the television remote controller to specially operate the external television equipment, and convenience is provided for the use of a user.
Exemplary device
As shown in fig. 6, fig. 6 shows a television external device control system in an embodiment of the present invention, where the system includes: a television remote control 610; the television set 620 is in communication connection with the television remote controller 610, and the television set external equipment 630 is in communication connection with the television set 620. Specifically, the television 620 includes: the analysis and judgment unit 621 is configured to, when receiving a key instruction sent by a television remote controller, judge whether the key instruction meets a preset condition; a key value conversion unit 622, configured to, if the key instruction meets the preset condition, obtain a native key value in the key instruction, and convert the native key value into a target key value that can be identified by the television peripheral device, where the target key value has the same function as the native key value; and a key value sending unit 623, configured to send the target key value to the external television device, so as to control the external television device.
Based on the above embodiments, the present invention further provides a television, and a schematic block diagram thereof may be as shown in fig. 7. The television comprises a processor, a memory, a network interface, a display screen and a temperature sensor which are connected through a system bus. Wherein the processor of the television is configured to provide computing and control capabilities. The memory of the television comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the television is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to realize a control method of the television external device. The display screen of the television can be a liquid crystal display screen or an electronic ink display screen, and the temperature sensor of the television is arranged in the television in advance and used for detecting the operating temperature of internal equipment.
It will be appreciated by those skilled in the art that the block diagram of fig. 7 is only a block diagram of a portion of the structure associated with the inventive arrangements and is not intended to limit the television to which the inventive arrangements are applied, and that a particular television may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a television set is provided comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors the one or more programs comprising instructions for:
when a key instruction sent by a television remote controller is received, judging whether the key instruction meets a preset condition or not;
if the key instruction meets the preset condition, acquiring a native key value in the key instruction, and converting the native key value into a target key value which can be identified by the television peripheral equipment, wherein the function of the target key value is the same as that of the native key value;
and sending the target key value to the external television equipment to control the external television equipment.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
In summary, the present invention discloses a method for controlling an external device of a television, a television and a storage medium, wherein the method comprises: when a key instruction sent by a television remote controller is received, judging whether the key instruction meets a preset condition or not; if the key instruction meets the preset condition, acquiring a native key value in the key instruction, and converting the native key value into a target key value which can be identified by the television peripheral equipment, wherein the function of the target key value is the same as that of the native key value; and sending the target key value to the external television equipment to control the external television equipment. The key value of the key instruction sent by the television remote controller is converted into the target key value which can be identified by the television external equipment and is sent to the television external equipment, so that the television remote controller can directly operate the television external equipment.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A control method for external equipment of a television is characterized by comprising the following steps:
when a key instruction sent by a television remote controller is received, judging whether the key instruction meets a preset condition or not;
if the key instruction meets the preset condition, acquiring a native key value in the key instruction, and converting the native key value into a target key value which can be identified by the television peripheral equipment, wherein the function of the target key value is the same as that of the native key value;
and sending the target key value to the external television equipment to control the external television equipment.
2. The method for controlling the external device of the television according to claim 1, wherein the preset condition is: the key instruction is a preset instruction;
or, the preset conditions are as follows: the key instruction comprises customized key request information, and the customized key request information is used for reflecting that the key instruction is used for controlling the television external equipment.
3. The method for controlling the external device of the television according to claim 2, wherein when receiving a key command sent by a television remote controller, determining whether the key command meets a preset condition comprises:
acquiring the key instruction, and judging whether the key instruction is the preset instruction or not;
and if the key instruction is the preset instruction, judging that the key instruction meets a preset condition.
4. The method for controlling the external device of the television according to claim 3, wherein when the preset command is a long-press command, the determining whether the key command is a preset command manner comprises:
acquiring signal data in the key instruction, and extracting the moment when the television remote controller starts to send signals and the moment when the television remote controller stops sending signals from the signal data;
acquiring the total time length of the signal transmitted by the television remote controller according to the time when the television remote controller starts to transmit the signal and the time when the television remote controller stops transmitting the signal, and comparing the total time length with the preset time length;
and if the total duration is greater than the preset duration, judging that the key instruction is a long-press instruction.
5. The method for controlling the external device of the television according to claim 2, wherein when the preset condition is that the key instruction is a preset instruction, if the key instruction meets the preset condition, obtaining a native key value in the key instruction, and converting the native key value into a target key value that can be recognized by the external device of the television, comprises:
acquiring a standard protocol of the external equipment of the television, and acquiring a key value data conversion protocol table from the standard protocol, wherein the key value data conversion protocol table comprises key value conversion requirements among keys with the same function of different remote control equipment;
and converting the native key value in the key instruction into the target key value according to the key value data conversion protocol table.
6. The method for controlling the external device of the television according to claim 2, wherein when the preset condition is that the key command includes customized key request information, and when the key command sent by the television remote controller is received, determining whether the key command satisfies the preset condition includes:
when a key instruction sent by a television remote controller is received, signal data in the key instruction is obtained;
and determining a customized key request identifier from the signal data, and identifying and confirming the searched customized key request identifier to confirm whether the customized key request information exists in the key instruction.
7. The method according to claim 2 or 6, wherein when the preset condition is that the key instruction includes customized key request information, and if the key instruction satisfies the preset condition, acquiring a native key value in the key instruction, and converting the native key value into a target key value that can be recognized by the external television device, the method includes:
if the customized key request information exists in the key instruction, analyzing the key instruction to obtain a native key value in the key instruction;
acquiring a preset mapping relation table, and inquiring a target key value having a mapping relation with a native key on the television remote controller from the mapping relation table; the mapping relation table stores the corresponding relation of target keys which have the same functions with the original keys on the television remote controller on the television external equipment and target key values corresponding to the target keys;
and converting the native key value into the target key value according to the mapping relation table.
8. The method for controlling the television peripheral device according to any one of claims 1 to 7, further comprising:
and if the key instruction does not meet the preset condition, controlling the television according to a native key value in the key instruction.
9. A television comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and wherein the one or more programs being configured to be executed by the one or more processors comprises instructions for performing the method of any of claims 1-8.
10. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of any of claims 1-8.
CN201910835858.2A 2019-09-04 2019-09-04 Control method of television external equipment, television and storage medium Pending CN112449223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910835858.2A CN112449223A (en) 2019-09-04 2019-09-04 Control method of television external equipment, television and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910835858.2A CN112449223A (en) 2019-09-04 2019-09-04 Control method of television external equipment, television and storage medium

Publications (1)

Publication Number Publication Date
CN112449223A true CN112449223A (en) 2021-03-05

Family

ID=74733327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910835858.2A Pending CN112449223A (en) 2019-09-04 2019-09-04 Control method of television external equipment, television and storage medium

Country Status (1)

Country Link
CN (1) CN112449223A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113534780A (en) * 2021-06-21 2021-10-22 上汽通用五菱汽车股份有限公司 Remote control parking parameter and function definition method, automobile and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102424A (en) * 2006-07-07 2008-01-09 厦门华侨电子股份有限公司 Self-definition method for remote controller key function
CN202759554U (en) * 2012-06-21 2013-02-27 青岛海尔电子有限公司 Television set and television program receiving system
CN104079971A (en) * 2014-06-26 2014-10-01 海视云(北京)科技有限公司 Method, device and system for controlling set top boxes through television device
CN104394449A (en) * 2014-11-17 2015-03-04 青岛海信宽带多媒体技术有限公司 Method and system for controlling a plurality of devices through one remote control
WO2016045503A1 (en) * 2014-09-25 2016-03-31 阿里巴巴集团控股有限公司 Remote controller key matching and signal processing method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102424A (en) * 2006-07-07 2008-01-09 厦门华侨电子股份有限公司 Self-definition method for remote controller key function
CN202759554U (en) * 2012-06-21 2013-02-27 青岛海尔电子有限公司 Television set and television program receiving system
CN104079971A (en) * 2014-06-26 2014-10-01 海视云(北京)科技有限公司 Method, device and system for controlling set top boxes through television device
WO2016045503A1 (en) * 2014-09-25 2016-03-31 阿里巴巴集团控股有限公司 Remote controller key matching and signal processing method and apparatus
CN104394449A (en) * 2014-11-17 2015-03-04 青岛海信宽带多媒体技术有限公司 Method and system for controlling a plurality of devices through one remote control

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113534780A (en) * 2021-06-21 2021-10-22 上汽通用五菱汽车股份有限公司 Remote control parking parameter and function definition method, automobile and readable storage medium

Similar Documents

Publication Publication Date Title
US11854570B2 (en) Electronic device providing response to voice input, and method and computer readable medium thereof
US11086596B2 (en) Electronic device, server and control method thereof
RU2582070C1 (en) Method of controlling external input and broadcast receiver
EP3013063A2 (en) Closed caption-support content receiving apparatus and display apparatus, system having the same, and closed caption-providing method thereof
CN112882850B (en) Key event processing method, device, equipment and storage medium
US20150106847A1 (en) Content providing apparatus, system, and method for recommending contents
JP2020141420A (en) Computing system with channel-change-based trigger feature
CN112567695A (en) Electronic device, server and control method thereof
CN112449223A (en) Control method of television external equipment, television and storage medium
US10104450B2 (en) Method and device for controlling implementation of application and recording medium thereof
CN102984568A (en) Method and system for controlling mobile terminal through remote control
CN106604204B (en) Method and system for remotely controlling terminal application through Bluetooth
CN105068742A (en) Control method for intelligent watch and intelligent watch
CN113038251B (en) Control method and control device
CN111314414B (en) Data transmission method, device and system
US9516135B2 (en) Apparatus and method of storing user information in home network
CN108984278B (en) Key event processing method, medium and equipment
CN107018346B (en) Signal response method and device
US9258618B2 (en) Channelization method of digital content and audio-video server system
CN112312166B (en) Content monitoring method, device and system for television media, storage medium and electronic equipment
US20140248030A1 (en) Recording device and method for recording program
CN116320564A (en) Display device, terminal device, and device control method
US20080235753A1 (en) Broadcasting receiver and volume control method thereof
KR20110053549A (en) Speech recognition method of a independance type speech recognition middleware using message communication
CN117636852A (en) Voice signal processing method and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210305