CN111246268A - Pairing method of infrared devices, television and storage medium - Google Patents

Pairing method of infrared devices, television and storage medium Download PDF

Info

Publication number
CN111246268A
CN111246268A CN202010083748.8A CN202010083748A CN111246268A CN 111246268 A CN111246268 A CN 111246268A CN 202010083748 A CN202010083748 A CN 202010083748A CN 111246268 A CN111246268 A CN 111246268A
Authority
CN
China
Prior art keywords
remote control
infrared remote
control code
infrared
memory
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.)
Granted
Application number
CN202010083748.8A
Other languages
Chinese (zh)
Other versions
CN111246268B (en
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 Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202010083748.8A priority Critical patent/CN111246268B/en
Publication of CN111246268A publication Critical patent/CN111246268A/en
Application granted granted Critical
Publication of CN111246268B publication Critical patent/CN111246268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/42221Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/50Receiving or transmitting feedback, e.g. replies, status updates, acknowledgements, from the controlled devices

Abstract

The invention provides a pairing method of infrared equipment, a television and a storage medium, wherein the pairing method of the infrared equipment comprises the steps of receiving an infrared remote control code, inputting the infrared remote control code into a preset memory for inquiring so as to determine whether the infrared remote control code is stored in the memory; and if the infrared remote control code is stored in the memory, inputting the infrared remote control code into a preset equipment table for inquiring so as to pair the controlled equipment corresponding to the infrared remote control code. The invention realizes the pairing with the controlled equipment by respectively inputting the infrared remote control codes into the preset memory and the preset equipment table for inquiring. Above-mentioned whole pairing control process only needs the terminal to carry out the operation of looking up the table by oneself, need not the equipment type and the equipment model of the one-step interpolation controlled equipment of user to and the infrared remote control code that the input controlled equipment corresponds, whole pairing process convenient and fast has realized infrared equipment and has paired the intellectuality of control process.

Description

Pairing method of infrared devices, television and storage medium
Technical Field
The invention relates to the technical field of smart televisions, in particular to a pairing method of infrared equipment, a television and a storage medium.
Background
At present, more and more electronic products are available on the market, including televisions, which can remotely control other devices by infrared, and the infrared remote control function is also integrated. However, the process of adding a new controlled device to a current television with an infrared remote control function is generally that a user manually selects a control device to be added step by step, and needs to input the type and model of the control device and an infrared remote control code corresponding to the control device, and after the control device is in infrared connection with the television, pairing of the infrared controlled device is completely achieved. Obviously, the pairing method of the infrared equipment is complicated and is not intelligent enough.
Disclosure of Invention
The invention mainly aims to provide a pairing method of infrared equipment, a television and a storage medium, and aims to solve the technical problems that the existing pairing method of the infrared equipment is complicated and is not intelligent enough.
In order to achieve the above object, the present invention provides a pairing method for infrared devices, comprising the following steps:
receiving an infrared remote control code, and inputting the infrared remote control code into a preset memory for inquiring so as to determine whether the infrared remote control code is stored in the memory;
and if the infrared remote control code is stored in the memory, inputting the infrared remote control code into a preset equipment table for inquiring so as to pair the inquired controlled equipment corresponding to the infrared remote control code.
Optionally, the step of inputting the infrared remote control code into a preset device table for querying, so as to pair the queried controlled device corresponding to the infrared remote control code includes:
inputting the infrared remote control codes into a preset equipment table for inquiring so as to determine the quantity of controlled equipment corresponding to the infrared remote control codes in the preset equipment table;
if the infrared remote control codes correspond to a plurality of controlled devices, displaying information of the controlled devices, so that a user determines the controlled devices to be paired according to the information of the controlled devices;
receiving a determination instruction input by a user, and pairing with the controlled equipment corresponding to the determination instruction.
Optionally, the step of inputting the infrared remote control code into a preset device table for querying, so as to pair the queried controlled device corresponding to the infrared remote control code further includes:
inputting the infrared remote control codes into a preset equipment table for inquiring so as to determine the quantity of controlled equipment corresponding to the infrared remote control codes in the preset equipment table;
and if the infrared remote control code corresponds to only one controlled device, pairing the controlled device uniquely corresponding to the infrared remote control code.
Optionally, the memory includes a local memory and a cloud memory, and the step of inputting the infrared remote control code into a preset memory for querying to determine whether the memory stores the infrared remote control code includes:
inputting the infrared remote control code into the local memory for inquiring, and determining whether the infrared remote control code is stored in the local memory;
if the infrared remote control code is stored in the local memory, determining that the infrared remote control code is stored in the memory;
if the infrared remote control code is not stored in the local memory, inputting the infrared remote control code into the cloud memory for inquiring so as to determine whether the infrared remote control code is stored in the cloud memory;
if the infrared remote control code is stored in the cloud server, determining that the infrared remote control code is stored in the memory;
and if the infrared remote control code is not stored in the cloud server, determining that the infrared remote control code is not stored in the memory.
Optionally, the step of receiving an infrared remote control code comprises:
after receiving the remote control code, judging whether the remote control code is received again within preset time;
when the remote control codes are received again, detecting whether the remote control codes received twice are consistent;
and if the remote control codes received twice are consistent, determining that the infrared remote control code is received.
Optionally, after the step of inputting the infrared remote control code into a preset memory for querying to determine whether the memory stores the infrared remote control code, the method includes:
if the infrared remote control code is not stored in the memory, displaying prompt information;
receiving an equipment type and an equipment model input by a user, and pairing with controlled equipment according to the equipment type and the equipment model;
and after the pairing is successful, storing the device type, the device model and the mapping relation between the controlled devices into the memory.
Optionally, after the step of inputting the infrared remote control code into a preset device table for querying, and pairing the queried controlled device corresponding to the infrared remote control code, the method includes:
after the pairing with the controlled equipment is successful, receiving a control instruction sent by a user;
and generating a corresponding infrared remote control instruction according to the control instruction, and sending the infrared remote control instruction to the controlled equipment to realize the control of the controlled equipment.
Optionally, after the step of inputting the infrared remote control code into a preset device table for querying, and pairing the queried controlled device corresponding to the infrared remote control code, the method further includes:
and acquiring and displaying the equipment type and the equipment model of the controlled equipment.
In addition, to achieve the above object, the present invention also provides a television comprising: the device comprises a memory, a processor and a pairing program of the infrared device, wherein the pairing program of the infrared device is stored on the memory and can run on the processor, and when being executed by the processor, the pairing program of the infrared device realizes the steps of the pairing method of the infrared device.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon a pairing program of an infrared device, which when executed by a processor, implements the steps of the pairing method of the infrared device as described above.
The invention provides a pairing method of infrared equipment, a television and a storage medium, and particularly comprises the steps of receiving an infrared remote control code, inputting the infrared remote control code into a preset memory, and inquiring to determine whether the infrared remote control code is stored in the memory; and if the infrared remote control code is stored in the memory, inputting the infrared remote control code into a preset equipment table for inquiring so as to pair the inquired controlled equipment corresponding to the infrared remote control code.
The invention realizes the pairing with the controlled equipment by respectively inputting the infrared remote control codes into the preset memory and the preset equipment table for inquiring. Above-mentioned whole pairing control process only needs the terminal to carry out the operation of looking up the table by oneself, need not the equipment type and the equipment model of the one-step interpolation controlled equipment of user to and the infrared remote control code that the input controlled equipment corresponds, whole pairing process convenient and fast has realized infrared equipment and has paired the intellectuality of control process.
Drawings
FIG. 1 is a schematic diagram of an apparatus in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a pairing method for infrared devices according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a television terminal in an embodiment of a pairing method for infrared devices according to the present invention;
fig. 4 is a detailed flowchart of the step of inputting the infrared remote control code into a preset memory for querying to determine whether the memory stores the infrared remote control code according to the pairing method of the infrared device of the present invention;
fig. 5 is a flowchart illustrating a pairing method of infrared devices according to another embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal is a television, and can be a computer, and can also be a mobile phone, a computer, a mobile computer and other terminal equipment with a storage function.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Wi-Fi module, and the like, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 mainly includes an input unit such as a keyboard including a wireless keyboard and a wired keyboard, and is used to connect to the client and perform data communication with the client; and the processor 1001 may be configured to invoke a pairing procedure for the infrared device stored in the memory 1005 and perform the following operations:
receiving an infrared remote control code, and inputting the infrared remote control code into a preset memory for inquiring so as to determine whether the infrared remote control code is stored in the memory;
and if the infrared remote control code is stored in the memory, inputting the infrared remote control code into a preset equipment table for inquiring so as to pair the inquired controlled equipment corresponding to the infrared remote control code.
Further, the processor 1001 may call a pairing procedure of the infrared device stored in the memory 1005, and further perform the following operations:
inputting the infrared remote control codes into a preset equipment table for inquiring so as to determine the quantity of controlled equipment corresponding to the infrared remote control codes in the preset equipment table;
if the infrared remote control codes correspond to a plurality of controlled devices, displaying information of the controlled devices, so that a user determines the controlled devices to be paired according to the information of the controlled devices;
receiving a determination instruction input by a user, and pairing with the controlled equipment corresponding to the determination instruction.
Further, the processor 1001 may call a pairing procedure of the infrared device stored in the memory 1005, and further perform the following operations:
inputting the infrared remote control codes into a preset equipment table for inquiring so as to determine the quantity of controlled equipment corresponding to the infrared remote control codes in the preset equipment table;
and if the infrared remote control code corresponds to only one controlled device, pairing the controlled device uniquely corresponding to the infrared remote control code.
Further, the processor 1001 may call a pairing procedure of the infrared device stored in the memory 1005, and further perform the following operations:
inputting the infrared remote control code into the local memory for inquiring, and determining whether the infrared remote control code is stored in the local memory;
if the infrared remote control code is stored in the local memory, determining that the infrared remote control code is stored in the memory;
if the infrared remote control code is not stored in the local memory, inputting the infrared remote control code into the cloud memory for inquiring so as to determine whether the infrared remote control code is stored in the cloud memory;
if the infrared remote control code is stored in the cloud server, determining that the infrared remote control code is stored in the memory;
and if the infrared remote control code is not stored in the cloud server, determining that the infrared remote control code is not stored in the memory.
Further, the processor 1001 may call a pairing procedure of the infrared device stored in the memory 1005, and further perform the following operations:
after receiving the remote control code, judging whether the remote control code is received again within preset time;
when the remote control codes are received again, detecting whether the remote control codes received twice are consistent;
and if the remote control codes received twice are consistent, determining that the infrared remote control code is received.
Further, the processor 1001 may call a pairing procedure of the infrared device stored in the memory 1005, and further perform the following operations:
if the infrared remote control code is not stored in the memory, displaying prompt information;
receiving an equipment type and an equipment model input by a user, and pairing with controlled equipment according to the equipment type and the equipment model;
and after the pairing is successful, storing the device type, the device model and the mapping relation between the controlled devices into the memory.
Further, the processor 1001 may call a pairing procedure of the infrared device stored in the memory 1005, and further perform the following operations:
after the pairing with the controlled equipment is successful, receiving a control instruction sent by a user;
and generating a corresponding infrared remote control instruction according to the control instruction, and sending the infrared remote control instruction to the controlled equipment to realize the control of the controlled equipment.
Further, the processor 1001 may call a pairing procedure of the infrared device stored in the memory 1005, and further perform the following operations:
and acquiring and displaying the equipment type and the equipment model of the controlled equipment.
The specific embodiment of the apparatus is substantially the same as the following embodiments of the pairing method for infrared devices, and will not be described herein again.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a pairing method for infrared devices according to an embodiment of the present invention. The pairing method for the infrared device provided by the embodiment comprises the following steps:
step S10, receiving an infrared remote control code, and inputting the infrared remote control code into a preset memory for inquiring so as to determine whether the infrared remote control code is stored in the memory;
the pairing method for the infrared device according to the embodiment can be applied to terminal devices such as televisions and computers, and for the purpose of elaborating the technical scheme in detail, the technical scheme is applied to the televisions for elaboration. After the television is started, receiving an infrared remote control code sent by a user, wherein the user can send the infrared remote control code to the television by directly carrying out corresponding operation on a television terminal; the infrared remote control code can also be transmitted to the television by operating other terminals, such as a remote controller. In the embodiment, a memory is also preset, the memory comprises a local memory and a cloud memory, and after the infrared remote control codes are received, the infrared remote control codes are input into the memory to be inquired, so that whether the infrared remote control codes are stored in the memory in advance is determined. Specifically, referring to fig. 3 together, fig. 3 is a schematic structural diagram of a television terminal in an embodiment of a pairing method of an infrared device according to the present invention, and as shown in the figure, an infrared transceiver control unit receives an infrared remote control code sent by a user through an infrared receiving unit; the storage unit in fig. 3 is equivalent to the local storage in this embodiment, the network module and the cloud terminal in fig. 3 are connected to form the cloud terminal storage in this embodiment, and the main control unit inputs the infrared remote control code into the storage unit and the cloud terminal to perform the query operation.
In addition, as a preferred scheme, the storage unit is set as a storage chip, the infrared transceiving control unit comprises a single chip microcomputer, and the single chip microcomputer preferentially selects a single chip microcomputer chip with a signal of SC92F7420M 08U.
Step S20, if the infrared remote control code is stored in the memory, inputting the infrared remote control code into a preset device table for querying, so as to pair the queried controlled device corresponding to the infrared remote control code.
If the infrared remote control code is queried in the memory, which indicates that the memory has previously backed up the infrared remote control code, the infrared remote control code is input into a preset device table again for querying, it should be understood that a mapping relationship between the infrared remote control code and a controlled device corresponding to the infrared remote control code is stored in the device table, and the device table may be stored in a local memory or a cloud memory.
In the embodiment, the infrared remote control codes are respectively input into the preset memory and the preset equipment table for inquiry, so that the infrared remote control codes are paired with the controlled equipment. Above-mentioned whole pairing control process only needs the terminal to carry out the operation of looking up the table by oneself, need not the equipment type and the equipment model of the one-step interpolation controlled equipment of user to and the infrared remote control code that the input controlled equipment corresponds, whole pairing process convenient and fast has realized infrared equipment and has paired the intellectuality of control process.
Further, the step of inputting the infrared remote control code into a preset device table for querying, so as to pair the queried controlled device corresponding to the infrared remote control code includes:
step S21, inputting the infrared remote control codes into a preset equipment table for inquiry so as to determine the quantity of controlled equipment corresponding to the infrared remote control codes in the preset equipment table;
step S22, if the infrared remote control code corresponds to a plurality of controlled devices, displaying the information of the plurality of controlled devices, so that the user can determine the controlled devices to be paired according to the information of the plurality of controlled devices;
and step S23, receiving a determination instruction input by a user, and pairing the device to be controlled corresponding to the determination instruction.
It should be understood that, in the preset device table, a mapping between the infrared remote control codes and the corresponding controlled devices is stored, and one infrared remote control code may correspond to a plurality of controlled devices or only one controlled device. The method comprises the steps of inputting infrared remote control codes into a preset equipment table for inquiry, displaying information of a plurality of controlled equipment if the infrared remote control codes correspond to the controlled equipment, wherein the information of the controlled equipment comprises but is not limited to equipment type and equipment model, and the controlled equipment is convenient for a user to select, determine the controlled equipment to be paired and send a corresponding determination instruction in a mode of displaying the information of the controlled equipment. And after receiving a determination instruction input by a user, pairing the controlled equipment corresponding to the determination instruction.
For example, in the case that the controlled device is an air conditioner, if 3 air conditioners corresponding to one infrared remote control code are respectively a "first air conditioner", a "second air conditioner" and a "third air conditioner", the television terminal displays device information of the "first air conditioner", the "second air conditioner" and the "third air conditioner", the user can determine the air conditioner to be paired by selecting on a television screen or using a remote controller key, and the television performs infrared pairing with the air conditioner selected by the user.
Under the condition that a plurality of controlled devices corresponding to the infrared remote control codes exist, the device information of the controlled devices is displayed, so that a user can determine the controlled devices to be paired, meanwhile, the user does not need to input the device information of the controlled devices, and the accuracy of the pairing result of the infrared devices is guaranteed, and meanwhile, the convenience of the pairing process is improved.
Further, the step of inputting the infrared remote control code into a preset device table for querying to pair the queried controlled device corresponding to the infrared remote control code further includes:
step S21, inputting the infrared remote control codes into a preset equipment table for inquiry so as to determine the quantity of controlled equipment corresponding to the infrared remote control codes in the preset equipment table;
and step S24, if the infrared remote control code corresponds to only one controlled device, pairing the controlled device uniquely corresponding to the infrared remote control code.
And inputting the infrared remote control code into a preset equipment table for inquiring, and automatically pairing the television terminal with corresponding controlled equipment if only one controlled equipment exists in the equipment table.
For example, when the controlled device is an air conditioner, the device information of the controlled device is obtained by querying the corresponding infrared remote control code in a preset device table, and the television terminal is directly paired with the controlled device in the device table. According to the pairing process, the user does not need to input the equipment model and the equipment type of the controlled equipment, so that convenience and intellectualization of the infrared equipment pairing process are realized.
Further, referring to fig. 4, fig. 4 is a detailed schematic view of a process of inputting the infrared remote control code into a preset memory for querying to determine whether the memory stores the infrared remote control code according to the pairing method for infrared devices of the present invention, where the step of inputting the infrared remote control code into the preset memory for querying to determine whether the memory stores the infrared remote control code includes:
step S11, inputting the infrared remote control code into the local memory for inquiring, and determining whether the infrared remote control code is stored in the local memory;
step S12, if the infrared remote control code is stored in the local memory, determining that the infrared remote control code is stored in the memory;
step S13, if the infrared remote control code is not stored in the local memory, inputting the infrared remote control code into the cloud memory for inquiry so as to determine whether the infrared remote control code is stored in the cloud memory;
step S14, if the infrared remote control code is stored in the cloud server, determining that the infrared remote control code is stored in the memory;
step S15, if the infrared remote control code is not stored in the cloud server, it is determined that the infrared remote control code is not stored in the memory.
As an alternative scheme, after receiving the infrared remote control code, the infrared remote control code is input into the local memory for inquiry, and if the infrared remote control code is not stored in the local memory, the infrared remote control code is input into the cloud server for inquiry. In summary, the query process of the infrared remote control code in the memory has priority, that is, the infrared remote control code is queried in the local memory and then queried in the cloud memory; when the infrared remote control codes are inquired in the local memory and the cloud memory, it is determined that the infrared remote control codes are not stored in the memories, and when the infrared remote control codes are inquired in the local memory and/or the cloud memory, it is determined that the infrared remote control codes are stored in the memories.
In addition, the infrared remote control code is not inquired in the local memory, and under the condition that the infrared remote control code is inquired in the cloud memory, the cloud memory sends a corresponding data information value to the local memory, so that data updating of the local memory is realized, and the infrared remote control code is updated to the local memory.
According to the method and the device, unnecessary steps in the infrared equipment pairing process are reduced by sequencing the priorities in the infrared remote control code inquiry process, so that the efficiency of the whole pairing process is effectively improved.
Further, the step of receiving an infrared remote control code includes:
step S16, after receiving the remote control code, determining whether the remote control code is received again within a preset time;
step S17, when the remote control code is received again, detecting whether the remote control codes received twice are consistent;
and step S18, if the remote control codes received twice are consistent, determining that the infrared remote control code is received.
After the television terminal is started, receiving a remote control code sent by a user, wherein the user can send the remote control code to the television by directly carrying out corresponding operation on the television terminal; the remote control code may also be transmitted to the television by manipulating other terminals, such as a remote controller. After receiving the remote control code for the first time, judging whether the remote control code is received again within preset time, wherein the preset time can be specifically set by a user according to actual conditions, after receiving the remote control code again, detecting whether the remote control codes received twice are the same, if so, executing a subsequent scheme, and if not, exiting the pairing. As an alternative, the remote control code may be set as an infrared remote control code, that is, whether the infrared remote control codes received twice are the same is detected.
The remote control codes sent by the user twice within the preset time are detected, and only under the condition that the remote control codes are consistent, the subsequent step of inputting the remote control infrared codes into the preset equipment table for inquiry is carried out, so that the safety of the infrared equipment matching process is ensured.
Further, referring to fig. 5, fig. 5 is a flowchart illustrating a pairing method of infrared devices according to another embodiment of the present invention, where the step S10 inputs the infrared remote control code into a preset memory for querying, so as to determine whether the memory stores the infrared remote control code, the method includes:
step S30, if the infrared remote control code is not stored in the memory, prompt information is displayed;
step S40, receiving the device type and the device model input by the user, and pairing with the controlled device according to the device type and the device model;
and step S50, after the pairing is successful, storing the device type, the device model, and the mapping relationship between the controlled devices in the memory.
And if the infrared remote control codes are not inquired in the local memory and the cloud memory, determining that the infrared remote control codes are not stored in the memory, displaying corresponding prompt information to remind a user of inputting the equipment type and the equipment model of the controlled equipment to be paired, inquiring the infrared equipment within a certain range according to the equipment type and the equipment model input by the user, and pairing the infrared equipment with the equipment type and the equipment model to realize the pairing process of the infrared equipment.
In addition, after the pairing is successful, the memory is updated, and the device type and the device model of the newly-added controlled device are updated into the memory, so that the user does not need to input the device type and the device model again when pairing the same controlled device next time, and the pairing process of the infrared device is more intelligent.
Further, the step S20, after inputting the infrared remote control code into a preset device table for querying, so as to pair the queried controlled device corresponding to the infrared remote control code, includes:
step S60, after successfully pairing with the controlled device, receiving a control instruction sent by a user;
and step S70, generating a corresponding infrared remote control instruction according to the control instruction, and sending the infrared remote control instruction to the controlled equipment to realize the control of the controlled equipment.
After the pairing with the controlled equipment is successful, a control instruction sent by a user through a mobile terminal such as a remote controller is received, or voice information input by the user is received through a microphone array and is used as the control instruction. And the television terminal converts the control instruction into an infrared remote control instruction which can be identified by the controlled equipment, and sends the infrared remote control instruction to the controlled equipment, so that the controlled equipment executes corresponding operation according to the infrared remote control instruction, and the controlled equipment is controlled.
Further, referring to fig. 3, optionally, the television terminal includes an infrared emission unit and a sound collection unit, and it should be understood that the terminal device in fig. 3 is the controlled device in this embodiment. The television terminal can receive a control instruction sent by a user through a mobile terminal such as a remote controller through an infrared receiving unit; the voice information input by a user can be received through the sound collection unit and is used as a control instruction, wherein the infrared emission unit comprises an infrared array circuit and a plurality of infrared emission tubes.
Further, the step S20, after inputting the infrared remote control code into a preset device table for querying, so as to pair the queried controlled device corresponding to the infrared remote control code, includes:
and step S80, acquiring and displaying the device type and the device model of the controlled device.
In this embodiment, after the pairing with the controlled device is successful, the device type and the device model of the controlled device are obtained by querying the device information of the controlled device, please refer to fig. 3 together, the television terminal further includes a state display unit, and the device type and the device model are displayed by the state display unit, so that the user can know the infrared connection state of the controlled device and the television terminal in real time, and the visualization of the pairing process of the infrared device is realized.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a pairing program of an infrared device is stored on the computer-readable storage medium, and when executed by a processor, the pairing program of the infrared device implements the operation of the pairing method of the infrared device as described above.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the pairing method for infrared devices, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A pairing method of infrared devices is characterized by comprising the following steps:
receiving an infrared remote control code, and inputting the infrared remote control code into a preset memory for inquiring so as to determine whether the infrared remote control code is stored in the memory;
and if the infrared remote control code is stored in the memory, inputting the infrared remote control code into a preset equipment table for inquiring so as to pair the inquired controlled equipment corresponding to the infrared remote control code.
2. The infrared device pairing method of claim 1, wherein the step of inputting the infrared remote control code into a preset device table for querying, so as to pair the queried controlled device corresponding to the infrared remote control code comprises:
inputting the infrared remote control codes into a preset equipment table for inquiring so as to determine the quantity of controlled equipment corresponding to the infrared remote control codes in the preset equipment table;
if the infrared remote control codes correspond to a plurality of controlled devices, displaying information of the controlled devices, so that a user determines the controlled devices to be paired according to the information of the controlled devices;
receiving a determination instruction input by a user, and pairing with the controlled equipment corresponding to the determination instruction.
3. The infrared device pairing method of claim 1, wherein the step of inputting the infrared remote control code into a preset device table for querying, so as to pair the queried controlled device corresponding to the infrared remote control code comprises:
inputting the infrared remote control codes into a preset equipment table for inquiring so as to determine the quantity of controlled equipment corresponding to the infrared remote control codes in the preset equipment table;
and if the infrared remote control code corresponds to only one controlled device, pairing the controlled device uniquely corresponding to the infrared remote control code.
4. The infrared device pairing method of claim 1, wherein the memory includes a local memory and a cloud memory, and the step of inputting the infrared remote control code into a preset memory for querying to determine whether the memory stores the infrared remote control code comprises:
inputting the infrared remote control code into the local memory for inquiring, and determining whether the infrared remote control code is stored in the local memory;
if the infrared remote control code is stored in the local memory, determining that the infrared remote control code is stored in the memory;
if the infrared remote control code is not stored in the local memory, inputting the infrared remote control code into the cloud memory for inquiring so as to determine whether the infrared remote control code is stored in the cloud memory;
if the infrared remote control code is stored in the cloud server, determining that the infrared remote control code is stored in the memory;
and if the infrared remote control code is not stored in the cloud server, determining that the infrared remote control code is not stored in the memory.
5. The method for pairing infrared devices as set forth in claim 1, wherein the step of receiving an infrared remote control code comprises:
after receiving the remote control code, judging whether the remote control code is received again within preset time;
when the remote control codes are received again, detecting whether the remote control codes received twice are consistent;
and if the remote control codes received twice are consistent, determining that the infrared remote control code is received.
6. The method for pairing infrared devices according to claim 1, wherein the step of inputting the infrared remote control code into a preset memory to be queried to determine whether the memory stores the infrared remote control code comprises:
if the infrared remote control code is not stored in the memory, displaying prompt information;
receiving an equipment type and an equipment model input by a user, and pairing with controlled equipment according to the equipment type and the equipment model;
and after the pairing is successful, storing the device type, the device model and the mapping relation between the controlled devices into the memory.
7. The infrared device pairing method of claim 1, wherein the step of inputting the infrared remote control code into a preset device table for query so as to pair the queried controlled device corresponding to the infrared remote control code is followed by:
after the pairing with the controlled equipment is successful, receiving a control instruction sent by a user;
and generating a corresponding infrared remote control instruction according to the control instruction, and sending the infrared remote control instruction to the controlled equipment to realize the control of the controlled equipment.
8. The method for pairing infrared devices as claimed in claim 1, wherein after the step of inputting the infrared remote control code into a preset device table for querying, and pairing the queried controlled device corresponding to the infrared remote control code, the method further comprises:
and acquiring and displaying the equipment type and the equipment model of the controlled equipment.
9. A television, the television comprising: a memory, a processor and a pairing control program for an infrared device stored on the memory and executable on the processor, the pairing control program for the infrared device being configured to implement the steps of the pairing method for the infrared device according to any one of claims 1 to 8.
10. A storage medium having stored thereon a pairing control program for an infrared device, the pairing control program for the infrared device, when executed by a processor, implementing the steps of the pairing method for the infrared device according to any one of claims 1 to 8.
CN202010083748.8A 2020-02-06 2020-02-06 Pairing method of infrared devices, television and storage medium Active CN111246268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010083748.8A CN111246268B (en) 2020-02-06 2020-02-06 Pairing method of infrared devices, television and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010083748.8A CN111246268B (en) 2020-02-06 2020-02-06 Pairing method of infrared devices, television and storage medium

Publications (2)

Publication Number Publication Date
CN111246268A true CN111246268A (en) 2020-06-05
CN111246268B CN111246268B (en) 2022-02-15

Family

ID=70879843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010083748.8A Active CN111246268B (en) 2020-02-06 2020-02-06 Pairing method of infrared devices, television and storage medium

Country Status (1)

Country Link
CN (1) CN111246268B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113587376A (en) * 2021-06-11 2021-11-02 南方电网综合能源股份有限公司 One-key code matching method and system for intelligent controller of air conditioner

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080253772A1 (en) * 2007-04-10 2008-10-16 Sony Corporation Remote controller, electronic apparatus, and remote control system
TWM482903U (en) * 2013-05-09 2014-07-21 Gan Jun Wei Multifunctional smart family remote control system
CN105096581A (en) * 2015-09-11 2015-11-25 青岛海信电器股份有限公司 Infrared remote control code matching method, remote control equipment and main controlled equipment
CN105741532A (en) * 2014-12-11 2016-07-06 华为终端(东莞)有限公司 Terminal having infrared remote control function, and infrared remote control pairing method
CN105931453A (en) * 2016-06-20 2016-09-07 深圳市欧瑞博电子有限公司 Intelligent infrared device adding method and system thereof
CN106056892A (en) * 2015-04-22 2016-10-26 上海艾斯玛特智能科技有限公司 Infrared remote control method and system
CN106373378A (en) * 2016-09-30 2017-02-01 广东美的制冷设备有限公司 Infrared code matching method, matching device and intelligent socket
US20170272266A1 (en) * 2014-08-22 2017-09-21 Shenzhen Skyworth Digital Technology Co.,Ltd Remote control method for multi-terminal device, and related apparatus and system
CN107274660A (en) * 2017-08-02 2017-10-20 威的科技有限公司 Long-range control method and system, docking station
EP3249624A1 (en) * 2016-05-27 2017-11-29 Remotec Technology Limited Remote control docking station and system
CN110223500A (en) * 2019-06-27 2019-09-10 北京小米移动软件有限公司 Infrared equipment control method and device
CN110276942A (en) * 2019-06-20 2019-09-24 百度在线网络技术(北京)有限公司 Add method, apparatus, equipment and the readable storage medium storing program for executing of controlled device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080253772A1 (en) * 2007-04-10 2008-10-16 Sony Corporation Remote controller, electronic apparatus, and remote control system
TWM482903U (en) * 2013-05-09 2014-07-21 Gan Jun Wei Multifunctional smart family remote control system
US20170272266A1 (en) * 2014-08-22 2017-09-21 Shenzhen Skyworth Digital Technology Co.,Ltd Remote control method for multi-terminal device, and related apparatus and system
CN105741532A (en) * 2014-12-11 2016-07-06 华为终端(东莞)有限公司 Terminal having infrared remote control function, and infrared remote control pairing method
CN106056892A (en) * 2015-04-22 2016-10-26 上海艾斯玛特智能科技有限公司 Infrared remote control method and system
CN105096581A (en) * 2015-09-11 2015-11-25 青岛海信电器股份有限公司 Infrared remote control code matching method, remote control equipment and main controlled equipment
EP3249624A1 (en) * 2016-05-27 2017-11-29 Remotec Technology Limited Remote control docking station and system
CN105931453A (en) * 2016-06-20 2016-09-07 深圳市欧瑞博电子有限公司 Intelligent infrared device adding method and system thereof
CN106373378A (en) * 2016-09-30 2017-02-01 广东美的制冷设备有限公司 Infrared code matching method, matching device and intelligent socket
CN107274660A (en) * 2017-08-02 2017-10-20 威的科技有限公司 Long-range control method and system, docking station
CN110276942A (en) * 2019-06-20 2019-09-24 百度在线网络技术(北京)有限公司 Add method, apparatus, equipment and the readable storage medium storing program for executing of controlled device
CN110223500A (en) * 2019-06-27 2019-09-10 北京小米移动软件有限公司 Infrared equipment control method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王云汉等: "智能化红外遥控接收装置的设计", 《中国新技术新产品》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113587376A (en) * 2021-06-11 2021-11-02 南方电网综合能源股份有限公司 One-key code matching method and system for intelligent controller of air conditioner

Also Published As

Publication number Publication date
CN111246268B (en) 2022-02-15

Similar Documents

Publication Publication Date Title
CN107276864B (en) Method, device and system for controlling household appliances by intelligent voice equipment
US11417331B2 (en) Method and device for controlling terminal, and computer readable storage medium
CN107515764B (en) Application page opening method, terminal and computer readable storage medium
CN111107667A (en) Bluetooth headset pairing method and device and readable storage medium
CN109947771B (en) File type conversion method, apparatus, device and computer readable storage medium
CN110933733B (en) Network distribution method, device, computer equipment and storage medium
CN107318119B (en) Household appliance networking method, household appliance and computer readable storage medium
CN112423238A (en) Electronic device, control terminal, storage medium, and device connection method
CN110070654B (en) Electronic lock unlocking method, system, terminal, electronic lock and computer storage medium
CN106789466B (en) Method for controlling intelligent household appliance, mobile terminal and intelligent household appliance
CN111081005B (en) Directional remote control method, device, equipment and storage medium
CN111147402A (en) Method and device for customizing factory setting items of switch, switch and system
CN108829481B (en) Presentation method of remote controller interface based on control electronic equipment
CN108199935B (en) Distribution network code display method, terminal, server and computer readable storage medium
CN111246268B (en) Pairing method of infrared devices, television and storage medium
CN111125205A (en) Signboard data display method, terminal and storage medium
CN112265879B (en) Elevator control system, debugging method thereof, debugging equipment and readable storage medium
CN112947101A (en) Control method and device of household appliance
CN111083651B (en) Call processing method and device, mobile terminal and computer readable storage medium
CN110708744B (en) Communication control method, home appliance device, and computer-readable storage medium
CN113325729A (en) Area division method of household appliance, terminal device and readable storage medium
CN109298862B (en) Customized data value acquisition method and device and storage medium
CN107901854B (en) Maintenance lamp zeroing method and device and computer readable storage medium
CN105975354B (en) Data output method and electronic equipment
CN112511354A (en) Intelligent household control panel sub-equipment configuration method, computer device and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant