CN113129578A - Matching method, control method, system and storage medium of infrared equipment - Google Patents

Matching method, control method, system and storage medium of infrared equipment Download PDF

Info

Publication number
CN113129578A
CN113129578A CN201911425925.XA CN201911425925A CN113129578A CN 113129578 A CN113129578 A CN 113129578A CN 201911425925 A CN201911425925 A CN 201911425925A CN 113129578 A CN113129578 A CN 113129578A
Authority
CN
China
Prior art keywords
infrared
code
equipment
intelligent
infrared code
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
CN201911425925.XA
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 Digital Technology Co Ltd
Original Assignee
Shenzhen TCL Digital 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 Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Priority to CN201911425925.XA priority Critical patent/CN113129578A/en
Publication of CN113129578A publication Critical patent/CN113129578A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/40Remote control systems using repeaters, converters, gateways
    • G08C2201/42Transmitting or receiving remote control signals via a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a matching method, a control method, a system and a storage medium of infrared equipment, wherein the matching method comprises the following steps: the intelligent device is in communication connection with the cloud; the intelligent device sends an infrared signal corresponding to the infrared code to an infrared device according to the infrared code sent by the cloud end; when the infrared equipment does not respond to the infrared signal corresponding to the infrared code, the intelligent equipment sends the infrared signal corresponding to the new infrared code to the infrared equipment according to the new infrared code until the infrared equipment responds to the infrared signal corresponding to the new infrared code, and the matching of the infrared code between the intelligent equipment and the infrared equipment is completed; and the infrared code library to which the infrared code belongs is different from the infrared code library to which the new infrared code belongs. All connect a plurality of infrared equipment through smart machine, each infrared equipment carries out accurate code checking with smart machine, controls smart machine and controls a plurality of infrared equipment, reduces the study cost of remote control.

Description

