CN111833585A - Method, device and equipment for intelligent equipment to learn remote control function and storage medium - Google Patents

Method, device and equipment for intelligent equipment to learn remote control function and storage medium Download PDF

Info

Publication number
CN111833585A
CN111833585A CN201910310047.0A CN201910310047A CN111833585A CN 111833585 A CN111833585 A CN 111833585A CN 201910310047 A CN201910310047 A CN 201910310047A CN 111833585 A CN111833585 A CN 111833585A
Authority
CN
China
Prior art keywords
instruction
control function
infrared
server
intelligent
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
CN201910310047.0A
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.)
Baidu Online Network Technology Beijing Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910310047.0A priority Critical patent/CN111833585A/en
Publication of CN111833585A publication Critical patent/CN111833585A/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
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/30User interface
    • G08C2201/31Voice input

Abstract

The present disclosure provides a method, an apparatus, a device and a storage medium for intelligent device to learn remote control function, the intelligent device has infrared receiving function, the method, the apparatus, the device and the storage medium provided by the present disclosure include: receiving a first instruction corresponding to a control function, and acquiring an infrared code through an infrared receiving function of the intelligent device according to the first instruction; and storing the corresponding relation between the infrared code and the control function. The method, the device, the equipment and the storage medium can learn the function of the remote controller of the household appliance based on the infrared receiving function of the intelligent equipment, and further solve the problem that the intelligent equipment is not matched with the household appliance when the household appliance is controlled by using the intelligent equipment as the remote controller in the prior art.

Description

