[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110493091A - A kind of control method and device of smart home device - Google Patents

A kind of control method and device of smart home device Download PDF

Info

Publication number
CN110493091A
CN110493091A CN201910790330.8A CN201910790330A CN110493091A CN 110493091 A CN110493091 A CN 110493091A CN 201910790330 A CN201910790330 A CN 201910790330A CN 110493091 A CN110493091 A CN 110493091A
Authority
CN
China
Prior art keywords
instruction
state information
working state
server
comparison
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
CN201910790330.8A
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
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910790330.8A priority Critical patent/CN110493091A/en
Publication of CN110493091A publication Critical patent/CN110493091A/en
Priority to PCT/CN2020/100446 priority patent/WO2021036512A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • 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
    • 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/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Telephonic Communication Services (AREA)

Abstract

This application discloses a kind of control method and device of smart home device, control instruction constantly is forwarded to smart home device for server in the prior art, and then the problem of causing server resource to consume, this method comprises: the first of server receiving terminal transmission instructs, the identification information of smart home device is carried in first instruction;The current work state information of the smart home device is obtained according to the identification information;Triggering carries out alternative comparison to first instruction and the work state information;When determining first instruction and the non-exclusive work state information according to comparison result, first instruction is sent to the smart home device, triggers the smart home device response.The instruction of server triggers first and work state information carry out alternative comparison in the application, improve the instruction processing efficiency of system, reduce the unnecessary request amount of server end, improve the resource utilization of server.

Description

Control method and device for intelligent household equipment
Technical Field
The application relates to the technical field of smart home, in particular to a control method and device of smart home equipment.
Background
With the rapid development of smart home technology, the control of smart home devices has been gradually developed from traditional key operation and remote controller operation to the current operation through Application programs (APP), applet terminals or voices and the like.
For example, when the control instruction is sent to the smart home device through the APP, the terminal of the APP needs to operate, the control instruction is sent to the server on the network side first, and then the server forwards the control instruction to the corresponding smart home device.
However, at present, when the smart home device receives a control instruction from the APP, the control instruction is not executed immediately each time, and in some cases, the smart home device ignores or discards the control instruction, and when the APP does not receive feedback of the smart home device, the APP continuously sends a new control instruction, which causes the server to continuously forward the control instruction to the smart home device, consumes server resources, and thus brings unnecessary operation load through a terminal and a server running the APP.
For example:
after receiving the control instruction a, the smart television is executing the operation of recording the program a, however, the user sends the control instruction B of recording the program B to the smart television again through the APP, and at this time, the smart television may ignore or discard the control instruction B. And the APP can continuously resend a new control instruction B to the server due to the fact that the APP does not receive the feedback of the intelligent television, so that the server can continuously send the control instruction B to the intelligent television, and resource consumption of the server is further caused.
It follows that a new solution needs to be devised to overcome the above drawbacks.
Disclosure of Invention
The application provides a method and a device, which are used for solving the problem that in the prior art, a server continuously forwards a control instruction to intelligent household equipment, so that the resource consumption of the server is caused.
The technical scheme provided by the embodiment of the application is as follows:
a control method of intelligent household equipment comprises the following steps:
the method comprises the steps that a server receives a first instruction sent by a terminal, wherein the first instruction carries identification information of intelligent household equipment;
the server acquires the current working state information of the intelligent household equipment according to the identification information, wherein the working state information is generated after the intelligent household equipment executes a second instruction;
and the server triggers mutual exclusion comparison of the first instruction and the working state information, and sends the first instruction to the intelligent home equipment when determining that the first instruction and the working state information are not mutually exclusive, so as to trigger the intelligent home to execute the first instruction.
Optionally, the triggering, by the server, mutual exclusion comparison between the first instruction and the working state information includes:
the server directly carries out mutual exclusion comparison on the first instruction and the working state information; or,
and the server sends the first instruction and the working state information to a specified analysis platform and triggers the analysis platform to carry out mutual exclusion comparison on the first instruction and the working state information.
Optionally, the directly performing, by the server, mutual exclusion comparison on the first instruction and the working state information includes:
the server analyzes the instruction content of the first instruction to obtain a first analysis result;
the server analyzes the working state information to obtain a second analysis result;
and the server compares the first analysis result with the second analysis result, judges whether execution contents which are not allowed to exist simultaneously exist or not, determines that the first instruction and the working state information are mutually exclusive if the execution contents do not exist simultaneously, and determines that the first instruction and the working state information are not mutually exclusive if the execution contents do not exist simultaneously.
Optionally, further comprising:
if the server determines that the first instruction and the working state information are mutually exclusive according to the comparison result, executing the following operations:
the server compares the priority of the first instruction with the priority of a second instruction corresponding to the working state information,
if the priority of the first instruction is higher than that of the second instruction, triggering the intelligent household equipment to start executing the first instruction;
and if the priority of the first instruction is lower than that of the second instruction, sending a failure response to the terminal.
Optionally, further comprising:
if the priority of the first instruction is the same as that of the second instruction, the first instruction and the second instruction are sent to the server background, and corresponding operation is triggered and executed according to the instruction of an administrator; or sending the first instruction and the second instruction to the terminal, and triggering and executing corresponding operation according to the instruction of the user.
A control device of intelligent household equipment comprises:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a first instruction sent by a terminal, and the first instruction carries identification information of the intelligent household equipment;
the acquisition unit is used for acquiring the current working state information of the intelligent home equipment according to the identification information, wherein the working state information is generated after the intelligent home equipment executes a second instruction;
and the processing unit is used for triggering mutual exclusion comparison between the first instruction and the working state information, sending the first instruction to the intelligent household equipment when the first instruction and the working state information are determined to be not mutually exclusive, and triggering the intelligent household equipment to execute the first instruction.
Optionally, when mutual exclusion comparison between the first instruction and the working state information is triggered, the processing unit is specifically configured to:
directly carrying out mutual exclusion comparison on the first instruction and the working state information; or,
and sending the first instruction and the working state information to a specified analysis platform, and triggering the analysis platform to carry out mutual exclusion comparison on the first instruction and the working state information.
Optionally, when the mutual exclusion comparison is directly performed on the first instruction and the working state information, the processing unit is specifically configured to:
analyzing the instruction content of the first instruction to obtain a first analysis result;
analyzing the working state information to obtain a second analysis result;
and comparing the first analysis result with the second analysis result, judging whether execution contents which are not allowed to exist simultaneously exist, if so, determining that the first instruction and the working state information are mutually exclusive, otherwise, determining that the first instruction and the working state information are non-mutually exclusive.
Optionally, the processing unit is further configured to:
if the comparison result determines that the first instruction and the working state information are mutually exclusive, executing the following operations:
comparing the priority of the first instruction with the priority of a second instruction corresponding to the working state information,
if the priority of the first instruction is higher than that of the second instruction, triggering the intelligent household equipment to start executing the first instruction;
and if the priority of the first instruction is lower than that of the second instruction, sending a failure response to the terminal.
Optionally, the processing unit is further configured to:
if the priority of the first instruction is the same as that of the second instruction, the first instruction and the second instruction are sent to the server background, and corresponding operation is triggered and executed according to the instruction of an administrator; or sending the first instruction and the second instruction to the terminal, and triggering and executing corresponding operation according to the instruction of the user.
A server, comprising:
a memory for storing executable instructions;
and the processor is used for reading and executing the executable instructions stored in the memory so as to realize the control method of the intelligent household equipment.
A storage medium, wherein instructions of the storage medium, when executed by a processor, enable the processor to execute the control method of the smart home device according to any one of the above.
In the embodiment of the application, the server receives a first instruction sent by the terminal, acquires the current working state information of the intelligent home equipment according to the identification information, triggers mutual exclusion comparison between the first instruction and the working state information, and triggers the intelligent home equipment to stop executing a second instruction and start executing the first instruction when the first instruction and the working state information are determined to be not mutually exclusive. Therefore, the instruction processing efficiency of the system can be improved, unnecessary request amount of the server side is reduced, the resource utilization rate of the server is improved, quick response of the intelligent household equipment to the control instruction is guaranteed, the satisfaction degree of the user on the intelligent household equipment is improved, and user experience is enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an intelligent home system in an embodiment of the present application;
fig. 2 is a schematic control flow diagram of the smart home device in the embodiment of the present application;
fig. 3 is a schematic structural diagram of a control device of an intelligent home device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of this application 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 application described herein are capable of operation in sequences other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The preferred embodiments of the present application will be described in further detail with reference to the accompanying drawings.
Referring to fig. 1, in the embodiment of the present application, the smart home system at least includes:
terminal, server and intelligent house equipment.
The terminal is used for receiving a control instruction of a user and forwarding the control instruction to the server through the network; the terminal includes but is not limited to various user terminals such as smart phones, notebook computers, personal digital assistants, mobile internet devices, intelligent wearable devices (such as smart watches and smart bracelets).
And the intelligent household equipment is used for receiving the control instruction sent by the server and executing corresponding operation according to the received control instruction. In the embodiment of the application, the smart home devices include but are not limited to various smart homes such as air conditioners, washing machines, refrigerators, water heaters, electric cookers, lamps and the like.
And the server is used for receiving the control instruction of the terminal, carrying out mutual exclusion judgment and sending the control instruction to the intelligent household equipment when the mutual exclusion condition is determined to be absent.
As shown in fig. 1, in the embodiment of the present application, an entity for performing mutual exclusion judgment is referred to as a decision judgment center, and the decision judgment center may be a functional module in a server, a functional module in a background, or an independent service device.
In the embodiment of the application, referring to fig. 2, a detailed flow for controlling the smart home device is as follows:
step S201: the server receives a first instruction sent by the terminal, wherein the first instruction carries identification information of the intelligent household equipment.
Specifically, in the embodiment of the Application, a user may select a control instruction for the smart home device on the terminal through an Application (APP), an applet, and the like, the terminal generates a first instruction according to an operation behavior of the user, the first instruction carries identification information of the smart home device, and then the terminal sends the first instruction to the server.
For example, taking an intelligent air conditioner as an example, a user may select control instructions such as adjusting temperature, timing, adjusting wind direction and the like through an APP and the like, and assuming that the user indicates to reduce temperature, the terminal may send a first instruction for representing to reduce temperature to the server, and the first instruction carries identification information of the intelligent air conditioner.
Step S202: and the server acquires the current working state information of the intelligent household equipment according to the identification information, wherein the working state information is generated after the intelligent household equipment executes a second instruction.
Specifically, in the embodiment of the application, the first instruction received by the server from the terminal includes identification information of the smart home device, and the server can identify the smart home device according to the identification information.
Specifically, the server further needs to acquire the current working state information of the smart home device from the smart home device, because the smart home device may be executing a second instruction received before, or the smart home device has executed the second instruction, so that the server may determine whether the current working state information of the smart home device is mutually exclusive with the first instruction according to the current working state information of the smart home device after the smart home device executes the second instruction.
For example, still taking the intelligent air conditioner as an example, assuming that after the intelligent air conditioner executes the second instruction, the current working state information of the intelligent air conditioner indicates that the intelligent air conditioner is currently in the automatic mode, that is, the intelligent air conditioner can automatically raise or lower the temperature according to the indoor temperature, the server can identify the intelligent air conditioner according to the identification information carried in the first instruction, and acquire the working state information indicating that the intelligent air conditioner is currently in the automatic mode from the intelligent air conditioner, so that whether the current working state information of the intelligent air conditioner is mutually exclusive with the first instruction can be determined according to the current working state information after the intelligent air conditioner executes the second instruction.
For another example, still taking the intelligent air conditioner as an example, assuming that after the intelligent air conditioner executes the second instruction representing the shutdown of the intelligent air conditioner, the server may identify the intelligent air conditioner according to the identification information carried in the first instruction, however, since the intelligent air conditioner executes the second instruction, the server cannot obtain the working state information from the intelligent air conditioner, and after waiting for a certain time and the intelligent air conditioner has no response, the server determines that the current working state information of the intelligent air conditioner represents that the intelligent air conditioner is currently in the shutdown state.
Step S203: and triggering by the server to perform mutual exclusion comparison on the first instruction and the working state information, and judging whether mutual exclusion exists, if so, executing a step S204, otherwise, executing a step S205.
Specifically, in this embodiment of the present application, the server may execute step 203 in, but is not limited to, the following two manners:
the first mode is as follows: the server performs the mutual exclusion comparison locally.
The method specifically comprises the following steps:
a1, the server analyzes the instruction content of the first instruction to obtain a first analysis result.
B1, the server analyzes the working state information to obtain a second analysis result.
C1, the server compares the first and second analysis results, and determines whether there is execution content that is not allowed to exist simultaneously, if yes, it determines that the first instruction and the working status information are mutually exclusive, otherwise, it determines that the first instruction and the working status information are non-mutually exclusive.
For example, taking the smart television as an example, after receiving a first instruction sent by the terminal, the server analyzes the first instruction to determine a first analysis result, where the first analysis result represents that the first instruction is used to instruct the smart television to record the program 1 in real time.
And then, the server acquires the current working state information of the intelligent television, and determines a second analysis result by analyzing the working state information, wherein the second analysis result represents that the intelligent television is currently recording the program 2 in real time.
Then, the first analysis result representation terminal analyzed by the server indicates that the smart television records the real-time program 1, and the second analysis result representation terminal indicates that the smart television currently records the real-time program 2.
For another example, still taking the smart television as an example, after receiving a first instruction sent by the terminal, the server analyzes the first instruction to determine a first analysis result, where the first analysis result represents that the first instruction is used to instruct the smart television to adjust the volume.
And then, the server acquires the current working state information of the intelligent television, and determines a second analysis result by analyzing the working state information, wherein the second analysis result represents that the intelligent television is in a power-off state currently.
Then, the first analysis result representation terminal analyzed by the server indicates that the smart television adjusts the volume, and the second analysis result representation terminal indicates that the smart television is currently in the power-off state.
The second way is: the server sends the first instruction and the working state information to a specified analysis platform, namely a decision-making judgment center, and the decision-making judgment center performs mutual exclusion comparison on the first instruction and the working state information and obtains a comparison result returned by the decision-making judgment center.
The method specifically comprises the following steps:
a2, the decision-making judgment center receives the first instruction forwarded by the server, and analyzes the instruction content of the first instruction to obtain a first analysis result.
B2, the decision-making judgment center receives the working state information forwarded by the server, and analyzes the working state information to obtain a second analysis result.
C2, comparing the first and second analysis results by the decision-making center, and determining whether there is execution content that is not allowed to exist simultaneously, if yes, determining that the first instruction and the working status information are mutually exclusive, otherwise, determining that the first instruction and the working status information are non-mutually exclusive.
For example, taking an intelligent refrigerator as an example, after receiving a first instruction sent by a server, a decision-making and judgment center analyzes the first instruction to determine a first analysis result, where the first analysis result represents that the first instruction is used for instructing the intelligent refrigerator to reduce the temperature.
And then, the decision-making judgment center receives the current working state information of the intelligent refrigerator sent by the server, and if the working state information represents that the intelligent refrigerator is in an automatic mode at present, namely the intelligent refrigerator can automatically raise or lower the temperature according to factory settings. And the decision-making judgment center analyzes the working state information to determine a second analysis result, and the second analysis result represents that the intelligent refrigerator is currently in an automatic mode.
Then, the first analysis result representation terminal indicates that the intelligent refrigerator reduces the temperature, and the second analysis result representation terminal indicates that the intelligent refrigerator is currently in the automatic mode.
For another example, still taking the intelligent refrigerator as an example, after receiving the first instruction sent by the server, the decision-making determination center analyzes the first instruction to determine a first analysis result, where the first analysis result represents that the first instruction is used to instruct the intelligent refrigerator to start.
And then, the decision-making judgment center receives the current working state information of the intelligent refrigerator sent by the server, and supposing that the working state information represents that the intelligent refrigerator is in a shutdown state currently. And the decision judgment center analyzes the working state information to determine a second analysis result, and the second analysis result represents that the intelligent refrigerator is in a shutdown state currently.
Then, the first analysis result representation terminal indicates that the intelligent refrigerator is started, and the second analysis result representation terminal indicates that the intelligent refrigerator is currently in a shutdown state.
Step S204: and the server compares the priorities of the first instruction and a second instruction corresponding to the working state information, and triggers and executes corresponding operation according to a comparison result.
Specifically, when the first instruction and the working state information are in a mutually exclusive state, the server may compare priorities of the first instruction and a second instruction corresponding to the working state information, and a comparison result may be as follows:
in the first case: and if the priority of the first instruction is higher than that of the second instruction, triggering the intelligent household equipment to start executing the first instruction.
For example, taking the intelligent washing machine as an example, assuming that the current operating state information of the intelligent washing machine indicates that the intelligent washing machine is using the normal washing mode based on the second instruction, and the first instruction is used for indicating that the intelligent washing machine is suspended from operating, obviously, the first instruction has higher priority than the second instruction. At this time, the server sends the first instruction to the intelligent washing machine, so that the intelligent washing machine starts to execute the first instruction.
In the second case: and if the priority of the first instruction is lower than that of the second instruction, sending a failure response to the terminal.
For example, still taking the intelligent washing machine as an example, assuming that the current operating state information of the intelligent washing machine indicates that the intelligent washing machine is using the normal washing mode based on the second instruction, and the first instruction is used for instructing the intelligent washing machine to perform the tub cleaning, obviously, the priority of the first instruction is lower than that of the second instruction. At the moment, the intelligent washing machine continues to execute the second instruction, and sends a failure response to the terminal to prompt the user that the operation is failed.
For another example, taking the intelligent air conditioner as an example, assuming that the current operating state information of the intelligent air conditioner indicates that the intelligent air conditioner is turned off based on the second instruction, and the first instruction is used for instructing the intelligent air conditioner to adjust the wind speed, obviously, the priority of the first instruction is lower than that of the second instruction, and at this time, the server refuses to execute the first instruction.
In the third case: if the priority of the first instruction is the same as that of the second instruction, the first instruction and the second instruction are sent to the server background, and corresponding operation is triggered and executed according to the instruction of an administrator; or sending the first instruction and the second instruction to the terminal, and triggering and executing corresponding operation according to the instruction of the user.
For example, still taking the intelligent washing machine as an example, assuming that the current working state information of the intelligent washing machine indicates that the intelligent washing machine is using the conventional washing mode based on the second instruction, and the first instruction is used for indicating that the intelligent washing machine uses the fast washing mode, and at this time, the priorities of the first instruction and the second instruction are the same, the first instruction and the second instruction are sent to the server background, and a background administrator makes a decision to determine which instruction the washing machine executes; or the first instruction and the second instruction are sent to the terminal, and the user makes a decision to determine which instruction is executed by the washing machine.
Step S205: and the server sends the first instruction to the intelligent household equipment and triggers the intelligent household equipment to execute the first instruction.
Specifically, when the first instruction and the working state information are in a non-exclusive state, the server sends the first instruction to the smart home device.
For example, taking the smart audio as an example, it is assumed that the current operating state information of the smart audio indicates that the smart audio is currently playing song 1, and the first instruction indicates that the smart audio is playing song 2. The server compares the first instruction with the working state information, and obviously, the first instruction and the working state information are non-mutually exclusive. At the moment, the server sends the first instruction to the intelligent sound box, so that the intelligent sound box starts to execute the first instruction.
For another example, taking the intelligent air conditioner as an example, it is assumed that the current operating state information of the intelligent air conditioner indicates that the intelligent air conditioner is currently in an off state, and the first instruction is used to instruct the intelligent air conditioner to turn on. The server compares the first instruction with the working state information, and obviously, the first instruction and the working state information are non-mutually exclusive. At the moment, the server sends the first instruction to the intelligent air conditioner, so that the intelligent air conditioner executes the first instruction, namely, the intelligent air conditioner is started.
Fig. 3 is a schematic structural diagram of a control device of a smart home device according to an exemplary embodiment. Referring to fig. 3, the apparatus includes a receiving unit 301, an obtaining unit 302, and a processing unit 303.
The receiving unit 301 is configured to receive a first instruction sent by a terminal, where the first instruction carries identification information of an intelligent home device;
an obtaining unit 302, configured to obtain current working state information of the smart home device according to the identification information, where the working state information is generated after the smart home device executes a second instruction;
the processing unit 303 is configured to trigger mutual exclusion comparison between the first instruction and the working state information, and when it is determined that the first instruction and the working state information are not mutually exclusive, send the first instruction to the smart home device, and trigger the smart home device to execute the first instruction.
Optionally, when mutual exclusion comparison between the first instruction and the working state information is triggered, the processing unit 303 is specifically configured to:
directly carrying out mutual exclusion comparison on the first instruction and the working state information; or,
and sending the first instruction and the working state information to a specified analysis platform, and triggering the analysis platform to carry out mutual exclusion comparison on the first instruction and the working state information.
Optionally, when the mutual exclusion comparison is directly performed on the first instruction and the working state information, the processing unit 303 is specifically configured to:
analyzing the instruction content of the first instruction to obtain a first analysis result;
analyzing the working state information to obtain a second analysis result;
and comparing the first analysis result with the second analysis result, judging whether execution contents which are not allowed to exist simultaneously exist, if so, determining that the first instruction and the working state information are mutually exclusive, otherwise, determining that the first instruction and the working state information are non-mutually exclusive.
Optionally, the processing unit 303 is further configured to:
if the comparison result determines that the first instruction and the working state information are mutually exclusive, executing the following operations:
comparing the priority of the first instruction with the priority of a second instruction corresponding to the working state information,
if the priority of the first instruction is higher than that of the second instruction, triggering the intelligent household equipment to start executing the first instruction;
and if the priority of the first instruction is lower than that of the second instruction, sending a failure response to the terminal.
Optionally, the processing unit 303 is further configured to:
if the priority of the first instruction is the same as that of the second instruction, the first instruction and the second instruction are sent to the server background, and corresponding operation is triggered and executed according to the instruction of an administrator; or sending the first instruction and the second instruction to the terminal, and triggering and executing corresponding operation according to the instruction of the user.
Referring to fig. 4, based on the same inventive concept, the embodiment of the present disclosure provides a schematic structural diagram of a server. As shown, the physical device may include: a processor 401, a memory 402, a transceiver 403, and a bus interface 404;
the processor 401 is configured to read the computer instruction in the memory 402, and execute any one of the methods executed by the control device of the smart home device.
The processor 401 is responsible for managing the bus architecture and general processing, and the memory 402 may store data used by the processor 401 in performing operations. The transceiver 403 is used for receiving and transmitting data under the control of the processor 401.
The bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 401, and various circuits, represented by memory 402, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The processor 401 is responsible for managing the bus architecture and general processing, and the memory 402 may store data used by the processor 401 in performing operations.
Based on the same inventive concept, the disclosed embodiments provide a storage medium, where the storage medium stores computer-executable instructions, where the computer-executable instructions are used to enable a computer to execute the method executed by the control device (i.e., the server) of the smart home device in the foregoing embodiments.
In the embodiment of the application, firstly, a server receives a first instruction sent by a terminal, the first instruction carries identification information of intelligent home equipment, then, current working state information of the intelligent home equipment is obtained according to the identification information, then, mutual exclusion comparison is triggered to be carried out on the first instruction and the working state information, when the first instruction and the working state information are determined to be not mutually exclusive, the intelligent home equipment is triggered to stop executing the second instruction, and the first instruction is started to be executed. Thus, the technical scheme provided by the embodiment of the application at least has the following beneficial effects: the server triggers to carry out mutual exclusion comparison on the first instruction and the current working state information of the intelligent household equipment, the intelligent household equipment immediately executes the first instruction when non-mutual exclusion is determined, namely, the server triggers to carry out mutual exclusion comparison on the first instruction and the working state information, the instruction processing efficiency of the system is improved, unnecessary request quantity of the server side is reduced, the resource utilization rate of the server is improved, and when the first instruction and the current working state information of the intelligent household equipment are non-mutual exclusion, the intelligent household equipment can immediately execute the first instruction, therefore, the quick response of the intelligent household equipment to the control instruction is ensured, further, the satisfaction degree of a user to the intelligent household equipment is improved, and the user experience is enhanced.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (12)

1. A control method of intelligent household equipment is characterized by comprising the following steps:
the method comprises the steps that a server receives a first instruction sent by a terminal, wherein the first instruction carries identification information of intelligent household equipment;
the server acquires the current working state information of the intelligent household equipment according to the identification information, wherein the working state information is generated after the intelligent household equipment executes a second instruction;
and the server triggers mutual exclusion comparison of the first instruction and the working state information, and sends the first instruction to the intelligent household equipment when the first instruction and the working state information are determined to be not mutually exclusive, so as to trigger the intelligent household equipment to execute the first instruction.
2. The method of claim 1, wherein the server triggering the mutually exclusive comparison of the first instruction and the operating state information comprises:
the server directly carries out mutual exclusion comparison on the first instruction and the working state information; or,
and the server sends the first instruction and the working state information to a specified analysis platform and triggers the analysis platform to carry out mutual exclusion comparison on the first instruction and the working state information.
3. The method of claim 2, wherein the server directly performs the mutually exclusive comparison of the first instruction and the operating state information, comprising:
the server analyzes the instruction content of the first instruction to obtain a first analysis result;
the server analyzes the working state information to obtain a second analysis result;
and the server compares the first analysis result with the second analysis result, judges whether execution contents which are not allowed to exist simultaneously exist or not, determines that the first instruction and the working state information are mutually exclusive if the execution contents do not exist simultaneously, and determines that the first instruction and the working state information are not mutually exclusive if the execution contents do not exist simultaneously.
4. The method of claim 1, 2, or 3, further comprising:
if the server determines that the first instruction and the working state information are mutually exclusive according to the comparison result, executing the following operations:
the server compares the priority of the first instruction with the priority of a second instruction corresponding to the working state information,
if the priority of the first instruction is higher than that of the second instruction, triggering the intelligent household equipment to start executing the first instruction;
and if the priority of the first instruction is lower than that of the second instruction, sending a failure response to the terminal.
5. The method of claim 4, further comprising:
if the priority of the first instruction is the same as that of the second instruction, the first instruction and the second instruction are sent to the server background, and corresponding operation is triggered and executed according to the instruction of an administrator; or sending the first instruction and the second instruction to the terminal, and triggering and executing corresponding operation according to the instruction of the user.
6. The utility model provides a controlling means of intelligent household equipment which characterized in that includes:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a first instruction sent by a terminal, and the first instruction carries identification information of the intelligent household equipment;
the acquisition unit is used for acquiring the current working state information of the intelligent home equipment according to the identification information, wherein the working state information is generated after the intelligent home equipment executes a second instruction;
and the processing unit is used for triggering mutual exclusion comparison of the first instruction and the working state information, sending the first instruction to the intelligent household equipment when the first instruction and the working state information are determined to be not mutually exclusive, and triggering the intelligent household equipment to execute the first instruction.
7. The apparatus according to claim 6, wherein when triggering the mutual exclusion comparison of the first instruction and the operating state information, the processing unit is specifically configured to:
directly carrying out mutual exclusion comparison on the first instruction and the working state information; or,
and sending the first instruction and the working state information to a specified analysis platform, and triggering the analysis platform to carry out mutual exclusion comparison on the first instruction and the working state information.
8. The apparatus according to claim 7, wherein when directly performing the mutual exclusion comparison between the first instruction and the operating state information, the processing unit is specifically configured to:
analyzing the instruction content of the first instruction to obtain a first analysis result;
analyzing the working state information to obtain a second analysis result;
and comparing the first analysis result with the second analysis result, judging whether execution contents which are not allowed to exist simultaneously exist, if so, determining that the first instruction and the working state information are mutually exclusive, otherwise, determining that the first instruction and the working state information are non-mutually exclusive.
9. The apparatus of claim 6, 7 or 8, wherein the processing unit is further to:
if the comparison result determines that the first instruction and the working state information are mutually exclusive, executing the following operations:
comparing the priority of the first instruction with the priority of a second instruction corresponding to the working state information,
if the priority of the first instruction is higher than that of the second instruction, triggering the intelligent household equipment to start executing the first instruction;
and if the priority of the first instruction is lower than that of the second instruction, sending a failure response to the terminal.
10. The apparatus as recited in claim 9, said processing unit to further:
if the priority of the first instruction is the same as that of the second instruction, the first instruction and the second instruction are sent to the server background, and corresponding operation is triggered and executed according to the instruction of an administrator; or sending the first instruction and the second instruction to the terminal, and triggering and executing corresponding operation according to the instruction of the user.
11. A server, comprising:
a memory for storing executable instructions;
a processor, configured to read and execute the executable instructions stored in the memory, so as to implement the control method of the smart home device according to any one of claims 1 to 5.
12. A storage medium, wherein instructions in the storage medium, when executed by a processor, enable the processor to perform the method of controlling a smart home device according to any one of claims 1 to 5.
CN201910790330.8A 2019-08-26 2019-08-26 A kind of control method and device of smart home device Pending CN110493091A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910790330.8A CN110493091A (en) 2019-08-26 2019-08-26 A kind of control method and device of smart home device
PCT/CN2020/100446 WO2021036512A1 (en) 2019-08-26 2020-07-06 Method and apparatus for controlling smart home device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910790330.8A CN110493091A (en) 2019-08-26 2019-08-26 A kind of control method and device of smart home device

Publications (1)

Publication Number Publication Date
CN110493091A true CN110493091A (en) 2019-11-22

Family

ID=68554142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910790330.8A Pending CN110493091A (en) 2019-08-26 2019-08-26 A kind of control method and device of smart home device

Country Status (2)

Country Link
CN (1) CN110493091A (en)
WO (1) WO2021036512A1 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110501915A (en) * 2019-08-12 2019-11-26 珠海格力电器股份有限公司 Method for controlling equipment and server
CN111141015A (en) * 2019-12-31 2020-05-12 宁波奥克斯电气股份有限公司 Remote air conditioner control method
CN111263188A (en) * 2020-02-17 2020-06-09 腾讯科技(深圳)有限公司 Video image quality adjusting method and device, electronic equipment and storage medium
WO2021036512A1 (en) * 2019-08-26 2021-03-04 珠海格力电器股份有限公司 Method and apparatus for controlling smart home device
CN112526892A (en) * 2020-12-18 2021-03-19 青岛海尔科技有限公司 Method and device for controlling intelligent household equipment and electronic equipment
CN112631243A (en) * 2020-12-07 2021-04-09 青岛海尔科技有限公司 Security control method and apparatus, storage medium, and electronic apparatus
CN113254077A (en) * 2021-06-18 2021-08-13 深圳市欧瑞博科技股份有限公司 State control method and device of intelligent equipment, electronic equipment and storage medium
CN113359500A (en) * 2021-07-02 2021-09-07 佛山市淇特科技有限公司 Smart home equipment state synchronization method, device, equipment and storage medium
CN113485134A (en) * 2021-06-25 2021-10-08 青岛海尔科技有限公司 Device control method and apparatus, storage medium, and electronic device
CN113703330A (en) * 2021-08-25 2021-11-26 珠海格力电器股份有限公司 Method, device and system for cross-platform control equipment and processor
CN114019817A (en) * 2021-11-16 2022-02-08 青岛海尔科技有限公司 Control method, control device and Internet of Things system for smart home equipment
CN114244642A (en) * 2021-12-10 2022-03-25 珠海格力电器股份有限公司 Control method and device of equipment, computer readable storage medium and processor
CN114374681A (en) * 2021-12-09 2022-04-19 达闼机器人有限公司 Task execution method, device, equipment and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112785268A (en) * 2021-01-22 2021-05-11 广州富港万嘉智能科技有限公司 Intelligent household service method and device, electronic equipment and storage medium
CN113703844A (en) * 2021-07-27 2021-11-26 厦门市思芯微科技有限公司 Instruction issuing method, system and device and computer readable storage medium
CN114137844B (en) * 2021-11-16 2024-08-23 青岛海尔科技有限公司 Control method and control device of intelligent household equipment and Internet of things system
CN114780006B (en) * 2022-04-06 2023-06-09 青岛海尔科技有限公司 Control method and control terminal for issuing commands

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282140A (en) * 2015-09-07 2016-01-27 北京幻腾科技有限公司 Control method, devices and system of intelligent household system
CN105959187A (en) * 2016-05-19 2016-09-21 青岛海信传媒网络技术有限公司 Remote timing task control method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9537662B2 (en) * 2014-10-08 2017-01-03 Google Inc. Certificates for low-power or low-memory devices
CN110493091A (en) * 2019-08-26 2019-11-22 珠海格力电器股份有限公司 A kind of control method and device of smart home device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282140A (en) * 2015-09-07 2016-01-27 北京幻腾科技有限公司 Control method, devices and system of intelligent household system
CN105959187A (en) * 2016-05-19 2016-09-21 青岛海信传媒网络技术有限公司 Remote timing task control method and system

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110501915A (en) * 2019-08-12 2019-11-26 珠海格力电器股份有限公司 Method for controlling equipment and server
WO2021036512A1 (en) * 2019-08-26 2021-03-04 珠海格力电器股份有限公司 Method and apparatus for controlling smart home device
CN111141015A (en) * 2019-12-31 2020-05-12 宁波奥克斯电气股份有限公司 Remote air conditioner control method
CN111263188A (en) * 2020-02-17 2020-06-09 腾讯科技(深圳)有限公司 Video image quality adjusting method and device, electronic equipment and storage medium
CN112631243B (en) * 2020-12-07 2022-06-24 青岛海尔科技有限公司 Security control method and device, storage medium and electronic device
CN112631243A (en) * 2020-12-07 2021-04-09 青岛海尔科技有限公司 Security control method and apparatus, storage medium, and electronic apparatus
CN112526892A (en) * 2020-12-18 2021-03-19 青岛海尔科技有限公司 Method and device for controlling intelligent household equipment and electronic equipment
CN113254077A (en) * 2021-06-18 2021-08-13 深圳市欧瑞博科技股份有限公司 State control method and device of intelligent equipment, electronic equipment and storage medium
CN113254077B (en) * 2021-06-18 2024-07-19 深圳市欧瑞博科技股份有限公司 State control method and device of intelligent equipment, electronic equipment and storage medium
CN113485134A (en) * 2021-06-25 2021-10-08 青岛海尔科技有限公司 Device control method and apparatus, storage medium, and electronic device
CN113359500A (en) * 2021-07-02 2021-09-07 佛山市淇特科技有限公司 Smart home equipment state synchronization method, device, equipment and storage medium
CN113703330A (en) * 2021-08-25 2021-11-26 珠海格力电器股份有限公司 Method, device and system for cross-platform control equipment and processor
CN113703330B (en) * 2021-08-25 2023-10-27 珠海格力电器股份有限公司 Method, device, system and processor for cross-platform control equipment
CN114019817A (en) * 2021-11-16 2022-02-08 青岛海尔科技有限公司 Control method, control device and Internet of Things system for smart home equipment
CN114374681A (en) * 2021-12-09 2022-04-19 达闼机器人有限公司 Task execution method, device, equipment and storage medium
WO2023103379A1 (en) * 2021-12-09 2023-06-15 达闼机器人股份有限公司 Task execution method and apparatus, and device and storage medium
CN114374681B (en) * 2021-12-09 2023-08-22 达闼机器人股份有限公司 Task execution method, device, equipment and storage medium
CN114244642A (en) * 2021-12-10 2022-03-25 珠海格力电器股份有限公司 Control method and device of equipment, computer readable storage medium and processor
CN114244642B (en) * 2021-12-10 2022-10-28 珠海格力电器股份有限公司 Control method and device of equipment, computer readable storage medium and processor

Also Published As

Publication number Publication date
WO2021036512A1 (en) 2021-03-04

Similar Documents

Publication Publication Date Title
CN110493091A (en) A kind of control method and device of smart home device
CN108345524B (en) Application monitoring method and application monitoring device
EP3242170B1 (en) Prompt information sending method and device
CN109240100A (en) Intelligent home furnishing control method, equipment, system and storage medium
KR102081274B1 (en) IOT device state monitor-control system using blockchain network
CN107179697A (en) Intelligent household equipment control method, device and system
WO2020228033A1 (en) Sdk plug-in loading method and apparatus, and mobile terminal and storage medium
CN114116014B (en) A method, device, intelligent device and storage medium for issuing instructions
CN104360885A (en) Start control method, start control device and start control terminal
CN111399459A (en) Intelligent household equipment control method, device, equipment and storage medium
CN113612659B (en) Device networking test method and device, electronic device and storage medium
CN107870571B (en) Method and device for controlling intelligent equipment and intelligent equipment
CN109167711B (en) Household appliance control method and device, storage medium and server
WO2016197824A1 (en) Voice command processing method and apparatus, and smart gateway
CN110071855A (en) Equipment linkage control method, device, system, gateway and storage medium
CN115167164A (en) Method and device for determining equipment scene, storage medium and electronic device
CN105045114B (en) An information processing method, cloud service platform and information processing system
CN110830334B (en) Household appliance control method, device, system, server and household appliance
CN105721203A (en) Upgrade processing method and device
CN111083564A (en) Intelligent television upgrading method, intelligent terminal, intelligent peripheral and intelligent television
CN115047797A (en) Equipment operation method and device combined with behavior preference and storage medium
CN109408093A (en) Firmware upgrading method and household appliance
CN105843357B (en) The method and electronic equipment for maintaining application to work normally in economize on electricity processing
CN110362314B (en) Information processing method and device, computer readable medium and electronic equipment
CN111736551B (en) Centralized control device, electric appliance system and centralized control method thereof

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: 20191122

RJ01 Rejection of invention patent application after publication