Matching method, control method, system and storage medium of infrared equipment
Technical Field
The invention relates to the technical field of infrared equipment, in particular to a matching method, a control method, a system and a storage medium of infrared equipment.
Background
The traditional way of controlling infrared equipment is to equip the infrared equipment with remote controls, a set-top box, a television, a network box, an air conditioner, a fan and the like need one remote control respectively, and each remote control needs a battery.
In the prior art, a plurality of infrared devices are controlled by adopting a universal remote control, and one code value corresponds to different function keys on different types of devices, so that even if the devices of the same kind are of different brands, code libraries of manufacturers are different, the remote control is suitable for all infrared devices, and the remote control learning cost is higher.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The present invention is to provide a matching method, a control method, a system, and a storage medium for infrared devices, aiming at solving the problem of high learning cost of remote control when one remote control is applied to a plurality of infrared devices in the prior art.
The technical scheme adopted by the invention for solving the technical problem is as follows:
in one aspect, an embodiment of the present invention provides a matching method for infrared devices, including:
the intelligent device is in communication connection with the cloud;
the intelligent device sends an infrared signal corresponding to the infrared code to an infrared device according to the infrared code sent by the cloud end;
when the infrared equipment does not respond to the infrared signal corresponding to the infrared code, the intelligent equipment sends the infrared signal corresponding to the new infrared code to the infrared equipment according to the new infrared code sent by the cloud end until the infrared equipment responds to the infrared signal corresponding to the new infrared code, and the infrared code matching between the intelligent equipment and the infrared equipment is completed; and the infrared code library to which the infrared code belongs is different from the infrared code library to which the new infrared code belongs.
As a further improved technical scheme, the infrared codes comprise power supply infrared codes and/or parameter infrared codes.
As a further improved technical solution, when the infrared code includes a power supply infrared code and a parameter infrared code, and matching of the parameter infrared code between the smart device and the infrared device is completed, matching of the power supply infrared code between the smart device and the infrared device is performed.
As a further improved technical solution, the intelligent device is connected with the cloud in a communication manner, including:
the intelligent device receives a distribution network instruction, enters a distribution network mode, is in communication connection with a terminal, configures network parameters through the terminal, and is in communication connection with the cloud end;
the infrared code is specifically transmitted to the intelligent device by the terminal through the cloud after the terminal determines the type and brand of the infrared device according to a user instruction.
As a further improved technical scheme, the intelligent equipment is an intelligent sound box.
In a second aspect, an embodiment of the present invention provides a method for controlling an infrared device, where the infrared device is matched with an intelligent device by using the method for matching an infrared device, and the method for controlling an infrared device includes:
the intelligent device receives a control instruction and sends an infrared signal to the infrared device according to the control instruction;
the infrared device is responsive to the infrared signal.
As a further improved technical scheme, the intelligent device is in communication connection with a cloud end;
the smart device receives a control instruction and sends an infrared signal to the infrared device according to the control instruction, and the method comprises the following steps:
the intelligent equipment receives a voice instruction of a user, converts the voice instruction into text information, and obtains an infrared code through the cloud; the cloud end is used for searching an infrared code library according to the text information to obtain the infrared code and sending the infrared code to the intelligent equipment;
and the intelligent equipment sends an infrared signal corresponding to the infrared code to the infrared equipment according to the infrared code.
As a further improved technical scheme, the intelligent device is in communication connection with the terminal;
the smart device receives a control instruction and sends an infrared signal to the infrared device according to the control instruction, and the method comprises the following steps:
the intelligent equipment receives a control instruction of the terminal and obtains an infrared code through the cloud end;
and the intelligent equipment sends an infrared signal corresponding to the infrared code to the infrared equipment according to the infrared code.
In a third aspect, an embodiment of the present invention provides a control system for an infrared device, including a memory and a processor, where the memory stores a control program for the infrared device, and the processor implements the steps of any one of the control methods when executing the control program for the infrared device.
In a fourth aspect, an embodiment of the present invention provides a storage medium, on which a control program of an infrared device is stored, where the control program of the infrared device, when executed by a processor, implements the steps of any one of the control methods described above.
Has the advantages that: the intelligent device is arranged to match with the infrared devices, specifically, before the intelligent device is used, the intelligent device receives the infrared codes and sends infrared signals corresponding to the infrared codes to the infrared devices, whether the infrared devices respond to the infrared signals is judged, if the infrared devices do not respond to the infrared signals, the infrared codes are not the infrared codes corresponding to the control commands of the infrared devices, therefore, the intelligent device can send the control commands to the infrared devices through replacing the infrared codes and sending new infrared signals until the infrared devices respond to the infrared signals corresponding to the infrared codes, and therefore matching between the intelligent device and the infrared devices is achieved. Can all connect a plurality of infrared equipment through the smart machine, each infrared equipment carries out the accurate code of checking with the smart machine, only controls a plurality of infrared equipment so through controlling the smart machine, reduces the study cost of remote control.
Drawings
Fig. 1 is a first flowchart of a matching method of an infrared device in the present invention.
Fig. 2 is a second flowchart of the matching method of the infrared device in the present invention.
Fig. 3 is a first flowchart of a control method of an infrared device in the present invention.
Fig. 4 is a second flowchart of a control method of an infrared device in the present invention.
Fig. 5 is a functional block diagram of a control system of an infrared device in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The inventor finds that home electronic equipment generally adopts an infrared control mode, namely infrared equipment, code values of control instructions of each infrared equipment are different, one code value corresponds to different function keys (or control instructions) on the infrared equipment of different types, even if the code library of a manufacturer is different for different brands of the same equipment, the remote control is applicable to all infrared equipment and is difficult to realize through one remote control, and even if the remote control is realized, the learning cost of the remote control is very high because the remote control is applicable to all infrared equipment.
Specifically, if the control commands of two infrared devices use the same code value, when a user controls one infrared device, the user may mistakenly control the other infrared device. If the same equipment is of different brands, code libraries of manufacturers are different, that is, the same equipment of different brands and manufacturers is difficult to be unified together through one control command, and the equipment of different brands and manufacturers is easy to be mixed, so that the equipment which is desired to be controlled cannot be controlled.
In order to solve the above problems, in the embodiments of the present invention, an intelligent device is provided to match each infrared device, and specifically, before use, the intelligent device receives an infrared code and sends an infrared signal corresponding to the infrared code to the infrared device, and determines whether the infrared device responds to the infrared signal, and if the infrared device does not respond to the infrared signal, it indicates that the infrared code does not correspond to the infrared code of the control instruction of the infrared device, so that the intelligent device can send the control instruction to the infrared device by replacing the infrared code and sending a new infrared signal until the infrared device responds to the infrared signal corresponding to the infrared code, thereby implementing matching between the intelligent device and the infrared device. Can all connect a plurality of infrared equipment through the smart machine, each infrared equipment carries out the accurate code of checking with the smart machine, only controls a plurality of infrared equipment so through controlling the smart machine, reduces the study cost of remote control.
For example, the embodiment of the invention can be applied to application scenes such as homes, offices, meeting rooms, classrooms, hotels and the like. The infrared devices in this embodiment include, but are not limited to, air conditioners, fans, televisions, refrigerators, rice cookers, speakers, water heaters, electric lights, printers, computers, and doors, and these infrared devices can receive infrared signals and can be controlled by the infrared signals. The intelligent device includes but is not limited to a smart speaker and a smart remote controller. The intelligent device can receive the infrared code and send a corresponding infrared signal to the infrared device according to the infrared code. Before the infrared equipment, the intelligent equipment and the infrared equipment need to be matched, and after the intelligent equipment is matched, the infrared equipment can be controlled through the intelligent equipment.
It should be noted that, when the infrared device is controlled by the intelligent device, the infrared device may be controlled by receiving a trigger key instruction of a user by using a key-type intelligent device; or a voice type intelligent device can be adopted to control the infrared device by receiving a voice instruction sent by a user; the infrared equipment can be controlled by receiving an instruction sent by a user on the internet.
It should be noted that the above application scenarios are only presented to facilitate understanding of the present invention, and the embodiments of the present invention are not limited in any way in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
Various non-limiting embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Referring to fig. 1-2, the present invention provides some embodiments of a matching method for infrared devices.
As shown in fig. 1, a matching method of an infrared device of the present invention includes the following steps.
And S10, the intelligent device is in communication connection with the cloud.
After the intelligent device is started, a user triggers a distribution network instruction through a key to enable the intelligent device to enter a distribution network mode, and the intelligent device is in communication connection with a cloud end through setting of network parameters of the intelligent device. The method for setting the network parameters of the intelligent equipment comprises the following steps: (1) configuring network parameters of the intelligent equipment in a user case input mode; (2) the intelligent device is in communication connection with the terminal after entering a distribution network mode, and a user configures network parameters of the intelligent device through the terminal, so that the intelligent device can be networked and is in communication connection with the cloud.
In an implementation manner of the embodiment of the present invention, after the intelligent device receives a distribution network instruction, enters a distribution network mode, is in communication connection with a terminal, configures network parameters through the terminal, and is in communication connection with the cloud. The intelligent device is connected with the cloud end through an MQTT (Message Queuing Telemetry Transport), wherein the MQTT is a 'lightweight' communication protocol based on a publish/subscribe (publish/subscribe) mode. The MQTT has the greatest advantage that a real-time reliable message service can be provided for connecting remote devices with few codes and limited bandwidth. As an instant messaging protocol with low cost and low bandwidth occupation, the method has wide application in the aspects of Internet of things, small-sized equipment, mobile application and the like. After the communication connection between the intelligent device and the cloud end is established, the infrared codes of the infrared devices can be matched.
And S20, the intelligent device sends an infrared signal corresponding to the infrared code to the infrared device according to the infrared code sent by the cloud.
Specifically, the infrared device generally has a plurality of infrared codes, which can be roughly classified into a parameter infrared code and a power supply infrared code. When the infrared equipment is controlled, the infrared equipment is mainly powered on and powered off (corresponding to a power supply infrared code) and parameter adjustment (corresponding to a parameter infrared code). The power supply infrared code is used for controlling the infrared equipment to be powered on and powered off, and the parameter infrared code is used for controlling the parameter setting of the infrared equipment. For example, the air volume parameter of the fan, the temperature parameter and the mode parameter of the air conditioner, and the volume parameter of the sound box.
It should be noted that some infrared devices only have power supply infrared codes and no parameter infrared codes, for example, a lamp which cannot adjust the brightness only has a switch, and cannot adjust the brightness of the lamp, so that the parameter infrared codes are not available. Of course, some infrared devices only have parameter infrared codes and do not have switch infrared codes, or switch infrared codes are not frequently used, for example, a refrigerator is usually not provided with a switch (an air conditioner provided with a switch is certainly not excluded, and even if the switch is provided, the switch is not frequently used), the refrigerator can work after being plugged, and the temperature parameter of the refrigerator can be adjusted through infrared control. In summary, the infrared code comprises a power supply infrared code and/or a parameter infrared code. Of course, the infrared code may also include other forms of infrared codes. Of course, the power supply infrared code comprises a power-on infrared code and a power-off infrared code, and the parameter infrared code is sent to the infrared device by the infrared signal corresponding to the parameter infrared code when the infrared device is in a power-on state.
The intelligent equipment has multiple modes for acquiring the infrared code: firstly, the infrared code can be triggered by a user through a key of the intelligent device; secondly, the terminal is connected with the intelligent device, a user sends the infrared code to the intelligent device through the terminal, for example, an APP is formed on the terminal, and the infrared code is selected through the APP to send the infrared code to the intelligent device; and thirdly, the terminal is connected with the intelligent equipment through a cloud end, the infrared code sent by the terminal is forwarded to the intelligent equipment through the cloud end, so that the distance between the terminal and the intelligent equipment can be enlarged, and the forwarding of the infrared code can be realized at a larger distance.
It should be noted that some terminals, such as mobile phones, support an infrared function, that is, the terminal itself can be used as the smart device to send an infrared signal to the infrared device. However, some mobile phones do not support the infrared function, and cannot be used as the smart device to send infrared signals to the infrared device. The intelligent device in the invention can adopt a terminal or not.
When the intelligent device adopts the terminal, the infrared signal corresponding to the infrared code is sent to the infrared device according to a user instruction, namely, an infrared code library is stored in the intelligent device, and the infrared signal is sent according to the infrared code in the infrared code library.
When the intelligent device does not adopt a terminal, the terminal forwards the infrared code to the intelligent device through the cloud according to a user instruction, namely, the terminal sends the infrared code to the cloud through an HTTP network request, and the cloud forwards the infrared code to the intelligent device through the MQTT. Specifically, the intelligent device can be distributed with the network through the APP of the terminal, and after the intelligent device is connected to the network, the long MQTT connection is established. And after determining the type and brand of the infrared equipment according to a user instruction, the terminal sends the infrared code to the cloud. For example, the user selects the type of the infrared equipment to be a television through the APP, the brand is a certain brand, the user can select the infrared code through the APP, for example, the volume-increasing infrared code is sent to the cloud end through the HTTP network request, and the cloud end forwards the infrared code to the intelligent equipment through the MQTT.
When the intelligent device does not adopt the terminal, even the terminal without the infrared function can forward the infrared code to the infrared device through the intelligent device, so that the applicability is stronger.
Step S30, when the infrared equipment does not respond to the infrared signal corresponding to the infrared code, the intelligent equipment sends the infrared signal corresponding to the new infrared code to the infrared equipment according to the new infrared code sent by the cloud end, and the infrared equipment completes the matching of the infrared code between the intelligent equipment and the infrared equipment until the infrared equipment responds to the infrared signal corresponding to the new infrared code; and the infrared code library to which the infrared code belongs is different from the infrared code library to which the new infrared code belongs.
It should be noted that, if the infrared device only includes one infrared code, such as a power supply infrared code or a parameter infrared code, matching of the infrared code is completed, and then matching of the smart device and the infrared device is completed. If the infrared device comprises two or more infrared codes, for example, both parametric infrared codes and power supply infrared codes. Can carry out the matching of parameter infrared sign indicating number earlier, carry out the matching of power infrared sign indicating number again, in order to increase the accuracy of the matching of infrared sign indicating number, when carrying out the matching of parameter infrared sign indicating number, owing to ensure infrared equipment is in the power on state (can specifically confirm infrared equipment is in the power on state by the user on APP), so in order to simplify the matching of power infrared sign indicating number, when carrying out the matching of power infrared sign indicating number, this power infrared sign indicating number is the infrared sign indicating number of shutting down, so just need not earlier carry out the matching of power infrared sign indicating number again after infrared equipment shuts down.
The matching accuracy can be improved by fully matching the infrared codes, because the same infrared codes with certain parameters are possibly adopted by the same equipment with different brands, but the infrared codes with other parameters are possibly different from the infrared codes with the power supply, so that the infrared codes are fully matched, the matching accuracy is improved, the matching dead angle is avoided, and the error control is prevented.
Of course, the matching of the power supply infrared code can be performed first, and then the matching of the parameter infrared code can be performed. When matching the parameter infrared codes, the infrared equipment is ensured to be in a starting state, so that matching of the power supply infrared codes is simplified, the power supply infrared codes are the starting infrared codes when the power supply infrared codes are matched, and after the power supply infrared codes are matched, the parameter infrared codes can be directly matched.
Similarly, when there are multiple parameter infrared codes, matching of one infrared code can be performed first, then matching of another infrared code can be performed, and matching of each parameter infrared code is completed by adopting a sequential matching mode.
Specifically, when the infrared code includes a power supply infrared code and a parameter infrared code and matching of the parameter infrared code between the smart device and the infrared device is completed, matching of the power supply infrared code between the smart device and the infrared device is performed.
That is to say, the intelligent device sends the infrared signal corresponding to the parameter infrared code to the infrared device according to the parameter infrared code, and when the infrared device does not respond to the infrared signal corresponding to the parameter infrared code, the intelligent device sends the infrared signal corresponding to the new parameter infrared code to the infrared device according to the new parameter infrared code until the infrared device responds to the infrared signal corresponding to the new parameter infrared code, and the matching of the parameter infrared code between the intelligent device and the infrared device is completed.
For example, the terminal sends a volume increase infrared code to the smart device through the cloud, the smart device sends an infrared signal corresponding to the volume increase infrared code to the infrared device according to the volume increase infrared code, when the infrared device does not respond to the infrared signal corresponding to the volume increase infrared code (i.e., when the volume is not increased), the smart device sends an infrared signal corresponding to the new volume increase infrared code to the infrared device according to the new volume increase infrared code, until the infrared device responds to the infrared signal corresponding to the new volume increase infrared code (when the volume is increased), matching of the volume increase infrared code between the smart device and the infrared device is completed.
In case it is determined that the infrared device is not provided with an infrared code for increasing the volume in response to the volume, the determination may be made by the infrared device or by the user himself, e.g. the infrared device monitors the change of the parameters or the power supply and returns to the smart device if there is a change of the parameters or the power supply. For another example, the user himself observes whether parameters or power of the infrared device change, and when the parameters or power of the infrared device change, the parameters or power of the infrared device are returned to the terminal through the APP, and then the parameters or power of the infrared device are returned to the intelligent device.
Then, the intelligent device sends the infrared signal corresponding to the power supply infrared code to the infrared device according to the power supply infrared code, when the infrared device does not respond to the infrared signal corresponding to the power supply infrared code, the intelligent device sends the infrared signal corresponding to the new power supply infrared code to the infrared device according to the new power supply infrared code until the infrared device responds to the infrared signal corresponding to the new power supply infrared code, and matching of the power supply infrared code between the intelligent device and the infrared device is completed.
For example, after the matching of the parameter infrared code is completed, the terminal (specifically APP) sends a shutdown infrared code to the intelligent device, the intelligent device sends the infrared signal corresponding to the shutdown infrared code to the infrared device, when the infrared device does not respond to the infrared signal corresponding to the shutdown infrared code, the intelligent device sends the infrared signal corresponding to the new shutdown infrared code to the infrared device according to the new shutdown infrared code, until the infrared device responds to the infrared signal corresponding to the new shutdown infrared code, the matching of the shutdown infrared code between the intelligent device and the infrared device is completed.
And finishing the matching of the infrared codes between the intelligent equipment and the infrared equipment, wherein at the moment, the intelligent equipment has the function of controlling the infrared equipment through infrared, and the terminal indirectly controls the function of the infrared equipment through controlling the intelligent equipment. The control after matching is in one-to-one correspondence, the problems of error control and mixing do not exist, and the learning cost of the intelligent equipment is low.
And because the infrared code library to which the infrared code belongs is different from the infrared code library to which the new infrared code belongs, when all the infrared code libraries are tried and the matching is still not completed, ending the process.
Based on the infrared device matching method described in the above embodiment, the present invention further provides a preferred embodiment of a control method for an infrared device:
as shown in fig. 2 and fig. 3, a method for controlling an infrared device according to an embodiment of the present invention, where the infrared device is matched with an intelligent device by using the infrared device matching method described above, includes the following steps:
and S100, the intelligent device receives a control instruction and sends an infrared signal to the infrared device according to the control instruction.
Specifically, the smart device may receive a control instruction, where the control instruction may be triggered by a key (or voice) of a user, the user directly sends the control instruction to the smart device through a terminal, and the control instruction is forwarded to the smart device through the terminal via a cloud.
After the intelligent device is matched with the infrared device, the infrared device can be controlled in a plurality of ways, two control ways are listed below.
Firstly, the intelligent device is in communication connection with a cloud. Step S100 specifically includes:
step S110a, the intelligent device receives a voice command of a user, converts the voice command into text information, and obtains an infrared code through the cloud; the cloud end is used for searching an infrared code library according to the text information to obtain the infrared codes and sending the infrared codes to the intelligent equipment.
The intelligent device can recognize a voice (Audio) instruction sent by a user through an ASR (Automatic Speech Recognition) technology, and extract information from the recognized content through an NLP (Natural Language Processing) technology and process the extracted information to obtain text information. And then the intelligent equipment sends the text information to the cloud end, the cloud end searches in an infrared code library according to the text information, the infrared equipment type and the brand to obtain an infrared code, and sends the infrared code to the intelligent equipment, so that the intelligent equipment obtains the infrared code through the cloud end.
The voice instruction sent by the user can be 'turn on the television', 'turn down the volume of the television', 'turn on the air conditioner', 'raise the temperature of the air conditioner', 'turn the mode of the air conditioner to the air supply mode', 'turn off the light', 'mute the set-top box', 'turn the television to the next station', 'turn the air conditioner to the refrigeration mode', 'swing the fan', and the like.
The cloud specifically adopts the following searching process:
1. and searching the infrared equipment needing to be controlled according to the type of the infrared equipment.
2. It is determined whether to switch control or parameter control.
3. If the equipment with the state code, such as an air conditioner, needs to store the controlled equipment information in the user equipment table. If the device is a device without the state code, the device information after control does not need to be stored in a user equipment table.
4. Depending on the device type of the phonetic text, specific switch controls or parameters are added to match to the KeyID.
5. And searching an infrared code library corresponding to the infrared equipment.
6. And searching the code value and the sending frequency of the infrared code through the KeyID and the infrared code library.
The cloud end has the condition of finding failure when finding the infrared code, and specifically, if the infrared code does not belong to the infrared code library, that is, if the infrared device does not support the infrared code, the infrared code finding failure is caused, for example, the voice instruction is to increase the volume of the air conditioner, and actually, the infrared code library of the air conditioner does not have the volume-increased infrared code, and thus the infrared code cannot be obtained. And when the infrared code search fails, the cloud returns infrared control failure to the infrared equipment.
Of course, the intelligent device may also store an infrared code library by itself, and after the text information is obtained through ASR technology recognition, the intelligent device may search for the infrared code in its own infrared code library. In order to ensure the effectiveness of the infrared code library, the infrared code library on the intelligent device can be updated according to time through a cloud or a terminal.
And step S120a, the intelligent device sends an infrared signal corresponding to the infrared code to the infrared device according to the infrared code.
And the intelligent equipment sends an infrared signal corresponding to the infrared code to the infrared equipment after obtaining the infrared code, so that the infrared equipment is controlled.
Secondly, the intelligent equipment is in communication connection with a terminal; step S100 specifically includes:
step S110b, the intelligent device receives the control instruction of the terminal and obtains the infrared code through the cloud.
The user passes through the APP at terminal to smart machine sends control command, smart machine receives behind the control command that the terminal sent, for example, the user passes through terminal APP sends (pronunciation) control command and gives smart machine, for example, "turn up a little air conditioner temperature", through the (pronunciation) control command that ASR technique discernment user sent to through NLP technique to the content extraction information of discernment and handle and obtain the semantic result, smart machine sends the semantic result to the high in the clouds, the high in the clouds obtains infrared equipment through the semantic result, and for example, infrared equipment is "air conditioner" this moment, then looks for infrared code according to the matching rule in the infrared code bank that the air conditioner corresponds. And when the infrared code is not found (namely, the finding is failed), returning to the infrared control failure, and ending. When the infrared code is found (i.e., no search failure), step S120b is performed.
And step S120b, the intelligent device sends an infrared signal corresponding to the infrared code to the infrared device according to the infrared code.
And the intelligent equipment sends an infrared signal corresponding to the infrared code to the infrared equipment after obtaining the infrared code, so that the infrared equipment is controlled.
And S200, responding the infrared signal by the infrared equipment.
Specifically, after receiving the infrared signal, the infrared device executes a corresponding instruction and performs corresponding processing. Since these infrared codes have already been matched, no problems of false control or confusion arise.
Based on the infrared device control method described in the above embodiment, the present invention further provides a preferred embodiment of a control system for an infrared device:
the invention provides a control system of an infrared device, which can be a terminal, and the internal structure of the control system is shown in figure 5. The control system of the infrared equipment comprises a processor, a memory, a network interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the control system of the infrared device is used to provide computing and control capabilities. The memory of the control system of the infrared device 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 control system of the infrared device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement the infrared device control method. The display screen of the control system of the infrared equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the control system of the infrared equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the control system of the infrared equipment, an external keyboard, a touch pad or a mouse and the like.
It will be understood by those skilled in the art that the block diagram of fig. 5 is only a partial structure relevant to the present disclosure, and does not constitute a limitation on the control system of the infrared device to which the present disclosure is applied, and the control system of a particular infrared device may include more or less components than those shown in the drawings, or may combine some components, or have a different arrangement of components.
The control system of the infrared device in the embodiment of the invention comprises a memory and a processor, wherein the memory stores a control program of the infrared device, and the processor realizes the following steps when executing the control program of the infrared device:
and the intelligent equipment receives the control instruction and sends an infrared signal to the infrared equipment according to the control instruction.
The infrared device is responsive to the infrared signal.
Based on the infrared device control method described in the above embodiment, the present invention further provides a preferred embodiment of a storage medium:
the storage medium of the embodiment of the present invention stores a control program of an infrared device thereon, and the control program of the infrared device implements the following steps when executed by a processor:
and the intelligent equipment receives the control instruction and sends an infrared signal to the infrared equipment according to the control instruction.
The infrared device is responsive to the infrared signal.
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 matching method of infrared equipment is characterized by comprising the following steps:
the intelligent device is in communication connection with the cloud;
the intelligent device sends an infrared signal corresponding to the infrared code to an infrared device according to the infrared code sent by the cloud end;
when the infrared equipment does not respond to the infrared signal corresponding to the infrared code, the intelligent equipment sends the infrared signal corresponding to the new infrared code to the infrared equipment according to the new infrared code sent by the cloud end until the infrared equipment responds to the infrared signal corresponding to the new infrared code, and the infrared code matching between the intelligent equipment and the infrared equipment is completed; and the infrared code library to which the infrared code belongs is different from the infrared code library to which the new infrared code belongs.
2. The matching method for infrared devices, according to claim 1, characterized in that said infrared code comprises a power supply infrared code and/or a parameter infrared code.
3. The infrared device matching method according to claim 2, wherein matching of the power supply infrared code between the smart device and the infrared device is performed when the infrared code includes a power supply infrared code and a parameter infrared code and matching of the parameter infrared code between the smart device and the infrared device is completed.
4. The matching method for the infrared devices as claimed in any one of claims 1 to 3, wherein the smart device is connected to a cloud in a communication manner, and comprises:
the intelligent device receives a distribution network instruction, enters a distribution network mode, is in communication connection with a terminal, configures network parameters through the terminal, and is in communication connection with the cloud end;
the infrared code is specifically transmitted to the intelligent device by the terminal through the cloud after the terminal determines the type and brand of the infrared device according to a user instruction.
5. The matching method of the infrared devices as claimed in any one of claims 1 to 3, wherein the smart device is a smart speaker.
6. A control method of an infrared device, wherein the infrared device is matched with an intelligent device by using the matching method of the infrared device as claimed in any one of claims 1 to 5, the control method comprising the steps of:
the intelligent device receives a control instruction and sends an infrared signal to the infrared device according to the control instruction;
the infrared device is responsive to the infrared signal.
7. The method for controlling the infrared device according to claim 6, wherein the intelligent device receives a control instruction and sends an infrared signal to the infrared device according to the control instruction, and the method comprises:
the intelligent equipment receives a voice instruction of a user, converts the voice instruction into text information, and obtains an infrared code through the cloud; the cloud end is used for searching an infrared code library according to the text information to obtain the infrared code and sending the infrared code to the intelligent equipment;
and the intelligent equipment sends an infrared signal corresponding to the infrared code to the infrared equipment according to the infrared code.
8. The method for controlling the infrared device according to claim 6, wherein the smart device is in communication connection with a terminal;
the smart device receives a control instruction and sends an infrared signal to the infrared device according to the control instruction, and the method comprises the following steps:
the intelligent equipment receives a control instruction of the terminal and obtains an infrared code through the cloud end;
and the intelligent equipment sends an infrared signal corresponding to the infrared code to the infrared equipment according to the infrared code.
9. A control system for an infrared device, comprising a memory and a processor, wherein the memory stores a control program for the infrared device, and the processor implements the steps of the control method according to any one of claims 6 to 8 when executing the control program for the infrared device.
10. A storage medium having stored thereon a control program for an infrared device, characterized in that the control program for the infrared device realizes the steps of the control method according to any one of claims 6 to 8 when executed by a processor.
CN201911425925.XA 2019-12-31 2019-12-31 Matching method, control method, system and storage medium of infrared equipment Pending CN113129578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911425925.XA CN113129578A (en) 2019-12-31 2019-12-31 Matching method, control method, system and storage medium of infrared equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911425925.XA CN113129578A (en) 2019-12-31 2019-12-31 Matching method, control method, system and storage medium of infrared equipment

