CN106034058A - Control method of household appliances and apparatus thereof - Google Patents
Control method of household appliances and apparatus thereof Download PDFInfo
- Publication number
- CN106034058A CN106034058A CN201510116976.XA CN201510116976A CN106034058A CN 106034058 A CN106034058 A CN 106034058A CN 201510116976 A CN201510116976 A CN 201510116976A CN 106034058 A CN106034058 A CN 106034058A
- Authority
- CN
- China
- Prior art keywords
- household appliance
- mobile terminal
- preset
- appliance
- household
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004891 communication Methods 0.000 claims description 54
- 238000001514 detection method Methods 0.000 claims description 3
- 238000004519 manufacturing process Methods 0.000 abstract description 8
- 241000209094 Oryza Species 0.000 description 74
- 235000007164 Oryza sativa Nutrition 0.000 description 74
- 235000009566 rice Nutrition 0.000 description 74
- 238000010438 heat treatment Methods 0.000 description 14
- 238000009434 installation Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 238000012790 confirmation Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 125000004122 cyclic group Chemical group 0.000 description 3
- 238000007689 inspection Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 229920006395 saturated elastomer Polymers 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a control method of household appliances and an apparatus thereof. The control method of the household appliances comprises the following steps that a mobile terminal and the household appliances establish a wireless channel; the mobile terminal determines whether the household appliances are preset household appliances; if the household appliances are the preset household appliances, the mobile terminal replaces main chips of the household appliances and controls the household appliances. In the method, the mobile terminal can be used to completely control the household appliances; an intelligent level is increased and simultaneously manufacturing and upgrading cost of the household appliances is reduced.
Description
Technical Field
The invention relates to the technical field of intelligent household appliance control, in particular to a method and a device for controlling household appliances.
Background
Conventional home appliances, especially small home appliances, often integrate a control method and a system in a main chip, and if the control method and the system in the home appliance are to be updated, an additional processor and a module are required to cooperate to work, which brings additional expenses to consumers and also brings high maintenance cost to manufacturers.
And as the development trend of the future household appliances tends to be intelligentized and the running state is visualized in real time, if a high-speed processor with excellent performance, a wireless module and other devices are integrated on each household appliance, the cost of the household appliance is increased, and the burden of consumers is increased.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
To this end, an object of the present invention is to propose a method for controlling a household appliance, which allows to reduce the costs of manufacturing and upgrading the household appliance while increasing the level of intelligence.
Another object of the present invention is to provide a control device for a home appliance.
In order to achieve the above object, a method for controlling a home appliance according to an embodiment of the present invention includes: establishing a wireless channel between the mobile terminal and the household appliance equipment; the mobile terminal judges whether the household appliance is a preset household appliance or not; if the household appliance is preset, the mobile terminal replaces a main chip of the household appliance to control the household appliance; and the mobile terminal disconnects the wireless channel after the user determines to stop using the household appliance.
According to the control method of the household appliance provided by the embodiment of the invention, the wireless channel is established between the mobile terminal and the household appliance, and when the household appliance is a preset household appliance, the mobile terminal replaces a main chip of the household appliance to control the household appliance, so that the household appliance can be completely controlled by using the mobile terminal instead of a home, the dependence of the household appliance on a processor of the household appliance is reduced, the intelligent level is improved, and the manufacturing and upgrading costs of the household appliance are reduced.
In order to achieve the above object, a control device for a home appliance according to an embodiment of the present invention includes: the establishing module is used for establishing a wireless channel with the household appliance; the judging module is used for judging whether the household appliance is a preset household appliance or not; the control module is used for replacing a main chip of the household appliance to control the household appliance when the household appliance is a preset household appliance; and the disconnection module is used for disconnecting the wireless channel after the user determines to stop using the household appliance.
According to the control device of the household appliance, the wireless channel is established between the mobile terminal and the household appliance, and when the household appliance is a preset household appliance, the mobile terminal replaces the main chip of the household appliance to control the household appliance, so that the household appliance can be completely controlled by replacing a home with the mobile terminal, the dependence of the household appliance on a processor of the household appliance is reduced, the intelligent level is improved, and the manufacturing and upgrading costs of the household appliance are reduced.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart illustrating a method for controlling a home appliance according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for controlling a home device according to another embodiment of the present invention;
fig. 3 is a schematic diagram of a rice cooker according to another embodiment of the present invention sending a rice cooker broadcast packet to a mobile terminal;
FIG. 4 is a schematic diagram of a mobile terminal according to another embodiment of the present invention replacing a main chip of a rice cooker to control a heating plate of the rice cooker;
FIG. 5 is a schematic diagram of a mobile terminal communicating with a rice cooker according to another embodiment of the invention;
fig. 6 is a schematic structural diagram of a control device of a home appliance according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a control device of a home appliance according to another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention. On the contrary, the embodiments of the invention include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
An interactive method and apparatus for list browsing according to an embodiment of the present invention will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a method for controlling a home appliance according to an embodiment of the present invention, where the method includes:
s101: and the mobile terminal and the household appliance establish a wireless channel.
Specifically, a preset application program for controlling the household appliance device, for example, an "american rice cooker" program, may be installed on the mobile terminal, and after the preset application program is started, it may be detected whether a Wireless communication module exists in the mobile terminal, where the Wireless communication module is, for example, a bluetooth module or a WIFI (Wireless Fidelity ) module.
It should be understood that, when designing the preset application, it may be set that the application must be installed when the wireless communication module exists in the mobile terminal. If a bluetooth and/or WIFI module is present in the mobile terminal, the "nice rice cooker" program can use the bluetooth and/or WIFI module in the mobile terminal.
Optionally, when the wireless communication module exists, it may be determined whether a bound historical home appliance device exists in the mobile terminal, and if the bound historical home appliance device exists, the mobile terminal tries to connect to the bound historical home appliance device; if no historical home devices exist, surrounding discoverable home devices may be scanned and wireless channels may be attempted with the discoverable home devices, such as binding via a bluetooth module. The discoverable household appliance is provided with wireless communication modules such as a Bluetooth module and/or a WIFI module.
S102: and the mobile terminal judges whether the household appliance is a preset household appliance or not.
Specifically, after the mobile terminal establishes a connection with the home appliance, the mobile terminal starts to receive data and determines whether the currently connected home appliance is a preset home appliance according to the received data, specifically, the determination may be performed by a preset communication protocol, or may be performed by other methods.
Optionally, the mobile terminal determines whether the home appliance is a preset home appliance, and specifically may include:
and when a preset communication protocol corresponding to the preset household appliance does not exist, the mobile terminal receives a data packet sent by the household appliance, wherein the data packet comprises continuous bytes of data, and whether the household appliance is the preset household appliance is judged according to the continuous bytes of data. In an embodiment of the present invention, for example, whether there are continuous bytes of 0xaa and 0x55 in the data of the continuous bytes may be determined, if there are continuous bytes, 8 bytes or 17 bytes are received, the determination is performed according to 8 bytes, whether the value ranges of data bits 1, 2, 3, and 4 are within a reasonable value range is analyzed, and whether there is an error in CRC (Cyclic Redundancy Check) is calculated, and if the error is correct, the home appliance determines that the home appliance is a preset home appliance; if not, an attempt is made to determine using 17 bytes, and likewise to determine whether the value ranges of data bits 1, 2, 3, 4, 5, 6, 7, 8 are reasonable. In a specific embodiment, consecutive bytes such as 0xaa and 0x55 can also be used as the decision bits of the data packet, thereby locating that the data packet is 8 bytes or 17 bytes.
Or, when a preset communication protocol corresponding to the preset household appliance exists, the mobile terminal receives a broadcast packet sent by the household appliance, and judges whether the household appliance is the preset household appliance or not according to the broadcast packet. For example, the home appliance device sends a broadcast packet in a preset format every 1 second through the wireless communication module, the mobile terminal receives the broadcast packet and analyzes the broadcast packet, and if the broadcast packet is in the same format as a broadcast packet corresponding to the preset home appliance device, the home appliance device is determined to be the preset home appliance device.
And if the household appliance is not the preset household appliance, returning to S101, and reestablishing the wireless channel with the discoverable household appliance.
S103: if the household appliance is preset, the mobile terminal replaces a main chip of the household appliance to control the household appliance.
Specifically, after the home appliance is determined to be a preset home appliance, the mobile terminal may send a control signal using a preset application program, and control the home appliance by replacing a main chip of the home appliance through a previously established wireless channel.
Optionally, the mobile terminal replaces the main chip of the home appliance, and controls the home appliance, including:
the mobile terminal checks whether the household appliance is in a normal state;
and if the household appliance is in a normal state, controlling the household appliance according to the real-time input data.
Optionally, after the user determines to stop using the household appliance, the mobile terminal may send an instruction to disconnect the wireless channel to the household appliance, for example, to disconnect a bluetooth connection, and before disconnecting the wireless channel, the mobile terminal may send a shutdown instruction to the household appliance to stop the household appliance, and may also directly disconnect the wireless channel to return the household appliance to a state controlled by its main chip, so as to save resources.
This embodiment is through establishing wireless channel between mobile terminal and tame electric installation, and when tame electric installation was predetermined tame electric installation, replaced this tame electric installation's main chip by mobile terminal and controlled this tame electric installation, can utilize mobile terminal to replace the family to carry out complete control to tame electric installation, alleviateed tame electric installation to the reliance of self treater, reduce tame electric installation's manufacturing and upgrading cost when improving intelligent level.
Fig. 2 is a schematic flow chart of a method for controlling a home appliance according to another embodiment of the present invention, where the method includes:
s201: and detecting whether the mobile terminal has a wireless communication module.
Specifically, a preset application program for controlling the home appliance device, for example, an "american rice cooker" program for controlling an american rice cooker, may be installed on the mobile terminal, and after the preset application program is started, whether a Wireless communication module, for example, a bluetooth module or a WIFI (Wireless Fidelity) module, exists in the mobile terminal may be detected.
It should be understood that, when designing the preset application, it may be set that the application must be installed when the wireless communication module exists in the mobile terminal. If a bluetooth and/or WIFI module is present in the mobile terminal, the "nice rice cooker" program can use the bluetooth and/or WIFI module in the mobile terminal.
S202: and judging whether the bound historical household electrical appliance equipment exists in the mobile terminal or not when the wireless communication module exists.
When the wireless communication module exists, the historical connection record in the mobile terminal can be inquired, and whether the bound historical household appliance exists or not is judged.
If yes, executing S203, otherwise, executing S204.
S203: and establishing a wireless channel with the historical household appliance equipment.
Specifically, the mobile terminal may attempt wireless connection with the history home appliance, and if the connection is successful, S205 is performed, and if the connection is failed, S204 is performed.
S204: surrounding discoverable home devices are scanned and wireless channels are attempted to be established with the discoverable home devices.
Specifically, the found home appliances around the home appliance may be scanned, where the found home appliances are, for example, home appliances having a wireless communication module in a preset range, and if the home appliances meeting the conditions are scanned, the home appliances are tried to be bound with the home appliances and a wireless channel is established. Optionally, in the binding process, if the binding time exceeds 3 seconds, the device is skipped and binding of the next discovered device is attempted.
S205: and the mobile terminal judges whether the household appliance is a preset household appliance or not.
Specifically, after the mobile terminal establishes a connection with the home appliance, the mobile terminal starts to receive data and determines whether the currently connected home appliance is a preset home appliance according to the received data, specifically, the determination may be performed by a preset communication protocol, or may be performed by other methods.
Further, when there is no preset communication protocol corresponding to the preset home appliance device, the mobile terminal may receive a data packet sent by the home appliance device, where the data packet includes continuous bytes of data, and determine whether the home appliance device is the preset home appliance device according to the continuous bytes of data. In an embodiment of the present invention, for example, whether there are continuous bytes of 0xaa and 0x55 in the data of the continuous bytes may be determined, if there are continuous bytes, 8 bytes or 17 bytes are received, the determination is performed according to 8 bytes, whether the value ranges of data bits 1, 2, 3, and 4 are within a reasonable value range is analyzed, and whether there is an error in CRC (Cyclic Redundancy Check) is calculated, and if the error is correct, the home appliance determines that the home appliance is a preset home appliance; if not, an attempt is made to determine using 17 bytes, and likewise to determine whether the value ranges of data bits 1, 2, 3, 4, 5, 6, 7, 8 are reasonable. In a specific embodiment, consecutive bytes such as 0xaa and 0x55 can also be used as the decision bits of the data packet, thereby locating that the data packet is 8 bytes or 17 bytes.
Or, when a preset communication protocol corresponding to the preset household appliance exists, the mobile terminal receives a broadcast packet sent by the household appliance, and judges whether the household appliance is the preset household appliance or not according to the broadcast packet. For example, the household electrical appliance is a rice cooker, as shown in fig. 3, the rice cooker may send a rice cooker broadcast packet with a preset format every 1 second through the wireless communication module, the mobile terminal analyzes the broadcast packet after receiving the broadcast packet, and if the broadcast packet is the same as the broadcast packet format corresponding to the rice cooker to be controlled, it is determined that the household electrical appliance is the rice cooker to be controlled.
Taking the example that the household appliance is a rice cooker, under the condition that the communication interruption time between the mobile terminal and the rice cooker is long, the rice cooker can send a rice cooker state request packet every preset time, for example, 50 milliseconds through the wireless module, and if the mobile terminal receives and analyzes the rice cooker state request packet, the binding with the rice cooker is successful.
It should be understood that, if the mobile terminal cannot determine that the bound home device is the preset home device, the preset application may disconnect the binding between the mobile terminal and the current home device and attempt to bind the next discovered home device. If the household appliance to be controlled cannot be connected within a preset time, for example, within 2 minutes, prompt information such as "the preset appliance is not found" or "your appliance is not powered on" or "the appliance is out of order" is displayed to the user.
S206: if the household appliance is preset, the mobile terminal replaces a main chip of the household appliance to control the household appliance.
Specifically, the mobile terminal may check whether the home appliance is in a normal state, for example, may obtain a self-test result of the home appliance. If the state is normal, the household appliance can be controlled according to the data input in real time. Taking the home appliance as a rice cooker, after the self-checking is completed, as shown in fig. 4, the rice cooker may perform corresponding heating control according to a control instruction transmitted by the mobile terminal in real time, for example, sending an electromagnetic heating data packet to control the heating plate to heat.
In an embodiment of the present invention, the interaction process between the mobile terminal and the rice cooker may be as shown in fig. 5, where the mobile terminal establishes a wireless channel with the rice cooker, then communicates with the rice cooker according to a wireless communication protocol of the rice cooker, and when it is determined that the rice is saturated as the home appliance device to be controlled, the mobile terminal controls the rice cooker instead of the main chip of the rice cooker, and controls the heating plate of the rice cooker to heat through an electromagnetic heating control protocol.
S207: and the mobile terminal disconnects the wireless channel after the user determines to stop using the household appliance.
In a specific embodiment of the present invention, after receiving an instruction indicating to stop using the home appliance input by the user, the mobile terminal may send a control instruction indicating to stop the home appliance according to the control instruction.
Specifically, after the user determines to stop using the household appliance, the mobile terminal may send a control instruction for disconnecting the wireless channel to the household appliance, for example, to disconnect a bluetooth connection, and before disconnecting the wireless channel, the mobile terminal may send a shutdown instruction to the household appliance to stop the household appliance, and may also directly disconnect the wireless channel to return the household appliance to a state controlled by its main chip.
S208: and the mobile terminal receives a data packet which is sent by the household appliance and indicates that the household appliance is stopped, and displays prompt information indicating that the household appliance is stopped to the user after receiving the data packet.
And if the mobile terminal does not receive the data packet within the preset time, retransmitting the control instruction for the preset times.
And if the data packet is still not received after the control instruction of the preset times is retransmitted, displaying a prompt message that the household appliance is not closed to the user.
Taking a household appliance as an example of a rice cooker, when a user determines that the rice cooker is not used any more, the mobile terminal can send a rice cooker stop request packet to a wireless communication module of the rice cooker, the rice cooker wireless communication module sends a control packet to a heating plate after receiving the request packet, the heating plate immediately cuts off a power supply, and after the rice cooker confirms that the heating plate is powered off, the wireless communication module immediately sends a rice cooker stop confirmation packet to the mobile terminal. And after receiving the confirmation packet, the mobile terminal prompts the user to automatically close the 'beautiful rice cooker' program 5 seconds after the 'rice cooker is turned off' information. If the mobile terminal does not respond 20 milliseconds after sending the data to the rice cooker wireless communication module, the rice cooker can retransmit the data packet for 10 times, and if the data packet is not retransmitted for 10 times, a user is prompted to give a message of ' rice cooker failure, please turn off the power supply ' of the rice cooker '.
In the embodiment, the wireless channel is established between the mobile terminal and the household appliance, and the household appliance to be controlled is determined through the communication protocol and/or the data packet, so that whether the household appliance connected to the wireless channel is the preset household appliance can be intelligently judged; in addition, the household appliance is controlled by replacing the main chip of the household appliance with the mobile terminal, the household appliance can be completely controlled by replacing the household with the high-speed processor of the mobile terminal, the dependence of the household appliance on the high-speed processor of the household appliance is reduced, and the manufacturing and upgrading costs are reduced; and after the user determines to stop using the household appliance, the wireless channel is disconnected and the operation of the household appliance is stopped, so that the resources are saved, the safety is improved, and the intelligent level is improved.
In order to implement the above embodiments, the present invention further provides a control device for a home appliance.
Fig. 6 is a schematic structural diagram of a control device of a home appliance according to another embodiment of the present invention. In an embodiment of the present invention, the control device of the home appliance may specifically be a mobile terminal, and as shown in fig. 6, the control device of the home appliance includes: a building block 100, a judging block 200 and a control block 300.
Specifically, the establishing module 100 is configured to establish a wireless channel with the home device. More specifically, a preset application program for controlling the household appliance device, for example, a "beautiful rice cooker" program, may be installed on the mobile terminal, and after the preset application program is started, it may be detected whether a wireless communication module, for example, a bluetooth module or a WIFI module, exists in the mobile terminal, and then the wireless communication module is bound with the household appliance device, so as to establish a wireless channel.
It should be understood that, when designing the preset application, it may be set that the application must be installed when the wireless communication module exists in the mobile terminal. If a bluetooth and/or WIFI module is present in the mobile terminal, the "nice rice cooker" program can use the bluetooth and/or WIFI module in the mobile terminal.
The determining module 200 is configured to determine whether the home appliance is a preset home appliance. More specifically, after the mobile terminal establishes a connection with the home appliance, the mobile terminal starts to receive data and determines whether the home appliance currently connected is a preset home appliance according to the received data, specifically, the determination may be performed by a preset communication protocol, or may be performed by other methods.
The control module 300 is configured to replace a main chip of the home appliance to control the home appliance when the home appliance is a preset home appliance. More specifically, after determining that the home appliance is a preset home appliance, the control module 300 may send a control signal using a preset application program, and control the home appliance, for example, control heating of a rice cooker, change a working state of the rice cooker, and the like, instead of a main chip of the home appliance through a previously established wireless channel.
This embodiment is through establishing wireless channel between mobile terminal and household electrical appliances, and when household electrical appliances were preset household electrical appliances, replaced this household electrical appliances's main chip by mobile terminal and controlled this household electrical appliances, can utilize mobile terminal to carry out complete control to household electrical appliances, alleviateed household electrical appliances to the dependence of self treater, reduce household electrical appliances's manufacturing and upgrading cost when improving intelligent level.
Fig. 7 is a schematic structural diagram of a control device of a home appliance according to another embodiment of the present invention. As shown in fig. 7, the control device of the home appliance includes: the system comprises a building module 100, a detection sub-module 110, a judgment sub-module 120, a building sub-module 130, a scanning sub-module 140, a judgment module 200, a control module 300, an inspection sub-module 310, a control sub-module 320, a disconnection module 400, a sending sub-module 410 and a receiving sub-module 420. The establishing module 100 includes a detecting sub-module 110, a judging sub-module 120, an establishing sub-module 130 and a scanning sub-module 140; the control module 300 includes an inspection sub-module 310 and a control sub-module 320; the disconnect module 400 includes a transmit submodule 410 and a receive submodule 420.
In the embodiment of the present invention, the control device of the home appliance may specifically be a mobile terminal.
Specifically, the detection sub-module 110 is configured to detect whether the mobile terminal has a wireless communication module.
The determining sub-module 120 is configured to determine whether a bound historical home appliance device exists in the mobile terminal when the wireless communication module exists. When the wireless communication module exists, the determining sub-module 120 may query the historical connection record in the mobile terminal, and determine whether a bound historical home appliance exists.
The establishing sub-module 130 is configured to establish a wireless channel with the historical home appliance device when the historical home appliance device exists in the mobile terminal.
The scanning sub-module 140 is configured to scan surrounding discoverable home appliances and attempt to establish a wireless channel with the discoverable home appliances when no historical home appliances exist in the mobile terminal. More specifically, the scanning sub-module 140 may scan surrounding discoverable home devices, for example, home devices having a wireless communication module in a preset range, and if the home devices meeting the conditions are scanned, attempt to bind with the home devices and establish a wireless channel. Optionally, in the binding process, if the binding time exceeds 3 seconds, the device is skipped and binding of the next discovered device is attempted.
The determining module 200 is further configured to receive a data packet sent by the home appliance device when there is no preset communication protocol corresponding to the preset home appliance device, where the data packet includes continuous bytes of data, and determine whether the home appliance device is the preset home appliance device according to the continuous bytes of data; or when a preset communication protocol corresponding to the preset household appliance exists, receiving a broadcast packet sent by the household appliance, and judging whether the household appliance is the preset household appliance or not according to the broadcast packet.
More specifically, after the mobile terminal establishes a connection with the home appliance, the mobile terminal starts to receive data, and the determining module 200 determines whether the currently connected home appliance is a preset home appliance according to the received data, specifically, the currently connected home appliance may be determined by a preset communication protocol, or may be determined by other methods.
Further, when there is no preset communication protocol corresponding to the preset home appliance device, the mobile terminal may receive a data packet sent by the home appliance device, where the data packet includes continuous bytes of data, and determine whether the home appliance device is the preset home appliance device according to the continuous bytes of data. In an embodiment of the present invention, for example, whether there are continuous bytes of 0xaa and 0x55 in the data of the continuous bytes may be determined, if there are continuous bytes, 8 bytes or 17 bytes are received, the determination is performed according to 8 bytes, whether the value ranges of data bits 1, 2, 3, and 4 are within a reasonable value range is analyzed, and whether there is an error in CRC (Cyclic Redundancy Check) is calculated, and if the error is correct, the home appliance determines that the home appliance is a preset home appliance; if not, an attempt is made to determine using 17 bytes, and likewise to determine whether the value ranges of data bits 1, 2, 3, 4, 5, 6, 7, 8 are reasonable. In a specific embodiment, consecutive bytes such as 0xaa and 0x55 can also be used as the decision bits of the data packet, thereby locating that the data packet is 8 bytes or 17 bytes.
Or, when a preset communication protocol corresponding to the preset household appliance exists, the mobile terminal receives a broadcast packet sent by the household appliance, and judges whether the household appliance is the preset household appliance or not according to the broadcast packet. For example, the household electrical appliance is a rice cooker, as shown in fig. 3, the rice cooker may send a rice cooker broadcast packet with a preset format every 1 second through the wireless communication module, the mobile terminal analyzes the broadcast packet after receiving the broadcast packet, and if the broadcast packet is the same as the broadcast packet format corresponding to the rice cooker to be controlled, it is determined that the household electrical appliance is the rice cooker to be controlled.
In addition, taking the example that the household appliance is a rice cooker, under the condition that the communication interruption time between the mobile terminal and the rice cooker is long, the rice cooker can send a rice cooker state request packet every preset time, for example, 50 milliseconds, through the wireless module, and if the mobile terminal receives and analyzes the rice cooker state request packet, the binding with the rice cooker is successful.
It should be understood that, if the mobile terminal cannot determine that the bound home device is the preset home device, the preset application may disconnect the binding between the mobile terminal and the current home device and attempt to bind the next discovered home device. If the household appliance to be controlled cannot be connected within a preset time, for example, within 2 minutes, prompt information such as "the preset appliance is not found" or "your appliance is not powered on" or "the appliance is out of order" is displayed to the user.
The checking sub-module 310 is configured to check whether the home device is in a normal state, for example, a self-test result of the home device may be obtained. If the home appliance is in the normal state, the control sub-module 320 may control the home appliance according to the real-time input data when the home appliance is in the normal state. Taking the home appliance as a rice cooker, after the self-checking is completed, as shown in fig. 4, the rice cooker can perform corresponding heating control according to the control instruction transmitted by the mobile terminal in real time.
The disconnection module 400 is configured to disconnect the wireless channel after the user determines to stop using the home appliance. More specifically, after receiving an instruction indicating to stop using the home device input by the user, the sending sub-module 410 is configured to send a control instruction indicating to stop the home device, so that the home device stops operating according to the control instruction. More specifically, after the user determines to stop using the home appliance, the sending sub-module 410 may send a control instruction for disconnecting the wireless channel to the home appliance, for example, to disconnect a bluetooth connection, and before disconnecting the wireless channel, the mobile terminal may send a shutdown instruction to the home appliance to stop the operation of the home appliance, and may also directly disconnect the wireless channel to return the home appliance to a state controlled by the main chip of the home appliance.
The receiving submodule 420 is configured to receive a data packet sent by the home appliance device and indicating that the home appliance device is stopped, and display a prompt message indicating that the home appliance device is stopped to the user after receiving the data packet.
The disconnection module 400 is further configured to resend the control instruction for a preset number of times when the data packet is not received within a preset time; and when the data packet is still not received after the control instruction of the preset times is retransmitted, displaying a prompt message that the household appliance is not closed to the user. More specifically, if the mobile terminal does not receive the data packet within a preset time, the control instruction is retransmitted for a preset number of times. And if the data packet is still not received after the control instruction of the preset times is retransmitted, displaying a prompt message that the household appliance is not closed to the user.
Taking a household appliance as an example of a rice cooker, when a user determines that the rice cooker is not used any more, the mobile terminal can send a rice cooker stop request packet to a wireless communication module of the rice cooker, the rice cooker wireless communication module sends a control packet to a heating plate after receiving the request packet, the heating plate immediately cuts off a power supply, and after the rice cooker confirms that the heating plate is powered off, the wireless communication module immediately sends a rice cooker stop confirmation packet to the mobile terminal. And after receiving the confirmation packet, the mobile terminal prompts the user to automatically close the 'beautiful rice cooker' program 5 seconds after the 'rice cooker is turned off' information. If the mobile terminal does not respond 20 milliseconds after sending the data to the rice cooker wireless communication module, the rice cooker can retransmit the data packet for 10 times, and if the data packet is not retransmitted for 10 times, a user is prompted to give a message of ' rice cooker failure, please turn off the power supply ' of the rice cooker '.
In the embodiment, the wireless channel is established between the mobile terminal and the household appliance, and the household appliance to be controlled is determined through the communication protocol and/or the data packet, so that whether the household appliance connected to the wireless channel is the preset household appliance can be intelligently judged; in addition, the household appliance is controlled by replacing the main chip of the household appliance with the mobile terminal, the household appliance can be completely controlled by replacing the household with the high-speed processor of the mobile terminal, the dependence of the household appliance on the high-speed processor of the household appliance is reduced, and the manufacturing and upgrading costs are reduced; and after the user determines to stop using the household appliance, the wireless channel is disconnected and the operation of the household appliance is stopped, so that the resources are saved, the safety is improved, and the intelligent level is improved.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (14)
1. A method for controlling a home appliance, comprising:
establishing a wireless channel between the mobile terminal and the household appliance equipment;
the mobile terminal judges whether the household appliance is a preset household appliance or not;
if the household appliance is preset, the mobile terminal replaces a main chip of the household appliance to control the household appliance.
2. The method of claim 1, wherein the establishing a wireless channel between the mobile terminal and the home device comprises:
detecting whether a wireless communication module exists in the mobile terminal;
judging whether bound historical household electrical appliance equipment exists in the mobile terminal or not when a wireless communication module exists;
if the historical household appliances exist, establishing a wireless channel with the historical household appliances;
if no historical home devices exist, surrounding discoverable home devices are scanned and wireless channels are attempted to be established with the discoverable home devices.
3. The method of claim 1, wherein the determining, by the mobile terminal, whether the home device is a preset home device comprises:
when a preset communication protocol corresponding to the preset household appliance does not exist, the mobile terminal receives a data packet sent by the household appliance, wherein the data packet comprises continuous bytes of data, and whether the household appliance is the preset household appliance is judged according to the continuous bytes of data; or,
and when a preset communication protocol corresponding to the preset household appliance exists, the mobile terminal receives a broadcast packet sent by the household appliance, and judges whether the household appliance is the preset household appliance or not according to the broadcast packet.
4. The method of claim 1, wherein the mobile terminal replaces a main chip of the home device to control the home device, and the method comprises:
the mobile terminal checks whether the household appliance is in a normal state;
and if the household appliance is in a normal state, controlling the household appliance according to the real-time input data.
5. The method according to any one of claims 1-4, further comprising:
and the mobile terminal disconnects the wireless channel after the user determines to stop using the household appliance.
6. The method of claim 5, wherein the mobile terminal disconnects the wireless channel after completing the control of the home device, comprising:
after receiving an instruction which is input by a user and indicates that the household appliance is stopped, the mobile terminal sends a control instruction which indicates the stop of the household appliance to the household appliance so that the household appliance stops running according to the control instruction;
and the mobile terminal receives a data packet which is sent by the household appliance and indicates that the household appliance is stopped, and displays prompt information indicating that the household appliance is stopped to the user after receiving the data packet.
7. The method of claim 6, further comprising:
if the mobile terminal does not receive the data packet within the preset time, retransmitting the control instruction for preset times;
and if the data packet is still not received after the control instruction of the preset times is retransmitted, displaying a prompt message that the household appliance is not closed to the user.
8. A control device for a home appliance, comprising:
the establishing module is used for establishing a wireless channel with the household appliance;
the judging module is used for judging whether the household appliance is a preset household appliance or not;
and the control module is used for replacing a main chip of the household appliance when the household appliance is a preset household appliance, and controlling the household appliance.
9. The apparatus of claim 8, wherein the establishing module comprises:
the detection submodule is used for detecting whether the mobile terminal has a wireless communication module;
the judging submodule is used for judging whether bound historical household electrical appliances exist in the mobile terminal when the wireless communication module exists;
the establishing submodule is used for establishing a wireless channel with the historical household electrical appliance when the historical household electrical appliance exists in the mobile terminal;
and the scanning sub-module is used for scanning the surrounding discoverable household appliances and trying to establish a wireless channel with the discoverable household appliances when the historical household appliances do not exist in the mobile terminal.
10. The apparatus of claim 9, wherein the determining module is further configured to:
when a preset communication protocol corresponding to the preset household appliance does not exist, receiving a data packet sent by the household appliance, wherein the data packet comprises continuous bytes of data, and judging whether the household appliance is the preset household appliance or not according to the continuous bytes of data; or,
and when a preset communication protocol corresponding to the preset household appliance exists, receiving a broadcast packet sent by the household appliance, and judging whether the household appliance is the preset household appliance or not according to the broadcast packet.
11. The apparatus of claim 9, wherein the control module comprises:
the checking submodule is used for checking whether the household electrical appliance is in a normal state;
and the control submodule is used for controlling the household appliance according to the real-time input data when the household appliance is in a normal state.
12. The apparatus of claims 8-11, further comprising:
and the disconnection module is used for disconnecting the wireless channel after the user determines to stop using the household appliance.
13. The apparatus of claim 12, wherein the disconnect module comprises:
the sending submodule is used for sending a control instruction for indicating shutdown to the household appliance after receiving an instruction for indicating that the household appliance is stopped and input by a user so as to stop the household appliance according to the control instruction;
and the receiving submodule is used for receiving a data packet which is sent by the household appliance and indicates that the household appliance is shut down, and displaying prompt information indicating that the household appliance is shut down to the user after receiving the data packet.
14. The apparatus of claim 12, wherein the disconnection module is further configured to:
retransmitting the control instruction of preset times when the data packet is not received within preset time;
and when the data packet is still not received after the control instruction of the preset times is retransmitted, displaying a prompt message that the household appliance is not closed to the user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510116976.XA CN106034058A (en) | 2015-03-17 | 2015-03-17 | Control method of household appliances and apparatus thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510116976.XA CN106034058A (en) | 2015-03-17 | 2015-03-17 | Control method of household appliances and apparatus thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106034058A true CN106034058A (en) | 2016-10-19 |
Family
ID=57150912
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510116976.XA Pending CN106034058A (en) | 2015-03-17 | 2015-03-17 | Control method of household appliances and apparatus thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106034058A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259536A (en) * | 2016-12-29 | 2018-07-06 | 佛山市顺德区美的电热电器制造有限公司 | A kind of control method, apparatus and system |
CN108397795A (en) * | 2018-02-28 | 2018-08-14 | 广东海信家电有限公司 | Gas-cooker, range hood, cigarette stove inter-linked controlling method and system |
CN109521684A (en) * | 2018-11-23 | 2019-03-26 | 维沃移动通信(杭州)有限公司 | A kind of home equipment control method and terminal device |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101859480A (en) * | 2010-04-29 | 2010-10-13 | 顾翠红 | Electric appliance wireless control network |
CN102298559A (en) * | 2010-06-25 | 2011-12-28 | 黄卫 | Handheld terminal, and method and system for interacting information between handheld terminal and computer |
CN102882752A (en) * | 2012-10-19 | 2013-01-16 | 天津光宏科技有限公司 | Internet-of-things and android system based intelligent home system and control method |
CN103220642A (en) * | 2012-01-19 | 2013-07-24 | 华为技术有限公司 | Method and device of safe processing of short message |
CN103312519A (en) * | 2013-07-05 | 2013-09-18 | 飞天诚信科技股份有限公司 | Dynamic password device and working method thereof |
CN103346861A (en) * | 2013-07-01 | 2013-10-09 | 深圳市元征科技股份有限公司 | Data communication method and equipment of car |
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 |
CN104053137A (en) * | 2014-06-27 | 2014-09-17 | 可牛网络技术(北京)有限公司 | Data recovery method and device |
CN104062921A (en) * | 2014-06-27 | 2014-09-24 | 广州视源电子科技股份有限公司 | Method for intelligently controlling household appliances |
KR101479513B1 (en) * | 2014-06-17 | 2015-01-07 | 코오롱엔솔루션(주) | Apparatus for integration management controlling of waste water/sewage treatment plant using correlation analysis |
CN104375497A (en) * | 2014-12-15 | 2015-02-25 | 广东美的厨房电器制造有限公司 | Smart home, smart home control method, control system and electronic equipment |
-
2015
- 2015-03-17 CN CN201510116976.XA patent/CN106034058A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101859480A (en) * | 2010-04-29 | 2010-10-13 | 顾翠红 | Electric appliance wireless control network |
CN102298559A (en) * | 2010-06-25 | 2011-12-28 | 黄卫 | Handheld terminal, and method and system for interacting information between handheld terminal and computer |
CN103220642A (en) * | 2012-01-19 | 2013-07-24 | 华为技术有限公司 | Method and device of safe processing of short message |
CN102882752A (en) * | 2012-10-19 | 2013-01-16 | 天津光宏科技有限公司 | Internet-of-things and android system based intelligent home system and control method |
CN103346861A (en) * | 2013-07-01 | 2013-10-09 | 深圳市元征科技股份有限公司 | Data communication method and equipment of car |
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 |
CN103312519A (en) * | 2013-07-05 | 2013-09-18 | 飞天诚信科技股份有限公司 | Dynamic password device and working method thereof |
KR101479513B1 (en) * | 2014-06-17 | 2015-01-07 | 코오롱엔솔루션(주) | Apparatus for integration management controlling of waste water/sewage treatment plant using correlation analysis |
CN104053137A (en) * | 2014-06-27 | 2014-09-17 | 可牛网络技术(北京)有限公司 | Data recovery method and device |
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 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259536A (en) * | 2016-12-29 | 2018-07-06 | 佛山市顺德区美的电热电器制造有限公司 | A kind of control method, apparatus and system |
CN108259536B (en) * | 2016-12-29 | 2021-09-14 | 佛山市顺德区美的电热电器制造有限公司 | Control method, device and system |
CN108397795A (en) * | 2018-02-28 | 2018-08-14 | 广东海信家电有限公司 | Gas-cooker, range hood, cigarette stove inter-linked controlling method and system |
CN109521684A (en) * | 2018-11-23 | 2019-03-26 | 维沃移动通信(杭州)有限公司 | A kind of home equipment control method and terminal device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11310730B2 (en) | Method of connecting to network for home appliance, home appliance, and method of connecting to network for home appliance system | |
KR101817676B1 (en) | Method and apparatus for sending prompt message | |
CN106981900B (en) | Wireless charging method and device | |
KR20130037610A (en) | Apparatus and method for preventing collision between two commands in smart grid network | |
CN107483262A (en) | Fault handling method and equipment | |
CN105471678A (en) | Method and system for detecting networking failure reason of household appliance and mobile terminal | |
CN111614523A (en) | Control method of household appliance, intelligent terminal and household appliance | |
CN110535733B (en) | Control method and device of household appliance, computer equipment and storage medium | |
CN104615001A (en) | Method and device for detecting internet of things functions of internet of things appliance | |
CN106034058A (en) | Control method of household appliances and apparatus thereof | |
CN103716901A (en) | Method and system used for building connection between apparatuses and related equipment | |
CN105900476B (en) | Wireless communication failure classification determination device and household appliance control system | |
CN103888983A (en) | WIFI work mode automatic switching method and system of terminal | |
CN110768840A (en) | Control method, device, equipment and storage medium of communication equipment | |
CN105242558A (en) | Control method and equipment for household electric appliance, household electric appliance and client equipment | |
CN110278577B (en) | Data transmission control method and device | |
CN106161497A (en) | From WIFI module and the most adaptive method of attachment of WIFI module of adaptive connection protocol | |
CN111043721A (en) | CAN bus matching resistor access method and device, air conditioning unit and system | |
CN104539493B (en) | Based on the intelligent terminal that USB interface is realized to the managing and control system and its implementation of intelligent appliance | |
CN106155001A (en) | The control method of home appliance and device | |
CN105307285B (en) | Networking setting method and system of household appliance, terminal and household appliance | |
JP6798035B2 (en) | How to realize value-added services, equipment, and cloud servers | |
CN105485854A (en) | Intelligent terminal-based air conditioner temperature control method and intelligent terminal-based air conditioner temperature control system | |
CN108809777B (en) | Operation control method, Wi-Fi communication module, home appliance device, system, and storage medium | |
CN111107041B (en) | Method and device for preventing intelligent household appliance from being maliciously controlled |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161019 |
|
RJ01 | Rejection of invention patent application after publication |