Method, device and equipment for intelligent equipment to learn remote control function and storage medium
Technical Field
The present disclosure relates to smart home control technologies, and in particular, to a method, an apparatus, a device, and a storage medium for learning a remote control function by a smart device.
Background
At present, many household appliances can be controlled through an infrared remote controller, such as a television, however, the control mode requires a user to find the remote controller first and then press keys on the remote controller to control the household appliances, which results in a complicated control process.
Therefore, a scheme for controlling a household appliance by voice is provided in the prior art, for example, a television can be controlled by a remote controller provided with a voice component, and for example, the household appliance can be controlled by an intelligent device with a built-in voice module, a user can send an instruction to the intelligent device by a voice mode, and the intelligent device sends an instruction to the household appliance.
However, the types of household appliances in the prior art are numerous, and each household appliance cannot be adapted to the intelligent device, so that some household appliances which are not adapted to the intelligent device or are not adapted to the intelligent device cannot be controlled by using the intelligent device as a remote controller.
Disclosure of Invention
The present disclosure provides a method, an apparatus, a device and a storage medium for an intelligent device to learn a remote control function, so as to solve the problem in the prior art that the intelligent device is not adapted to a controlled electrical appliance.
A first aspect of the present disclosure is to provide a method for a smart device to learn a remote control function, the smart device having an infrared receiving function, the method comprising:
receiving a first instruction corresponding to a control function, and acquiring an infrared code through an infrared receiving function of the intelligent equipment according to the first instruction;
and storing the corresponding relation between the infrared code and the control function.
Another aspect of the present disclosure is to provide an apparatus for learning a remote control function of a smart device, the smart device having an infrared receiving function, the apparatus including:
the receiving module is used for receiving a first instruction corresponding to a control function and acquiring an infrared code through an infrared receiving function of the intelligent equipment according to the first instruction;
and the storage module is used for storing the corresponding relation between the infrared code and the control function.
Yet another aspect of the present disclosure is to provide an electronic device including:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method for smart device learning remote control functionality as described in the first aspect above.
Yet another aspect of the present disclosure is to provide a computer-readable storage medium having stored thereon a computer program, which is executed by a processor to implement the method for learning a remote control function by a smart device as described in the first aspect above.
The method, the device, the equipment and the storage medium for the intelligent equipment to learn the remote control function have the technical effects that:
the method, the device, the equipment and the storage medium provided by the disclosure for the intelligent equipment to learn the remote control function have an infrared receiving function, and comprise the following steps: receiving a first instruction corresponding to a control function, and acquiring an infrared code through an infrared receiving function of the intelligent device according to the first instruction; and storing the corresponding relation between the infrared code and the control function. The method, the device, the equipment and the storage medium can learn the function of the remote controller of the household appliance based on the infrared receiving function of the intelligent equipment, and further solve the problem that the intelligent equipment is not matched with the household appliance when the household appliance is controlled by using the intelligent equipment as the remote controller in the prior art.
Drawings
FIG. 1 is a flow chart illustrating a method for a smart device to learn remote control functionality in accordance with an exemplary embodiment of the present invention;
FIG. 2 is a flow chart illustrating a method for a smart device to learn remote control functionality in accordance with another exemplary embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for a smart device to learn remote control functionality in accordance with yet another exemplary embodiment of the present invention;
FIG. 4 is a block diagram illustrating an apparatus for learning remote control functions for an intelligent device in accordance with an exemplary embodiment of the present invention;
fig. 5 is a block diagram illustrating an apparatus for learning a remote control function by an intelligent device according to another exemplary embodiment of the present invention;
fig. 6 is a block diagram illustrating an apparatus for learning a remote control function of an intelligent device according to still another exemplary embodiment of the present invention;
fig. 7 is a block diagram illustrating an electronic device according to an exemplary embodiment of the present invention.
Detailed Description
At present, many household appliances can be operated by voice. The method is characterized in that a user sends a voice instruction to the intelligent device, and the intelligent device recognizes the voice instruction and further sends the instruction to the household appliance. In general, a relation table between the control function and the instruction can be preset, so that the intelligent device can determine the control function to be executed according to the voice instruction, find the corresponding instruction and further control the household appliance.
However, household appliances of various brands and the same brand and type also include various models, and for manufacturers of intelligent devices, it is difficult to acquire instructions corresponding to control functions of household appliances of each model, which causes the problem that the intelligent devices are not adapted to the household appliances. For example, if a relation table between the control function and the instruction of the type a television is not acquired in advance, the type a television cannot be controlled by the intelligent device.
By adopting the scheme provided by the embodiment of the invention, the intelligent equipment can learn the control function of the remote controller, specifically, after receiving the first instruction, the intelligent equipment can respond to the instruction to obtain the infrared code corresponding to the control function and store the corresponding relation between the infrared code and the control function. The scheme provided by the embodiment can acquire the relation table of the control function and the instruction without pre-acquisition, so that the intelligent device can be adapted to various household appliances.
The system architecture to which the method provided by this embodiment is applicable may include an intelligent device, a server, and an intelligent terminal. The intelligent device can be connected with the server through a network, the intelligent device and the server can perform data interaction, for example, the server can issue an instruction to the intelligent device, and the intelligent device can acquire required data from the server. The server can also be connected with an intelligent terminal through a network, the intelligent terminal can be a smart phone, and the intelligent terminal and the smart phone are similar and can also carry out data interaction.
Fig. 1 is a flowchart illustrating a method for learning a remote control function by an intelligent device according to an exemplary embodiment of the present invention.
Wherein, the smart machine possesses infrared receiving function. For example, an infrared receiving circuit, such as an infrared receiving diode, a triode, or a silicon photocell, may be disposed in the smart device, and converts infrared light emitted from the infrared emitter into a corresponding electrical signal, and then processes the electrical signal to obtain an infrared code of the received infrared signal.
Specifically, the smart device may further have an infrared transmission function. For example, when the intelligent device receives an instruction, the instruction encoding circuit generates a required instruction encoding signal, the instruction encoding signal modulates a carrier, and the transmission circuit transmits the modulated instruction encoding signal to the outside after the power amplification is performed by the driving circuit. The transmitting circuit may employ an infrared light emitting diode to emit modulated infrared light waves. After the intelligent device learns the remote control function of the electric appliance of a certain type, the infrared signal can be sent to the electric appliance based on the instruction of the user, so that the electric appliance of the type is controlled.
As shown in fig. 1, the method for learning a remote control function by an intelligent device provided in this embodiment includes:
step 101, receiving a first instruction corresponding to a control function, and obtaining an infrared code through an infrared receiving function according to the first instruction.
Further, the method provided by this embodiment may be used to control the intelligent device to learn the remote control function of the household appliance, specifically, to control the remote control function of the appliance through the infrared signal, for example, the control function of the television remote control and the control function of the air conditioner remote control.
In practical application, the smart device may be an electronic device with infrared signal transmitting and receiving functions, such as a smart speaker with an infrared transceiver built therein, or a smart phone, a smart watch, and the like with an infrared transceiver built therein.
The method for executing the embodiment may be the intelligent device itself, or may be other electronic devices capable of being connected to the intelligent device, such as a server.
In one implementation, the method provided in this embodiment may be performed by the smart device, and at this time, the first instruction is directly sent to the smart device. The implementation mode can have a plurality of application scenes, and the following takes the intelligent sound box as an example to describe several application scenes.
For example, the user may issue an instruction to the smart speaker to learn a remote control function, so that the smart speaker receives the first instruction. The instruction can be a voice instruction, and can also be sent by operating a touch screen, an entity key and the like of the sound box. The instruction may also include a control function to enable the speaker to learn the current learned function. Or after the learning process of the intelligent sound box is triggered, the intelligent device may acquire the current learning control function, where the current learning control function may be a built-in learning process of the intelligent sound box or a current learning control function issued by a server connected to the sound box. For example, the user may say "learn the on/off function", and for example, the server may issue an instruction to the smart speaker to learn the on/off function, and text content of the "learn the on/off function" may be displayed in the smart speaker.
After the user sends the first instruction, the user can operate the remote controller to enable the remote controller to send the infrared signal corresponding to the control function, and meanwhile, after the intelligent device receives the first instruction, the intelligent device can receive the infrared signal, so that the infrared signal corresponding to the control function is obtained.
For another example, the first instruction may also be issued to the smart speaker by the server. The user can install a client matched with the intelligent sound box at the mobile phone end, and input intelligent sound box information, such as sound box identification, in the client, and the corresponding relation between the sound box identification and the user account can be stored in the server. Meanwhile, the user can operate the intelligent sound box to enable the intelligent sound box to be connected into the Internet. In the application scenario, a user can click a key for starting learning a remote control function in a client, the mobile phone can send the instruction to the server, the instruction can also carry user information during sending, and the server can send a first instruction to the intelligent sound box bound with the user information.
The first instruction may also carry a control function, for example, the mobile phone end carries a control function when sending an instruction to the server, for example, a plurality of control functions are displayed at the mobile phone end, and the user may select one of the control functions to learn, at this time, the mobile phone terminal may send the control function selected by the user to the server, and in this embodiment, the first instruction sent by the server to the smart sound box may also carry the control function. In addition, the server can also send the currently-learned control function to the mobile phone end, so that the mobile phone end can display the guide content corresponding to the control function, and in addition, the server can also send a first instruction to the intelligent device, so that the intelligent device receives the infrared signal.
If the first instruction received by the intelligent sound box comprises the control function, the currently learned control function can be displayed in the intelligent sound box.
After the user operates the mobile phone end, the remote controller can be operated to send the infrared signal corresponding to the control function. For example, a current learning control function, such as a volume adding function, can be displayed at the mobile phone terminal, and the user can click a learning key at the mobile phone terminal, so that the server is triggered to send a first instruction to the intelligent device, and the intelligent device receives an infrared signal. The user may then operate the volume up key of the remote control. After receiving the first instruction, the intelligent device waits for receiving the infrared signal, and at the moment, the intelligent device can receive the infrared signal sent by the remote controller through user operation.
For another example, the first instruction may also be sent to the smart speaker through a mobile phone. The user can operate the mobile phone, so that the mobile phone is connected with the intelligent sound box through the Bluetooth. In this case, the user can press the key of the learning remote control function in the mobile phone software to trigger the mobile phone to directly send the first instruction to the smart sound box in a bluetooth mode.
The first instruction may also carry a control function, for example, the mobile phone end carries the control function when sending the instruction to the smart sound box, so that the first instruction also carries the control function. The current learning control function can be displayed in a mobile phone end or an intelligent sound box.
After the user operates the mobile phone to send the first instruction to the smart sound box, the user can operate the remote controller to enable the remote controller to send the infrared signal corresponding to the control function. Meanwhile, after the intelligent sound box receives the first instruction, the intelligent sound box waits for receiving the infrared signal, and then the intelligent sound box can capture the infrared signal sent by the remote controller.
After receiving the infrared signals, the intelligent sound box can process the infrared signals to obtain corresponding infrared codes.
In another implementation, the method provided in this embodiment may also be executed by a server. At this time, the first instruction is sent to the server, and this embodiment may have a plurality of application scenarios, and several application scenarios are described below by taking the smart speaker as an example.
For example, the first instruction may be sent to the server through a mobile phone terminal. The user can install a client matched with the intelligent sound box at the mobile phone end, and input intelligent sound box information, such as sound box identification, in the client, and the corresponding relation between the sound box identification and the user account can be stored in the server. The user can trigger the process of learning the remote control function in the mobile phone terminal, at the moment, the mobile phone end displays a control function, the control function can be issued to the mobile phone end by the server, or can be built in the mobile phone end, and if the control function is built in the mobile phone end, the mobile phone end can synchronize the currently-learned control function with the server.
A first instruction corresponding to the control function can be sent to the server through the mobile phone. For example, the instruction may be automatically sent by the mobile phone, or may be sent by the mobile phone through user operation.
After receiving the first instruction, the server can send a receiving instruction to the intelligent sound box to enable the intelligent sound box to wait for receiving the infrared signal. In addition, the current learning control function can be displayed at the mobile phone end, and a user is guided to operate the remote controller to press the key corresponding to the remote control function, so that the remote controller sends an infrared signal. After receiving the infrared signal, the intelligent sound box can convert the infrared signal into an infrared code and send the infrared code to the server, so that the server can obtain the infrared code.
For another example, the first instruction may also be sent to the server through the smart speaker. The user can operate the intelligent sound box to control the learning remote control function of the intelligent sound box, for example, the user can click a learning remote control function button in the intelligent sound box to enable the intelligent sound box to enter a learning process, at the moment, a current learning control function can be displayed in a display interface of the intelligent sound box, and the first instruction is sent to the server. When the intelligent sound box learns the control function of the next learning, the first instruction can be continuously sent to the server.
After the intelligent sound box enters the learning process, the intelligent sound box can wait for receiving the infrared signals. Meanwhile, after seeing the control function displayed in the display interface, the user can operate the key corresponding to the control function on the remote controller, so that the remote controller sends the infrared signal corresponding to the control function. The intelligent sound box can receive the infrared signal, convert the infrared signal into an infrared code and then send the infrared code to the server through the network.
In the method provided by this embodiment, an infrared code corresponding to a control function can be obtained through an infrared receiving function of the smart device.
The server may be implemented as a distributed server cluster composed of a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
And 102, storing the corresponding relation between the infrared code and the control function.
After the electronic device executing the method provided by this embodiment obtains the infrared code, the corresponding relationship between this control function and the infrared code may be stored.
If the correspondence is stored by the smart device, a memory may be provided in the smart device, wherein at least one control function to infrared code correspondence table, such as a television control table for model a, may be maintained.
If the server stores the corresponding relationship, a corresponding table database can be arranged in the server and used for storing at least one corresponding relationship table of the control function and the infrared code.
After the intelligent device is controlled to learn the remote control function, the intelligent device can be used for controlling the corresponding household appliance. For example, after controlling the smart device to learn the television control function of the model a, the user can control the television of the model a by using the smart device. The intelligent device can obtain the infrared code corresponding to the control function from a local or server according to the user instruction, then generates an infrared signal through the infrared code, and sends the infrared signal to the electric appliance to complete the control process.
The method provided by the embodiment is used for controlling the intelligent device to learn the remote control function, and is executed by the device provided with the method provided by the embodiment, and the device is generally realized in a hardware and/or software mode.
In the method for learning a remote control function of an intelligent device provided in this embodiment, the intelligent device has an infrared receiving function, and the method includes: receiving a first instruction corresponding to a control function, and acquiring an infrared code through an infrared receiving function of the intelligent device according to the first instruction; and storing the corresponding relation between the infrared code and the control function. The method provided by the embodiment can learn the remote controller function of the household appliance based on the infrared receiving function of the intelligent device, and further solves the problem that the intelligent device is not matched with the household appliance when the household appliance is controlled by the intelligent device serving as a remote controller in the prior art.
Fig. 2 is a flowchart illustrating a method for learning a remote control function by an intelligent device according to another exemplary embodiment of the present invention.
The method provided by the embodiment is executed by the server connected with the intelligent device with the infrared receiving function, and the server and the intelligent device can be connected through a network.
As shown in fig. 2, the method for learning a remote control function by an intelligent device provided in this embodiment includes:
step 201, a server receives a first instruction corresponding to a control function sent by a terminal.
The user can operate in the terminal provided with the client matched with the intelligent equipment to enter a process of learning a remote control function.
In one embodiment, the terminal may obtain the control function currently needing to be learned from the server, for example, the terminal sends an obtaining request to the server, so that the server issues a display instruction including the control function to the terminal, so that the terminal displays guidance content according to the control function, for example, displays content prompting the user to press an xx key in a remote controller. In another embodiment, the control functions to be learned may be stored in the client, so that the user may select among the control functions, and at this time, the terminal may feed back the currently learned control function to the server, so that the server knows which control function is currently learned.
The user can operate according to the control function displayed in the current display interface, for example, clicking to start learning, and triggering the terminal to send a first instruction to the server. The first instruction may also be automatically sent to the server after the terminal displays the control function.
Step 202, the server sends an instruction for receiving the infrared signal to the intelligent device, so that the intelligent device receives the infrared signal.
Further, after the server receives the first instruction, an instruction for receiving the infrared signal can be issued to the intelligent device through the network, and at the moment, the intelligent device waits for receiving the infrared signal.
After the control function needing to be learned currently is displayed in the application interface of the terminal, a user can operate the infrared remote controller needing to be learned and press the key corresponding to the control function, so that the remote controller sends out an infrared signal corresponding to the control function.
During practical application, the intelligent equipment can receive the infrared signal sent by the remote controller and convert the infrared signal into an infrared code. The intelligent device also uploads the converted infrared codes to the server through the network.
And step 203, the server receives the infrared code which is sent by the intelligent equipment and determined according to the infrared signal.
After the intelligent device uploads the infrared code, the server can receive the infrared code corresponding to the currently-learned control function.
And step 204, the server stores the corresponding relation between the infrared code and the control function.
The specific principle and implementation of step 204 are similar to those of step 102, and are not described here again.
Step 205, the server sends a confirmation instruction to the intelligent device, so that the intelligent device outputs the learning result in a form of voice according to the confirmation instruction.
After the server receives the infrared code, the server may consider that the learning process of the current control function is finished, and at this time, the server may send a confirmation instruction including successful learning to the intelligent device to inform the intelligent device that the learning process of the current learning control function is finished.
And when the intelligent equipment receives the confirmation instruction, the intelligent equipment can also output a learning result. When the smart machine possesses the voice module that can the vocal, it can be accomplished with the learning of the form output "xx control function of pronunciation to make the user learn that this control function is accomplished. Such an implementation may be employed, for example, when the smart device is a sound box.
Specifically, the smart device may output the learning result in the form of a light, such as a green light.
In another case, if the server does not receive the infrared code within the preset time, it may be determined that the learning result of the current learning control function is a failure, and a confirmation instruction including the learning failure may be issued to the smart device.
In this case, the smart device may output "xx control function failed in learning" in the form of voice, and may notify the user of the result of the failed learning by lighting a red light.
In step 206, the server receives a control instruction sent by the intelligent device, wherein the control instruction is determined by the intelligent device according to the voice instruction of the user.
In the method provided by this embodiment, the smart device may have a voice module, for example, a smart speaker, and may communicate with the user in a voice manner.
If the learning is successful, the intelligent device can prompt the user to control the household appliance by using the currently-learned control function, for example, the intelligent device can remind the user in a voice mode to "speak out the' xx control function" to try learning result bar ". At this time, the user may speak the "xx control function" prompted by the smart device, thereby sending a voice instruction to the smart device.
After receiving the voice command, the intelligent device can recognize the content in the voice command according to a preset language recognition algorithm and determine a corresponding control command. The control command may be, for example, "turn on the television", "turn up the temperature", or the like.
Specifically, the smart device may send a control instruction to the server so that the server can receive the control instruction.
And step 207, the server determines a control function according to the control instruction and determines an infrared code corresponding to the control function according to the corresponding relation.
Further, after receiving the control instruction, the server may determine the control function according to the control instruction, for example, if the control instruction is "raise the temperature", the control function corresponds to the function of raising the temperature. The server stores the corresponding relation between the control function of the electric appliance and the infrared code, and can also acquire the infrared code corresponding to the control function in the relation. For example, if the intelligent device guides the user to test a newly-learned remote control function of the air conditioner, the server may acquire a corresponding relationship between the control function of the air conditioner and the infrared code.
And step 208, the server sends the infrared code to the intelligent device, so that the intelligent device sends an infrared signal to the electric appliance according to the infrared code.
In practical application, after determining the corresponding infrared code, the server may issue the infrared code to the smart device.
After receiving the infrared code, the intelligent device can generate an infrared signal according to the infrared code and send the infrared signal. The controlled electric appliance can receive the infrared signal, and after receiving the infrared signal, the controlled electric appliance can execute a corresponding function according to the infrared signal.
Optionally, the user may determine whether the electrical appliance performs the corresponding function by observing, and if the electrical appliance performs the corresponding function, the user may consider that the learning is successful, and may speak the content of the learning success to the smart device. If the electric appliance does not execute the corresponding function, the learning is considered to be failed, and at the moment, the user can also speak the content of the learning failure to the intelligent equipment and reenter the learning process of the control function.
Fig. 3 is a flowchart illustrating a method for learning a remote control function by an intelligent device according to yet another exemplary embodiment of the present invention.
The method provided by the embodiment is executed by the intelligent device with the infrared receiving function, and the intelligent device can be connected with a server through a network.
As shown in fig. 3, the method for learning a remote control function by an intelligent device provided in this embodiment includes:
step 301, the smart device receives a first instruction corresponding to a control function sent by the server.
The user can operate in the terminal provided with the client matched with the intelligent equipment to enter a process of learning a remote control function.
In one embodiment, the terminal may obtain the control function currently needing to be learned from the server, for example, the terminal sends an obtaining request to the server, so that the server issues a display instruction including the control function to the terminal, so that the terminal displays guidance content according to the control function, for example, displays content prompting the user to press an xx key in a remote controller. In another embodiment, the control functions to be learned may be stored in the client, so that the user may select among the control functions, and at this time, the terminal may feed back the currently learned control function to the server, so that the server knows which control function is currently learned.
The user can operate according to the control function displayed in the current display interface, for example, clicking to start learning, and triggering the terminal to send a learning instruction to the server. The learning instruction may be automatically transmitted to the server after the terminal displays the control function.
After receiving the learning instruction, the server may issue a first instruction corresponding to the control function to the intelligent device, so that the intelligent device waits for receiving the infrared signal.
Step 302, the smart device receives the infrared signal and determines an infrared code according to the infrared signal.
After the control function needing to be learned currently is displayed in the application interface of the terminal, a user can operate the infrared remote controller needing to be learned and press the key corresponding to the control function, so that the remote controller sends out an infrared signal corresponding to the control function.
During practical application, the intelligent equipment can receive the infrared signal sent by the remote controller and convert the infrared signal into an infrared code.
And 303, storing the corresponding relation between the infrared code and the control function by the intelligent equipment.
Step 303 is similar to step 102 in specific principles and implementation, and is not described here again.
Step 304, the intelligent device outputs the learning result in a voice mode.
After the intelligent equipment receives the infrared signal and converts the infrared signal into the infrared code, the learning process of the current control function is considered to be finished, and at the moment, the intelligent equipment can output 'xx control function learning is finished' in a voice mode, so that a user can learn that the control function learning is finished.
Specifically, the smart device may output the learning result in the form of a light, such as a green light.
Further, if the intelligent device does not receive the infrared signal within the preset time or the infrared signal is not converted into the infrared code, the learning result of the current learning control function is considered to be a failure, and the intelligent device can prompt the user of the failure in learning. For example, the "xx control function failed in learning" is output in the form of voice, and the user may be notified of the result of the failed learning by lighting a red light.
Step 305, the intelligent device receives a voice instruction of the user and determines a control function according to the voice instruction.
In practical application, if learning succeeds, the intelligent device may further prompt the user to control the household appliance using the currently learned control function, for example, the intelligent device may prompt the user in a voice manner to "speak out the' xx control function" to try the learning result bar ". At this time, the user may speak the "xx control function" prompted by the smart device, thereby sending a voice instruction to the smart device. For example, the user may say "turn on tv" content.
After receiving the voice command, the intelligent device can recognize the content in the voice command according to a preset language recognition algorithm and determine a corresponding control function. For example, it may be "turn on the television function", "turn up the temperature function", or the like.
And step 306, the intelligent device determines the infrared code corresponding to the control function according to the corresponding relation.
Furthermore, the intelligent device stores the corresponding relation between the control function of the electric appliance and the infrared code, and after the control function is determined, the infrared code corresponding to the control function can be acquired in the relation. For example, if the intelligent device guides the user to test the newly-learned remote control function of the air conditioner, the intelligent device can acquire the corresponding relationship between the control function of the air conditioner and the infrared code.
And 307, the intelligent equipment sends an infrared signal to the electric appliance according to the infrared code.
After the intelligent device acquires the corresponding infrared code, an infrared signal can be generated according to the infrared code, and the infrared signal is sent. The controlled electric appliance can receive the infrared signal, and after receiving the infrared signal, the controlled electric appliance can execute a corresponding function according to the infrared signal.
Optionally, the user may determine whether the electrical appliance performs the corresponding function by observing, and if the electrical appliance performs the corresponding function, the user may consider that the learning is successful, and may speak the content of the learning success to the smart device. If the electric appliance does not execute the corresponding function, the learning is considered to be failed, and at the moment, the user can also speak the content of the learning failure to the intelligent equipment and reenter the learning process of the control function.
Fig. 4 is a block diagram illustrating an apparatus for learning a remote control function by an intelligent device according to an exemplary embodiment of the present invention.
The intelligent device has an infrared receiving function.
As shown in fig. 4, the apparatus for learning a remote control function by an intelligent device provided in this embodiment includes:
the receiving module 41 is configured to receive a first instruction corresponding to a control function, and obtain an infrared code through an infrared receiving function of the smart device according to the first instruction;
and the storage module 42 is used for storing the corresponding relation between the infrared code and the control function.
This embodiment provides a smart machine learns remote control function's device, and smart machine possesses infrared receiving function, and the device includes: the receiving module is used for receiving a first instruction corresponding to a control function and acquiring an infrared code through an infrared receiving function of the intelligent equipment according to the first instruction; and the storage module is used for storing the corresponding relation between the infrared code and the control function. The device that this embodiment provided can learn domestic appliance's remote controller function based on intelligent device's infrared receiving function, and then when solving among the prior art through intelligent device as remote controller control domestic appliance, the intelligent device of existence and the problem of domestic appliance not adaptation.
The specific principle and implementation manner of the intelligent device learning remote control function apparatus provided in this embodiment are similar to those of the embodiment shown in fig. 1, and are not described herein again.
Fig. 5 is a block diagram illustrating an apparatus for learning a remote control function by an intelligent device according to another exemplary embodiment of the present invention.
As shown in fig. 5, on the basis of the embodiment shown in fig. 4, the apparatus for learning a remote control function by a smart device provided in this embodiment is applied to a server connected to the smart device, and accordingly, the first instruction includes an instruction sent by a terminal to the server.
Optionally, if the first instruction is an instruction sent by the terminal to the server, the receiving module 41 includes:
a sending unit 411, configured to send an instruction to the smart device to receive an infrared signal, so that the smart device receives the infrared signal;
a receiving unit 412, configured to receive the infrared code determined according to the infrared signal and sent by the smart device.
Optionally, before the sending unit 411 sends the instruction for receiving the infrared signal to the smart device, the sending unit is further configured to send a display instruction including the control function to the terminal, so that the terminal displays guidance content according to the control function.
Optionally, the apparatus further comprises a sending module 43;
if the first instruction is an instruction sent by the terminal to the server, after the storage module 42 stores the correspondence between the infrared code and the control function, the sending module 43 is configured to:
and sending a confirmation instruction to the intelligent equipment so that the intelligent equipment outputs a learning result in a voice mode according to the confirmation instruction.
Optionally, if the first instruction is an instruction sent by the terminal to the server, the receiving module 41 is further configured to:
receiving a control instruction sent by the intelligent equipment, wherein the control instruction is determined by the intelligent equipment according to a voice instruction of a user;
the device further comprises a first control module 44, configured to determine the control function according to the control instruction, and determine the infrared code corresponding to the control function according to the correspondence;
the sending module 43 is further configured to send the infrared code to the smart device, so that the smart device sends the infrared signal to an electrical appliance according to the infrared code.
The specific principle and implementation of the apparatus for learning a remote control function by an intelligent device provided in this embodiment are similar to those of the embodiment shown in fig. 2, and are not described herein again.
Fig. 6 is a block diagram illustrating an apparatus for learning a remote control function of an intelligent device according to still another exemplary embodiment of the present invention.
As shown in fig. 6, on the basis of the embodiment shown in fig. 4, the apparatus for learning a remote control function by an intelligent device provided in this embodiment is applied to the intelligent device, and the first instruction includes an instruction sent by a server to the intelligent device.
Optionally, if the first instruction is an instruction sent by the server to the smart device, the receiving module 41 is specifically configured to:
and receiving an infrared signal, and determining the infrared code according to the infrared signal.
Optionally, if the first instruction is an instruction sent by the server to the smart device, the apparatus further includes a voice module 45, configured to:
and after the storage module stores the corresponding relation between the infrared code of the infrared signal and the control function, outputting a learning result in a voice mode.
Optionally, if the first instruction is an instruction sent by the server to the smart device, the receiving module 41 is further configured to receive a voice instruction of the user;
the apparatus further includes a second control module 46 for:
determining the control function according to the voice instruction;
determining the infrared code corresponding to the control function according to the corresponding relation;
the device also comprises an infrared sending module 47, which is used for sending the infrared signal to the electric appliance according to the infrared code.
Fig. 7 is a block diagram illustrating an electronic device according to an exemplary embodiment of the present invention.
As shown in fig. 7, the electronic device provided in this embodiment includes:
a memory 71;
a processor 72; and
a computer program;
wherein the computer program is stored in the memory 71 and configured to be executed by the processor 72 to implement the method for learning a remote control function by a smart device according to any one of the embodiments of fig. 1-3.
The present embodiments also provide a computer-readable storage medium, having stored thereon a computer program,
the computer program is executed by a processor to implement a method for learning remote control functions by a smart device as described in any of the embodiments of fig. 1-3.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (20)

