CN113225236A - Electric appliance control method and device, storage medium, remote controller and server - Google Patents

Electric appliance control method and device, storage medium, remote controller and server Download PDF

Info

Publication number
CN113225236A
CN113225236A CN202110383865.0A CN202110383865A CN113225236A CN 113225236 A CN113225236 A CN 113225236A CN 202110383865 A CN202110383865 A CN 202110383865A CN 113225236 A CN113225236 A CN 113225236A
Authority
CN
China
Prior art keywords
control
remote controller
information
identification code
equipment
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
CN202110383865.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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202110383865.0A priority Critical patent/CN113225236A/en
Publication of CN113225236A publication Critical patent/CN113225236A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • 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)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • General Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Theoretical Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention provides an electric appliance control method, a device, a storage medium, a remote controller and a server, wherein more than two bound electric appliances are controlled by one remote controller, and the control method comprises the following steps: when the remote controller receives a key signal, scanning an equipment identification code to acquire corresponding first equipment information according to the scanned equipment identification code; generating a corresponding first control instruction according to the key signal received by the remote controller; and sending control information containing the first equipment information and the first control instruction to a server so that the server controls corresponding electrical appliances in the more than two electrical appliances to execute the first control instruction according to the first equipment information. The scheme provided by the invention can realize accurate control on the control target equipment in a plurality of equipment.

Description

