CN105100279B - Control method and device for household appliance - Google Patents
Control method and device for household appliance Download PDFInfo
- Publication number
- CN105100279B CN105100279B CN201510552862.XA CN201510552862A CN105100279B CN 105100279 B CN105100279 B CN 105100279B CN 201510552862 A CN201510552862 A CN 201510552862A CN 105100279 B CN105100279 B CN 105100279B
- Authority
- CN
- China
- Prior art keywords
- household appliance
- information
- sequence number
- sent
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Selective Calling Equipment (AREA)
Abstract
The present invention proposes that a kind of control method and device for household appliance, the control method for being used for household appliance include the corresponding active information of household appliance that client receives user setting;Active information is sent to server-side, and sends activation instruction to household appliance, so that server-side activates household appliance according to active information and the actual sequence number of the corresponding household appliance of activation instruction, and obtains household appliance state of activation information;Receive the household appliance state of activation information that server-side is sent.The control process that can make household appliance through the invention more safely, conveniently, effectively promotes the usage experience of user.
Description
Technical field
The present invention relates to mobile communication technology field more particularly to a kind of control methods and device for household appliance.
Background technique
Now with being constantly progressive and user's improvement of living standard, more and more home equipments for smart home technology
It can be realized intelligent operating, for example, smart phone, intelligence wearing, Intelligent hardware, intelligent appliance etc., these home equipments
Intelligent development brings many conveniences, therefore, under the premise of the operating of household device intelligence, it is necessary to realize house
The long-range control of electric equipment.
In the prior art, user scans the two dimensional code in household appliance by intelligent terminal to activate household appliance, realizes
Remote control home electric equipment, active mode is simple, dangerous, and user experience is poor.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, an object of the present invention is to provide a kind of control method for household appliance, this is used for household electrical appliances and sets
Standby control method can make the control process of household appliance more safely, conveniently, effectively promote the usage experience of user.
It is another object of the present invention to propose a kind of control device for household appliance.
In order to achieve the above objectives, the control method for household appliance that first aspect present invention embodiment proposes, comprising:
Receive the corresponding active information of household appliance of user setting;The active information is sent to server-side, and to the household electrical appliances
Equipment sends activation instruction, so that the server-side is set according to the active information and the corresponding household electrical appliances of the activation instruction
Standby actual sequence number activates the household appliance, and obtains the household appliance state of activation information;Receive the server-side
The household appliance state of activation information sent.
The control method for household appliance that first aspect present invention embodiment proposes, by the family for receiving user setting
The corresponding active information of electric equipment, and active information is sent to server-side, and send activation instruction to household appliance, and connect
The household appliance state of activation information that server-side is sent is received, it is real so as to the subsequent information for sending control household appliance to server-side
The long-range control of existing household appliance, the control process that can make household appliance more safely, conveniently, effectively promote the use of user
Experience.
In order to achieve the above objectives, the control method for household appliance that second aspect of the present invention embodiment proposes, comprising:
Receive the reality of the corresponding active information of household appliance that client is sent and the household appliance that the household appliance is sent
Sequence number;The household appliance is activated according to the active information and the actual sequence number of the household appliance, and described in acquisition
Household appliance state of activation information;The household appliance state of activation information is sent to the client.
The control method for household appliance that second aspect of the present invention embodiment proposes, by according to active information and family
The actual sequence number of electric equipment activates household appliance, and household appliance state of activation information is sent to client, so as to subsequent
Household appliance is controlled according to the control information that client is sent, realizes the long-range control of household appliance, is swashed in server-side
Household appliance living, effectively promotes the safety of remote control home electric equipment, promotes the usage experience of user.
In order to achieve the above objectives, the control device for household appliance that third aspect present invention embodiment proposes, comprising:
Active information receiving module, the corresponding active information of household appliance for receiving user setting;Active information and activation instruction
Sending module for the active information to be sent to server-side, and sends activation instruction to the household appliance, so that described
Server-side activates the family according to the active information and the actual sequence number of the corresponding household appliance of the activation instruction
Electric equipment, and obtain the household appliance state of activation information;Household appliance state of activation information receiving module, for receiving
State the household appliance state of activation information of server-side transmission.
The control device for household appliance that third aspect present invention embodiment proposes, by the family for receiving user setting
The corresponding active information of electric equipment, and active information is sent to server-side, and send activation instruction to household appliance, and connect
The household appliance state of activation information that server-side is sent is received, it is real so as to the subsequent information for sending control household appliance to server-side
The long-range control of existing household appliance, the control process that can make household appliance more safely, conveniently, effectively promote the use of user
Experience.
In order to achieve the above objectives, the control device for household appliance that fourth aspect present invention embodiment proposes, comprising:
Active information and actual sequence receiving module, for receiving the corresponding active information of household appliance and described of client transmission
The actual sequence number for the household appliance that household appliance is sent;Household appliance active module, for according to the active information
The household appliance is activated with the actual sequence number of the household appliance, and obtains the household appliance state of activation information;Family
Electric equipment state of activation information sending module, for the household appliance state of activation information to be sent to the client.
The control device for household appliance that fourth aspect present invention embodiment proposes, by according to active information and family
The actual sequence number of electric equipment activates household appliance, and household appliance state of activation information is sent to client, so as to subsequent
Household appliance is controlled according to the control information that client is sent, realizes the long-range control of household appliance, is swashed in server-side
Household appliance living, effectively promotes the safety of remote control home electric equipment, promotes the usage experience of user.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram for the control method for household appliance that one embodiment of the invention proposes;
Fig. 2 is the flow diagram for the control method for household appliance that another embodiment of the present invention proposes;
Fig. 3 is the flow diagram for the control method for household appliance that another embodiment of the present invention proposes;
Fig. 4 is the flow diagram for the control method for household appliance that another embodiment of the present invention proposes;
Fig. 5 is the flow diagram for the control method for household appliance that another embodiment of the present invention proposes;
Fig. 6 is the flow diagram for the control method for household appliance that another embodiment of the present invention proposes;
Fig. 7 is the structural schematic diagram for the control device for household appliance that another embodiment of the present invention proposes;
Fig. 8 is the structural schematic diagram for the control device for household appliance that another embodiment of the present invention proposes;
Fig. 9 is the structural schematic diagram for the control device for household appliance that another embodiment of the present invention proposes;
Figure 10 is the structural schematic diagram for the control device for household appliance that another embodiment of the present invention proposes;
Figure 11 is the structural schematic diagram for the control device for household appliance that another embodiment of the present invention proposes.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.On the contrary, this
The embodiment of invention includes all changes fallen within the scope of the spiritual and intension of attached claims, modification and is equal
Object.
Fig. 1 is the flow diagram for the control method for household appliance that one embodiment of the invention proposes, this method packet
It includes:
S11: the corresponding active information of household appliance of user setting is received.
The executing subject of the present embodiment is client.
Specifically, executing subject can be the application program in client.
Wherein, application program can refer to the software program operated on electronic equipment, and electronic equipment is, for example, personal electricity
Brain (Personal Computer, PC), cloud device or mobile device, mobile device such as smart phone or plate electricity
Brain etc..
Household appliance such as water heater.
Wherein, active information include the title of household appliance, household appliance sequence number (Serial Number, SN) and
One of family group ID or a variety of.
The title of household appliance such as fan, cooling fan or heater.
The sequence number of household appliance can be obtained by scanning recognition code.
Identification code for example, one-dimensional bar code or two dimensional code etc..
In the embodiment of the present application, by taking identification code is two dimensional code as an example.
Family's group ID identity user home unit subjected, family group ID can be identified with the number of family, such as
3#401。
For example, user can scan the corresponding two dimensional code of household appliance in the application program of client, to obtain household electrical appliances
The SN of equipment, and SN is added in the application program of client, the activator button in application program is clicked, to activate household electrical appliances to set
Standby, application program pops up corresponding family's Groups List, selects for user, further, after user's selection finishes family's group, visitor
Family end gets the information such as the title of the household appliance of user setting, the SN of household appliance and family group ID.
S12: active information is sent to server-side, and sends activation instruction to household appliance, so that server-side is according to sharp
The actual sequence number of information and the corresponding household appliance of activation instruction living activates household appliance, and obtains household appliance state of activation
Information.
For example, the SN of the title of the household appliance for the user setting that client can will acquire, household appliance, Yi Jijia
The information such as front yard group ID are sent to server-side, and the household appliance activated to needs sends activation instruction.
Optionally, referring to fig. 2, after step S12, this method further include:
S21: the actual sequence number of household appliance is sent to server-side by the household appliance for receiving activation instruction.
For example, it is desired to after the household appliance of activation receives the activation instruction that client is sent, by the practical SN of itself
It is sent to server-side, so that server-side is according to the title of the household appliance of user setting, the SN of household appliance, family group ID, with
And the practical SN of household appliance activates household appliance.
S13: the household appliance state of activation information that server-side is sent is received.
Wherein, household appliance state of activation information is to have activated household appliance.
Household appliance state of activation information has for example activated water heater.
In another embodiment, referring to Fig. 3, this method further include:
S31: the control information of the household appliance of user setting is received.
Specifically, the control information of household appliance, or inquiry life can be arranged in user in the application program of client
It enables.
For example, the control information of " unlatching " water heater can be set in user.
S32: sending control information to server-side, so that server-side controls household appliance according to the control information, and obtains
The status information of household appliance.
For example, the control information of user setting " unlatching " water heater is sent to server-side by the application program of client, clothes
It is engaged in after end control water heater unlatching, the status information of water heater is open state, and further, water heater is to open by server-side
Status information is sent to client.
S33: the status information that server-side is sent is received.
For example, water heater is that the status information opened is sent to client by server-side, client receives server-side and sends
Water heater be the status information opened, and the status information can be showed into user.
In the present embodiment, by receiving the corresponding active information of household appliance of user setting, and active information is sent
Activation instruction is sent to server-side, and to household appliance, and receives the household appliance state of activation information of server-side transmission, with
Continue the information for sending control household appliance to server-side after an action of the bowels, realizes the long-range control of household appliance, household appliance can be made
Control process more safely, conveniently, effectively promotes the usage experience of user.
Fig. 4 is the flow diagram for the control method for household appliance that another embodiment of the present invention proposes, this method
Include:
S41: the household appliance of the corresponding active information of household appliance that client is sent and household appliance transmission is received
Actual sequence number.
The executing subject of the present embodiment is server-side.
Household appliance such as water heater.
Wherein, active information include the title of household appliance, household appliance sequence number (Serial Number, SN) and
One of family group ID or a variety of.
The title of household appliance such as fan, cooling fan or heater.
The sequence number of household appliance can be obtained by scanning recognition code.
Family's group ID identity user home unit subjected, family group ID can be identified with the number of family, such as
3#401。
For example, server-side receives the SN of the title of the household appliance for the user setting that client is sent, household appliance, and
The practical SN that the information such as family group ID and household appliance are sent.
S42: activating household appliance according to active information and the actual sequence number of household appliance, and obtains household appliance activation
Status information.
Wherein, household appliance state of activation information is to have activated household appliance.
Household appliance state of activation information has for example activated water heater.
Optionally, household appliance is activated according to active information and the actual sequence number of household appliance, and obtains household appliance
State of activation information, comprising: judge whether the sequence number of the household appliance in active information is legal;If the sequence of household appliance
It is number legal, then judge the household appliance that client is sent sequence number and household appliance actual sequence number whether successful match;
If successful match, household appliance ID is obtained, and household appliance ID is sent to household appliance, so that household appliance is by household electrical appliances
Device id carries out write-in processing, to activate household appliance;Obtain household appliance state of activation information.
S43: household appliance state of activation information is sent to client.
For example, the activated information of water heater can be sent to client after server-side activation water heater.
In another embodiment, referring to Fig. 5, this method further include:
S51: the control information of the household appliance for the user setting that client is sent is received.
Specifically, server-side can receive the control information that household appliance is arranged in user in the application program of client,
Or querying command.
For example, server-side receives the control information of " unlatching " water heater of user setting.
S52: judge whether household appliance is long connection status.
After server-side receives control information, it can be determined that whether household appliance is long connection status.
Wherein, link connection is divided into long connection and short connection, when short connection refers to communication two party every time and has data interaction, just
Primary connection is established, after this data is sent completely, then disconnects this connection, re-establishes connection when having data interaction again next time
And data interaction;Long connection refers to communication two party after this data is sent completely, and also keeps connection, next time can directly be used should
Connection transmission data are without re-establishing connection.
For example, household appliance sends a heartbeat packet to server-side every preset time, after server-side receives heartbeat packet
Return to a response bag.If server-side does not receive heartbeat packet more than time threshold or household appliance does not receive response
Packet then shows that the long connection between household appliance and server-side disconnects.Wherein, time threshold is, for example, 30s.
S53: if household appliance is long connection status, household appliance is controlled according to the control information, and is obtained
The status information of household appliance.
For example, the status information of water heater is open state, further, server-side after server-side control water heater is opened
Obtaining water heater is the status information opened.
S54: status information is sent to client.
For example, water heater is that the status information opened is sent to client by server-side.
In the present embodiment, by activating household appliance according to the actual sequence number of active information and household appliance, and by family
Electric equipment state of activation information is sent to client, so that the subsequent control information sent according to client carries out household appliance
Control, realizes the long-range control of household appliance, activates household appliance in server-side, effectively promotes the peace of remote control home electric equipment
Quan Xing promotes the usage experience of user.
Fig. 6 is the flow diagram for the control method for household appliance that another embodiment of the present invention proposes, this method
Include:
S601: the corresponding active information of household appliance of client reception user setting.
Wherein, active information include the title of household appliance, household appliance sequence number (Serial Number, SN) and
One of family group ID or a variety of.
For example, user can scan the corresponding two dimensional code of household appliance in the application program of client, to obtain household electrical appliances
The SN of equipment, and SN is added in the application program of client, the activator button in application program is clicked, to activate household electrical appliances to set
Standby, application program pops up corresponding family's Groups List, selects for user, further, after user's selection finishes family's group, visitor
Family end gets the information such as the title of the household appliance of user setting, the SN of household appliance and family group ID.
S602: active information is sent to server-side by client, and sends activation instruction to household appliance.
For example, the SN of the title of the household appliance for the user setting that client can will acquire, household appliance, Yi Jijia
The information such as front yard group ID are sent to server-side, and the household appliance activated to needs sends activation instruction.
S603: after household appliance receives activation instruction, the actual sequence number of household appliance is sent to server-side.
For example, it is desired to after the household appliance of activation receives the activation instruction that client is sent, by the practical SN of itself
It is sent to server-side, so that server-side is according to the title of the household appliance of user setting, the SN of household appliance, family group ID, with
And the practical SN of household appliance activates household appliance.
S604: server-side judges whether the sequence number of the household appliance in active information is legal, if so, triggering executes step
Rapid S605-S607, it is no to then follow the steps S611.
In the present embodiment, server-side can execute step S604-S607 and step S608-S610 respectively.
For example, server-side judges whether the sequence number of household appliance is the sequence number for presetting brand household appliance, presets product
For example beautiful household appliance of board household appliance.If it is default brand household appliance, triggers and execute step S605-S607.
S605: server-side judges whether the sequence number of household appliance has activated, if so, thening follow the steps S606, otherwise, holds
Row step S607.
For example, triggering executes step S606 when server-side judges that the SN of household appliance in active information has been activated.
S606: server-side releases the binding of household appliance and original family's group ID, and will be in household appliance and active information
Family group ID binding.
Specifically, server-side can inquire the corresponding original family's group ID of household appliance in the database, and release household electrical appliances
The binding of equipment and original family's group ID, and the family group ID in household appliance and active information is bound.
S607: server-side saves active information.
If server-side judges that the SN of household appliance in active information has not been activated, active information is stored in server-side
In.
S608: server-side judges whether the actual sequence number of household appliance is legal, if so, S609-S610 is thened follow the steps,
Otherwise, step S611 is executed.
For example, server-side judges whether the practical SN that household appliance is sent is the sequence number for presetting brand household appliance, in advance
If for example beautiful household appliance of brand household appliance.If it is default brand household appliance, triggers and execute step S609-
S610。
S609: server-side judges whether the actual sequence number of household appliance has activated, if so, S611 is thened follow the steps, it is no
Then, step S610 is executed.
If server-side judges the practical SN un-activation of household appliance, triggers and execute step S610.
S610: the actual sequence number of server-side preservation household appliance.
The practical SN of household appliance is stored in server-side.
S611: server-side returns to activation failure information to client.
Activate failure information such as " water heater activation failure ".
S612: server-side judge client send household appliance sequence number and household appliance actual sequence number whether
Successful match, if so, S613 is thened follow the steps, it is no to then follow the steps S611.
If the sequence number of household appliance that server-side judges that client is sent is matched with the actual sequence number of household appliance
Success then triggers and executes step S613.
S613: server-side obtains household appliance ID, and household appliance ID is sent to household appliance.
In this step, server-side can first determine whether household appliance had distributed household appliance ID before, if
Distribution, then directly acquire household appliance ID, if unallocated, gives household appliance to distribute household appliance ID, and by household appliance
ID is sent to household appliance.
S614: household appliance ID is carried out write-in processing by household appliance, to activate household appliance.
Optionally, household appliance login can be synchronously completed when household appliance activates, when restarting household appliance every time, automatically
Carry out long connection and login service end.
S615: server-side obtains household appliance state of activation information, and household appliance state of activation information is sent to visitor
Family end.
For example, the activated information of water heater can be sent to client after server-side activation water heater.
S616: client receives the household appliance state of activation information that server-side is sent.
Client receives the activated status information of household appliance, to realize the subsequent long-range control to household appliance.
In the present embodiment, client receives the corresponding active information of household appliance of user setting, and active information is sent out
It send to server-side, and sends activation instruction to household appliance, server-side is according to the actual sequence of active information and household appliance
Number activation household appliance, and is sent to client for household appliance state of activation information, realizes the remote of household appliance so as to subsequent
Process control can make the control process of household appliance more convenient, also, activate household appliance in server-side, effectively be promoted remote
The safety of process control household appliance promotes the usage experience of user.
Fig. 7 is the structural schematic diagram for the control device for household appliance that another embodiment of the present invention proposes, the device
70 include active information receiving module 701, active information and activation instruction sending module 702 and household appliance state of activation
Information receiving module 703.
Active information receiving module 701, the corresponding active information of household appliance for receiving user setting.
The executing subject of the present embodiment is client.
Specifically, executing subject can be the application program in client.
Wherein, application program can refer to the software program operated on electronic equipment, and electronic equipment is, for example, personal electricity
Brain (Personal Computer, PC), cloud device or mobile device, mobile device such as smart phone or plate electricity
Brain etc..
Household appliance such as water heater.
Wherein, active information include the title of household appliance, household appliance sequence number (Serial Number, SN) and
One of family group ID or a variety of.
The title of household appliance such as fan, cooling fan or heater.
The sequence number of household appliance can be obtained by scanning recognition code.
Identification code for example, one-dimensional bar code or two dimensional code etc..
In the embodiment of the present application, by taking identification code is two dimensional code as an example.
Family's group ID identity user home unit subjected, family group ID can be identified with the number of family, such as
3#401。
For example, user can scan the corresponding two dimensional code of household appliance in the application program of client, to obtain household electrical appliances
The SN of equipment, and SN is added in the application program of client, the activator button in application program is clicked, to activate household electrical appliances to set
Standby, application program pops up corresponding family's Groups List, selects for user, further, after user's selection finishes family's group, visitor
Family end gets the information such as the title of the household appliance of user setting, the SN of household appliance and family group ID.
Active information and activation instruction sending module 702, for active information to be sent to server-side, and to household appliance
Activation instruction is sent, so that server-side activates house according to active information and the actual sequence number of the corresponding household appliance of activation instruction
Electric equipment, and obtain household appliance state of activation information.
For example, the SN of the title of the household appliance for the user setting that client can will acquire, household appliance, Yi Jijia
The information such as front yard group ID are sent to server-side, and the household appliance activated to needs sends activation instruction.
In another embodiment, referring to Fig. 8, which further includes the actual sequence sending module 704 of household appliance.
The actual sequence sending module 704 of household appliance, for the actual sequence number of household appliance to be sent to service
End.
For example, it is desired to after the household appliance of activation receives the activation instruction that client is sent, by the practical SN of itself
It is sent to server-side, so that server-side is according to the title of the household appliance of user setting, the SN of household appliance, family group ID, with
And the practical SN of household appliance activates household appliance.
Household appliance state of activation information receiving module 703, for receiving the household appliance state of activation of server-side transmission
Information.
Wherein, household appliance state of activation information is to have activated household appliance.
Household appliance state of activation information has for example activated water heater.
In another embodiment, referring to Fig. 8, the device 70 further include:
First control information receiving module 705, the control information of the household appliance for receiving user setting.
Specifically, the control information of household appliance, or inquiry life can be arranged in user in the application program of client
It enables.
For example, the control information of " unlatching " water heater can be set in user.
Information sending module 706 is controlled, for sending control information to server-side, so that server-side is according to the control information
Household appliance is controlled, and obtains the status information of household appliance.
For example, the control information of user setting " unlatching " water heater is sent to server-side by the application program of client, clothes
It is engaged in after end control water heater unlatching, the status information of water heater is open state, and further, water heater is to open by server-side
Status information is sent to client.
Status information receiving module 707, for receiving the status information of server-side transmission.
For example, water heater is that the status information opened is sent to client by server-side, client receives server-side and sends
Water heater be the status information opened, and the status information can be showed into user.
In the present embodiment, by receiving the corresponding active information of household appliance of user setting, and active information is sent
Activation instruction is sent to server-side, and to household appliance, and receives the household appliance state of activation information of server-side transmission, with
Continue the information for sending control household appliance to server-side after an action of the bowels, realizes the long-range control of household appliance, household appliance can be made
Control process more safely, conveniently, effectively promotes the usage experience of user.
Fig. 9 is the structural schematic diagram for the control device for household appliance that another embodiment of the present invention proposes, the device
90 include that active information and actual sequence receiving module 901, household appliance active module 902 and household appliance activate shape
State information sending module 903.
Active information and actual sequence receiving module 901, the household appliance for receiving client transmission are corresponding sharp
The actual sequence number for the household appliance that information and household appliance living are sent.
The executing subject of the present embodiment is server-side.
Household appliance such as water heater.
Wherein, active information include the title of household appliance, household appliance sequence number (Serial Number, SN) and
One of family group ID or a variety of.
The title of household appliance such as fan, cooling fan or heater.
The sequence number of household appliance can be obtained by scanning recognition code.
Family's group ID identity user home unit subjected, family group ID can be identified with the number of family, such as
3#401。
For example, server-side receives the SN of the title of the household appliance for the user setting that client is sent, household appliance, and
The practical SN that the information such as family group ID and household appliance are sent.
Household appliance active module 902, for activating household electrical appliances to set according to the actual sequence number of active information and household appliance
It is standby, and obtain household appliance state of activation information.
Wherein, household appliance state of activation information is to have activated household appliance.
Household appliance state of activation information has for example activated water heater.
In another embodiment, referring to Figure 10, household appliance active module 902 includes:
Sequence number validity judgement module 9021, for judging whether the sequence number of the household appliance in active information closes
Method.
For example, server-side judges whether the sequence number of household appliance is the sequence number for presetting brand household appliance, presets product
For example beautiful household appliance of board household appliance.If it is default brand household appliance, the step executed in Fig. 6 embodiment is triggered
S605-S607。
Further, server-side judges whether the practical SN that household appliance is sent is the sequence number for presetting brand household appliance,
For example beautiful household appliance of default brand household appliance.If it is default brand household appliance, triggers and execute in Fig. 6 embodiment
Step S609-S610.
Matching judgment module 9022, the household electrical appliances sent for when the sequence number of household appliance is legal, judging client
The sequence number of equipment and the actual sequence number of household appliance whether successful match.
If the sequence number of household appliance that server-side judges that client is sent is matched with the actual sequence number of household appliance
Success then triggers household appliance ID acquisition module 9023 and works.
Household appliance ID obtains module 9023, in successful match, obtains household appliance ID, and by household appliance ID
It is sent to household appliance, so that household appliance ID is carried out write-in processing by household appliance, to activate household appliance.
In this module, server-side can first determine whether household appliance had distributed household appliance ID before, if
Distribution, then directly acquire household appliance ID, if unallocated, gives household appliance to distribute household appliance ID, and by household appliance
ID is sent to household appliance.
Optionally, household appliance login can be synchronously completed when household appliance activates, when restarting household appliance every time, automatically
Carry out long connection and login service end.
Household appliance state of activation data obtaining module 9024, for obtaining household appliance state of activation information.
Household appliance state of activation information sending module 903, for household appliance state of activation information to be sent to client
End.
For example, the activated information of water heater can be sent to client after server-side activation water heater.
In another embodiment, referring to Figure 11, the device 90 further include:
Second control information receiving module 904, the control of the household appliance of the user setting for receiving client transmission
Information.
Specifically, server-side can receive the control information that household appliance is arranged in user in the application program of client,
Or querying command.
For example, server-side receives the control information of " unlatching " water heater of user setting.
Judgment module 905, for judging whether household appliance is long connection status.
After server-side receives control information, it can be determined that whether household appliance is long connection status.
Wherein, link connection is divided into long connection and short connection, when short connection refers to communication two party every time and has data interaction, just
Primary connection is established, after this data is sent completely, then disconnects this connection, re-establishes connection when having data interaction again next time
And data interaction;Long connection refers to communication two party after this data is sent completely, and also keeps connection, next time can directly be used should
Connection transmission data are without re-establishing connection.
For example, household appliance sends a heartbeat packet to server-side every preset time, after server-side receives heartbeat packet
Return to a response bag.If server-side does not receive heartbeat packet more than time threshold or household appliance does not receive response
Packet then shows that the long connection between household appliance and server-side disconnects.Wherein, time threshold is, for example, 30s.
Control module 906, for being controlled to household appliance according to the control information when household appliance is long connection status
System, and obtain the status information of household appliance.
For example, the status information of water heater is open state, further, server-side after server-side control water heater is opened
Obtaining water heater is the status information opened.
Status information sending module 907, for status information to be sent to client.
For example, water heater is that the status information opened is sent to client by server-side.
In the present embodiment, by activating household appliance according to the actual sequence number of active information and household appliance, and by family
Electric equipment state of activation information is sent to client, so that the subsequent control information sent according to client carries out household appliance
Control, realizes the long-range control of household appliance, activates household appliance in server-side, effectively promotes the peace of remote control home electric equipment
Quan Xing promotes the usage experience of user.
It should be noted that in the description of the present invention, term " first ", " second " etc. are used for description purposes only, without
It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " multiple "
It is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.
Claims (8)
1. a kind of control method for household appliance characterized by comprising
The corresponding active information of household appliance of user setting is received, the active information includes the title of household appliance, household electrical appliances
The sequence number and family group ID of equipment, the sequence number of the household appliance are obtained by scanning the identification code in the household appliance
?;
Activation instruction is sent to the household appliance, so that the household appliance is according to the activation instruction by the household appliance
Actual sequence number be sent to server-side;
The active information is sent to the server-side, so that the server-side is set according to the active information and the household electrical appliances
Standby actual sequence number activates the household appliance, and obtains the household appliance state of activation information;
Receive the household appliance state of activation information that the server-side is sent;
Wherein, described that the household appliance is activated according to the active information and the actual sequence number of the household appliance, and obtain
Take household appliance state of activation information, comprising: judge whether the sequence number of the household appliance in the active information is legal;If
The sequence number of the household appliance is legal, then judge client send the household appliance sequence number and the household appliance
Actual sequence number whether successful match;If successful match, household appliance ID is obtained, and the household appliance ID is sent
To the household appliance, so that household appliance ID is carried out write-in processing by the household appliance, to activate the household appliance;It obtains
Take the household appliance state of activation information.
2. being used for the control method of household appliance as described in claim 1, which is characterized in that the method also includes:
Receive the control information of the household appliance of the user setting;
The control information is sent to the server-side, so that the server-side controls the household electrical appliances according to the control information
Equipment, and obtain the status information of the household appliance;
Receive the status information that the server-side is sent.
3. a kind of control method for household appliance characterized by comprising
Receive the household appliance of the corresponding active information of household appliance that client is sent and household appliance transmission
Actual sequence number, the active information include the title of household appliance, the sequence number of household appliance and family group ID, the household electrical appliances
The sequence number of equipment is obtained by the identification code scanned in the household appliance;
The household appliance is activated according to the active information and the actual sequence number of the household appliance, and obtains the household electrical appliances
Device activation status information;
The household appliance state of activation information is sent to the client;
It is described that the household appliance is activated according to the active information and the actual sequence number of the household appliance, and described in acquisition
Household appliance state of activation information, comprising:
Judge whether the sequence number of the household appliance in the active information is legal;
If the sequence number of the household appliance is legal, judge the sequence number of the household appliance that the client is sent with
The actual sequence number of the household appliance whether successful match;
If successful match, household appliance ID is obtained, and the household appliance ID is sent to the household appliance, so that institute
It states household appliance and the household appliance ID is subjected to write-in processing, to activate the household appliance;
Obtain the household appliance state of activation information.
4. being used for the control method of household appliance as claimed in claim 3, which is characterized in that described to swash the household appliance
Status information living is sent to after the client, the method also includes:
Receive the control information of the household appliance for the user setting that the client is sent;
Judge whether the household appliance is long connection status;
If the household appliance is the long connection status, the household appliance is controlled according to the control information
System, and obtain the status information of the household appliance;
The status information is sent to the client.
5. a kind of control device for household appliance characterized by comprising
Active information receiving module, the corresponding active information of household appliance for receiving user setting, the active information packet
The title of household appliance, the sequence number of household appliance and family group ID are included, the sequence number of the household appliance passes through described in scanning
Identification code in household appliance obtains;
The actual sequence sending module of household appliance, for sending activation instruction to the household appliance, so that the household electrical appliances
The actual sequence number of the household appliance is sent to server-side according to the activation instruction by equipment;
Active information and activation instruction sending module, for the active information to be sent to the server-side, so that the clothes
End be engaged according to the active information and the actual sequence number of the household appliance activation household appliance, and obtains the household electrical appliances
Device activation status information;
Household appliance state of activation information receiving module, the household appliance state of activation sent for receiving the server-side
Information;
Wherein, described that the household appliance is activated according to the active information and the actual sequence number of the household appliance, and obtain
Take household appliance state of activation information, comprising: judge whether the sequence number of the household appliance in the active information is legal;If
The sequence number of the household appliance is legal, then judge client send the household appliance sequence number and the household appliance
Actual sequence number whether successful match;If successful match, household appliance ID is obtained, and the household appliance ID is sent
To the household appliance, so that household appliance ID is carried out write-in processing by the household appliance, to activate the household appliance;It obtains
Take the household appliance state of activation information.
6. being used for the control device of household appliance as claimed in claim 5, which is characterized in that described device further include:
First control information receiving module, the control information of the household appliance for receiving the user setting;
Information sending module is controlled, for the control information to be sent to the server-side, so that the server-side is according to institute
It states control information and controls the household appliance, and obtain the status information of the household appliance;
Status information receiving module, the status information sent for receiving the server-side.
7. a kind of control device for household appliance characterized by comprising
Active information and actual sequence receiving module, for receive client transmission the corresponding active information of household appliance and
The actual sequence number for the household appliance that the household appliance is sent, the active information includes the title of household appliance, family
The sequence number and family group ID of electric equipment, the sequence number of the household appliance are obtained by scanning the identification code in the household appliance
?;
Household appliance active module, for activating the family according to the active information and the actual sequence number of the household appliance
Electric equipment, and obtain the household appliance state of activation information;
Household appliance state of activation information sending module, for the household appliance state of activation information to be sent to the client
End;
The household appliance active module includes:
Sequence number validity judgement module, for judging whether the sequence number of the household appliance in the active information closes
Method;
Matching judgment module when legal for the sequence number in the household appliance, judges that the client is sent described
The actual sequence number of the sequence number of household appliance and the household appliance whether successful match;
Household appliance ID obtains module, sends in successful match, obtaining household appliance ID, and by the household appliance ID
To the household appliance, so that the household appliance ID is carried out write-in processing by the household appliance, to activate the household electrical appliances to set
It is standby;
Household appliance state of activation data obtaining module, for obtaining the household appliance state of activation information.
8. being used for the control device of household appliance as claimed in claim 7, which is characterized in that described device further include:
Second control information receiving module, the control of the household appliance for receiving the user setting that the client is sent
Information;
Judgment module, for judging whether the household appliance is long connection status;
Control module, for when the household appliance is the long connection status, according to the control information to the household electrical appliances
Equipment is controlled, and obtains the status information of the household appliance;
Status information sending module, for the status information to be sent to the client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510552862.XA CN105100279B (en) | 2015-08-31 | 2015-08-31 | Control method and device for household appliance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510552862.XA CN105100279B (en) | 2015-08-31 | 2015-08-31 | Control method and device for household appliance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105100279A CN105100279A (en) | 2015-11-25 |
CN105100279B true CN105100279B (en) | 2019-02-15 |
Family
ID=54579794
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510552862.XA Active CN105100279B (en) | 2015-08-31 | 2015-08-31 | Control method and device for household appliance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105100279B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105446148A (en) * | 2015-12-04 | 2016-03-30 | 美的集团股份有限公司 | Network distribution method for household electrical appliance, household electrical appliance and mobile terminal |
CN106886159B (en) * | 2015-12-16 | 2020-11-24 | 美的集团股份有限公司 | Configuration method and device of household appliance |
CN105634885A (en) * | 2015-12-30 | 2016-06-01 | 深圳市智慧猫软件技术有限公司 | Method and system for rapidly adding peripheral device into mobile phone app |
EP3190815B1 (en) * | 2016-01-05 | 2020-03-11 | Nxp B.V. | Apparatus and method for controlling its operation |
CN105978851A (en) * | 2016-04-13 | 2016-09-28 | 青岛海信传媒网络技术有限公司 | System and method for controlling intelligent equipment |
CN106549977B (en) * | 2016-12-09 | 2019-08-30 | 北京小米移动软件有限公司 | A kind of binding relationship methods, devices and systems for establishing account and equipment |
CN109041006A (en) * | 2018-08-23 | 2018-12-18 | 北京新能源汽车股份有限公司 | Method for acquiring vehicle data |
CN109495580B (en) * | 2018-12-11 | 2021-10-22 | 云纵世纪(天津)数字科技有限公司 | Activation method and system of terminal equipment |
CN110120977B (en) * | 2019-05-10 | 2022-04-08 | 宁波奥克斯电气股份有限公司 | Equipment production serial number uploading method and system |
CN111815332A (en) * | 2020-06-15 | 2020-10-23 | 珠海格力电器股份有限公司 | Equipment activation method, device and system |
CN113453383A (en) * | 2021-06-28 | 2021-09-28 | 惠州经济职业技术学院 | Multi-module intelligent terminal control method, device and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103078904A (en) * | 2012-12-24 | 2013-05-01 | 惠州Tcl家电集团有限公司 | Household appliance control method, and household appliance and server adopting same |
CN103685450A (en) * | 2012-09-06 | 2014-03-26 | Lg电子株式会社 | Home appliance and online system including the same |
CN104270650A (en) * | 2014-09-29 | 2015-01-07 | 广州创维平面显示科技有限公司 | Internet television safety control system and method |
CN104678771A (en) * | 2015-01-26 | 2015-06-03 | 广东美的环境电器制造有限公司 | Control method and control system for household electrical appliance |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140032262A (en) * | 2012-09-06 | 2014-03-14 | 엘지전자 주식회사 | Home appliance and online system including the same |
-
2015
- 2015-08-31 CN CN201510552862.XA patent/CN105100279B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103685450A (en) * | 2012-09-06 | 2014-03-26 | Lg电子株式会社 | Home appliance and online system including the same |
CN103078904A (en) * | 2012-12-24 | 2013-05-01 | 惠州Tcl家电集团有限公司 | Household appliance control method, and household appliance and server adopting same |
CN104270650A (en) * | 2014-09-29 | 2015-01-07 | 广州创维平面显示科技有限公司 | Internet television safety control system and method |
CN104678771A (en) * | 2015-01-26 | 2015-06-03 | 广东美的环境电器制造有限公司 | Control method and control system for household electrical appliance |
Also Published As
Publication number | Publication date |
---|---|
CN105100279A (en) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105100279B (en) | Control method and device for household appliance | |
US9241358B2 (en) | Wireless network configuration method and system for smart appliance | |
CN104144420B (en) | A kind of radio switch-in method and relevant device, system | |
CN104660714B (en) | Long-range control method, the apparatus and system of terminal device | |
CN105634887B (en) | Network control method for kitchen household appliance | |
CN107343749B (en) | Control method and device of intelligent cooking equipment and intelligent cooking equipment | |
CN104936304A (en) | Intelligent equipment binding method, intelligent equipment, and server | |
CN101702690A (en) | Method for carrying out human-computer interaction by embedded equipment through internet instant messaging system | |
CN105898181A (en) | Video conversation system and method and related equipment | |
CN105404201B (en) | The intelligent control method of the intelligence control system of refrigerator | |
CN106899464A (en) | Intelligent home furnishing control method | |
CN104767756B (en) | Facility information processing method, client terminal device and service terminal device | |
CN105446293A (en) | Binding method, device and system of intelligent household equipment and intelligent terminal | |
CN110784367B (en) | Network distribution method and system for intelligent equipment | |
CN106054695A (en) | Remote control method and system of intelligent equipment, and intelligent equipment | |
CN104506594A (en) | Data communication method and system for social application system | |
CN104967544B (en) | Network access equipment interlock method and network access equipment linkage | |
CN103227862A (en) | Method and device for processing connection of bluetooth | |
CN104580549A (en) | Controlled terminal and control terminal correlation method and system | |
CN103544823B (en) | Pairing method and device for radio frequency remote controller and household appliance | |
CN114783116B (en) | Off-line cabinet opening method and device for intelligent cabinet | |
CN104635543A (en) | Method and device for carrying out management operation | |
CN106354037B (en) | A kind of system and method for realizing household appliance and mobile terminal binding | |
CN113433831A (en) | Control method and module of intelligent household equipment and storage medium | |
CN104640231A (en) | Wireless network setting method and wireless network setting system of intelligent household electrical appliance |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |