CN106033191B - The control method and device of household appliance - Google Patents
The control method and device of household appliance Download PDFInfo
- Publication number
- CN106033191B CN106033191B CN201510114732.8A CN201510114732A CN106033191B CN 106033191 B CN106033191 B CN 106033191B CN 201510114732 A CN201510114732 A CN 201510114732A CN 106033191 B CN106033191 B CN 106033191B
- Authority
- CN
- China
- Prior art keywords
- household appliance
- mobile terminal
- data packet
- binding
- control instruction
- 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
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of control method and device of household appliance, wherein this method comprises: received data packet;And the data packet is judged whether from the household appliance with mobile terminal binding, if so, corresponding control instruction is sent to the household appliance, so that the household appliance works according to the control instruction.This method is the controllable household appliance bound with it by mobile terminal, and household appliance can work according to the control instruction of mobile terminal, to alleviate dependence of the household appliance to high speed processor, reduces the manufacturing cost of household appliance.
Description
Technical field
The present invention relates to equipment control technology field more particularly to a kind of control method and device of household appliance.
Background technique
Currently, household appliance (especially small household appliances equipment) is usually by the control mode of equipment and the system integration in equipment
In master chip, i.e., during producing household appliance, the operation program of household appliance is previously integrated in its master chip, family
Electric equipment is run according to the operation program of master chip in the future.
With the development of science and technology, when there is new technical controlling household appliance, if user needs to update family in family
The control mode and system of electric equipment, in order to cooperate new technology, it usually needs increase additional place in the master chip of equipment
Device and corresponding module are managed, this will greatly increase the maintenance cost of equipment, and the control mode of updating apparatus and system need
Professional person's operation, ordinary user cannot achieve.In addition, if in order to cooperate new technology, and the household electrical appliances of subsequent production are set
The processor and other devices of standby integrated performance brilliance, this will increase the manufacturing cost of household appliance.
Summary of the invention
The purpose of the present invention is intended to solve above-mentioned one of technical problem at least to a certain extent.
For this purpose, the first purpose of this invention is to propose a kind of control method of household appliance.This method passes through movement
Terminal is the controllable household appliance bound with it, and household appliance can work according to the control instruction of mobile terminal, thus
Dependence of the household appliance to high speed processor is alleviated, the manufacturing cost of household appliance is reduced.
Second object of the present invention is to propose a kind of control method of household appliance.
Third object of the present invention is to propose a kind of control device of household appliance.
Fourth object of the present invention is to propose a kind of control device of household appliance.
To achieve the goals above, the control method of the household appliance of first aspect present invention embodiment, comprising: receive number
According to packet;And the data packet is judged whether from the household appliance with mobile terminal binding, if so, to the household appliance
Corresponding control instruction is sent, so that the household appliance works according to the control instruction.
The control method of household appliance according to an embodiment of the present invention, received data packet, and judge whether data packet is come
From the household appliance with mobile terminal binding, if so, corresponding control instruction is sent to household appliance, so that household appliance root
It works according to control instruction.The embodiment is all completed the control logic part of household appliance by mobile terminal as a result,
User is the controllable household appliance bound with it by mobile terminal, alleviates dependence of the household appliance to high speed processor,
Reduce the manufacturing cost of household appliance.
According to one embodiment of present invention, before the received data packet, the control method further include: by pre-
If mode and household appliance establish binding relationship, and save the binding relationship, wherein include the shifting in the binding relationship
The user information of dynamic terminal and the mark of corresponding household appliance and the mobile terminal use logical with corresponding household appliance
Believe agreement;Alternatively, the mark and the mobile terminal of the user information of the mobile terminal and corresponding household appliance with it is corresponding
Household appliance agreement resolution rules.
Wherein, in one embodiment of the invention, the predetermined manner includes bluetooth or Wireless Fidelity wifi mode.
In one embodiment of the invention, it is described judge the data packet whether from the mobile terminal binding
Household appliance, comprising: the communication protocol the parsing whether data packet can be pre-saved is judged, if can, it is determined that the number
According to packet from the household appliance with the mobile terminal binding;If cannot, using the resolution rules of the agreement to the number
It is parsed according to packet, and whether judge parsing result reasonable, if rationally, it is determined that the data packet comes from and the mobile terminal
The household appliance of binding.
In one embodiment of the invention, after the corresponding control instruction to household appliance transmission, institute
State control method further include: Xiang Suoshu household appliance sends halt instruction;And the confirmation packet that the household appliance returns is received,
And corresponding prompt information is shown according to confirmation packet.
To achieve the goals above, the control method of the household appliance of second aspect of the present invention embodiment, comprising: send number
According to packet, so that whether the application APP on mobile terminal judges the data packet from the family with the mobile terminal binding
Electric equipment, if so, sending corresponding control instruction to the household appliance;And the control instruction is received, and according to institute
Control instruction is stated to work.
The control method of household appliance according to an embodiment of the present invention sends data packet, so that the application on mobile terminal
Program APP judges data packet whether from the household appliance with mobile terminal binding, if so, sending to household appliance corresponding
Control instruction;And control instruction is received, and work according to control instruction.The embodiment is by the control of household appliance as a result,
Logical gate processed is all completed by mobile terminal, and user is the controllable household appliance bound with it, family by mobile terminal
Electric equipment can work according to the control instruction of mobile terminal, so that dependence of the household appliance to high speed processor is alleviated,
Reduce the manufacturing cost of household appliance.
According to one embodiment of present invention, before the transmission data packet, the control method further include: by pre-
If mode and the mobile terminal establish binding relationship, wherein the predetermined manner includes bluetooth or the Wireless Fidelity side wifi
Formula.
To achieve the goals above, the control device of the household appliance of third aspect present invention embodiment, comprising: receive mould
Block wraps for receiving data;And first processing module, for judge the data packet whether from mobile terminal binding
Household appliance, if so, corresponding control instruction is sent to the household appliance, so that the household appliance is according to the control
Instruction works.
The control device of household appliance according to an embodiment of the present invention by receiving module received data packet, and passes through
Processing module judges that data packet whether from the household appliance with mobile terminal binding, corresponds to if so, sending to household appliance
Control instruction so that household appliance works according to control instruction.The embodiment is by the control logic of household appliance as a result,
Part is all completed by mobile terminal, and user is the controllable household appliance bound with it by mobile terminal, alleviates house
Dependence of the electric equipment to high speed processor, reduces the manufacturing cost of household appliance.
In one embodiment of the invention, the control device further include: preserving module, in the receiving module
Before received data packet, binding relationship is established by predetermined manner and household appliance, and save the binding relationship, wherein institute
State in binding relationship including the mobile terminal user information and corresponding household appliance mark and the mobile terminal with
The communication protocol that corresponding household appliance uses;Alternatively, the mark of the user information of the mobile terminal and corresponding household appliance
The resolution rules that knowledge and the mobile terminal are arranged with corresponding household appliance.
Wherein, in one embodiment of the invention, the predetermined manner includes bluetooth or Wireless Fidelity wifi mode.
In one embodiment of the invention, the first processing module, is specifically used for: judging that the data packet whether can
The communication protocol parsing pre-saved, if can, it is determined that the data packet is set from the household electrical appliances with the mobile terminal binding
It is standby;If cannot, the data packet is parsed using the resolution rules of the agreement, and judge whether parsing result closes
Reason, if rationally, it is determined that the data packet is from the household appliance with the mobile terminal binding.
Wherein, in one embodiment of the invention, the control device further include: Second processing module, in institute
It states after first processing module sends corresponding control instruction to the household appliance, Xiang Suoshu household appliance, which sends to shut down, to be referred to
It enables;And the confirmation packet that the household appliance returns is received, and corresponding prompt information is shown according to confirmation packet.
To achieve the goals above, the control device of the household appliance of fourth aspect present invention embodiment, comprising: send mould
Block, for sending data packet, so that the application APP on mobile terminal judges whether the data packet comes from and the movement
The household appliance of terminal binding, if so, sending corresponding control instruction to the household appliance;And processing module, it is used for
The control instruction is received, and is worked according to the control instruction.
The control device of household appliance according to an embodiment of the present invention sends data packet by sending module, so that mobile
Application APP in terminal judges data packet whether from the household appliance with mobile terminal binding, if so, setting to household electrical appliances
Preparation send corresponding control instruction;And control instruction is received by receiving module, and work according to control instruction.By
This, which is all completed the control logic part of household appliance by mobile terminal, and user passes through mobile terminal
The household appliance bound with it is controlled, household appliance can work according to the control instruction of mobile terminal, to alleviate house
Dependence of the electric equipment to high speed processor, reduces the manufacturing cost of household appliance.
In one embodiment of the invention, described device further include: communication module, for being sent in the sending module
Before data packet, binding relationship is established by predetermined manner and the mobile terminal, wherein the predetermined manner include bluetooth or
Person's Wireless Fidelity wifi mode.
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, wherein
Fig. 1 is the flow chart of the control method of household appliance according to an embodiment of the invention.
Fig. 2 is the flow chart of the control method of household appliance in accordance with another embodiment of the present invention.
Fig. 3 is the structural schematic diagram of the control device of household appliance according to an embodiment of the invention.
Fig. 4 is the structural schematic diagram of the control device of household appliance in accordance with another embodiment of the present invention.
Fig. 5 is the structural schematic diagram of the control device of the household appliance of another embodiment according to the present invention.
Fig. 6 is the structural schematic diagram of the control device of the household appliance of further embodiment according to the present invention.
Appended drawing reference:
Preserving module 100, receiving module 110, first processing module 120, first processing module 130, communication module 200,
Sending module 210 and processing module 220.
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, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the control method and device of the household appliance of the embodiment of the present invention are described.
Fig. 1 is the flow chart of the control method of household appliance according to an embodiment of the invention, and the embodiment is from operation
Side application APP (APPlication) on mobile terminals is described, wherein the application program is mainly used for controlling
Household appliance, as shown in Figure 1, the control method of the household appliance may include:
S101, received data packet.
It in this embodiment, can also include: to be established by predetermined manner and household appliance before executing step S101
Binding relationship, and save the binding relationship.
Wherein, above-mentioned predetermined manner may include bluetooth or Wireless Fidelity wifi (wireless fidelity) mode,
Wherein, may include in above-mentioned binding relationship mobile terminal user information and corresponding household appliance mark and mobile terminal
The communication protocol used with corresponding household appliance;Alternatively, the mark of the user information of mobile terminal and corresponding household appliance
The resolution rules arranged with mobile terminal with corresponding household appliance.Above-mentioned mobile terminal can be the tool such as mobile phone, tablet computer
There is the hardware device of various operating systems.
For example, the active user of smart phone is after downloading and installing the application program of controllable household appliance, it is registrable
The user account of one application program, and the user account of oneself is logged in, it is right during binding the household appliance in family
The application program answered can be bound by modes such as bluetooth, wifi with corresponding household appliance, after binding success, can be reserved for
The mark and smart phone of the user account of smart phone active user and corresponding household appliance are used with household appliance
Communication protocol, then corresponding application program can save corresponding synchronizing information into the corresponding server of application program,
The trouble bound again with household appliance is needed after replacing smart phone to avoid user, corresponding user is by logging in certainly
Oneself user account can restore the relevant information for the household appliance bound in the past.
Specifically, after application program launching on mobile terminals, application program can first search in mobile terminal whether contain
Have the historical record of binding relationship, if the mark of corresponding household appliance is obtained comprising, application program, and can by bluetooth or
The modes such as wifi are attempted to be attached with the household appliance that history is bound, if successful connection, directly execution step S102.
If in mobile terminal not including the historical record of binding relationship, by whether there is tool around predetermined manner scanning
There is the household appliance of communication function, if so, then establishing binding relationship with corresponding household appliance, and binding relationship is saved, with side
Continuing after an action of the bowels can be according to the source of the mark identification data packet in binding relationship.
In this embodiment, during establishing binding relationship with corresponding household appliance, if within a preset time not
Binding success then terminates to bind, and starts to be bound with another household appliance.
For example it is assumed that preset time is 3 seconds, the application program on mobile terminal, which scans surrounding by wifi mode, two
A household appliance with communication function, respectively household appliance 1 and household appliance 2, it is assumed that application program within 3 second time not
It completes to bind with household appliance 1, then application program terminates the binding with household appliance 1, and attempts to be tied up with household appliance 2
Fixed, if mobile terminal and household appliance 2 establish binding relationship within 3 second time, it is current that application program saves mobile terminal
Communication protocol used by the user account of user and the mark of household appliance 2 and preservation mobile terminal and household appliance 2.
S102 judges the data packet received whether from the household appliance with mobile terminal binding, if so, to household electrical appliances
Equipment sends corresponding control instruction, so that household appliance works according to control instruction.
In embodiment, after receiving data packet, it can determine whether the data packet received can be pre-saved logical
Protocol analysis is believed, if can, it is determined that data packet is from the household appliance with mobile terminal binding;If cannot, use agreement
Resolution rules parse data packet, and whether judge parsing result reasonable, if rationally, it is determined that data packet comes from and movement
The household appliance of terminal binding.
For example it is assumed that household appliance is electric cooker, the application program and electric cooker on smart phone establish binding relationship, and
Save the special communication protocol that the user account of smart phone and the mark of electric cooker and smart phone and electric cooker are supported.
It is assumed that electric cooker can be sentenced after the wireless communication module of smart phone receives data packet every one " broadcast packet " of transmission in 1 second
It is disconnected whether the data packet received to be parsed by special communication protocol, and judging that special communication protocol can be passed through
After parsing data packet, wireless communication module parses the data packet received, and sends application program for corresponding parsing result,
Application program determines the household appliance of currently transmitted data according to the mark of the correspondence household appliance in parsing result.
For another example after smart phone and household appliance binding, if communication protocol used in no agreement between the two, two
When person has only arranged resolution rules, after the wireless communication module of smart phone receives the data packet that corresponding household appliance is sent, by
It cannot be parsed by communication protocol in data packet, the wireless communication module of smart phone directly transmits corresponding data packet at this time
To application program, application program receives the data packet that corresponding household appliance is sent, and the resolution rules made an appointment according to the two
Parse corresponding data packet.Wherein, the resolution rules that the two is made an appointment are as follows: whether judge in data packet containing specific judgement
Byte, such as can determine whether include the successive byte of 0xaa and 0x55 in data packet, if so, then obtaining predetermined bite (8
Byte or 17 bytes) data, and judge whether the value range of the data of predetermined bite reasonable, if rationally, judging
Whether the data of predetermined bite obtained are correct, if correctly, application program is according to the correspondence household appliance in parsing result
Mark determine the household appliances of currently transmitted data.It is assumed that current household appliance can be transmitted in different time points 8 bytes or
The data packet of 17 bytes, application program after receiving the data packet that current household appliance is sent, can determine whether in data packet whether
Have the successive byte of 0xaa and 0x55, if so, then obtain the data of 8 bytes, and can analyze the data bit 1 in 8 bytes, 2,3,
Whether 4 value is in reasonable value range, if so, by calculating cyclic redundancy error check code CRC (Cyclic
Redundancy Check) verification data packet it is whether correct, if correctly, according to the mark for corresponding to household appliance in parsing result
Determine the household appliance of currently transmitted data;If incorrect, it can be judged by using 17 bytes, specifically, can be sentenced
Whether the value range of the data bit 1,2,3,4,5,6,7,8 in disconnected 17 bytes is zone of reasonableness, if rationally, passing through calculating
Whether cyclic redundancy error check code CRC (Cyclic Redundancy Check) verifies data packet correct, if correctly, root
The household appliance of currently transmitted data is determined according to the mark for corresponding to household appliance in parsing result;If incorrect, application program
Disconnect the binding with current household appliance.
In this embodiment, after the household appliance of discovery binding, user can pass through the application program control on mobile terminal
Household appliance processed works.
For example it is assumed that current household appliance is electric cooker, after being mounted on the application program discovery electric cooker on smart phone,
Application program can send a detection instruction to corresponding electric cooker, and electric cooker receives detection instruction, and is examined according to detection instruction
When whether normal surveying itself, and determining that electric cooker is normal, confirmation instruction can be returned to mobile terminal, mobile terminal reception returns
Confirmation instruction, and shows the normal prompt information of household appliance, at this point, user can application program controlling electric cooker heat,
Specifically, application program receives the trigger action of user, and can send the control of heating to electric cooker according to the trigger action of user
System instruction, electric cooker receives corresponding control instruction, and controls electric cooker according to control instruction and heated.
In this embodiment, the application program after sending corresponding control instruction to household appliance, on mobile terminal
Halt instruction can also be sent to household appliance, and receives the confirmation instruction that household appliance returns, and aobvious according to confirmation instruction
Show corresponding prompt information.
For example, current household appliance is electric cooker, when user determines without using electric cooker, user can be applied by triggering
Related control in program closes electric cooker, specifically, receives the trigger action that user closes electric cooker, and according to the touching of user
Hair operation sends halt instruction to electric cooker, and electric cooker receives halt instruction, and is cut the power supply of heating dish according to halt instruction
It is disconnected, and after confirming heating dish dump, corresponding confirmation instruction is returned to smart phone.Smart phone receives return
Confirmation instructs, and the prompt information of " electric cooker has been switched off " is shown on interface, to prompt user.In display, " electric cooker is
Through shutting down " 5 seconds of prompt information after, application program can be automatically closed.It should be noted that if application program is in 20 milliseconds
The confirmation instruction of electric cooker return is not received, and application program can refer to the shutdown that electric cooker retransmits preset times such as 10 times
It enables, if not receiving the confirmation instruction of electric cooker transmission always, shows " rice cooker failure please close rice cooker power supply " on interface
Prompt information, to prompt user that electric cooker is turned off manually.
The control method of household appliance according to an embodiment of the present invention, received data packet, and judge whether data packet is come
From the household appliance with mobile terminal binding, if so, corresponding control instruction is sent to household appliance, so that household appliance root
It works according to control instruction.The embodiment is all completed the control logic part of household appliance by mobile terminal as a result,
User is the controllable household appliance bound with it by mobile terminal, alleviates dependence of the household appliance to high speed processor,
Reduce the manufacturing cost of household appliance.
Fig. 2 is the flow chart of the control method of household appliance in accordance with another embodiment of the present invention, and the embodiment is from family
Electric equipment side is described, as shown in Fig. 2, the control method of the household appliance may include:
S201 sends data packet, so that the application APP on mobile terminal judges whether data packet comes from movement eventually
The household appliance of binding is held, if so, sending corresponding control instruction to household appliance.
In this embodiment, before executing step S201, it can also be established and be bound by predetermined manner and mobile terminal
Relationship, wherein predetermined manner may include bluetooth or Wireless Fidelity wifi (wireless fidelity) mode.
Specifically, after application program launching on mobile terminals, household appliance can pass through the modes such as bluetooth, wifi and shifting
Dynamic terminal is bound, and the application program on mobile terminal establishes binding relationship, and saves corresponding binding relationship, wherein is tied up
Determine the mark and mobile terminal and corresponding household electrical appliances of user information and corresponding household appliance that relationship may include mobile terminal
The communication protocol that equipment uses;Alternatively, the mark and mobile terminal of the user information of mobile terminal and corresponding household appliance with
The resolution rules of corresponding household appliance agreement.Above-mentioned mobile terminal can be mobile phone, tablet computer etc. with various operations
The hardware device of system.
For example, the user account of active user is a, the application program on smart phone passes through the modes such as bluetooth, wifi
After completing binding with household appliance 1, the mark of user account Yu household appliance 1 can be saved in smart phone, and save intelligence
Can communication protocol used by mobile phone and household appliance 1, and user replaces and can restore after mobile phone to be arranged in the past for convenience
Data, application program can be by the synchronous preservations of above- mentioned information into the corresponding server of application program.
S202 receives control instruction, and is worked according to control instruction.
Specifically, household appliance receives the control instruction that mobile terminal is sent, and controls household appliance according to control instruction
Working condition.
For example it is assumed that current household appliance is the electric cooker of beauty, beautiful electric cooker receives the heating of mobile terminal transmission
Control instruction after, can according to control instruction control heating dish be heated.
For another example assuming that current household appliance is electric cooker, control of the electric cooker in the shutdown for receiving mobile terminal transmission
After system instruction, heating dish power supply can be cut off according to control instruction, and after confirming heating dish power cutoff, can send out to mobile terminal
Corresponding confirmation is sent to instruct, mobile terminal receives the confirmation instruction that electric cooker is sent, and is shown on interface according to confirmation instruction
The prompt information of " rice cooker has been shut down ", and after display reminding information 5 seconds, control electric cooker work on mobile terminal is automatically closed
The application program of work.
The control method of household appliance according to an embodiment of the present invention sends data packet, so that the application on mobile terminal
Program APP judges data packet whether from the household appliance with mobile terminal binding, if so, sending to household appliance corresponding
Control instruction;And control instruction is received, and work according to control instruction.The embodiment is by the control of household appliance as a result,
Logical gate processed is all completed by mobile terminal, and user is the controllable household appliance bound with it, family by mobile terminal
Electric equipment can work according to the control instruction of mobile terminal, so that dependence of the household appliance to high speed processor is alleviated,
Reduce the manufacturing cost of household appliance.
In order to realize above-described embodiment, the invention also provides a kind of control devices of household appliance.
Fig. 3 is the structural schematic diagram of the control device of household appliance according to an embodiment of the invention.The device is located at
In mobile terminal, as shown in figure 3, the control device of the household appliance may include receiving module 110 and first processing module
120, in which:
Receiving module 110 wraps for receiving data;And first processing module 120 for judge data packet whether come from
The household appliance of mobile terminal binding, if so, corresponding control instruction is sent to household appliance, so that household appliance is according to control
System instruction works.
In addition, the preserving module 100 is for receiving as shown in figure 4, above-mentioned apparatus can also include preserving module 100
Before 110 received data packet of module, binding relationship is established by predetermined manner and household appliance, and save binding relationship
Wherein, above-mentioned mobile terminal can have the hardware device of various operating systems for mobile phone, tablet computer etc., above-mentioned
Predetermined manner may include bluetooth or Wireless Fidelity wifi (wireless fidelity) mode, can in above-mentioned binding relationship
To include that the user information of mobile terminal and the mark of corresponding household appliance and mobile terminal are used with corresponding household appliance
Communication protocol;Alternatively, the mark and mobile terminal of the user information of mobile terminal and corresponding household appliance and corresponding family
The resolution rules of electric equipment agreement.
For example, preserving module 100 can be bound by modes such as bluetooth, wifi with corresponding household appliance, binding
After success, the user account of smart phone active user and mark and smart phone and the family of corresponding household appliance can be reserved for
Communication protocol used by electric equipment.In addition, needing to carry out with household appliance again after replacing smart phone in order to avoid user
The synchronizing information saved in preserving module 100 can also be uploaded in corresponding server by the trouble of binding.
Specifically, after 110 received data packet of receiving module, first processing module 120 can determine whether data packet can quilt
The communication protocol parsing pre-saved, if can, it is determined that data packet is from the household appliance with mobile terminal binding;If cannot,
Then data packet is parsed using the resolution rules of agreement, and whether judge parsing result reasonable, if rationally, it is determined that data
Packet is from the household appliance with mobile terminal binding.
For example, after smart phone and household appliance binding, if between the two without arranging used communication protocol, the two
When only having arranged resolution rules, after the data packet that receiving module 110 receives that corresponding household appliance is sent, not due to data packet
It can be parsed by communication protocol, at this point, first processing module 120 can be corresponding according to the resolution rules parsing that the two is made an appointment
Data packet.Wherein, the resolution rules that the two is made an appointment are as follows: whether judge in data packet containing specifically judging byte, such as
Can determine whether include the successive byte of 0xaa and 0x55 in data packet, if so, then obtain predetermined bite (8 bytes or
17 bytes) data, and judge whether the value range of the data of predetermined bite reasonable, if rationally, judging obtained
Whether the data of predetermined bite are correct, if correctly, application program is true according to the mark of the correspondence household appliance in parsing result
The household appliance of fixed currently transmitted data.It is assumed that 8 bytes or 17 bytes can be transmitted in current household appliance in different time points
Data packet, after the data packet that receiving module 110 receives that current household appliance is sent, first processing module 120 is being judged
After data cannot being parsed by communication protocol, the successive byte for whether having 0xaa and 0x55 in data packet can determine whether, if so, then obtaining
8 bytes data, and the value of data bit 1,2,3,4 in 8 bytes can be analyzed whether in reasonable value range, if
It is, then by calculating whether just cyclic redundancy error check code CRC (Cyclic Redundancy Check) verify data packet
Really, if correctly, the household appliance of currently transmitted data is determined according to the mark for corresponding to household appliance in parsing result;If not just
Really, then can be judged by using 17 bytes, specifically, first processing module 120 can determine whether the data in 17 bytes
Whether the value range of position 1,2,3,4,5,6,7,8 is zone of reasonableness, if rationally, by calculating cyclic redundancy error check code
Whether CRC (Cyclic Redundancy Check) verifies data packet correct, if correctly, according to corresponding to house in parsing result
The mark of electric equipment determines the household appliance of currently transmitted data;If incorrect, the binding with current household appliance is disconnected.
In this embodiment, above-mentioned apparatus can also include Second processing module 130, which is used for
After first processing module 130 sends corresponding control instruction to household appliance, halt instruction is sent to household appliance, and
The confirmation packet that household appliance returns is received, and corresponding prompt information is shown according to confirmation packet.
For example, current household appliance is electric cooker, when user is determined without using electric cooker, Second processing module 130 is obtained
User closes the trigger action of electric cooker, and sends halt instruction to electric cooker according to the trigger action of user.Electric cooker receives
The halt instruction that smart phone is sent, and according to halt instruction by the dump of heating dish, and in confirmation heating dish power supply
After cutting, corresponding confirmation instruction is returned to smart phone.Second processing module 130 receives the confirmation instruction returned, and on boundary
The prompt information of " electric cooker has been switched off " is shown on face, to prompt user.Believe in the prompt of display " electric cooker has been switched off "
Behind 5 seconds of breath, application program can be automatically closed.It should be noted that if Second processing module 130 does not receive in 20 milliseconds
The confirmation instruction that electric cooker returns, Second processing module 130 can retransmit preset times such as 10 times halt instructions to electric cooker,
If not receiving the confirmation instruction of electric cooker return always, shown on interface " rice cooker failure please close rice cooker power supply "
Prompt information, to prompt user that electric cooker is turned off manually.
The control device of household appliance according to an embodiment of the present invention by receiving module received data packet, and passes through
Processing module judges that data packet whether from the household appliance with mobile terminal binding, corresponds to if so, sending to household appliance
Control instruction so that household appliance works according to control instruction.The embodiment is by the control logic of household appliance as a result,
Part is all completed by mobile terminal, and user is the controllable household appliance bound with it by mobile terminal, alleviates house
Dependence of the electric equipment to high speed processor, reduces the manufacturing cost of household appliance.
In order to realize above-described embodiment, the invention also provides a kind of control devices of household appliance.
Fig. 5 is the structural schematic diagram of the control device of the household appliance of another embodiment according to the present invention.The device position
In household appliance, as shown in figure 5, the control device of the household appliance may include sending module 210 and processing module 220,
Wherein:
Sending module 210 is for sending data packet, so that the application APP on mobile terminal judges whether data packet is come
From the household appliance with mobile terminal binding, if so, sending corresponding control instruction to household appliance;And processing module
220 for receiving control instruction, and is worked according to control instruction.
Wherein, above-mentioned mobile terminal can be the hardware device that mobile phone, tablet computer etc. have various operating systems.
In addition, the communication module 200 is for sending as shown in fig. 6, above-mentioned apparatus can also include communication module 200
Before module 210 sends data packet, binding relationship is established by predetermined manner and mobile terminal, wherein predetermined manner includes indigo plant
Tooth or Wireless Fidelity wifi mode.
The control device of household appliance comprising communication module 200, sending module 210 and processing module 220 carries out household electrical appliances
The process of control can be found in Fig. 2, not repeat herein.
The control device of household appliance according to an embodiment of the present invention sends data packet by sending module, so that mobile
Application APP in terminal judges data packet whether from the household appliance with mobile terminal binding, if so, setting to household electrical appliances
Preparation send corresponding control instruction;And control instruction is received by receiving module, and work according to control instruction.By
This, which is all completed the control logic part of household appliance by mobile terminal, and user passes through mobile terminal
The household appliance bound with it is controlled, household appliance can work according to the control instruction of mobile terminal, to alleviate house
Dependence of the electric equipment to high speed processor, reduces the manufacturing cost of household appliance.
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
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
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, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
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..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.
Claims (12)
1. a kind of control method of household appliance characterized by comprising
Received data packet;And
Judge the data packet whether from the household appliance with mobile terminal binding, wherein to judge whether the data packet is come
From the household appliance with mobile terminal binding, comprising: judge the mobile terminal whether data packet can be pre-saved
It is parsed with the communication protocol that corresponding household appliance uses, if can, it is determined that the data packet comes from and ties up with the mobile terminal
Fixed household appliance;If cannot, the resolution rules arranged using the mobile terminal and corresponding household appliance are to the number
It is parsed according to packet, and whether judge parsing result reasonable, if rationally, it is determined that the data packet comes from and the mobile terminal
The household appliance of binding;
If it is judged that the data packet is then to pass through the mobile terminal to institute from the household appliance with mobile terminal binding
It states household appliance and sends corresponding control instruction, so that the household appliance works according to the control instruction.
2. the method as described in claim 1, which is characterized in that before the received data packet, further includes:
Binding relationship is established by predetermined manner and household appliance, and saves the binding relationship, wherein in the binding relationship
The mark of user information and corresponding household appliance including the mobile terminal and the mobile terminal are set with corresponding household electrical appliances
The standby communication protocol used;Alternatively, the mark and the movement of the user information of the mobile terminal and corresponding household appliance
The resolution rules that terminal is arranged with corresponding household appliance.
3. method according to claim 2, which is characterized in that the predetermined manner includes bluetooth or the Wireless Fidelity side wifi
Formula.
4. the method according to claim 1, which is characterized in that described corresponding to household appliance transmission
After control instruction, further includes:
Halt instruction is sent to the household appliance;And
The confirmation packet that the household appliance returns is received, and corresponding prompt information is shown according to confirmation packet.
5. a kind of control method of household appliance characterized by comprising
Data packet is sent, so that the application APP on mobile terminal judges whether the data packet comes from the movement eventually
Hold the household appliance of binding, wherein judge the data packet whether from the household appliance with mobile terminal binding, comprising: to sentence
The mobile terminal whether data packet of breaking can be pre-saved is parsed with the communication protocol that corresponding household appliance uses,
If can, it is determined that the data packet is from the household appliance with the mobile terminal binding;If cannot, using described mobile whole
It holds the resolution rules arranged with corresponding household appliance to parse the data packet, and judges whether parsing result is reasonable,
If rationally, it is determined that the data packet is from the household appliance with the mobile terminal binding;
If it is judged that the data packet is from the household appliance with mobile terminal binding, then to household appliance transmission pair
The control instruction answered;And
The control instruction is received, and is worked according to the control instruction.
6. method as claimed in claim 5, which is characterized in that before the transmission data packet, further includes:
Binding relationship is established by predetermined manner and the mobile terminal, wherein the predetermined manner includes bluetooth or wireless
Fidelity wifi mode.
7. a kind of control device of household appliance characterized by comprising
Receiving module wraps for receiving data;And
First processing module, for judging the data packet whether from the household appliance with mobile terminal binding, wherein described
The mobile terminal that first processing module judges whether the data packet can be pre-saved is used with corresponding household appliance
Communication protocol parsing, if can, it is determined that the data packet is from the household appliance with the mobile terminal binding;If cannot,
Then the data packet is parsed with the resolution rules that corresponding household appliance is arranged using the mobile terminal, and judges to solve
Whether reasonable result is analysed, if rationally, it is determined that the data packet is being sentenced from the household appliance with the mobile terminal binding
It is disconnected go out data packet when being from household appliance with mobile terminal binding, Xiang Suoshu household appliance sends corresponding control and refers to
It enables, so that the household appliance works according to the control instruction.
8. device as claimed in claim 7, which is characterized in that further include:
Preserving module, for being established and being bound by predetermined manner and household appliance before the receiving module received data packet
Relationship, and save the binding relationship, wherein user information in the binding relationship including the mobile terminal and corresponding
The communication protocol that the mark of household appliance and the mobile terminal are used with corresponding household appliance;Alternatively, the mobile terminal
User information and corresponding household appliance mark and the resolution rules arranged with corresponding household appliance of the mobile terminal.
9. device as claimed in claim 8, which is characterized in that the predetermined manner includes bluetooth or the Wireless Fidelity side wifi
Formula.
10. such as the described in any item devices of claim 7-9, which is characterized in that further include:
Second processing module is used for after the first processing module sends corresponding control instruction to the household appliance,
Halt instruction is sent to the household appliance;And the confirmation packet that the household appliance returns is received, and wrap according to the confirmation
Show corresponding prompt information.
11. a kind of control device of household appliance characterized by comprising
Sending module, for sending data packet, so that the application APP on mobile terminal judges whether the data packet comes from
With the household appliance of the mobile terminal binding, if so, sending corresponding control instruction to the household appliance, wherein institute
State the mobile terminal that the application APP on mobile terminal judges whether the data packet can be pre-saved with it is corresponding
The communication protocol parsing that household appliance uses, if can, it is determined that the data packet is from the household electrical appliances with the mobile terminal binding
Equipment;If cannot, the data packet is carried out with the resolution rules that corresponding household appliance is arranged using the mobile terminal
Parsing, and whether judge parsing result reasonable, if rationally, it is determined that the data packet is from the family with the mobile terminal binding
Electric equipment;And
Processing module works for receiving the control instruction, and according to the control instruction.
12. device as claimed in claim 11, which is characterized in that further include:
Communication module, for being established by predetermined manner and the mobile terminal before the sending module sends data packet
Binding relationship, wherein the predetermined manner includes bluetooth or Wireless Fidelity wifi mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510114732.8A CN106033191B (en) | 2015-03-16 | 2015-03-16 | The control method and device of household appliance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510114732.8A CN106033191B (en) | 2015-03-16 | 2015-03-16 | The control method and device of household appliance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106033191A CN106033191A (en) | 2016-10-19 |
CN106033191B true CN106033191B (en) | 2019-07-02 |
Family
ID=57150104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510114732.8A Active CN106033191B (en) | 2015-03-16 | 2015-03-16 | The control method and device of household appliance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106033191B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106155001B (en) * | 2015-04-16 | 2019-07-26 | 佛山市顺德区美的电热电器制造有限公司 | The control method and device of household appliance |
CN109868611B (en) * | 2017-12-01 | 2022-09-02 | 青岛海尔洗衣机有限公司 | Washing machine control method and washing machine |
CN108196458A (en) * | 2018-01-24 | 2018-06-22 | 深圳市晟瑞科技有限公司 | Intelligent home equipment control method, device and terminal device |
CN108650155B (en) * | 2018-04-26 | 2020-12-01 | 珠海格力电器股份有限公司 | Control method, device and system for household electrical appliance |
CN109660432B (en) * | 2018-10-31 | 2021-12-21 | 无锡小天鹅电器有限公司 | Household appliance and control system and binding method thereof |
CN109587016B (en) * | 2018-11-20 | 2021-08-13 | 广东美的制冷设备有限公司 | Household appliance binding system, method, mobile terminal, server, household appliance and medium |
CN110109366A (en) * | 2019-04-30 | 2019-08-09 | 广东美的制冷设备有限公司 | Household appliance and its information display control method, device and mobile terminal |
CN111355304A (en) * | 2020-04-16 | 2020-06-30 | 井深信息科技(上海)有限公司 | Intelligent distribution box control method based on Bluetooth communication |
CN113253694B (en) * | 2021-07-07 | 2021-10-12 | 北京航天驭星科技有限公司 | Control system of satellite measurement and control equipment and method for controlling satellite measurement and control equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101697245A (en) * | 2009-09-30 | 2010-04-21 | 宇龙计算机通信科技(深圳)有限公司 | Home appliance control method, home appliance control device and mobile terminal |
CN102566527A (en) * | 2010-12-30 | 2012-07-11 | 中国科学院沈阳自动化研究所 | Method for realizing transmission control platformization of semiconductor manufacturing equipment front end module |
CN103399530A (en) * | 2013-07-01 | 2013-11-20 | 惠州Tcl家电集团有限公司 | Method and system for uniform control of intelligent household electrical appliances, management and control platform and control terminal |
CN104062921A (en) * | 2014-06-27 | 2014-09-24 | 广州视源电子科技股份有限公司 | Method for intelligently controlling household appliances |
CN104281095A (en) * | 2013-07-02 | 2015-01-14 | 中国科学院沈阳自动化研究所 | Conveying control system for multi-cavity wafer machining equipment |
CN104375497A (en) * | 2014-12-15 | 2015-02-25 | 广东美的厨房电器制造有限公司 | Smart home, smart home control method, control system and electronic equipment |
-
2015
- 2015-03-16 CN CN201510114732.8A patent/CN106033191B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101697245A (en) * | 2009-09-30 | 2010-04-21 | 宇龙计算机通信科技(深圳)有限公司 | Home appliance control method, home appliance control device and mobile terminal |
CN102566527A (en) * | 2010-12-30 | 2012-07-11 | 中国科学院沈阳自动化研究所 | Method for realizing transmission control platformization of semiconductor manufacturing equipment front end module |
CN103399530A (en) * | 2013-07-01 | 2013-11-20 | 惠州Tcl家电集团有限公司 | Method and system for uniform control of intelligent household electrical appliances, management and control platform and control terminal |
CN104281095A (en) * | 2013-07-02 | 2015-01-14 | 中国科学院沈阳自动化研究所 | Conveying control system for multi-cavity wafer machining equipment |
CN104062921A (en) * | 2014-06-27 | 2014-09-24 | 广州视源电子科技股份有限公司 | Method for intelligently controlling household appliances |
CN104375497A (en) * | 2014-12-15 | 2015-02-25 | 广东美的厨房电器制造有限公司 | Smart home, smart home control method, control system and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106033191A (en) | 2016-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106033191B (en) | The control method and device of household appliance | |
EP2840455B1 (en) | Method, apparatus and system for intelligently controlling device, and plug-and-play device | |
CN105162841A (en) | Domestic appliance control method and system | |
CN109101261A (en) | A kind of the remote online upgrade method and system of data acquisition transmission instrument terminal | |
CN110213102B (en) | Device control method, device, electronic device and storage medium | |
CN108021382A (en) | A kind of embedded device remote update system, method and embedded device | |
CN106993278A (en) | A kind of method, relevant device and system for automatically controlling smart machine access | |
CN105785929B (en) | A kind of household electric appliance control method and system based on wechat | |
CN110471692A (en) | Over-the-air upgrade method, device, equipment and the storage medium of terminal program | |
US9836958B2 (en) | Device control method, server, system and computer storage medium | |
CN102770850B (en) | For the token communicated with main equipment, corresponding communication system and method | |
CN107124342A (en) | Appliances equipment control method, device, intelligent domestic system and readable storage medium storing program for executing | |
CN106972974A (en) | The Web network management systems and its terminal authentication method of a kind of electric power LTE wireless terminals | |
CN109600735A (en) | The network-building method and starting configuration equipment of wireless mesh network based on Bluetooth communication | |
CN109240975A (en) | Two take two system synchronous method and device | |
AU2013388030A1 (en) | Method, apparatus, and system for intelligently controlling device, and plug-and-play device | |
CN108829421A (en) | The method and system and refrigerator and storage medium of upgrading refrigerator controller software | |
CN112423322A (en) | Model information sending method, device, storage medium and electronic device | |
CN104837216B (en) | The method and device of intelligent terminal reconnection wireless smart devices | |
CN104123512B (en) | Realize the method and apparatus switched between intelligent cipher key equipment pattern | |
CN111682965A (en) | FOTA controller | |
CN107809481A (en) | Radio upgrade method and device | |
CN107105327A (en) | One kind association method for start-up and shutdown and terminal | |
CN111885564A (en) | Data transmission method, equipment upgrading method and computer readable storage medium | |
CN103990212B (en) | The transmission method of positive airway pressure equipment, treatment support information and system |
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 |