Publications (1)

Publication Number Publication Date
CN113129578A true CN113129578A (en) 2021-07-16

Family

ID=76771011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911425925.XA Pending CN113129578A (en) 2019-12-31 2019-12-31 Matching method, control method, system and storage medium of infrared equipment

Country Status (1)

Country Link
CN (1) CN113129578A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113793495A (en) * 2021-09-15 2021-12-14 云茂互联智能科技(厦门)有限公司 Wireless control method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105654710A (en) * 2016-02-03 2016-06-08 北京晶点科技有限公司 Addition method for infrared control of household appliances
CN105654704A (en) * 2015-12-31 2016-06-08 杭州古北电子科技有限公司 Intelligent infrared control device and intelligent infrared control system
CN106781422A (en) * 2016-12-22 2017-05-31 中山市西雅斯智能家电有限公司 A kind of household electric appliances telecontrol management system
CN109218146A (en) * 2018-10-12 2019-01-15 浙江工商大学 Infrared household electrical appliances cloud control method and system based on wechat public platform
CN109920240A (en) * 2019-01-28 2019-06-21 华为技术有限公司 A kind of method, device and equipment of infrared controller and infrared equipment Auto-matching
CN110299002A (en) * 2019-07-22 2019-10-01 吉林大学 A kind of infrared control system and method based on Internet of Things cloud platform
CN209642689U (en) * 2018-12-20 2019-11-15 深圳市朗强科技有限公司 A kind of IR remote controller and electrical control system based on acoustic control

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105654704A (en) * 2015-12-31 2016-06-08 杭州古北电子科技有限公司 Intelligent infrared control device and intelligent infrared control system
CN105654710A (en) * 2016-02-03 2016-06-08 北京晶点科技有限公司 Addition method for infrared control of household appliances
CN106781422A (en) * 2016-12-22 2017-05-31 中山市西雅斯智能家电有限公司 A kind of household electric appliances telecontrol management system
CN109218146A (en) * 2018-10-12 2019-01-15 浙江工商大学 Infrared household electrical appliances cloud control method and system based on wechat public platform
CN209642689U (en) * 2018-12-20 2019-11-15 深圳市朗强科技有限公司 A kind of IR remote controller and electrical control system based on acoustic control
CN109920240A (en) * 2019-01-28 2019-06-21 华为技术有限公司 A kind of method, device and equipment of infrared controller and infrared equipment Auto-matching
CN110299002A (en) * 2019-07-22 2019-10-01 吉林大学 A kind of infrared control system and method based on Internet of Things cloud platform

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113793495A (en) * 2021-09-15 2021-12-14 云茂互联智能科技(厦门)有限公司 Wireless control method and device