Electric appliance control method and device, storage medium, remote controller and server
Technical Field
The invention relates to the field of control, in particular to an electric appliance control method, an electric appliance control device, a storage medium, a remote controller and a server.
Background
With the development of science and technology and the improvement of the living standard of people, every family has household appliances, at least five household appliances such as a fan, an electric cooker, a television, an air conditioner and a washing machine are counted at present in each family, and with the popularization of intelligent homes, general families also have the ability to enjoy the life change brought by science and technology, namely intelligent homes and artificial intelligence.
The multiple models of the same type exist in the same area, all the models can support infrared, radio frequency or voice functions, when all the devices are in the range capable of receiving instructions, one instruction exists to instruct a plurality of devices to execute or control the devices to be blocked (for example, the devices which are controlled are not accurately controlled to be controlled), the true intention of a user can be that only one device is required to respond, and other devices do not need to respond. At present, the intelligent remote controller can control multiple types of equipment through one remote controller, and the problem of how to accurately control the operation of the specified equipment in the use environment is to be solved at present.
Disclosure of Invention
The main purpose of the present invention is to overcome the above-mentioned drawbacks of the related art, and provide an electrical appliance control method, device, storage medium, remote controller and server, so as to solve the problem of how to implement accurate control of the operation of the specified device in the use environment in the related art.
The invention provides an electric appliance control method for a remote controller, which is used for controlling more than two bound electric appliances by one remote controller, and the control method comprises the following steps: when the remote controller receives a control operation, scanning an equipment identification code to acquire corresponding first equipment information according to the scanned equipment identification code; generating a corresponding first control instruction according to the control operation received by the remote controller; and sending control information containing the first equipment information and the first control instruction to a server so that the server controls corresponding electrical appliances in the more than two electrical appliances to execute the first control instruction according to the first equipment information.
Optionally, the method further comprises: if no equipment identification code is scanned within the preset time, acquiring corresponding second equipment information acquired according to the scanned equipment identification code when the control operation is received last time; sending control information containing the second equipment information and the first control instruction to a server so that the server controls corresponding electrical appliances of the more than two electrical appliances to execute the first control instruction according to the second equipment information; and/or storing the acquired first device information.
Optionally, the device identification code is attached to the body of the corresponding electrical appliance in advance, or is generated and displayed by the corresponding electrical appliance when receiving an identification code generation request; the identification code generation request is sent by a server, and the server sends identification code generation requests to the more than two electric appliances controlled by the remote controller when receiving identification code generation instructions sent by a control client, a client applet, a webpage and/or the remote controller.
Optionally, a code scanning device is arranged on the remote controller and used for scanning the equipment identification code; and/or, a communication module is arranged on the remote controller and is used for communicating with the server.
The invention provides an electric appliance control method for a server side, which comprises the following steps: controlling the bound two or more electric appliances by a remote controller, comprising: receiving control information sent by the remote controller, wherein the control information comprises: first device information and a first control instruction; controlling corresponding electrical appliances of the more than two electrical appliances to execute the first control instruction according to the first equipment information; the first control instruction is generated by the remote controller according to the received control operation; the first equipment information is obtained by the remote controller according to the scanned equipment identification code; when the remote controller receives control operation, equipment identification code scanning is carried out, and corresponding first equipment information is obtained according to the scanned equipment identification code.
Optionally, the method further comprises: if the first equipment information and/or the first control instruction do not exist in the control information, acquiring third equipment information and/or a third control instruction in the control information sent by the remote controller last time; controlling a corresponding electrical appliance of the two or more electrical appliances to execute the first control instruction according to the third device information, or controlling a corresponding electrical appliance of the two or more electrical appliances to execute the third control instruction according to the first device information, or controlling a corresponding electrical appliance of the two or more electrical appliances to execute the third control instruction according to the third device information; and/or storing the received control information.
Optionally, the device identification code is attached to the body of the corresponding electrical appliance in advance, or is generated and displayed by the corresponding electrical appliance when receiving an identification code generation request; and when receiving an identification code generation instruction sent by a control client, a client applet, a webpage and/or the remote controller, sending an identification code generation request to the more than two electric appliances controlled by the remote controller.
In one aspect, the present invention provides an appliance control apparatus for a remote controller, including: more than two electric appliances bound by a remote controller control, controlling means includes: the information acquisition unit is used for scanning the equipment identification code when the remote controller receives control operation so as to acquire corresponding first equipment information according to the scanned equipment identification code; the instruction generating unit is used for generating a corresponding first control instruction according to the control operation received by the remote controller; and the information sending unit is used for sending control information containing the first equipment information and the first control instruction to a server so that the server controls corresponding electric appliances in the more than two electric appliances to execute the first control instruction according to the first equipment information.
Optionally, the information obtaining unit is further configured to: if no equipment identification code is scanned within the preset time, acquiring corresponding second equipment information acquired according to the scanned equipment identification code when the control operation is received last time; the information sending unit is further configured to: sending control information containing the second equipment information and the first control instruction to a server so that the server controls corresponding electrical appliances of the more than two electrical appliances to execute the first control instruction according to the second equipment information; and/or, further comprising: a first saving unit configured to save the first device information acquired by the information acquiring unit.
Optionally, the device identification code is attached to the body of the corresponding electrical appliance in advance, or is generated and displayed by the corresponding electrical appliance when receiving an identification code generation request; the identification code generation request is sent by a server, and the server sends identification code generation requests to the more than two electric appliances controlled by the remote controller when receiving identification code generation instructions sent by a control client, a client applet, a webpage and/or the remote controller.
Optionally, a code scanning device is arranged on the remote controller and used for scanning the equipment identification code; and/or, a communication module is arranged on the remote controller and is used for communicating with the server.
Another aspect of the present invention provides an appliance control apparatus for a server side, including: controlling the bound two or more electric appliances by a remote controller, comprising: an information receiving unit, configured to receive control information sent by the remote controller, where the control information includes: first device information and a first control instruction; the execution control unit is used for controlling corresponding electric appliances in the more than two electric appliances to execute the first control instruction according to the first equipment information; the first control instruction is generated by the remote controller according to the received control operation; the first equipment information is obtained by the remote controller according to the scanned equipment identification code; when the remote controller receives control operation, equipment identification code scanning is carried out, and corresponding first equipment information is obtained according to the scanned equipment identification code.
Optionally, the method further comprises: the obtaining unit is used for obtaining third equipment information and/or a third control instruction in the control information sent by the remote controller last time if the first equipment information and/or the first control instruction do not exist in the control information; the execution control unit is further configured to: controlling a corresponding electrical appliance of the two or more electrical appliances to execute the first control instruction according to the third device information, or controlling a corresponding electrical appliance of the two or more electrical appliances to execute the third control instruction according to the first device information, or controlling a corresponding electrical appliance of the two or more electrical appliances to execute the third control instruction according to the third device information; and/or the second storage unit is used for storing the received control information.
Optionally, the device identification code is attached to the body of the corresponding electrical appliance in advance, or is generated and displayed by the corresponding electrical appliance when receiving an identification code generation request; wherein the apparatus further comprises: the instruction receiving unit is used for receiving an identification code generation instruction sent by a control client, a client applet, a webpage and/or the remote controller; and the request sending unit is used for sending identification code generation requests to the more than two electric appliances controlled by the remote controller when the instruction receiving unit receives identification code generation instructions sent by a control client, a client applet, a webpage and/or the remote controller.
A further aspect of the invention provides a storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of any of the methods for a remote control described above or carries out the steps of any of the methods for a server side described above.
A further aspect of the invention provides a remote control comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods for a remote control when executing the program.
The invention further provides a remote controller, which comprises any one of the electric appliance control devices for the remote controller.
A further aspect of the invention provides a server comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor implementing any of the steps of the method for the server side when executing the program.
The invention further provides a server, which comprises any one of the electrical appliance control devices for the server side.
According to the technical scheme of the invention, equipment information of a control target equipment in controllable equipment is acquired by scanning and identifying the equipment identification code, corresponding control information is sent to a server according to the acquired equipment information and a control instruction of a user, the server determines the corresponding target equipment according to the equipment information and controls the corresponding target equipment to execute the control instruction of the user, so that the accurate control of the control target equipment in a plurality of pieces of equipment can be realized in a complex environment, the control target can be quickly switched by scanning and identifying the equipment information, and when the control target equipment does not need to be switched, the control instruction can be quickly sent by not scanning the equipment identification code; the cloud control of the electric appliance can be realized by sending the control information containing the equipment information and the control instruction to the server and controlling the corresponding target equipment to execute the control instruction of the user by the server.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a method diagram of an embodiment of an appliance control method for a remote controller according to the present invention;
FIG. 2 is a method diagram of an embodiment of a method for server-side appliance control provided by the present invention;
FIG. 3 is a method diagram of another embodiment of the appliance control method for the server side provided by the present invention;
FIG. 4 is a method diagram of an embodiment of an appliance control method provided by the present invention;
FIG. 5 is a schematic structural diagram of an embodiment of a control device for a remote controller according to the present invention;
FIG. 6 is a schematic structural diagram of an embodiment of a control device for a remote controller according to the present invention;
fig. 7 is a block diagram of another embodiment of a control device for a remote controller according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention provides an electric appliance control method, an electric appliance control device, a storage medium, a remote controller and a server. More than two bound electric appliances are controlled by one remote controller. Optionally, the appliance includes at least one of a refrigerator, a fan, a rice cooker, a television, an air conditioner, an air purifier, a washing machine, a dehumidifier, and a humidifier. And the more than two electric appliances are bound with the remote controller. For example, the two or more appliances are bound (registered) to a specific account by the server, and the remote controller is bound to the preset account by the server, so that the two or more appliances are bound to the remote controller. For example, the two or more appliances may be registered to a specified account by controlling a client (e.g., a cell phone APP), a client applet (e.g., a wechat applet), and/or a web page to log on to a corresponding server. Optionally, the server binds the remote controller with the preset account according to a unique identification (e.g., Mac address) of the remote controller. Optionally, the server binds the two or more appliances with the remote controller according to the unique identification (e.g. UUID, MAC address, SN code) of the two or more appliances and the unique identification of the remote controller.
The remote controller is provided with a code scanning device, such as a code scanner, which can scan the identification code. The identification code is, for example, a two-dimensional code. The code scanning device is used for scanning and identifying the equipment identification code. Optionally, the device identification code may be pre-attached to the body of the corresponding electrical appliance, for example, the device identification code is pasted or printed on the body of the electrical appliance when the electrical appliance leaves a factory; or, the device identification code may be generated by a corresponding electrical appliance, wherein when the two or more electrical appliances receive the identification code generation request, the two or more electrical appliances generate and display their respective device identification codes. The identification code generation request is sent by a server, the server sends identification code generation requests to the more than two electric appliances controlled by the remote controller when receiving identification code generation instructions sent by a control client, a client applet, a webpage and/or the remote controller, and the more than two electric appliances generate respective equipment identification codes and display the equipment identification codes when receiving the identification code generation requests. For example, a display screen on the appliance is displayed, or a display screen for generating and displaying the device identification code is provided on the appliance. The server comprises a cloud server.
The device information included in the device Identifier may specifically include information such as a UUID (universal Unique Identifier), a MAC address, and an SN code (product serial number) of the corresponding electrical appliance. The device identification code of each appliance is unique. When the electrical appliance generates the own device identification code, the electrical appliance (for example, the controller) generates the own device identification code according to a preset mode based on the device information, for example, generates a two-dimensional code including the own device information according to a preset two-dimensional code generation algorithm.
Optionally, a communication module is further arranged on the remote controller and used for communicating with a server, so that cloud control of the two or more electrical appliances can be achieved through the server. For example, the communication module is a wireless communication module, such as a WiFi module and/or a bluetooth module; the remote controller is provided with a WiFi module and/or a Bluetooth module, and the WiFi module and/or the Bluetooth module can be connected with a wireless router or other wireless access points so as to communicate with the server through the Internet. For another example, the communication module is a mobile communication module, such as a 4G communication module and/or a 5G communication module, and the remote controller is provided with the 4G communication module and/or the 5G communication module, so as to be capable of communicating with the server through a 4G network and/or a 5G network.
An aspect of the present application provides an appliance control method for a remote controller. The method can be implemented, for example, in a control chip of a remote control. Fig. 1 is a method schematic diagram of an embodiment of an appliance control method for a remote controller provided by the invention.
As shown in fig. 1, according to an embodiment of the present invention, the appliance control method includes at least step S110, step S120, and step S130.
Step S110, when the remote controller receives a control operation, scanning the device identification code to obtain corresponding first device information according to the scanned device identification code.
In some embodiments, the controlling operation comprises: key operation and/or motion operation and/or voice command. For example, the key operation includes: and pressing any key or the combination of more than two keys on the remote controller to generate a key signal. The action operation comprises: the preset action performed on the remote controller, for example, shaking or flipping, may include, for example, if the remote controller is a polyhedral controller: a face turning operation, a rotation operation and/or a translation operation, and the sound instruction is, for example, a voice instruction given by a user or a sound given by a user's hand claps (different hand claps and different control intentions).
Specifically, when a user wants to control any one of the two or more electrical appliances by using a remote controller, the remote controller is controlled to perform control operation corresponding to the function of the electrical appliance which wants to be used, a code scanning device of the remote controller is aligned to an equipment identification code of the electrical appliance to be controlled, and when the remote controller receives the control operation, equipment identification code scanning is performed. Optionally, an alert tone is sounded when the device identification code is scanned, alerting that the device identification code has been successfully scanned. Optionally, the device identification code is scanned within a preset time after the control operation is received, and the device identification code is not scanned any more after the preset time is exceeded.
For example, when a user wants to control any one of the two or more electrical appliances by using a remote controller, the user presses a function key of the electrical appliance function to be used or a key combination for controlling a specific function on the remote controller, and simultaneously aligns a code scanning device of the remote controller with an equipment identification code of the electrical appliance to be controlled, and when the remote controller receives the key signal, the code scanning device is started to scan the equipment identification code. For example, a code scanner is arranged on the remote controller, and a user (while pressing a key) scans the code scanner on the remote controller to a two-dimensional code on the body of the electric appliance to be controlled or aligns the two-dimensional code displayed on the display screen of the electric appliance to be controlled; after the device identification code of the electrical appliance is scanned, first device information included in the device identification code is acquired, where the first device information includes information such as a UUID (universal Unique Identifier), an MAC address, and an SN code (product serial number) of the corresponding electrical appliance.
Optionally, the device identification code is pre-attached to the body of the corresponding electrical appliance, or is generated and displayed by the corresponding electrical appliance when receiving an identification code generation request. For example, before the electric appliance leaves a factory, an equipment identification code of the electric appliance is generated in advance, and is pasted or printed on a machine body of the electric appliance, and when the electric appliance leaves the factory, the electric appliance leaves the factory; or the equipment identification code is generated and displayed by the corresponding electric appliance when the identification code generation request is received.
Specifically, the identification code generation request is sent by a server, and the server sends the identification code generation request to the two or more electric appliances controlled by the remote controller when receiving an identification code generation instruction sent by a control client, a client applet, a webpage and/or the remote controller. And when the more than two electrical appliances receive the identification code generation request, generating and displaying respective equipment identification codes.
For example, the identification code generation instruction may be sent to the server by a control client, a client applet, a web page, and/or the remote control. The server sends an identification code generation request to the two or more electric appliances controlled by the remote controller (the two or more electric appliances are bound with the remote controller in advance) when receiving an identification code generation instruction sent by the control client, the client applet, the webpage and/or the remote controller, the two or more electric appliances generate respective equipment identification codes and display the equipment identification codes when receiving the identification code generation request, and the remote controller can control the instruction to the lower part of the two or more electric appliances by scanning the equipment identification codes.
Preferably, for convenient use, the remote controller may send an equipment identification code generation instruction to the server, and the server sends an identification code generation request to the two or more electrical appliances controlled by the remote controller (the two or more electrical appliances are bound with the remote controller in advance). Specifically, a request key may be provided on the remote controller, and the user may send an apparatus identification code generation instruction to the server through the request key, or the user may send an apparatus identification code generation instruction to the server through a preset combination key, and when the remote controller receives a key signal for generating an apparatus identification code, the apparatus identification code generation instruction is sent to the server. The server sends identification code generation requests to the more than two electric appliances controlled by the remote controller when receiving the identification code generation instruction; and the more than two electrical appliances respond to the identification code generation request to generate and display the corresponding equipment identification codes.
And step S120, generating a corresponding first control instruction according to the received control operation.
Specifically, a control intention corresponding to the control operation is identified, and a corresponding first control instruction is generated. For example, taking a key signal as an example, in some embodiments, the key signal includes pin level change information and/or signal code change information of a control chip of a remote controller; pressing the keys of the remote controller can generate the pin level change or signal code change of the control chip, and different pin level change information or signal code change information corresponds to different control instructions. And determining a first control instruction corresponding to the key signal by detecting the level change information or the signal code change information of the pin of the remote controller control chip.
Step S130, sending control information including the first device information and the first control instruction to a server, so that the server controls a corresponding electrical appliance of the two or more electrical appliances to execute the first control instruction according to the first device information.
For example, each time the remote controller controls the electric appliance, the remote controller transmits control information, that is, the device information (first device information) acquired by scanning the device identification code, and the control command (first control command) to the server together. And the server receives the equipment information and the control instruction sent by the remote controller, determines the corresponding electric appliance to be controlled in the more than two electric appliances according to the equipment information, and sends the control instruction to the electric appliance for execution.
Optionally, the control information sent to the server further includes an identification identifier of the remote controller, so that the server can quickly acquire the two or more electrical appliances bound to the remote controller according to the identification identifier, and thus, the corresponding electrical appliance to be controlled can be quickly determined in the two or more electrical appliances according to the first device information.
Optionally, the method further includes saving the acquired first device information. And if the equipment identification code is scanned, storing the first equipment information acquired according to the scanned equipment identification code for controlling the corresponding electric appliance according to the first equipment information when the control is performed next time and if no equipment identification code is scanned within a preset time.
Optionally, if no device identification code is scanned within a preset time, acquiring corresponding second device information acquired according to the scanned device identification code when the key signal is received last time, and sending control information including the second device information and the first control instruction to a server, so that the server controls corresponding electrical appliances of the two or more electrical appliances to execute the first control instruction according to the second device information.
For example, if the user also wants to control the appliance that was controlled last time, the device identification code of the appliance is not scanned in alignment when the control is performed using the remote controller. The remote controller can use the equipment information stored when the electric appliance is controlled last time to control, and the electric appliance controlled by the remote controller is the last controlled electric appliance. After receiving the key signal, if any equipment identification code is not scanned within the preset time, acquiring equipment information (second equipment information) acquired by the equipment identification code scanned during the last control, sending a control instruction generated according to the key signal and the second equipment information to a server, receiving the second equipment information and the first control instruction sent by a remote controller by the server, determining corresponding electric appliances to be controlled in the more than two electric appliances according to the second equipment information, and sending the first control instruction to the electric appliances for execution.
According to the embodiment of the invention, the device information of the control target device in the controllable device is acquired by scanning and identifying the device identification code, the corresponding control information is sent to the server according to the acquired device information and the control instruction of the user, the server determines the corresponding target device according to the device information and controls the corresponding target device to execute the control instruction of the user, so that the accurate control of the control target device in a plurality of devices can be realized in a complex environment, the control target can be quickly switched by scanning and identifying the device information, and when the control target device does not need to be switched, the control instruction can be quickly sent by not scanning the device identification code; the cloud control of the electric appliance can be realized by sending the control information containing the equipment information and the control instruction to the server and controlling the corresponding target equipment to execute the control instruction of the user by the server.
Another aspect of the present invention provides an appliance control method for a server side. The server comprises a cloud server.
Fig. 2 is a method schematic diagram of an embodiment of an appliance control method for a server side provided by the present invention.
As shown in fig. 2, according to an embodiment of the present invention, the appliance control method includes at least steps S210 and S220.
Step S210, receiving control information sent by the remote controller, where the control information includes: first device information and a first control instruction.
Step S220, controlling a corresponding electrical appliance of the two or more electrical appliances to execute the first control instruction according to the first device information.
The first equipment information is obtained by the remote controller according to the scanned equipment identification code; when the remote controller receives control operation, equipment identification code scanning is carried out, and corresponding first equipment information is obtained according to the scanned equipment identification code. And after receiving the control information, determining a corresponding electric appliance (namely a control target electric appliance) in the more than two electric appliances according to the first equipment information, and controlling the corresponding electric appliance to execute the first control instruction.
In some embodiments, the controlling operation comprises: key operation and/or motion operation and/or voice command. For example, the key operation includes: and pressing any key or the combination of more than two keys on the remote controller to generate a key signal. The action operation comprises: the preset action performed on the remote controller, for example, shaking or flipping, may include, for example, if the remote controller is a polyhedral controller: a face turning operation, a rotation operation and/or a translation operation, and the sound instruction is, for example, a voice instruction given by a user or a sound given by a user's hand claps (different hand claps and different control intentions).
Specifically, when a user wants to control any one of the two or more electrical appliances by using a remote controller, the remote controller is controlled to perform control operation corresponding to the function of the electrical appliance which wants to be used, a code scanning device of the remote controller is aligned to an equipment identification code of the electrical appliance to be controlled, and when the remote controller receives the control operation, equipment identification code scanning is performed. For example, when a user wants to control any one of the two or more electrical appliances by using a remote controller, the user presses a function key of the electrical appliance function to be used or a key combination for controlling a specific function on the remote controller, and simultaneously aligns a code scanning device of the remote controller with an equipment identification code of the electrical appliance to be controlled, and when the remote controller receives the key signal, the code scanning device is started to scan the equipment identification code. For example, a code scanner is arranged on the remote controller, and a user (while pressing a key) scans the code scanner on the remote controller to a two-dimensional code on the body of the electric appliance to be controlled or aligns the two-dimensional code displayed on the display screen of the electric appliance to be controlled; after the device identification code of the electrical appliance is scanned, first device information included in the device identification code is acquired, where the first device information includes information such as a UUID (universal Unique Identifier), an MAC address, and an SN code (product serial number) of the corresponding electrical appliance.
In some embodiments, the device identification code is pre-attached to the body of the corresponding appliance. For example, the device identification code of the electrical appliance is generated in advance before the electrical appliance is shipped, and is attached to or printed on the body of the electrical appliance.
In other embodiments, the device identification code is generated and displayed by the corresponding appliance upon receipt of an identification code generation request. Specifically, when receiving an identification code generation instruction sent by a control client, a client applet, a web page and/or the remote controller, the server sends an identification code generation request to the two or more electrical appliances controlled by the remote controller. And when the more than two electrical appliances receive the identification code generation request, generating and displaying respective equipment identification codes.
For example, the identification code generation instruction may be sent to the server by a control client, a client applet, a web page, and/or the remote control. The server sends an identification code generation request to the two or more electric appliances controlled by the remote controller (the two or more electric appliances are bound with the remote controller in advance) when receiving an identification code generation instruction sent by the control client, the client applet, the webpage and/or the remote controller, the two or more electric appliances generate respective equipment identification codes and display the equipment identification codes when receiving the identification code generation request, and the remote controller can control the instruction to the lower part of the two or more electric appliances by scanning the equipment identification codes.
Preferably, for convenient use, the remote controller may send an equipment identification code generation instruction to the server, and the server sends an identification code generation request to the two or more electrical appliances controlled by the remote controller (the two or more electrical appliances are bound with the remote controller in advance). Specifically, a request key may be provided on the remote controller, and the user may send an apparatus identification code generation instruction to the server through the request key, or the user may send an apparatus identification code generation instruction to the server through a preset combination key, and when the remote controller receives a key signal for generating an apparatus identification code, the apparatus identification code generation instruction is sent to the server. The server sends identification code generation requests to the more than two electric appliances controlled by the remote controller when receiving the identification code generation instruction; and the more than two electrical appliances respond to the identification code generation request to generate and display the corresponding equipment identification codes.
And the first control instruction is generated by the remote controller according to the received control operation. Specifically, the remote controller identifies a control intention corresponding to the control operation, and generates a corresponding first control instruction. For example, taking a key signal as an example, in some embodiments, the key signal includes pin level change information and/or signal code change information of a control chip of a remote controller; pressing the keys of the remote controller can generate the pin level change or signal code change of the control chip, and different pin level change information or signal code change information corresponds to different control instructions. The remote controller determines a first control instruction corresponding to the key signal by detecting the level change information or the signal code change information of the pin of the remote controller control chip.
For example, each time the remote controller controls the electric appliance, the remote controller transmits control information, that is, the device information (first device information) acquired by scanning the device identification code, and the control command (first control command) to the server together. And (the server) receives the control information sent by the remote controller, receives the equipment information and the control instruction sent by the remote controller, determines the corresponding electric appliance to be controlled in the more than two electric appliances according to the equipment information, and sends the control instruction to the electric appliance for execution.
Optionally, the control information further includes an identification identifier of the remote controller, so that the two or more electrical appliances bound to the remote controller can be quickly acquired according to the identification identifier, and a corresponding electrical appliance to be controlled can be quickly determined in the two or more electrical appliances according to the first device information.
Optionally, the method for controlling an appliance on the server side further includes saving the received control information. The server side stores the current control information, so that the situation that the control information is lost and the control can be continued when the remote controller controls next time can be prevented. For example, when the information sent by the remote controller does not carry the device information and/or the control instruction, the server may call the last saved control information to control the device.
According to the embodiment of the invention, the corresponding target device is determined according to the device information in the control information sent by the remote controller, and the corresponding target device is controlled to execute the control instruction in the control information, so that the control target device in the multiple devices can be accurately controlled in a complex environment.
Fig. 3 is a method schematic diagram of another embodiment of the appliance control method for the server side provided by the invention.
As shown in fig. 3, according to an embodiment of the present invention, the appliance control method includes at least steps S230 and S240.
Step S230, if the control information does not include the first device information, acquiring third device information in the control information sent by the remote controller last time.
Step S240, controlling a corresponding electrical appliance of the two or more electrical appliances to execute the first control instruction according to the third device information.
Specifically, if the control information does not include the first device information, and the first device information may be lost, the third device information in the control information sent by the remote controller last time is acquired, and the corresponding electrical appliance of the two or more electrical appliances is controlled to execute the first control instruction according to the third device information.
Optionally, operations corresponding to different control instructions may be stored in the server, and after receiving the control instruction, the server controls the corresponding electrical appliance according to the stored operation corresponding to the control instruction, that is, controls the corresponding electrical appliance to execute the operation corresponding to the control instruction. For example, when the information sent by the remote controller does not carry specific device information, the server calls the last operation and reads the last device information, so as to control the corresponding electrical appliance.
In order to clearly illustrate the technical solution of the present invention, the following describes an execution flow of the electrical appliance control method provided by the present invention with a specific embodiment.
Fig. 4 is a schematic method diagram of an embodiment of an appliance control method according to the present invention.
The embodiment shown in fig. 4 includes:
registering equipment: registering all intelligent devices to a specified account, wherein the intelligent devices can be registered in an applet mode, an app mode or a webpage mode; generating equipment two-dimensional code information: generating a two-dimensional code when the equipment leaves a factory, pasting or printing the two-dimensional code on the body of the equipment, or generating and displaying the two-dimensional code by the equipment, for example, setting an electronic screen capable of displaying the two-dimensional code on the equipment; the information of the two-dimensional code mainly comprises UUID, MAC address and/or SN code information of the equipment, and has uniqueness. When the device generates the two-dimension code by using the electronic screen, a request needs to be sent to the device through the server, and the device generates the two-dimension code after receiving the request; for example, a two-dimensional code generation request is sent to a server through an applet, an APP, a webpage or a remote controller, the server receives the two-dimensional code generation request and forwards the two-dimensional code generation request to corresponding equipment, and the equipment receives the two-dimensional code and generates the two-dimensional code. The code scanning device of the remote controller scans the two-dimensional code of the equipment to obtain the equipment information, sends the equipment information to the server when the electric appliance is controlled, and stores the equipment information in the storage space of the remote controller. When the remote controller is used for controlling, the two-dimensional code is not aligned (not switched), and the remote controller can keep the equipment information stored last time for controlling, namely the equipment to be controlled by the remote controller is the equipment controlled last time. The server receives control information sent by the remote controller, extracts equipment information and a control instruction, determines target equipment to be controlled according to the equipment information, and controls the target equipment according to the control instruction; and if the device information is not carried, calling the last device information for control.
According to the embodiment of the invention, the server is responsible for storing the registration information of the equipment (including the user information, the uuid and/or mac information of the equipment, the equipment type and other information), and can also store the last control information, and the last control information stored by the server can prevent the remote controller from continuing to control when the last control information is lost; when the information sent by the remote controller does not carry the equipment information and/or the control instruction, the server can call the last control information to control the equipment. The logic of the server mainly acquires the information of the remote controller to realize operation and equipment control, and comprises the steps of receiving the information of the remote controller, judging the information of the remote controller and extracting a control instruction; the server can acquire the equipment which the remote controller wants to control through the acquired remote controller instruction and control the equipment.
An aspect of the present application also provides an appliance control apparatus for a remote controller. The device can be implemented, for example, in a control chip of a remote control.
Fig. 5 is a schematic structural diagram of an embodiment of a control device for a remote controller according to the present invention. As shown in fig. 5, the appliance control device 100 includes an information acquisition unit 110, an instruction generation unit 120, and an information transmission unit 130.
The information obtaining unit 110 is configured to, when the remote controller receives a control operation, perform device identification code scanning to obtain corresponding first device information according to a scanned device identification code.
In some embodiments, the controlling operation comprises: key operation and/or motion operation and/or voice command. For example, the key operation includes: and pressing any key or the combination of more than two keys on the remote controller to generate a key signal. The action operation comprises: the preset action performed on the remote controller, for example, shaking or flipping, may include, for example, if the remote controller is a polyhedral controller: a face turning operation, a rotation operation and/or a translation operation, and the sound instruction is, for example, a voice instruction given by a user or a sound given by a user's hand claps (different hand claps and different control intentions).
Specifically, when a user wants to control any one of the two or more electrical appliances by using a remote controller, the remote controller is controlled to perform control operation corresponding to the function of the electrical appliance which wants to be used, a code scanning device of the remote controller is aligned to an equipment identification code of the electrical appliance to be controlled, and when the remote controller receives the control operation, equipment identification code scanning is performed. Optionally, an alert tone is sounded when the device identification code is scanned, alerting that the device identification code has been successfully scanned. Optionally, the device identification code is scanned within a preset time after the control operation is received, and the device identification code is not scanned any more after the preset time is exceeded.
For example, when a user wants to control any one of the two or more electrical appliances by using a remote controller, the user presses a function key of the electrical appliance function to be used or a key combination for controlling a specific function on the remote controller, and simultaneously aligns a code scanning device of the remote controller with an equipment identification code of the electrical appliance to be controlled, and when the remote controller receives the key signal, the code scanning device is started to scan the equipment identification code. For example, a code scanner is arranged on the remote controller, and a user (while pressing a key) scans the code scanner on the remote controller to a two-dimensional code on the body of the electric appliance to be controlled or aligns the two-dimensional code displayed on the display screen of the electric appliance to be controlled; the information obtaining unit 110 obtains first device information included in the device Identifier after scanning the device Identifier of the electrical appliance by the code scanning device, where the first device information includes information such as a UUID (universal Unique Identifier), an MAC address, and an SN code (product serial number) of the corresponding electrical appliance.
Optionally, the device identification code is pre-attached to the body of the corresponding electrical appliance, or is generated and displayed by the corresponding electrical appliance when receiving an identification code generation request. For example, before the electric appliance leaves a factory, an equipment identification code of the electric appliance is generated in advance, and is pasted or printed on a machine body of the electric appliance, and when the electric appliance leaves the factory, the electric appliance leaves the factory; or the equipment identification code is generated and displayed by the corresponding electric appliance when the identification code generation request is received.
Specifically, the identification code generation request is sent by a server, and the server sends the identification code generation request to the two or more electric appliances controlled by the remote controller when receiving an identification code generation instruction sent by a control client, a client applet, a webpage and/or the remote controller. And when the more than two electrical appliances receive the identification code generation request, generating and displaying respective equipment identification codes. The server comprises a cloud server.
For example, the identification code generation instruction may be sent to the server by a control client, a client applet, a web page, and/or the remote control. The server sends an identification code generation request to the two or more electric appliances controlled by the remote controller (the two or more electric appliances are bound with the remote controller in advance) when receiving an identification code generation instruction sent by the control client, the client applet, the webpage and/or the remote controller, the two or more electric appliances generate respective equipment identification codes and display the equipment identification codes when receiving the identification code generation request, and the remote controller can control the instruction to the lower part of the two or more electric appliances by scanning the equipment identification codes.
Preferably, for convenient use, the remote controller may send an equipment identification code generation instruction to the server, and the server sends an identification code generation request to the two or more electrical appliances controlled by the remote controller (the two or more electrical appliances are bound with the remote controller in advance). Specifically, a request key may be provided on the remote controller, and the user may send an apparatus identification code generation instruction to the server through the request key, or the user may send an apparatus identification code generation instruction to the server through a preset combination key, and when the remote controller receives a key signal for generating an apparatus identification code, the apparatus identification code generation instruction is sent to the server. The server sends identification code generation requests to the more than two electric appliances controlled by the remote controller when receiving the identification code generation instruction; and the more than two electrical appliances respond to the identification code generation request to generate and display the corresponding equipment identification codes.
The instruction generating unit 120 is configured to generate a corresponding first control instruction according to the control operation received by the remote controller.
Specifically, a control intention corresponding to the control operation is identified, and a corresponding first control instruction is generated. For example, taking a key signal as an example, in some embodiments, the key signal includes pin level change information and/or signal code change information of a control chip of a remote controller; pressing the keys of the remote controller can generate the pin level change or signal code change of the control chip, and different pin level change information or signal code change information corresponds to different control instructions. The instruction generating unit 120 determines a first control instruction corresponding to the key signal by detecting level change information or signal code change information of a pin of the remote controller control chip.
The information sending unit 130 is configured to send control information including the first device information and the first control instruction to a server, so that the server controls a corresponding electrical appliance of the two or more electrical appliances to execute the first control instruction according to the first device information.
For example, each time the remote controller controls an electric appliance, the information transmitting unit 130 transmits the device information (first device information) acquired by scanning the device identification code and the control command (first control command) together. And the server receives the equipment information and the control instruction sent by the remote controller, determines the corresponding electric appliance to be controlled in the more than two electric appliances according to the equipment information, and sends the control instruction to the electric appliance for execution.
Optionally, the control information sent by the information sending unit 130 to the server further includes an identification identifier of the remote controller, so that the server can quickly obtain the two or more electrical appliances bound to the remote controller according to the identification identifier, and thus, the corresponding electrical appliance to be controlled can be quickly determined in the two or more electrical appliances according to the first device information.
Optionally, the apparatus 100 further includes a first saving unit (not shown) configured to save the first device information acquired by the information acquiring unit.
Specifically, if the information obtaining unit 110 scans a device identification code and obtains the first device information according to the scanned device identification code, the first saving unit saves the first device information obtained according to the scanned device identification code, so that when control is performed next time, if no device identification code is scanned within a preset time, control of a corresponding electrical appliance is performed according to the first device information.
Optionally, the information obtaining unit 120 is further configured to: if no equipment identification code is scanned within the preset time, acquiring corresponding second equipment information acquired according to the scanned equipment identification code when the key signal is received last time; the information sending unit 130 is further configured to: and sending control information containing the second equipment information and the first control instruction to a server so that the server controls corresponding electrical appliances in the more than two electrical appliances to execute the first control instruction according to the second equipment information.
For example, if the user also wants to control the appliance that was controlled last time, the device identification code of the appliance is not scanned in alignment when the control is performed using the remote controller. The remote controller controls the appliance by using the device information (second device information) stored when the appliance was last controlled, and the appliance to be controlled by the remote controller is the appliance last controlled. After receiving the key signal, if any equipment identification code is not scanned within the preset time, acquiring equipment information (second equipment information) acquired by the equipment identification code scanned during the last control, sending a first control instruction generated according to the key signal and the second equipment information to a server, receiving the second equipment information and the first control instruction sent by a remote controller by the server, determining a corresponding electric appliance to be controlled in the more than two electric appliances according to the second equipment information, and sending the first control instruction to the electric appliance for execution. The server comprises a cloud server.
Another aspect of the present invention also provides an appliance control apparatus for a server side. The server comprises a cloud server.
Fig. 6 is a schematic structural diagram of an embodiment of a control device for a remote controller according to the present invention. As shown in fig. 6, the appliance control device 200 includes an information receiving unit 210 and an execution control unit 220.
The information receiving unit 210 is configured to receive control information sent by the remote controller, where the control information includes: first device information and a first control instruction; the execution control unit 220 is configured to control a corresponding electrical appliance of the two or more electrical appliances to execute the first control instruction according to the first device information.
The first control instruction is generated by the remote controller according to the received key signal; the first equipment information is obtained by the remote controller according to the scanned equipment identification code; when the remote controller receives control operation, equipment identification code scanning is carried out, and corresponding first equipment information is obtained according to the scanned equipment identification code. After the information receiving unit 210 receives the control information, the execution control unit 220 determines a corresponding electrical appliance (i.e., a control target electrical appliance) of the two or more electrical appliances according to the first device information, and controls the corresponding electrical appliance to execute the first control instruction.
In some embodiments, the controlling operation comprises: key operation and/or motion operation and/or voice command. For example, the key operation includes: and pressing any key or the combination of more than two keys on the remote controller to generate a key signal. The action operation comprises: the preset action performed on the remote controller, for example, shaking or flipping, may include, for example, if the remote controller is a polyhedral controller: a face turning operation, a rotation operation and/or a translation operation, and the sound instruction is, for example, a voice instruction given by a user or a sound given by a user's hand claps (different hand claps and different control intentions).
Specifically, when a user wants to control any one of the two or more electrical appliances by using a remote controller, the remote controller is controlled to perform control operation corresponding to the function of the electrical appliance which wants to be used, a code scanning device of the remote controller is aligned to an equipment identification code of the electrical appliance to be controlled, and when the remote controller receives the control operation, equipment identification code scanning is performed. For example, when a user wants to control any one of the two or more electrical appliances by using a remote controller, the user presses a function key of the electrical appliance function to be used or a key combination for controlling a specific function on the remote controller, and simultaneously aligns a code scanning device of the remote controller with an equipment identification code of the electrical appliance to be controlled, and when the remote controller receives the key signal, the code scanning device is started to scan the equipment identification code. For example, a code scanner is arranged on the remote controller, and a user (while pressing a key) scans the code scanner on the remote controller to a two-dimensional code on the body of the electric appliance to be controlled or aligns the two-dimensional code displayed on the display screen of the electric appliance to be controlled; after the device identification code of the electrical appliance is scanned, first device information included in the device identification code is acquired, where the first device information includes information such as a UUID (universal Unique Identifier), an MAC address, and an SN code (product serial number) of the corresponding electrical appliance.
In some embodiments, the device identification code is pre-attached to the body of the corresponding appliance. For example, the device identification code of the electrical appliance is generated in advance before the electrical appliance is shipped, and is attached to or printed on the body of the electrical appliance.
In other embodiments, the device identification code is generated and displayed by the corresponding appliance upon receipt of an identification code generation request. Specifically, when receiving an identification code generation instruction sent by a control client, a client applet, a web page and/or the remote controller, the server sends an identification code generation request to the two or more electrical appliances controlled by the remote controller. And when the more than two electrical appliances receive the identification code generation request, generating and displaying respective equipment identification codes.
Specifically, in some optional embodiments, the apparatus 200 further comprises: an instruction receiving unit and a request transmitting unit (not shown).
The instruction receiving unit is used for receiving an identification code generation instruction sent by a control client, a client applet, a webpage and/or the remote controller; and the request sending unit is used for sending identification code generation requests to the more than two electric appliances controlled by the remote controller when the instruction receiving unit receives identification code generation instructions sent by a control client, a client applet, a webpage and/or the remote controller.
For example, the identification code generation instruction may be sent to the server by a control client, a client applet, a web page, and/or the remote control. When the instruction receiving unit receives an identification code generation instruction sent by a control client, a client applet, a webpage and/or the remote controller, the request sending unit sends an identification code generation request to the more than two electric appliances controlled by the remote controller (the more than two electric appliances are bound with the remote controller in advance), the more than two electric appliances generate respective equipment identification codes and display the equipment identification codes when receiving the identification code generation request, and the remote controller can send a control instruction to the lower part of the more than two electric appliances by scanning the equipment identification codes.
Preferably, for convenient use, the remote controller may send an equipment identification code generation instruction to the server, and the server sends an identification code generation request to the two or more electrical appliances controlled by the remote controller (the two or more electrical appliances are bound with the remote controller in advance). Specifically, a request key may be provided on the remote controller, and the user may send an apparatus identification code generation instruction to the server through the request key, or the user may send an apparatus identification code generation instruction to the server through a preset combination key, and when the remote controller receives a key signal for generating an apparatus identification code, the apparatus identification code generation instruction is sent to the server. The server sends identification code generation requests to the more than two electric appliances controlled by the remote controller when receiving the identification code generation instruction; and the more than two electrical appliances respond to the identification code generation request to generate and display the corresponding equipment identification codes.
And the first control instruction is generated by the remote controller according to the received control operation. Specifically, the remote controller identifies a control intention corresponding to the control operation, and generates a corresponding first control instruction. For example, taking a key signal as an example, in some embodiments, the key signal includes pin level change information and/or signal code change information of a control chip of a remote controller; pressing the keys of the remote controller can generate the pin level change or signal code change of the control chip, and different pin level change information or signal code change information corresponds to different control instructions. The remote controller determines a first control instruction corresponding to the key signal by detecting the level change information or the signal code change information of the pin of the remote controller control chip.
For example, each time the remote controller controls the electric appliance, the remote controller transmits control information, that is, the device information (first device information) acquired by scanning the device identification code, and the control command (first control command) to the server together. And (the server) receives the control information sent by the remote controller, receives the equipment information and the control instruction sent by the remote controller, determines the corresponding electric appliance to be controlled in the more than two electric appliances according to the equipment information, and sends the control instruction to the electric appliance for execution.
Optionally, the control information further includes an identification identifier of the remote controller, so that the two or more electrical appliances bound to the remote controller can be quickly acquired according to the identification identifier, and a corresponding electrical appliance to be controlled can be quickly determined in the two or more electrical appliances according to the first device information.
Optionally, the appliance control apparatus 200 for the server side further includes a second saving unit (not shown) for saving the received control information. The server side stores the current control information, so that the situation that the control information is lost and the control can be continued when the remote controller controls next time can be prevented. For example, when the information sent by the remote controller does not carry the device information and/or the control instruction, the server may call the last saved control information to control the device.
Fig. 7 is a block diagram of another embodiment of a control device for a remote controller according to the present invention. As shown in fig. 7, the appliance control device 200 further includes an acquisition unit 230.
The obtaining unit 230 is configured to obtain, if the control information does not include the first device information, third device information in the control information sent by the remote controller last time; the execution control unit 220 is further configured to: and controlling corresponding electrical appliances in the more than two electrical appliances to execute the first control instruction according to the third equipment information.
Specifically, if the control information does not include the first device information, the first device information may be lost, or the first control instruction is lost, the obtaining unit 230 obtains third device information in the control information sent by the remote controller last time, and the execution control unit 220 controls a corresponding one of the two or more electrical appliances to execute the first control instruction according to the third device information.
Optionally, operations corresponding to different control instructions may be stored in the server, and after receiving the control instruction, the server controls the corresponding electrical appliance according to the stored operation corresponding to the control instruction, that is, controls the corresponding electrical appliance to execute the operation corresponding to the control instruction. For example, when the information sent by the remote controller does not carry specific device information, the server calls the last operation and reads the last device information, so as to control the corresponding electrical appliance.
The present invention also provides a storage medium corresponding to the appliance control method for a remote controller, on which a computer program is stored, which when executed by a processor implements the steps of any of the aforementioned methods for a remote controller.
The present invention also provides a storage medium corresponding to the appliance control method for a remote controller, on which a computer program is stored, which when executed by a processor implements the steps of any of the aforementioned methods for a server.
The invention also provides a server corresponding to the method for the remote controller, which comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of any one of the methods for the remote controller.
The invention also provides a server corresponding to the device for the server side, which comprises any one of the electric appliance control devices for the remote controller.
The present invention also provides a server corresponding to the method for server side, comprising a processor, a memory and a computer program stored in the memory and operable on the processor, wherein the processor executes the program to implement any of the steps of the method for server side.
The invention also provides a server corresponding to the device for the server side, which comprises any one of the electrical appliance control devices for the server side.
Accordingly, according to the scheme provided by the invention, the equipment identification code is scanned and identified to obtain the equipment information of the control target equipment in the controllable equipment, the corresponding control information is sent to the server according to the obtained equipment information and the control instruction of the user, the server determines the corresponding target equipment according to the equipment information and controls the corresponding target equipment to execute the control instruction of the user, the accurate control on the control target equipment in a plurality of pieces of equipment can be realized in a complex environment, the control target can be quickly switched by scanning and identifying the equipment information, and when the control target equipment does not need to be switched, the control instruction can be quickly sent by not scanning the equipment identification code; the cloud control of the electric appliance can be realized by sending the control information containing the equipment information and the control instruction to the server and controlling the corresponding target equipment to execute the control instruction of the user by the server.
The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the invention and the following claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or a combination of any of these. In addition, each functional unit may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and the parts serving as the control device may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (12)

