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
work state
smart home
server
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)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Manufacturing & Machinery (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (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

A kind of control method and device of smart home device
Technical field
This application involves Smart Home technical field more particularly to a kind of control method and device of smart home device.
Background technique
With the fast development of smart home technology, to the control of smart home device by traditional button operation, distant Control device operation, gradually till now by application program (Application, APP), small routine terminal or voice etc. into Row operation.
For being controlled by APP, under the prior art, control instruction is sent to smart home device when passing through APP When, it needs to run the terminal of the APP, control instruction is first sent to the server of network side, then be forwarded to accordingly by server Smart home device.
However, currently, smart home device when receiving from the control instruction of APP, not every time can be immediately The control instruction is executed, in some cases, smart home device can be ignored or abandon the control instruction, and APP is not When receiving the feedback of smart home device, new control instruction can be constantly sent, this can make server constantly to smart home Device forwards control instruction consumes server resource, so that terminal and server through running APP, bring unnecessary fortune Row load.
Such as:
After smart television receives control instruction A, it is carrying out the operation for recording program A, however user passes through APP to intelligence Energy TV sends the control instruction B for recording program B again, at this point, control instruction B may be ignored or be abandoned to smart television.And APP constantly can retransmit new control instruction B to server due to not receiving the feedback of smart television, so as to cause Server can continue to send control instruction B to smart television, and then lead to the resource consumption of server.
It can be seen that needing to design a kind of new scheme, to overcome drawbacks described above.
Summary of the invention
This application provides a kind of method and device, to solve in the prior art server constantly to smart home device The problem of forwarding control instruction, and then server resource caused to consume.
Technical solution provided by the embodiments of the present application is as follows:
A kind of control method of smart home device, comprising:
The first of server receiving terminal transmission instructs, and the mark letter of smart home device is carried in first instruction Breath;
The server obtains the current work state information of the smart home device according to the identification information, described Work state information is generated after the smart home device executes the second instruction;
The server triggers carry out alternative comparison to first instruction and the work state information, and in determination When first instruction and the non-exclusive work state information, first instruction is sent to the smart home device, It triggers the smart home and executes first instruction.
Optionally, the server triggers carry out alternative comparison to first instruction and the work state information, Include:
The server directly carries out alternative comparison to first instruction and the work state information;Alternatively,
First instruction and the work state information are sent to specified analysis platform by the server, described in triggering Analysis platform carries out alternative comparison to first instruction and the work state information.
Optionally, the server directly carries out alternative comparison to first instruction and the work state information, Include:
The server parses the command content of first instruction, obtains the first parsing result;
The server parses the work state information, obtains the second parsing result;
The server is compared first parsing result and the second parsing result, and judging whether there is does not allow Simultaneous execution content, if so, determining first instruction and the work state information are mutual exclusions, otherwise, really Fixed first instruction and the work state information are non-exclusive.
Optionally, further comprise:
If the server determines first instruction and the work state information mutual exclusion according to the comparison result, Execute following operation:
The server carries out the priority of first instruction the second instruction corresponding with the work state information Compare,
If the priority of first instruction is higher than the priority of second instruction, the smart home device is triggered Start to execute first instruction;
If the priority of first instruction is unsuccessfully rung lower than the priority of second instruction to terminal transmission It answers.
Optionally, further comprise:
If the priority of first instruction is identical with the priority priority of second instruction, described first is referred to It enables and second instruction is sent to the server background, according to the instruction of administrator, triggering executes corresponding operating;Or it will First instruction and second instruction are sent to the terminal, and according to the instruction of user, triggering executes corresponding operating.
A kind of control device of smart home device, comprising:
Receiving unit carries smart home device in first instruction for receiving the first instruction of terminal transmission Identification information;
Acquiring unit, for obtaining the current work state information of the smart home device according to the identification information, The work state information is generated after the smart home device executes the second instruction;
Processing unit carries out alternative comparison to first instruction and the work state information for triggering, and When determining first instruction and the non-exclusive work state information, first instruction is sent to the smart home and is set It is standby, it triggers the smart home device and executes first instruction.
Optionally, when first instruction and work state information progress alternative are compared in triggering, the processing Unit is specifically used for:
Alternative comparison directly is carried out to first instruction and the work state information;Alternatively,
First instruction and the work state information are sent to specified analysis platform, trigger the analysis platform pair First instruction and the work state information carry out alternative comparison.
Optionally, when directly comparing first instruction and work state information progress alternative, the processing Unit is specifically used for:
The command content of first instruction is parsed, the first parsing result is obtained;
The work state information is parsed, the second parsing result is obtained;
First parsing result and the second parsing result are compared, judge whether there is do not allow it is simultaneous Content is executed, if so, determining first instruction and the work state information are mutual exclusions, otherwise, it determines described first Instruction and the work state information are non-exclusive.
Optionally, the processing unit is further used for:
If the comparison result determines first instruction and the work state information mutual exclusion, following operation is executed:
The priority of first instruction the second instruction corresponding with the work state information is compared,
If the priority of first instruction is higher than the priority of second instruction, the smart home device is triggered Start to execute first instruction;
If the priority of first instruction is unsuccessfully rung lower than the priority of second instruction to terminal transmission It answers.
Optionally, the processing unit is further used for:
If the priority of first instruction is identical with the priority priority of second instruction, described first is referred to It enables and second instruction is sent to the server background, according to the instruction of administrator, triggering executes corresponding operating;Alternatively, First instruction and second instruction are sent to the terminal, according to the instruction of user, triggering executes corresponding operating.
A kind of server, comprising:
Memory, for storing executable instruction;
Processor, for reading and executing the executable instruction stored in the memory, to realize such as any of the above-described The control method of the smart home device.
A kind of storage medium is enabled the processor to when the instruction in the storage medium is executed by processor Execute the control method of smart home device as described in any one of the above embodiments.
In the embodiment of the present application, the first instruction that server receiving terminal is sent obtains smart home according to identification information The current work state information of equipment, triggering carry out alternative comparison to the first instruction and work state information, determine the first finger When enabling non-exclusive with work state information, triggering smart home device stops executing the second instruction, and starts the first instruction of execution. In this way, the instruction processing efficiency of system can be improved, the unnecessary request amount of server end is reduced, improves the resource benefit of server With rate, guarantee that smart home device improves the satisfaction to smart home device of user in turn to the quick response of control instruction Degree enhances user experience.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the structural schematic diagram of smart home system in the embodiment of the present application;
Fig. 2 is the control flow schematic diagram in the embodiment of the present application to smart home device;
Fig. 3 is a kind of structural schematic diagram of the control device of smart home device provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of server provided by the embodiments of the present application.
Specific embodiment
In order to make ordinary people in the field more fully understand the technical solution of the application, below in conjunction with attached drawing, to this Shen Please the technical solution in embodiment be clearly and completely described.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein can in addition to illustrating herein or Sequence other than those of description is implemented.Embodiment described in following exemplary embodiment does not represent and the application phase Consistent all embodiments.On the contrary, they are only and as detailed in the attached claim, the application some aspects The example of consistent device and method.
The embodiment preferential to the application makes further description with reference to the accompanying drawing.
As shown in fig.1, being included at least in smart home system in the embodiment of the present application:
Terminal, server and smart home device.
The terminal passes through forwarded to server for receiving the control instruction of user, and by control instruction;It is described Terminal is including but not limited to smart phone, laptop, personal computer, personal digital assistant, mobile internet device, intelligence It can wearable device (such as smartwatch, Intelligent bracelet) all types of user terminal.
The smart home device, according to received control instruction, is executed for receiving the control instruction of server transmission Corresponding operation.In the embodiment of the present application, smart home device is including but not limited to air-conditioning, washing machine, refrigerator, water heater, electricity All kinds of smart homes of rice cooker, lamp etc..
The server for receiving the control instruction of terminal, and carries out alternative judgement, determines and mutual exclusion situation is not present When, control instruction is sent to smart home device.
As shown in Figure 1, the entity for executing alternative judgement is known as decision and judges center, institute in the embodiment of the present application It states decision and judges center, can be the functional module in server, the functional module being also possible in backstage can also be independent Service unit.
In the embodiment of the present application, as shown in fig.2, the detailed process controlled smart home device is as follows:
Step S201: the first of server receiving terminal transmission instructs, and carries smart home device in first instruction Identification information.
Specifically, user can pass through application program (Application, APP), small routine etc. in the embodiment of the present application The control instruction to smart home device is selected at the terminal, behavior generation first instructs terminal depending on the user's operation, and The identification information of smart home device is carried in first instruction, then the first instruction is sent to server by terminal.
For example, user can select adjustment temperature, timing, adjustment wind direction etc. by modes such as APP by taking intelligent air condition as an example Control instruction, it is assumed that user indicates reduction temperature, and the first instruction that terminal will can be used to characterize reduction temperature is sent to service Device, and first instruction in carry intelligent air condition identification information.
Step S202: server, which obtains the current working condition of the smart home device according to the identification information, to be believed Breath, the work state information are generated after the smart home device executes the second instruction.
Specifically, server includes smart home device from received first instruction of terminal in the embodiment of the present application Identification information, server can identify smart home device according to identification information.
Specifically, server also needs to obtain the current work of the smart home device from the smart home device Make status information, this is because the smart home device received second instruction before may being carrying out at this time, alternatively, Smart home device has been carried out the second instruction, therefore, after server can execute the second instruction according to smart home device Current work state information, judge the current work state information of smart home device whether with first instruction mutual exclusion.
For example, still by taking intelligent air condition as an example, it is assumed that after intelligent air condition executes the second instruction, the current work of intelligent air condition Status information characterization intelligent air condition is currently at automatic mode, i.e. intelligent air condition can carry out temperature according to room temperature automatically It increases or temperature reduces, then server can identify intelligent air condition according to the identification information that carries in the first instruction, and from intelligence The work state information that characterization intelligent air condition is currently at automatic mode can be obtained on air-conditioning, it is thus possible to according to intelligent air condition Current work state information after executing the second instruction, judges whether the current work state information of intelligent air condition refers to first Enable mutual exclusion.
In another example still by taking intelligent air condition as an example, it is assumed that intelligent air condition executes the second instruction of characterization intelligent air condition shutdown Afterwards, server can identify intelligent air condition according to the identification information carried in the first instruction, however, since intelligent air condition executes Second instruction, server can not obtain work state information from intelligent air condition, and server is waiting certain time and intelligence Air-conditioning all without response after, determine intelligent air condition it is current work state information characterization intelligent air condition be currently at off-mode.
Step S203: server triggers carry out alternative comparison to first instruction and the work state information, sentence It is disconnected that whether otherwise mutual exclusion if so, thening follow the steps S204, executes step S205.
Specifically, server, which can use but be not limited to following two mode, executes step 203 in the embodiment of the present application:
First way are as follows: server is locally carrying out alternative comparison.
Specifically includes the following steps:
A1, server parse the command content of the first instruction, obtain the first parsing result.
B1, server parse work state information, obtain the second parsing result.
C1, server are compared first parsing result and the second parsing result, and judging whether there is does not allow Simultaneous execution content, if so, determining first instruction and the work state information are mutual exclusions, otherwise, really Fixed first instruction and the work state information are non-exclusive.
For example, taking a smart TV as an example, after server receives the first instruction of terminal transmission, by first instruct into Row parsing, determines the first parsing result, and first instruction of the first parsing result characterization is used to indicate smart television real-time recording Program 1.
Then, server obtains the current work state information of smart television, by being parsed to work state information, Determine the second parsing result, the second parsing result characterization smart television is currently just in real-time recording program 2.
So, the first parsing result characterization terminal indicating intelligent television recording real time programme 1 that server parses, second Parsing result characterize smart television currently just in real-time recording program 2, it is clear that both operation be do not allow it is simultaneous, Therefore, the first instruction and work state information are mutual exclusions.
In another example still taking a smart TV as an example, after server receives the first instruction of terminal transmission, by referring to first Order is parsed, and determines the first parsing result, and first instruction of the first parsing result characterization is used to indicate smart television adjustment Volume.
Then, server obtains the current work state information of smart television, by being parsed to work state information, Determine the second parsing result, the second parsing result characterization smart television is currently at off-mode.
So, the first parsing result characterization terminal indicating intelligent TV that server parses adjusts volume, the second parsing As a result characterization smart television be currently at off-mode, it is clear that both operation be do not allow it is simultaneous, therefore, first Instruction and work state information are mutual exclusions.
The second way are as follows: first instruction and the work state information are sent to specified analysis and put down by server Platform, i.e. decision judge center, judge that center carries out alternative ratio to first instruction and the work state information by decision Compared with, and obtain decision and judge the comparison result that center returns.
Specifically includes the following steps:
A2, decision judge that center receives the first instruction of server forwarding, and solve to the command content of the first instruction Analysis obtains the first parsing result.
B2, decision judge that center receives the work state information of server forwarding, and parse to work state information, Obtain the second parsing result.
C2, decision judge that center is compared first parsing result and the second parsing result, judge whether there is Do not allow simultaneous execution content, if so, determining first instruction and the work state information are mutual exclusions, it is no Then, it determines first instruction and the work state information is non-exclusive.
For example, by taking intelligent refrigerator as an example, after decision judges that center receives the first instruction that server is sent, by first Instruction is parsed, and determines the first parsing result, and first instruction of the first parsing result characterization is used to indicate intelligent refrigerator drop Low temperature.
Then, decision judges the current work state information of the intelligent refrigerator that center reception server is sent, it is assumed that work Status information characterization intelligent refrigerator is currently at automatic mode, i.e. intelligent refrigerator can carry out temperature according to default setting automatically It increases or temperature reduces.Decision judges center by parsing to work state information, determines the second parsing result, described Two parsing results characterization intelligent refrigerator is currently at automatic mode.
So, the first parsing result characterization terminal indicating intelligent refrigerator reduces temperature, and the second parsing result characterizes intelligent ice Case is currently at automatic mode, it is clear that both operation be do not allow it is simultaneous, therefore, first instruction and working condition Information is mutual exclusion.
In another example still by taking intelligent refrigerator as an example, after decision judges that center receives the first instruction that server is sent, by right First instruction is parsed, and determines the first parsing result, and first instruction of the first parsing result characterization is used to indicate intelligent ice Case booting.
Then, decision judges the current work state information of the intelligent refrigerator that center reception server is sent, it is assumed that work Status information characterization intelligent refrigerator is currently at off-mode.Decision judge center by being parsed to work state information, Determine the second parsing result, the second parsing result characterization intelligent refrigerator is currently at off-mode.
So, the first parsing result characterization terminal indicating intelligent refrigerator booting, the second parsing result characterization intelligent refrigerator are worked as It is preceding to be in off-mode, it is clear that both operations are that permission is simultaneous, and therefore, the first instruction and work state information are Non-exclusive.
Step S204: priority of the server to first instruction the second instruction corresponding with the work state information It is compared, is triggered according to comparison result and execute corresponding operating.
Specifically, server can be to described the when being mutual exclusion state between the first instruction and the work state information The priority of one instruction the second instruction corresponding with the work state information is compared, and comparison result may be divided into following several Kind situation:
The first situation: if priority of the priority of first instruction higher than second instruction, described in triggering Smart home device starts to execute first instruction.
For example, by taking intelligent washing machine as an example, it is assumed that the current work state information of intelligent washing machine characterizes intelligent washing machine General washing mode is used based on the second instruction, and the first instruction is used to indicate intelligent washing machine operation suspension, it is clear that the The priority of one instruction is higher than the second instruction.At this point, the first instruction can be sent to intelligent washing machine by server, make intelligent laundry Machine starts to execute the first instruction.
Second situation: if the priority that the priority of first instruction is instructed lower than described second, to the end End sends failure response.
For example, still by taking intelligent washing machine as an example, it is assumed that the current work state information characterization intelligence laundry of intelligent washing machine Machine is based on the second instruction and general washing mode is used, and the first instruction is used to indicate intelligent washing machine and carries out bucket cleaning, shows So, the priority of the first instruction is lower than the second instruction.At this point, intelligent washing machine continues to execute second instruction, and to terminal Failure response is sent, user's operation failure is prompted.
In another example by taking intelligent air condition as an example, it is assumed that the current work state information characterization intelligent air condition of intelligent air condition is based on Second instruction is shut down, and the first instruction is used to indicate intelligent air condition adjustment wind speed, it is clear that the priority of the first instruction is low In the priority of the second instruction, at this point, server refusal executes the first instruction.
The third situation: if the priority of first instruction is identical with the priority priority of second instruction, First instruction and second instruction are sent to the server background, according to the instruction of administrator, triggering executes phase It should operate;Or first instruction and second instruction are sent to the terminal, according to the instruction of user, triggering is executed Corresponding operating.
For example, still by taking intelligent washing machine as an example, it is assumed that the current work state information characterization intelligence laundry of intelligent washing machine Machine is based on the second instruction and general washing mode is used, and the first instruction is used to indicate intelligent washing machine and uses quick wash mould Formula, the first instruction is identical with the priority of the second instruction at this time, then the first instruction and the second instruction is sent to server background, Decision is carried out by backstage manager, determines which item instruction washing machine executes;Alternatively, the first instruction and the second instruction are sent to end End, carries out decision by user, determines which item instruction washing machine executes.
Step S205: first instruction is sent to the smart home device by server, triggers the smart home Equipment executes first instruction.
Specifically, server can be by first when being non-exclusive state between the first instruction and the work state information Instruction is sent to smart home device.
For example, by taking intelligent sound as an example, it is assumed that the current work state information of intelligent sound is characterizing intelligent sound currently just Song 1 is being played, the first instruction characterization intelligent sound plays song 2.By server to first instruction and work state information into Row compare, it is clear that first instruction and work state information be non-exclusive.At this point, the first instruction is sent to intelligence by server Sound equipment makes intelligent sound start to execute the first instruction.
In another example by taking intelligent air condition as an example, it is assumed that the current work state information characterization intelligent air condition of intelligent air condition is current In off-mode, and the first instruction is used to indicate intelligent air condition booting.By server to the first instruction and work state information Be compared, it is clear that first instruction and work state information be non-exclusive.At this point, the first instruction is sent to intelligence by server Energy air-conditioning makes intelligent air condition execute the first instruction, that is, intelligent air condition booting.
Fig. 3 is the structural schematic diagram of the control device of smart home device shown according to an exemplary embodiment.Refering to Shown in Fig. 3, which includes receiving unit 301, acquiring unit 302, processing unit 303.
Receiving unit 301 carries smart home device in first instruction for receiving the first instruction of terminal transmission Identification information;
Acquiring unit 302 is believed for obtaining the current working condition of the smart home device according to the identification information Breath, the work state information are generated after the smart home device executes the second instruction;
Processing unit 303 carries out alternative comparison to first instruction and the work state information for triggering, and When determining first instruction and the non-exclusive work state information, first instruction is sent to the smart home Equipment triggers the smart home device and executes first instruction.
Optionally, when first instruction and work state information progress alternative are compared in triggering, the processing Unit 303 is specifically used for:
Alternative comparison directly is carried out to first instruction and the work state information;Alternatively,
First instruction and the work state information are sent to specified analysis platform, trigger the analysis platform pair First instruction and the work state information carry out alternative comparison.
Optionally, when directly comparing first instruction and work state information progress alternative, the processing Unit 303 is specifically used for:
The command content of first instruction is parsed, the first parsing result is obtained;
The work state information is parsed, the second parsing result is obtained;
First parsing result and the second parsing result are compared, judge whether there is do not allow it is simultaneous Content is executed, if so, determining first instruction and the work state information are mutual exclusions, otherwise, it determines described first Instruction and the work state information are non-exclusive.
Optionally, the processing unit 303 is further used for:
If the comparison result determines first instruction and the work state information mutual exclusion, following operation is executed:
The priority of first instruction the second instruction corresponding with the work state information is compared,
If the priority of first instruction is higher than the priority of second instruction, the smart home device is triggered Start to execute first instruction;
If the priority of first instruction is unsuccessfully rung lower than the priority of second instruction to terminal transmission It answers.
Optionally, the processing unit 303 is further used for:
If the priority of first instruction is identical with the priority priority of second instruction, described first is referred to It enables and second instruction is sent to the server background, according to the instruction of administrator, triggering executes corresponding operating;Alternatively, First instruction and second instruction are sent to the terminal, according to the instruction of user, triggering executes corresponding operating.
As shown in fig.4, based on the same inventive concept, the embodiment of the present disclosure provides a kind of structural schematic diagram of server. As shown, the entity apparatus can include: processor 401, memory 402, transceiver 403 and bus interface 404;
The processor 401 executes above-mentioned smart home and sets for reading the computer instruction in the memory 402 Any one method performed by standby control device.
Processor 401, which is responsible for management bus architecture and common processing, memory 402, can store processor 401 and is holding Used data when row operation.Transceiver 403 is for sending and receiving data under the control of processor 401.
Bus architecture may include the bus and bridge of any number of interconnection, specifically represented by processor 401 one or The various circuits for the memory that multiple processors and memory 402 represent link together.Bus architecture can also will be such as outer Various other circuits of peripheral equipment, voltage-stablizer and management circuit or the like link together, these are all that this field institute is public Know, therefore, it will not be further described herein.Bus interface provides interface.Processor 401 is responsible for the total coil holder of management Structure and common processing, memory 402 can store the used data when executing operation of processor 401.
Based on the same inventive concept, the embodiment of the present disclosure provides a kind of storage medium, and the storage medium is stored with meter Calculation machine executable instruction, the computer executable instructions are set for making the computer execute smart home in above-described embodiment Method performed by standby control device (i.e. server).
In the embodiment of the present application, firstly, the first of server receiving terminal transmission instructs, intelligent family is carried in the first instruction The identification information of equipment is occupied, then, the current work state information of smart home device, then, touching are obtained according to identification information Hair carries out alternative comparison to the first instruction and work state information, when determining the first instruction and non-exclusive work state information, It triggers smart home device to stop executing second instruction, and starts to execute first instruction.In this way, the implementation of the application The technical solution that example provides at least brings following the utility model has the advantages that server triggers are to the first instruction and smart home device current Work state information carries out alternative comparison, and smart home device is made to be immediately performed the first instruction when determining non-exclusive, that is, service Device triggering compared with work state information carries out alternative, improves the instruction processing efficiency of system to the first instruction, reduces service The unnecessary request amount in device end, improves the resource utilization of server, also, when the first instruction and smart home device are current When work state information is non-exclusive, smart home device can be made to be immediately performed the first instruction, thus, guarantee smart home device To the quick response of control instruction, in turn, the satisfaction to smart home device of user is improved, enhance user experience.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the application range.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies Within, then the application is also intended to include these modifications and variations.

Claims (12)

1. a kind of control method of smart home device characterized by comprising
The first of server receiving terminal transmission instructs, and the identification information of smart home device is carried in first instruction;
The server obtains the current work state information of the smart home device, the work according to the identification information Status information is generated after the smart home device executes the second instruction;
The server triggers carry out alternative comparison to first instruction and the work state information, and described in the determination When the first instruction and the non-exclusive work state information, first instruction is sent to the smart home device, is triggered The smart home device executes first instruction.
2. the method as described in claim 1, which is characterized in that the server triggers are to first instruction and the work Status information carries out alternative comparison, comprising:
The server directly carries out alternative comparison to first instruction and the work state information;Alternatively,
First instruction and the work state information are sent to specified analysis platform by the server, trigger the analysis Platform carries out alternative comparison to first instruction and the work state information.
3. method according to claim 2, which is characterized in that the server is directly to first instruction and the work Status information carries out alternative comparison, comprising:
The server parses the command content of first instruction, obtains the first parsing result;
The server parses the work state information, obtains the second parsing result;
The server is compared first parsing result and the second parsing result, and judging whether there is does not allow simultaneously Existing execution content, if so, determining first instruction and the work state information are mutual exclusions, otherwise, it determines institute It is non-exclusive for stating the first instruction and the work state information.
4. method as claimed in claim 1,2 or 3, which is characterized in that further comprise:
If the server determines first instruction and the work state information mutual exclusion according to the comparison result, execute It operates below:
The server is compared the priority of first instruction the second instruction corresponding with the work state information,
If the priority of first instruction is higher than the priority of second instruction, triggers the smart home device and start Execute first instruction;
If the priority of first instruction sends failure response to the terminal lower than the priority of second instruction.
5. method as claimed in claim 4, which is characterized in that further comprise:
If it is described first instruction priority with it is described second instruction priority priority it is identical, will it is described first instruction with Second instruction is sent to the server background, and according to the instruction of administrator, triggering executes corresponding operating;Alternatively, by institute It states the first instruction and second instruction is sent to the terminal, according to the instruction of user, triggering executes corresponding operating.
6. a kind of control device of smart home device characterized by comprising
Receiving unit carries the mark of smart home device for receiving the first instruction of terminal transmission in first instruction Information;
Acquiring unit, it is described for obtaining the current work state information of the smart home device according to the identification information Work state information is generated after the smart home device executes the second instruction;
Processing unit carries out alternative comparison to first instruction and the work state information for triggering, and in determination When first instruction and the non-exclusive work state information, first instruction is sent to the smart home device, It triggers the smart home device and executes first instruction.
7. device as claimed in claim 6, which is characterized in that triggering to it is described first instruction and the work state information into When row alternative compares, the processing unit is specifically used for:
Alternative comparison directly is carried out to first instruction and the work state information;Alternatively,
First instruction and the work state information are sent to specified analysis platform, trigger the analysis platform to described First instruction and the work state information carry out alternative comparison.
8. device as claimed in claim 7, which is characterized in that directly to it is described first instruction and the work state information into When row alternative compares, the processing unit is specifically used for:
The command content of first instruction is parsed, the first parsing result is obtained;
The work state information is parsed, the second parsing result is obtained;
First parsing result and the second parsing result are compared, judging whether there is does not allow simultaneous execution Content, if so, determining first instruction and the work state information are mutual exclusions, otherwise, it determines first instruction It is non-exclusive with the work state information.
9. the device as described in claim 6,7 or 8, which is characterized in that the processing unit is further used for:
If the comparison result determines first instruction and the work state information mutual exclusion, following operation is executed:
The priority of first instruction the second instruction corresponding with the work state information is compared,
If the priority of first instruction is higher than the priority of second instruction, triggers the smart home device and start Execute first instruction;
If the priority of first instruction sends failure response to the terminal lower than the priority of second instruction.
10. device as claimed in claim 9, which is characterized in that the processing unit is further used for:
If it is described first instruction priority with it is described second instruction priority priority it is identical, will it is described first instruction with Second instruction is sent to the server background, and according to the instruction of administrator, triggering executes corresponding operating;Alternatively, by institute It states the first instruction and second instruction is sent to the terminal, according to the instruction of user, triggering executes corresponding operating.
11. a kind of server characterized by comprising
Memory, for storing executable instruction;
Processor, for reading and executing the executable instruction stored in the memory, to realize as in claim 1 to 5 The control method of described in any item smart home devices.
12. a kind of storage medium, which is characterized in that when the instruction in the storage medium is executed by processor, so that described Processor is able to carry out the control method of the smart home device as described in 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 珠海格力电器股份有限公司 A kind of method and server controlling equipment
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 and control device of intelligent household equipment and Internet of things system
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
CN114137844A (en) * 2021-11-16 2022-03-04 青岛海尔科技有限公司 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 command issuing

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 (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110501915A (en) * 2019-08-12 2019-11-26 珠海格力电器股份有限公司 A kind of method and server controlling equipment
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
CN112631243A (en) * 2020-12-07 2021-04-09 青岛海尔科技有限公司 Security control method and apparatus, storage medium, and electronic apparatus
CN112631243B (en) * 2020-12-07 2022-06-24 青岛海尔科技有限公司 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
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 and control device of intelligent household equipment and Internet of things system
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
US9704503B2 (en) Command handling method, apparatus, and system
CN110505675B (en) Network connection method and device, storage medium and communication terminal
CN105306318B (en) intelligent scene configuration method, device and server
CN109618202A (en) Control method, TV and the readable storage medium storing program for executing of peripheral hardware
CN107770758A (en) The bluetooth of Baffle Box of Bluetooth returns even method, Baffle Box of Bluetooth and storage medium
CN112612214B (en) Method and system for generating functional interface and electronic equipment
CN103941871A (en) Method and equipment for controlling hardware operating state of intelligent terminal
CN103096385A (en) Method and device and terminal of flow control
CN104731645A (en) Task scheduling method and device and data downloading method and device
CN108986810A (en) A kind of method and device for realizing interactive voice by earphone
CN104615358A (en) Application program starting method and electronic device
CN110457078A (en) Intelligent Service method, device and equipment
CN105511273B (en) A kind of client operation management method and client
CN107248977A (en) The method of binding authentication, apparatus and system
CN114019817A (en) Control method and control device of intelligent household equipment and Internet of things system
CN102811475A (en) Method for selecting optimal network to access based on android intelligent terminal
CN109298775A (en) A kind of terminal device and task processing method
CN113433852B (en) Communication control method and device of intelligent equipment
WO2016070616A1 (en) Intelligent terminal and method for managing multi-card data traffic
CN108809777B (en) Operation control method, Wi-Fi communication module, home appliance device, system, and storage medium
CN113612659B (en) Device networking test method and device, electronic device and storage medium
CN111736551B (en) Centralized control device, electric appliance system and centralized control method thereof
CN110650546A (en) File transmission method, device, storage medium and terminal
CN111459034A (en) Household appliance

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191122

RJ01 Rejection of invention patent application after publication