Similar Documents

Publication Publication Date Title
CN107101326B (en) Method and system for controlling intelligent air conditioner based on mobile terminal and mobile terminal
CN107566226B (en) Method, device and system for controlling smart home
EP2840455B1 (en) Method, apparatus and system for intelligently controlling device, and plug-and-play device
WO2019205134A1 (en) Smart home voice control method, apparatus, device and system
CN105634881B (en) Application scene recommendation method and device
US20150188855A1 (en) Systems and Methods for Instant Messaging
CN110235087B (en) Method and terminal for realizing voice control
CN112423238B (en) Electronic device, control terminal, storage medium, and device connection method
US10749704B2 (en) Intelligent terminal remote controller-based internet-of-things control system and control method
CN106603944B (en) Smart television control method and system
CN112929246B (en) Processing method of operation instruction, storage medium and user terminal
US20200213653A1 (en) Automatic input selection
CN111123875A (en) Intelligent household control method and system and intelligent tea table
CN111915870A (en) Method and device for adding remote controller code value through voice, television and storage medium
CN112255926A (en) Method for managing contextual model of smart home system
CN108694827B (en) Household appliance voice control method and device and central control equipment
CN114067798A (en) Server, intelligent equipment and intelligent voice control method
US20240201945A1 (en) Electronic apparatus, display apparatus and method of controlling the same
AU2013388030A1 (en) Method, apparatus, and system for intelligently controlling device, and plug-and-play device
CN115101071A (en) Low-power-consumption Bluetooth voice control terminal, method, device and equipment
CN112837526A (en) Universal integrated remote control method, control device and universal integrated remote control device
CN112585675A (en) Method, apparatus and system for selectively using a plurality of voice data receiving apparatuses for intelligent service
CN112712683B (en) Control method and system of household appliance, remote controller and server
CN114120999A (en) Equipment control method and device
CN113129578A (en) Matching method, control method, system and storage medium of infrared 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: 20210716