1. A method for learning a remote control function of an intelligent device, wherein the intelligent device has an infrared receiving function, the method comprising:
receiving a first instruction corresponding to a control function, and acquiring an infrared code through an infrared receiving function of the intelligent equipment according to the first instruction;
and storing the corresponding relation between the infrared code and the control function.
2. The method according to claim 1, wherein the first instruction comprises an instruction sent by the terminal to the server and/or an instruction sent by the server to the smart device.
3. The method according to claim 2, wherein if the first instruction is an instruction sent by a terminal to a server, the obtaining an infrared code through an infrared receiving function of the smart device according to the first instruction comprises:
the server sends an instruction for receiving an infrared signal to the intelligent device so that the intelligent device receives the infrared signal;
and the server receives the infrared code which is sent by the intelligent equipment and determined according to the infrared signal.
4. The method of claim 2, wherein before the server sends the instruction to the smart device to receive the infrared signal, the method further comprises:
and the server sends a display instruction comprising the control function to the terminal so as to enable the terminal to display the guide content according to the control function.
5. The method according to claim 2, wherein if the first instruction is an instruction sent by a terminal to a server, after storing the correspondence between the infrared code and the control function, the method further comprises:
and the server sends a confirmation instruction to the intelligent equipment so that the intelligent equipment outputs a learning result in a voice mode according to the confirmation instruction.
6. The method according to claim 2, wherein if the first instruction is an instruction sent by the terminal to the server, the method further comprises:
the server receives a control instruction sent by the intelligent equipment, wherein the control instruction is determined by the intelligent equipment according to a voice instruction of a user;
the server determines the control function according to the control instruction and determines the infrared code corresponding to the control function according to the corresponding relation;
and the server sends the infrared code to the intelligent equipment so that the intelligent equipment sends the infrared signal to the electric appliance according to the infrared code.
7. The method according to claim 2, wherein if the first instruction is an instruction sent by a server to the smart device, the obtaining an infrared code through an infrared receiving function of the smart device according to the first instruction comprises:
the intelligent device receives the infrared signal and determines the infrared code according to the infrared signal.
8. The method according to claim 2, wherein if the first instruction is an instruction sent by a server to the smart device, after storing the correspondence between the infrared code of the infrared signal and the control function, the method further comprises:
the intelligent device outputs the learning result in a voice mode.
9. The method of claim 2, wherein if the first instruction is an instruction sent by a server to the smart device, the method further comprises:
the intelligent equipment receives a voice instruction of a user and determines the control function according to the voice instruction;
the intelligent equipment determines the infrared code corresponding to the control function according to the corresponding relation;
and the intelligent equipment sends the infrared signal to an electric appliance according to the infrared code.
10. The utility model provides an intelligent equipment learns remote control function's device which characterized in that, intelligent equipment possesses infrared receiving function, the device includes:
the receiving module is used for receiving a first instruction corresponding to a control function and acquiring an infrared code through an infrared receiving function of the intelligent equipment according to the first instruction;
and the storage module is used for storing the corresponding relation between the infrared code and the control function.
11. The apparatus according to claim 10, wherein the first instruction comprises an instruction sent by the terminal to the server, and/or an instruction sent by the server to the smart device.
12. The apparatus of claim 11, wherein if the first instruction is an instruction sent by a terminal to a server, the receiving module:
the transmitting unit is used for transmitting an instruction for receiving an infrared signal to the intelligent equipment so that the intelligent equipment receives the infrared signal;
and the receiving unit is used for receiving the infrared code which is sent by the intelligent equipment and determined according to the infrared signal.
13. The apparatus according to claim 11, wherein before the sending module sends the instruction for receiving the infrared signal to the smart device, the sending module is further configured to send a display instruction including the control function to the terminal, so that the terminal displays guidance content according to the control function.
14. The apparatus of claim 11, further comprising a sending module;
if the first instruction is an instruction sent by the terminal to the server, after the storage module stores the corresponding relationship between the infrared code and the control function, the sending module is configured to:
and sending a confirmation instruction to the intelligent equipment so that the intelligent equipment outputs a learning result in a voice mode according to the confirmation instruction.
15. The apparatus of claim 11, wherein if the first instruction is an instruction sent by the terminal to the server, the receiving module is further configured to:
receiving a control instruction sent by the intelligent equipment, wherein the control instruction is determined by the intelligent equipment according to a voice instruction of a user;
the device also comprises a first control module, which is used for determining the control function according to the control instruction and determining the infrared code corresponding to the control function according to the corresponding relation;
the sending module is further used for sending the infrared code to the intelligent device, so that the intelligent device sends the infrared signal to the electric appliance according to the infrared code.
16. The apparatus according to claim 11, wherein if the first instruction is an instruction sent by the server to the smart device, the receiving module is specifically configured to:
and receiving an infrared signal, and determining the infrared code according to the infrared signal.
17. The apparatus of claim 11, wherein if the first instruction is an instruction sent by a server to the smart device, the apparatus further comprises a voice module configured to:
and after the storage module stores the corresponding relation between the infrared code of the infrared signal and the control function, outputting a learning result in a voice mode.
18. The apparatus according to claim 11, wherein if the first instruction is an instruction sent by the server to the smart device, the receiving module is further configured to receive a voice instruction of a user;
the apparatus also includes a second control module to:
determining the control function according to the voice instruction;
determining the infrared code corresponding to the control function according to the corresponding relation;
the device also comprises an infrared sending module 47, which is used for sending the infrared signal to the electric appliance according to the infrared code.
19. An electronic device, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any of claims 1-9.
20. A computer-readable storage medium, having stored thereon a computer program,
the computer program is executed by a processor to implement the method according to any one of claims 1-9.
CN201910310047.0A 2019-04-17 2019-04-17 Method, device and equipment for intelligent equipment to learn remote control function and storage medium Pending CN111833585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910310047.0A CN111833585A (en) 2019-04-17 2019-04-17 Method, device and equipment for intelligent equipment to learn remote control function and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910310047.0A CN111833585A (en) 2019-04-17 2019-04-17 Method, device and equipment for intelligent equipment to learn remote control function and storage medium

Publications (1)

Publication Number Publication Date
CN111833585A true CN111833585A (en) 2020-10-27

Family

ID=72915271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910310047.0A Pending CN111833585A (en) 2019-04-17 2019-04-17 Method, device and equipment for intelligent equipment to learn remote control function and storage medium

Country Status (1)

Country Link
CN (1) CN111833585A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581738A (en) * 2020-12-30 2021-03-30 创维集团有限公司 Intelligent remote controller and working method
CN112908326A (en) * 2021-01-29 2021-06-04 思必驰科技股份有限公司 Household voice control learning and application method and device
CN116170482A (en) * 2023-02-20 2023-05-26 上汽通用五菱汽车股份有限公司 Ecological equipment control method, vehicle-mounted ecological gateway and vehicle

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101713989A (en) * 2009-11-19 2010-05-26 上海电器科学研究所(集团)有限公司 Network-based household appliance control scheme
CN101990335A (en) * 2009-07-31 2011-03-23 宁波家天下智能系统有限公司 Universal remote controller in intelligent household control system
WO2012044972A1 (en) * 2010-09-30 2012-04-05 Transmitive, LLC Versatile remote control device, sytem and method
CN102855744A (en) * 2012-08-31 2013-01-02 林述颖 Infrared household appliance management system and method based on smartphone
CN103325238A (en) * 2013-05-30 2013-09-25 四川九洲电器集团有限责任公司 Device and method for controlling infrared equipment by intelligent terminal
CN103702158A (en) * 2013-12-13 2014-04-02 海信集团有限公司 Integrated control method for display system and display device
CN103914972A (en) * 2013-12-31 2014-07-09 海尔集团公司 Household electrical appliance control device and infrared learning method thereof
CN103985245A (en) * 2014-05-05 2014-08-13 邯郸美的制冷设备有限公司 Method for learning infrared codes of remote controller based on intelligent terminal, and intelligent terminal
CN104574928A (en) * 2014-12-24 2015-04-29 合肥协知行信息系统工程有限公司 Wireless intelligent control system for household appliances
CN104778829A (en) * 2014-01-11 2015-07-15 广州合立正通信息科技有限公司 Infrared equipment control method
CN208141599U (en) * 2018-05-08 2018-11-23 安徽众家云物联网科技有限公司 A kind of universal domestic electrical equipment remote controller of study

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101990335A (en) * 2009-07-31 2011-03-23 宁波家天下智能系统有限公司 Universal remote controller in intelligent household control system
CN101713989A (en) * 2009-11-19 2010-05-26 上海电器科学研究所(集团)有限公司 Network-based household appliance control scheme
WO2012044972A1 (en) * 2010-09-30 2012-04-05 Transmitive, LLC Versatile remote control device, sytem and method
CN102855744A (en) * 2012-08-31 2013-01-02 林述颖 Infrared household appliance management system and method based on smartphone
CN103325238A (en) * 2013-05-30 2013-09-25 四川九洲电器集团有限责任公司 Device and method for controlling infrared equipment by intelligent terminal
CN103702158A (en) * 2013-12-13 2014-04-02 海信集团有限公司 Integrated control method for display system and display device
CN103914972A (en) * 2013-12-31 2014-07-09 海尔集团公司 Household electrical appliance control device and infrared learning method thereof
CN104778829A (en) * 2014-01-11 2015-07-15 广州合立正通信息科技有限公司 Infrared equipment control method
CN103985245A (en) * 2014-05-05 2014-08-13 邯郸美的制冷设备有限公司 Method for learning infrared codes of remote controller based on intelligent terminal, and intelligent terminal
CN104574928A (en) * 2014-12-24 2015-04-29 合肥协知行信息系统工程有限公司 Wireless intelligent control system for household appliances
CN208141599U (en) * 2018-05-08 2018-11-23 安徽众家云物联网科技有限公司 A kind of universal domestic electrical equipment remote controller of study

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581738A (en) * 2020-12-30 2021-03-30 创维集团有限公司 Intelligent remote controller and working method
CN112908326A (en) * 2021-01-29 2021-06-04 思必驰科技股份有限公司 Household voice control learning and application method and device
CN116170482A (en) * 2023-02-20 2023-05-26 上汽通用五菱汽车股份有限公司 Ecological equipment control method, vehicle-mounted ecological gateway and vehicle