1. An electric appliance control method is characterized in that more than two bound electric appliances are controlled by one remote controller, and the control method comprises the following steps:
when the remote controller receives a control operation, scanning an equipment identification code to acquire corresponding first equipment information according to the scanned equipment identification code;
generating a corresponding first control instruction according to the control operation received by the remote controller;
and sending control information containing the first equipment information and the first control instruction to a server so that the server controls corresponding electrical appliances in the more than two electrical appliances to execute the first control instruction according to the first equipment information.
2. The method of claim 1, further comprising:
if no equipment identification code is scanned within the preset time, acquiring corresponding second equipment information acquired according to the scanned equipment identification code when the control operation is received last time;
sending control information containing the second equipment information and the first control instruction to a server so that the server controls corresponding electrical appliances of the more than two electrical appliances to execute the first control instruction according to the second equipment information;
and/or the presence of a gas in the gas,
and saving the acquired first equipment information.
3. The method according to claim 1 or 2,
the equipment identification code is attached to the body of the corresponding electric appliance in advance, or is generated and displayed by the corresponding electric appliance when receiving an identification code generation request;
the identification code generation request is sent by a server, and the server sends identification code generation requests to the more than two electric appliances controlled by the remote controller when receiving identification code generation instructions sent by a control client, a client applet, a webpage and/or the remote controller.
4. The method according to claim 1 or 2,
the remote controller is provided with a code scanning device for scanning the equipment identification code;
and/or the presence of a gas in the gas,
and the remote controller is provided with a communication module for communicating with the server.
5. An electric appliance control method is characterized in that more than two bound electric appliances are controlled by one remote controller, and the control method comprises the following steps:
receiving control information sent by the remote controller, wherein the control information comprises: first device information and a first control instruction;
controlling corresponding electrical appliances of the more than two electrical appliances to execute the first control instruction according to the first equipment information;
the first control instruction is generated by the remote controller according to the received control operation; the first equipment information is obtained by the remote controller according to the scanned equipment identification code; when the remote controller receives control operation, equipment identification code scanning is carried out, and corresponding first equipment information is obtained according to the scanned equipment identification code.
6. The method of claim 5, further comprising:
if the control information does not contain the first equipment information, acquiring third equipment information in the control information sent by the remote controller last time;
controlling corresponding electrical appliances of the more than two electrical appliances to execute the first control instruction according to the third equipment information;
and/or the presence of a gas in the gas,
and storing the received control information.
7. The method according to claim 5 or 6,
the equipment identification code is attached to the body of the corresponding electric appliance in advance, or is generated and displayed by the corresponding electric appliance when receiving an identification code generation request;
and when receiving an identification code generation instruction sent by a control client, a client applet, a webpage and/or the remote controller, sending an identification code generation request to the more than two electric appliances controlled by the remote controller.
8. An electric appliance control apparatus, characterized in that more than two electric appliances bound are controlled by one remote controller, the control apparatus comprising:
the information acquisition unit is used for scanning the equipment identification code when the remote controller receives control operation so as to acquire corresponding first equipment information according to the scanned equipment identification code;
the instruction generating unit is used for generating a corresponding first control instruction according to the control operation received by the remote controller;
and the information sending unit is used for sending control information containing the first equipment information and the first control instruction to a server so that the server controls corresponding electric appliances in the more than two electric appliances to execute the first control instruction according to the first equipment information.
9. An electric appliance control apparatus, characterized in that more than two electric appliances bound are controlled by one remote controller, the control apparatus comprising:
an information receiving unit, configured to receive control information sent by the remote controller, where the control information includes: first device information and a first control instruction;
the execution control unit is used for controlling corresponding electric appliances in the more than two electric appliances to execute the first control instruction according to the first equipment information;
the first control instruction is generated by the remote controller according to the received control operation; the first equipment information is obtained by the remote controller according to the scanned equipment identification code; when the remote controller receives control operation, equipment identification code scanning is carried out, and corresponding first equipment information is obtained according to the scanned equipment identification code.
10. A storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4 or carries out the steps of the method of any one of claims 5 to 7.
11. A remote control comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, the processor when executing the program implementing the steps of the method of any one of claims 1 to 4, including the appliance control device of claim 8.
12. A server, comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, the processor when executing the program implementing the steps of the method according to any one of claims 5 to 7, including the appliance control device according to claim 9.
CN202110383865.0A 2021-04-09 2021-04-09 Electric appliance control method and device, storage medium, remote controller and server Pending CN113225236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110383865.0A CN113225236A (en) 2021-04-09 2021-04-09 Electric appliance control method and device, storage medium, remote controller and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110383865.0A CN113225236A (en) 2021-04-09 2021-04-09 Electric appliance control method and device, storage medium, remote controller and server

Publications (1)

Publication Number Publication Date
CN113225236A true CN113225236A (en) 2021-08-06

Family

ID=77086824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110383865.0A Pending CN113225236A (en) 2021-04-09 2021-04-09 Electric appliance control method and device, storage medium, remote controller and server

Country Status (1)

Country Link
CN (1) CN113225236A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113741210A (en) * 2021-09-28 2021-12-03 中国联合网络通信集团有限公司 Household equipment control method based on 5G technology, controller and household system
CN113781760A (en) * 2021-08-17 2021-12-10 深圳智控佳科技有限公司 Bluetooth remote control method, device, system and medium based on two-dimension code

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017050011A1 (en) * 2015-09-25 2017-03-30 广州视睿电子科技有限公司 Equipment control method, control side equipment, controlled side equipment, and equipment control system
CN107023968A (en) * 2017-04-25 2017-08-08 广东美的暖通设备有限公司 Control method, control system, control device and the computer equipment of air conditioner
CN108399726A (en) * 2018-03-19 2018-08-14 珠海格力电器股份有限公司 Control method for remote controller, device, remote controler and computer readable storage medium
CN109587016A (en) * 2018-11-20 2019-04-05 广东美的制冷设备有限公司 Household electrical appliances binding system, method, mobile terminal, server, household electrical appliances and medium
CN109803161A (en) * 2019-01-14 2019-05-24 深圳市金锐显数码科技有限公司 TV remote controlling method, device and terminal device
CN110139139A (en) * 2018-02-02 2019-08-16 华为技术有限公司 A kind of method for processing business, terminal, server and Related product
CN110166332A (en) * 2019-05-24 2019-08-23 广东美的制冷设备有限公司 Method and apparatus for household appliance and client binding
CN110657557A (en) * 2019-09-11 2020-01-07 珠海格力电器股份有限公司 Method and device for acquiring information of electric appliance, storage medium and processor
CN111308903A (en) * 2020-03-31 2020-06-19 广东美的制冷设备有限公司 Control method of household appliance, air conditioner system, server and storage medium
CN111415504A (en) * 2020-03-09 2020-07-14 珠海格力电器股份有限公司 Remote controller control method and device, storage medium and remote controller

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017050011A1 (en) * 2015-09-25 2017-03-30 广州视睿电子科技有限公司 Equipment control method, control side equipment, controlled side equipment, and equipment control system
CN107023968A (en) * 2017-04-25 2017-08-08 广东美的暖通设备有限公司 Control method, control system, control device and the computer equipment of air conditioner
CN110139139A (en) * 2018-02-02 2019-08-16 华为技术有限公司 A kind of method for processing business, terminal, server and Related product
CN108399726A (en) * 2018-03-19 2018-08-14 珠海格力电器股份有限公司 Control method for remote controller, device, remote controler and computer readable storage medium
CN109587016A (en) * 2018-11-20 2019-04-05 广东美的制冷设备有限公司 Household electrical appliances binding system, method, mobile terminal, server, household electrical appliances and medium
CN109803161A (en) * 2019-01-14 2019-05-24 深圳市金锐显数码科技有限公司 TV remote controlling method, device and terminal device
CN110166332A (en) * 2019-05-24 2019-08-23 广东美的制冷设备有限公司 Method and apparatus for household appliance and client binding
CN110657557A (en) * 2019-09-11 2020-01-07 珠海格力电器股份有限公司 Method and device for acquiring information of electric appliance, storage medium and processor
CN111415504A (en) * 2020-03-09 2020-07-14 珠海格力电器股份有限公司 Remote controller control method and device, storage medium and remote controller
CN111308903A (en) * 2020-03-31 2020-06-19 广东美的制冷设备有限公司 Control method of household appliance, air conditioner system, server and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113781760A (en) * 2021-08-17 2021-12-10 深圳智控佳科技有限公司 Bluetooth remote control method, device, system and medium based on two-dimension code
CN113741210A (en) * 2021-09-28 2021-12-03 中国联合网络通信集团有限公司 Household equipment control method based on 5G technology, controller and household system
CN113741210B (en) * 2021-09-28 2023-07-21 中国联合网络通信集团有限公司 Household equipment control method based on 5G technology, controller and household system