Similar Documents

Publication Publication Date Title
CN107276864B (en) Method, device and system for controlling household appliances by intelligent voice equipment
US20220139394A1 (en) System and method for voice actuated configuration of a controlling device
KR102169520B1 (en) Electronic device, server and control methods thereof
US11489691B2 (en) Apparatus, system and method for directing voice input in a controlling device
KR101706479B1 (en) Method and terminal for controlling internet of things and controlled electronic device
JP6543719B2 (en) Apparatus control method and apparatus, program, and recording medium
US20140176309A1 (en) Remote control system using a handheld electronic device for remotely controlling electrical appliances
CN111833585A (en) Method, device and equipment for intelligent equipment to learn remote control function and storage medium
CN109982123B (en) Matching method and device
CN104618780A (en) Method and system for controlling electrical apparatus
CN111123875A (en) Intelligent household control method and system and intelligent tea table
CN114172757A (en) Server, intelligent home system and multi-device voice awakening method
CN112614333A (en) Remote controller retrieving method and system
CN114067798A (en) Server, intelligent equipment and intelligent voice control method
EP3435642A1 (en) A system and method for remote control of appliances by voice
EP2401863B1 (en) Code set determination for a remote control
CN103366547B (en) Device identification apparatus and remote control system
CN110493120B (en) Method and equipment for sending equipment operation instruction
CN110278473B (en) Digital television remote control channel switching method and system based on voice recognition
CN112383903A (en) Bluetooth code matching control method and device and computer storage medium
CN111833860A (en) Binding method and device of intelligent equipment, electronic equipment and storage medium
EP3399511B1 (en) Smart infrared control device and smart infrared control system
KR102313299B1 (en) Remote controller capable of remotely controlling a plurality of device
KR20070055541A (en) A device to be used as an interface between a user and target devices
CN112947101A (en) Control method and device of household appliance

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210518

Address after: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant after: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

Applicant after: Shanghai Xiaodu Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant before: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201027