Similar Documents

Publication Publication Date Title
CN106102184B (en) System and method for managing binding connection of Bluetooth equipment
CN108462619B (en) Method, device and storage medium for controlling household appliances through instant messaging software
CN108513154B (en) Smart home control method based on smart television, smart television and storage medium
US10264424B2 (en) Information processing method and central control device
EP2804393B1 (en) Remote control method, intelligent terminal and intelligent remote control system
CN106953785B (en) Intelligent household equipment adding method and device
CN113225236A (en) Electric appliance control method and device, storage medium, remote controller and server
CN109617963B (en) Equipment control method and device and Internet of things system
US9514641B2 (en) Smart remote control
CN109450747B (en) Method and device for awakening smart home equipment and computer storage medium
CN110971965B (en) Intelligent display equipment association method, device and system and computer storage medium
CN111163469A (en) Network distribution method of intelligent household appliance, wireless module and intelligent household appliance
CN104714817A (en) Method, system and control terminal for upgrading household appliance software through infrared signal
CN107318119B (en) Household appliance networking method, household appliance and computer readable storage medium
CN105100950A (en) Intelligent television mobile side switching and television side information acquisition method and device and system
CN112752325A (en) Network distribution method and device of household appliance, computer readable storage medium and processor
CN111415504A (en) Remote controller control method and device, storage medium and remote controller
CN110414014B (en) Voice equipment control method and device, storage medium and voice equipment
CN112203301A (en) Network configuration method, system, device and storage medium of projection equipment
CN111970676A (en) WiFi hotspot access method, device, equipment and storage medium
CN113364979A (en) Method and system for remote control of devices, server, client device, and medium
CN111917614B (en) Network distribution method and device and household electrical appliance
CN113300919A (en) Intelligent household appliance control method based on social software group function and intelligent household appliance
CN112350901B (en) Device control method, storage medium, mobile terminal, and electronic device
CN112654040B (en) Method, apparatus, processor and non-volatile storage medium for associating devices

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

Application publication date: 20210806

RJ01 Rejection of invention patent application after publication