CN113485179B - Control system and control method for household electrical appliance - Google Patents
Control system and control method for household electrical appliance Download PDFInfo
- Publication number
- CN113485179B CN113485179B CN202110714979.9A CN202110714979A CN113485179B CN 113485179 B CN113485179 B CN 113485179B CN 202110714979 A CN202110714979 A CN 202110714979A CN 113485179 B CN113485179 B CN 113485179B
- Authority
- CN
- China
- Prior art keywords
- frequency hopping
- appliance
- household electrical
- equipment
- communication
- 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
- 238000000034 method Methods 0.000 title claims abstract description 47
- 230000006854 communication Effects 0.000 claims abstract description 111
- 238000004891 communication Methods 0.000 claims abstract description 110
- 230000009471 action Effects 0.000 claims description 9
- 230000004913 activation Effects 0.000 claims description 6
- 230000008569 process Effects 0.000 description 18
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 16
- 238000012790 confirmation Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 125000004122 cyclic group Chemical group 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25257—Microcontroller
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Selective Calling Equipment (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a control system and a control method of household appliances. Wherein, this system includes: the system comprises household electrical equipment, terminal equipment and wireless access point equipment, wherein the terminal equipment and the household electrical equipment are configured with the same frequency hopping parameters; the terminal equipment is used for transmitting connection information to the household appliance equipment in a communication mode of frequency hopping communication through a first near field communication NFC module of the terminal equipment according to the frequency hopping parameter, wherein the connection information comprises distribution network data and first identification information; generating a control instruction, and transmitting the control instruction to the household appliance through the wireless access point equipment, wherein the control instruction comprises second identification information; the household electrical appliance is used for connecting the household electrical appliance with wireless access point equipment corresponding to the distribution network data according to the distribution network data; and the wireless access point device is used for accessing the device connected to the wireless access point device into the target wireless network.
Description
Technical Field
The invention relates to the field of Internet of things, in particular to a control system and a control method of household appliances.
Background
Various network distribution modes existing in the market at present have the situation of configuration failure, and the home appliance reads router information of the mobile phone lock connection through Near-field communication (NFC-Filed Communication for short), so that the success rate is close to 100%. Currently, NFC technology is mature increasingly, and applications are more and more, but the greatest disadvantage of direct NFC communication is that the NFC technology is unsafe, and there is a great risk of using NFC to allocate a network to home appliances.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a control system and a control method for household appliances, which at least solve the technical problem of unsafe network distribution process caused by directly distributing network to the household appliances through NFC communication.
According to an aspect of an embodiment of the present invention, there is provided a control system of a home appliance, including: the system comprises household electrical equipment, terminal equipment and wireless access point equipment, wherein the terminal equipment and the household electrical equipment are configured with the same frequency hopping parameters; the terminal equipment is used for transmitting connection information to the household appliance equipment in a communication mode of frequency hopping communication through a first NFC module of the terminal equipment according to the frequency hopping parameters, wherein the communication mode is the frequency hopping communication mode corresponding to the frequency hopping parameters, the connection information comprises distribution network data and first identification information, and the distribution network data is used for enabling the household appliance equipment to be connected to a target network corresponding to the wireless access point equipment; generating a control instruction, and transmitting the control instruction to the household appliance through the wireless access point equipment, wherein the control instruction comprises second identification information; the household electrical appliance is used for connecting the household electrical appliance with wireless access point equipment corresponding to the distribution network data according to the distribution network data; the wireless access point device is used for accessing the device connected to the wireless access point device into the target wireless network; the household appliance is also used for judging whether the first identification information is the same as the second identification information or not, and executing actions corresponding to the control instructions when the first identification information is the same as the second identification information.
Optionally, the home appliance further includes a second NFC module and a processor, where the second NFC module is connected with the processor through a serial port, and is configured to receive the distribution network data and transmit the distribution network data to an intelligent processor of the home appliance; and the processor is used for connecting with wireless access point equipment corresponding to the distribution network data according to the distribution network data.
Optionally, the terminal device is further configured to obtain the frequency hopping parameter by: and scanning a label of the household appliance, and acquiring and configuring preset frequency hopping parameters in the household appliance, wherein the label is used for providing the preset frequency hopping parameters of the household appliance.
Optionally, the terminal device is configured to receive the control instruction and configure a frequency hopping parameter corresponding to the control instruction; generating and broadcasting frequency hopping communication information, wherein the frequency hopping communication information at least comprises frequency hopping parameters encrypted according to a preset rule; and the household appliance is used for receiving the frequency hopping communication information, decrypting the frequency hopping communication information according to a preset rule and obtaining frequency hopping parameters.
Optionally, the home appliance is further configured to receive an activation instruction before transmitting the configuration network data to the home appliance in a communication manner of frequency hopping communication through the NFC communication module of the terminal device, and enter the configuration mode after receiving the activation instruction.
Optionally, the home appliance is further configured to enter a sleep mode when a time length of the home appliance in the configuration mode is greater than a preset time period and no network configuration data is received within the time length, where the home appliance no longer receives the connection information in the sleep mode.
Optionally, the first identification information and the second identification information both include account authentication information, where the account authentication information is used to log in a target application, and the target application is run on the terminal device and is at least used to control the working state of the home appliance.
According to another aspect of the embodiment of the present invention, there is also provided a control method of a home appliance, including: the terminal equipment determines a frequency hopping parameter; the terminal equipment performs frequency hopping communication with the household electrical appliance through the NFC module so as to send connection information to the household electrical appliance, wherein parameters in the frequency hopping communication of the terminal equipment and the household electrical appliance are the same frequency hopping parameters, the connection information comprises distribution network data, and the distribution network data is used for enabling the household electrical appliance to be connected to a target network corresponding to the wireless access point equipment; the terminal device transmits a control instruction to the household appliance device through the target network, wherein the control instruction is used for controlling the household appliance device to execute the operation corresponding to the control instruction.
Optionally, the terminal device determines a frequency hopping parameter, including: the terminal equipment scans the label of the household electrical appliance to obtain the preset frequency hopping parameter in the household electrical appliance, wherein the label is used for providing the preset frequency hopping parameter of the household electrical appliance.
Optionally, the terminal device determines a frequency hopping parameter, including: the terminal equipment receives the frequency hopping parameters input by the target object, or responds to the selection instruction of the target object, and selects the frequency hopping parameters from the preset frequency hopping parameter set.
According to another aspect of the embodiment of the present invention, there is also provided a control method of a home appliance, including: the household electrical appliance determines a frequency hopping parameter; the method comprises the steps that frequency hopping communication is carried out between the household electrical appliance and the terminal equipment to receive connection information sent by the terminal equipment through a near field communication NFC module, wherein parameters in the frequency hopping communication of the terminal equipment and the household electrical appliance are the same frequency hopping parameters, the connection information comprises distribution network data and first identification information, and the distribution network data are used for enabling the household electrical appliance to be connected to a target network corresponding to the wireless access point equipment; the household appliance is connected with wireless access point equipment corresponding to the distribution network data according to the distribution network data, wherein the wireless access point equipment is used for accessing equipment connected to the wireless access point equipment into a target wireless network; the home appliance receives a control instruction transmitted by the terminal equipment through the target network, wherein the control instruction comprises second identification information; the home appliance judges whether the first identification information and the second identification information are the same, and executes an action corresponding to the control instruction when the first identification information is the same as the second identification information.
Optionally, the determining the frequency hopping parameter by the home device includes: the method comprises the steps that the household appliance receives frequency hopping communication information broadcast by the terminal equipment, wherein the frequency hopping communication information at least comprises frequency hopping parameters encrypted according to a preset rule; the household appliance decrypts the frequency hopping communication information according to a preset rule, and obtains frequency hopping parameters.
In the embodiment of the invention, terminal equipment is adopted to determine the frequency hopping parameter; the terminal equipment performs frequency hopping communication with the household electrical appliance through the NFC module so as to send connection information to the household electrical appliance, wherein parameters in the frequency hopping communication of the terminal equipment and the household electrical appliance are the same frequency hopping parameters, the connection information comprises distribution network data, and the distribution network data is used for enabling the household electrical appliance to be connected to a target network corresponding to the wireless access point equipment; the terminal equipment transmits the control instruction to the household electrical appliance through the target network, wherein the control instruction is used for controlling the household electrical appliance to execute the method corresponding to the control instruction, so that the aim of improving the safety of the communication process is fulfilled, the technical effect of improving the safety of the household electrical appliance network distribution process is realized, and the technical problem of unsafe network distribution process caused by directly distributing the network to the household electrical appliance through NFC communication is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
fig. 1 is a schematic structural diagram of a control system of a home appliance according to an embodiment of the present invention;
fig. 2 is a flowchart of a control method of a home appliance according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating another control method of a home appliance according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an interface of a target application according to an embodiment of the invention;
fig. 5 is a schematic structural view of an electric home appliance according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a distribution network according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present invention, a system embodiment of a control system for a home device is provided.
Fig. 1 is a schematic structural diagram of a control system of a home appliance according to an embodiment of the present invention, as shown in fig. 1, the system includes: the wireless access point device comprises a household appliance 20, a terminal device 10 and a wireless access point device 30, wherein the terminal device 10 and the household appliance 20 are configured with the same frequency hopping parameter; the terminal device 10 is configured to transmit, according to the frequency hopping parameter, connection information to the home device 20 through a first near field communication NFC module of the terminal device 10 in a communication manner of frequency hopping communication, where the communication manner is a frequency hopping communication manner corresponding to the frequency hopping parameter, the connection information includes network allocation data and first identification information, and the network allocation data is used to access the home device 20 to a target network corresponding to the wireless access point device 30; and generating a control instruction, and transmitting the control instruction to the home appliance 20 through the wireless access point device 30, wherein the control instruction includes second identification information; the home appliance 20 is configured to connect the home appliance 20 with the wireless access point device 30 corresponding to the distribution network data according to the distribution network data; a wireless access point device 30 for accessing a device connected to the wireless access point device 30 into a target wireless network; the home appliance 20 is further configured to determine whether the first identification information is identical to the second identification information, and execute an action corresponding to the control instruction when the first identification information is identical to the second identification information.
In some embodiments of the present application, the foregoing frequency hopping parameters include a frequency hopping sequence number and a mobile allocation index offset, where the frequency hopping sequence number is used to determine a random or cyclic sequence followed by a frequency hopping point in frequency hopping communications, and the mobile allocation index offset is used to avoid frequency collision between multiple frequency hopping communications processes.
In some embodiments of the present application, the wireless access point device 30 may be a router, and the configuration network data may be an SSID and a password of the router. After receiving the SSID and the password of the router, the home device 20 may write the SSID and the password into a preset program, where the program is used to connect the home device 20 with the router corresponding to the written SSID and password during operation.
In some embodiments of the present application, the network configuration data transmitted by the terminal device 10 is the SSID and password of the router connected to the terminal device.
In some embodiments of the present application, after the home appliance 20 and the terminal device 10 are connected to the same target wireless network through the same router, that is, after the home appliance 20 is successfully configured, the terminal device 10 may issue a control instruction to the home appliance 20 through the target wireless network, so as to control the working state of the home appliance 20.
In some embodiments of the present application, the first identification information and the second identification information each include account authentication information, where the account authentication information is used to log in a target application, and the target application is run on the terminal device 10 and is at least used to control an operating state of the home appliance 20.
In some embodiments of the present application, the account authentication information may be an account and a password used by the user to log in to the target application, or may be a unique id generated by the target application after the login is successful, where each id corresponds to only a unique group of account and password. When the home device 20 receives the control command, the home device 20 determines whether the account currently issuing the control command is the same account as the account in the network configuration according to the account authentication information, and only when the account is determined to be the same account, the home device performs the action required by the control command.
In some embodiments of the present application, when the home device 20 determines that the account currently issuing the control instruction is not an account when the network is configured, a prompt message, such as a red light flash, a prompt tone, etc., is sent to the user. Meanwhile, corresponding prompt information is generated on the target application.
In some embodiments of the present application, the home device 20 may preset corresponding frequency hopping parameters when leaving the factory, and paste a label for providing the frequency hopping parameters on the home device 20, where the label may be in a form of a two-dimensional code or a barcode, etc. In this way, when the network is configured, the terminal device 10 can acquire the preset frequency hopping parameter of the home appliance 20 by scanning the tag on the home appliance 20, so that communication between the terminal device 10 and the home appliance 20 in a frequency hopping communication mode is realized.
In some embodiments of the present application, the terminal device 10 and the home device 20 may be further configured to implement that the same frequency hopping parameters are set in the terminal device 10 and the home device 20: a terminal device 10 configured to receive a control instruction, configure a frequency hopping parameter corresponding to the control instruction, and then generate and broadcast frequency hopping communication information, where the frequency hopping communication information includes at least the frequency hopping parameter encrypted according to a preset rule; the home device 20 is configured to receive the frequency hopping communication information, and decrypt the frequency hopping communication information according to the preset rule to obtain the frequency hopping parameter.
In some embodiments of the present application, the specific flow of setting the same frequency hopping parameters for the terminal device 10 and the home device 20 is as follows: after a user logs in a target application running in the terminal device 10, a frequency hopping parameter can be input on the target application, and then the target application encrypts the input frequency hopping parameter according to a preset rule to obtain the frequency hopping communication information; the terminal device 10 reads the frequency hopping communication information through the target application and broadcasts the encrypted frequency hopping communication information. Then, when the home appliance 20 successfully receives the frequency hopping communication information, successfully decrypts the frequency hopping communication information according to a preset rule, successfully obtains and configures the frequency hopping parameter, the home appliance 20 returns a confirmation message, and when the terminal 10 receives the confirmation message, the network distribution process is started, and meanwhile, related information is displayed to the user on the target application to remind the user that the network distribution process has been started at the moment.
In some embodiments of the present application, the user may select any one of the frequency hopping parameters from the plurality of frequency hopping parameters pre-stored in the target application, in addition to manually inputting the frequency hopping parameters on the target application.
In some embodiments of the present application, a frequency hopping parameter index table may be preset, where the frequency hopping parameter index table includes a plurality of preset frequency hopping parameters and preset custom fields, where each preset custom field corresponds to a unique preset frequency hopping parameter. The foregoing frequency hopping parameter index table may be preset in the target application and the home appliance 20, so that when the user selects any one of the preset frequency hopping parameters on the target application, the terminal device 10 broadcasts the custom field corresponding to the preset frequency hopping parameters. When the home device 20 receives the custom field, the corresponding frequency hopping parameter may be retrieved from the pre-stored frequency hopping parameter index table, and configured accordingly.
In some embodiments of the present application, after determining the frequency hopping parameter through the target application, the user may also choose not to broadcast, and directly manually input the frequency hopping parameter or the custom field corresponding to the frequency hopping parameter into the home appliance 20, so as to configure the same frequency hopping communication parameter in the terminal device 10 and the home appliance 20, and further implement frequency hopping communication between the terminal device 10 and the home appliance 20.
In some embodiments of the present application, as shown in fig. 4, the interactive interface of the target application includes: the system comprises a frequency hopping parameter selection or input module, a prompt message module and a control instruction selection module, wherein the control instruction selection module is used for providing a plurality of control instructions for a user to select, and each control instruction corresponds to the working state of one household appliance 20.
In some embodiments of the present application, as shown in fig. 5, the home appliance 20 further includes a second NFC module 210 and a processor 220, where the second NFC module 210 is connected to the processor 220 through a serial UART (Universal Asynchronous Receiver/Transmitter universal asynchronous receiver Transmitter) and is configured to receive connection information sent by the terminal device 10, and transmit the connection information to the processor 220 of the home appliance 20; the processor 220 is configured to connect to the wireless access point device 30 corresponding to the distribution network data according to the distribution network data in the connection information.
In some embodiments of the present application, the second NFC module 210 may be an NFC tag.
In some embodiments of the present application, before receiving the connection information sent by the terminal device 10 through the NFC communication module in the communication manner of frequency hopping communication, the home appliance 20 further needs to receive an activation instruction, and enter the configuration mode after receiving the activation instruction. The home device 20 receives the connection information when it is in the configuration mode.
In some embodiments of the present application, if the length of time that the home device 20 is in the configuration mode is greater than a preset period of time, and the connection information is not received within the length of time, the home device 20 enters a sleep mode, where the home device 20 does not receive the connection information any more in the sleep mode.
In some embodiments of the present application, the control system of the home appliance may further implement the network configuration process of the home appliance 20 through a flow as shown in fig. 6. Specifically, as shown in fig. 6, the network allocation process includes the following steps:
step S602, the terminal device and the home appliance device set the same frequency hopping parameter, wherein the terminal device can be a smart phone or an intelligent remote controller;
step S604, the home appliance enters a configuration mode, wherein the home appliance only receives the configuration network information in the configuration mode;
step S606, the terminal equipment logs in the target application and starts the NFC function under the condition of connecting the WIFI, wherein the target application can read the network allocation data such as SSID, password and the like of the terminal equipment connected with the WIFI and the account information of the target application;
step S608, the terminal device bumps a second NFC module of the home appliance, and transmits the network configuration data and the account information into the home appliance;
in step S610, the home appliance accesses the WIFI connected to the terminal device according to the distribution network data, and binds the home appliance with the target account according to the account information, wherein only the control instruction sent by the bound account is executed by the home appliance.
By adopting the flow of the frequency hopping communication to the distribution network of the household appliances, the aim of improving the safety of the household appliances distribution network process realized by NFC communication is achieved, and the technical problem of unsafe distribution network process caused by directly distributing the network to the household appliances by NFC communication is solved.
Example 2
According to the embodiment of the invention, a method embodiment of a control method of a household appliance is provided.
Fig. 2 is a flow chart of a control method of a home appliance according to an embodiment of the present invention, as shown in fig. 2, the method includes:
step S202, terminal equipment determines a frequency hopping parameter;
in some embodiments of the present application, the foregoing frequency hopping parameters include a frequency hopping sequence number and a mobile allocation index offset, where the frequency hopping sequence number is used to determine a random or cyclic sequence followed by a frequency hopping point in frequency hopping communications, and the mobile allocation index offset is used to avoid frequency collision between multiple frequency hopping communications processes.
In some embodiments of the present application, a terminal device may scan a label of a home appliance device, and obtain a preset frequency hopping parameter in the home appliance device, so as to implement that the terminal device and the home appliance device have the same frequency hopping parameter configured, where the home appliance device may preset a corresponding frequency hopping parameter when leaving the factory, and paste a label for providing the frequency hopping parameter on the home appliance device, where the label may be in a two-dimensional code or a barcode, etc. form, and is used to provide the preset frequency hopping parameter of the home appliance device. When the network is configured, the terminal equipment can acquire preset frequency hopping parameters of the household appliances by scanning labels on the household appliances, so that communication between the terminal equipment and the household appliances in a frequency hopping communication mode is realized.
In some embodiments of the present application, the terminal device may also determine the frequency hopping parameter by: the terminal equipment receives the frequency hopping parameters input by the target object, or responds to the selection instruction of the target object, and selects the frequency hopping parameters from the preset frequency hopping parameter set.
Optionally, after determining the frequency hopping parameter, the terminal device may further generate and broadcast frequency hopping communication information, where the frequency hopping communication information includes at least the frequency hopping parameter encrypted according to a preset rule; and the household appliance receives the frequency hopping communication information, decrypts the frequency hopping communication information according to a preset rule, and acquires the frequency hopping parameters.
In some embodiments of the present application, the specific flow of setting the same frequency hopping parameters for the terminal device and the home appliance device is as follows: after a user logs in a target application running in the terminal equipment, a frequency hopping parameter can be input on the target application, and then the target application encrypts the input frequency hopping parameter according to a preset rule to obtain the frequency hopping communication information; the terminal device reads the frequency hopping communication information through the target application and broadcasts the encrypted frequency hopping communication information. And then when the household appliance equipment successfully receives the frequency hopping communication information, successfully decrypts according to a preset rule, successfully acquires and configures the frequency hopping parameter, the household appliance equipment returns a confirmation message, and when the terminal equipment receives the confirmation message, the network distribution process is started, and meanwhile, related information is displayed to a user on the target application to remind the user that the network distribution process is started at the moment.
In some embodiments of the present application, a frequency hopping parameter index table may be preset for the home appliance and the target application, where the frequency hopping parameter index table includes a plurality of preset frequency hopping parameters and preset custom fields, where each preset custom field corresponds to a unique preset frequency hopping parameter. Thus, when a user selects any one preset frequency hopping parameter on the target application, the terminal equipment broadcasts a custom field corresponding to the preset frequency hopping parameter. After receiving the custom field, the home device can search the pre-stored frequency hopping parameter index table for the corresponding frequency hopping parameter and perform corresponding configuration.
In some embodiments of the present application, after the user determines the frequency hopping parameter through the target application, the user may choose not to broadcast, and directly manually input the frequency hopping parameter or a custom field corresponding to the frequency hopping parameter into the home appliance, so as to configure the same frequency hopping communication parameter in the terminal device and the home appliance, and further implement frequency hopping communication between the terminal device and the home appliance.
Step S204, the terminal equipment performs frequency hopping communication with the household electrical appliance through the first near field communication NFC module so as to send connection information to the household electrical appliance, wherein parameters in the frequency hopping communication of the terminal equipment and the household electrical appliance are the same frequency hopping parameters, the connection information comprises distribution network data, and the distribution network data is used for enabling the household electrical appliance to be connected to a target network corresponding to the wireless access point equipment;
in some embodiments of the present application, the wireless access point device may be a router, and the configuration network data may be an SSID and a password of the router. After receiving the SSID and the password of the router, the home appliance can write the SSID and the password into a preset section of program, wherein the program is used for connecting the home appliance with the router corresponding to the written SSID and password during operation.
In some embodiments of the present application, the network configuration data transmitted by the terminal device is the SSID and the password of the router connected to the terminal device.
In step S206, the terminal device transmits a control instruction to the home appliance device through the target network, where the control instruction is used to control the home appliance device to execute an operation corresponding to the control instruction.
In some embodiments of the present application, after the home appliance and the terminal device are connected to the same target wireless network through the same router, that is, after the home appliance is successfully configured, the terminal device may issue a control instruction to the home appliance through the target wireless network, so as to control the working state of the home appliance.
In some embodiments of the present application, the connection information sent in step S204 includes first identification information, and the control instruction sent in step S206 includes second identification information, where the first identification information and the second identification information include account authentication information, where the account authentication information is used to log in a target application, and the target application is running on the terminal device and is at least used to control a working state of the home appliance.
In some embodiments of the present application, the account authentication information may be an account and a password used by the user to log in to the target application, or may be a unique id generated by the target application after the login is successful, where each id corresponds to only a unique group of account and password. When the household appliance receives the control instruction, the household appliance determines whether the account which issues the control instruction is the same account as the account when the network is allocated according to the account authentication information, and only when the account is determined to be the same account, the household appliance executes the action required by the control instruction.
In some embodiments of the present application, when the home appliance determines that the account that currently issues the control instruction is not an account when the network is configured, a prompt message, such as a red light flash, a prompt tone, etc., is sent to the user. Meanwhile, corresponding prompt information is generated on the target application.
Example 3
According to the embodiment of the invention, a method embodiment of a control method of a household appliance is provided.
Fig. 3 is a flowchart of a control method of a home appliance according to an embodiment of the present invention, as shown in fig. 3, the method includes:
step S302, the household electrical appliance determines a frequency hopping parameter;
in some embodiments of the present application, the foregoing frequency hopping parameters include a frequency hopping sequence number and a mobile allocation index offset, where the frequency hopping sequence number is used to determine a random or cyclic sequence followed by a frequency hopping point in frequency hopping communications, and the mobile allocation index offset is used to avoid frequency collision between multiple frequency hopping communications processes.
Step S304, the home appliance performs frequency hopping communication with the terminal equipment to receive connection information sent by the terminal equipment through the NFC module, wherein parameters in the frequency hopping communication of the terminal equipment and the home appliance are the same frequency hopping parameters, the connection information comprises distribution network data and first identification information, and the distribution network data is used for enabling the home appliance to be connected to a target network corresponding to the wireless access point equipment;
in some embodiments of the present application, the foregoing home appliance may preset corresponding frequency hopping parameters when leaving the factory, and paste a label for providing the frequency hopping parameters on the home appliance, where the label may be in a form of a two-dimensional code or a bar code, etc. for providing preset frequency hopping parameters of the home appliance. The terminal equipment can scan the label of the household electrical appliance to acquire the preset frequency hopping parameter in the household electrical appliance, thereby realizing the frequency hopping parameter with the same configuration as the household electrical appliance. When the network is configured, the terminal equipment can acquire preset frequency hopping parameters of the household appliances by scanning labels on the household appliances, so that communication between the terminal equipment and the household appliances in a frequency hopping communication mode is realized.
In some embodiments of the present application, the same frequency hopping parameter in the terminal device and the home appliance may also be implemented by: the household appliance receives the frequency hopping communication information broadcast by the terminal equipment, decrypts the frequency hopping communication information according to a preset rule, and obtains frequency hopping parameters.
The method for generating the frequency hopping information comprises the following steps: the terminal equipment receives the control instruction and configures a frequency hopping parameter corresponding to the control instruction; the terminal equipment generates and broadcasts frequency hopping communication information, wherein the frequency hopping communication information at least comprises frequency hopping parameters encrypted according to a preset rule.
In some embodiments of the present application, the specific flow of setting the same frequency hopping parameters for the terminal device and the home appliance device is as follows: after a user logs in a target application running in the terminal equipment, a frequency hopping parameter can be input on the target application, and then the target application encrypts the input frequency hopping parameter according to a preset rule to obtain the frequency hopping communication information; the terminal device reads the frequency hopping communication information through the target application and broadcasts the encrypted frequency hopping communication information. And then when the household appliance equipment successfully receives the frequency hopping communication information, successfully decrypts according to a preset rule, successfully acquires and configures the frequency hopping parameter, the household appliance equipment returns a confirmation message, and when the terminal equipment receives the confirmation message, the network distribution process is started, and meanwhile, related information is displayed to a user on the target application to remind the user that the network distribution process is started at the moment.
In some embodiments of the present application, the user may select any one of the frequency hopping parameters from the plurality of frequency hopping parameters pre-stored in the target application, in addition to manually inputting the frequency hopping parameters on the target application.
In some embodiments of the present application, a frequency hopping parameter index table may be preset, where the frequency hopping parameter index table includes a plurality of preset frequency hopping parameters and preset custom fields, where each preset custom field corresponds to a unique preset frequency hopping parameter. The frequency hopping parameter index table can be preset in the target application and the home appliance, so that when a user selects any one preset frequency hopping parameter on the target application, the terminal device broadcasts a custom field corresponding to the preset frequency hopping parameter. After receiving the custom field, the home device can search the pre-stored frequency hopping parameter index table for the corresponding frequency hopping parameter and perform corresponding configuration.
In some embodiments of the present application, after the user determines the frequency hopping parameter through the target application, the user may choose not to broadcast, and directly manually input the frequency hopping parameter or a custom field corresponding to the frequency hopping parameter into the home appliance, so as to configure the same frequency hopping communication parameter in the terminal device and the home appliance, and further implement frequency hopping communication between the terminal device and the home appliance.
Step S306, the household appliance is connected with wireless access point equipment corresponding to the distribution network data according to the distribution network data, wherein the wireless access point equipment is used for accessing equipment connected to the wireless access point equipment into a target wireless network;
in some embodiments of the present application, the wireless access point device may be a router, and the configuration network data may be an SSID and a password of the router. After receiving the SSID and the password of the router, the home appliance can write the SSID and the password into a preset section of program, wherein the program is used for connecting the home appliance with the router corresponding to the written SSID and password during operation.
In some embodiments of the present application, the network configuration data transmitted by the terminal device is the SSID and the password of the router connected to the terminal device.
Step S308, the household appliance receives a control instruction transmitted by the terminal equipment through the target network, wherein the control instruction comprises second identification information;
in some embodiments of the present application, after the home appliance and the terminal device are connected to the same target wireless network through the same router, that is, after the home appliance is successfully configured, the terminal device may issue a control instruction to the home appliance through the target wireless network, so as to control the working state of the home appliance.
In step S310, the home appliance determines whether the first identification information and the second identification information are the same, and executes an action corresponding to the control instruction when the first identification information is the same as the second identification information.
In some embodiments of the present application, the first identification information and the second identification information each include account authentication information, where the account authentication information is used to log in a target application, and the target application is run on the terminal device and is at least used to control a working state of the home appliance.
In some embodiments of the present application, the account authentication information may be an account and a password used by the user to log in to the target application, or may be a unique id generated by the target application after the login is successful, where each id corresponds to only a unique group of account and password. When the household appliance receives the control instruction, the household appliance determines whether the account which issues the control instruction is the same account as the account when the network is allocated according to the account authentication information, and only when the account is determined to be the same account, the household appliance executes the action required by the control instruction.
In some embodiments of the present application, when the home appliance determines that the account that currently issues the control instruction is not an account when the network is configured, a prompt message, such as a red light flash, a prompt tone, etc., is sent to the user. Meanwhile, corresponding prompt information is generated on the target application.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.
Claims (12)
1. A control system for an electric home appliance, comprising: the system comprises household electrical equipment, terminal equipment and wireless access point equipment, wherein the terminal equipment and the household electrical equipment are configured with the same frequency hopping parameters;
the terminal equipment is configured to transmit connection information to the home appliance through a first near field communication NFC module of the terminal equipment according to the frequency hopping parameter in a communication manner of frequency hopping communication, where the communication manner is a frequency hopping communication manner corresponding to the frequency hopping parameter, the connection information includes network allocation data and first identification information, and the network allocation data is used to access the home appliance to a target network corresponding to a wireless access point device; generating a control instruction, and transmitting the control instruction to the household appliance through the wireless access point equipment, wherein the control instruction comprises second identification information;
the household electrical appliance is used for connecting the household electrical appliance with the wireless access point equipment corresponding to the distribution network data according to the distribution network data;
the wireless access point device is used for accessing the device connected to the wireless access point device into a target wireless network;
the household electrical appliance is further used for judging whether the first identification information is identical to the second identification information or not, and executing actions corresponding to the control instructions when the first identification information is identical to the second identification information.
2. The system of claim 1, wherein the home device further comprises: a second NFC module and a processor, wherein,
the second NFC module is connected with the processor through a serial port and is used for receiving the connection information and transmitting the distribution network data to the processor of the household appliance;
the processor is used for connecting with wireless access point equipment corresponding to the distribution network data according to the distribution network data in the connection information.
3. The system of claim 1, wherein the terminal device is further configured to obtain the frequency hopping parameter by:
and scanning a label of the household electrical appliance to acquire and configure preset frequency hopping parameters in the household electrical appliance, wherein the label is used for providing the preset frequency hopping parameters of the household electrical appliance.
4. The system of claim 1, wherein the system further comprises a controller configured to control the controller,
the terminal equipment is used for receiving the control instruction and configuring the frequency hopping parameter corresponding to the control instruction; generating and broadcasting frequency hopping communication information, wherein the frequency hopping communication information at least comprises the frequency hopping parameters encrypted according to a preset rule;
the household electrical appliance is used for receiving the frequency hopping communication information, decrypting the frequency hopping communication information according to the preset rule and obtaining the frequency hopping parameter.
5. The system of claim 1, wherein the home device is further configured to receive an activation instruction before the connection information is transferred to the home device in a communication manner of frequency hopping communication through the NFC communication module of the terminal device, and enter a configuration mode after receiving the activation instruction.
6. The system of claim 5, wherein the home device is further configured to enter a sleep mode when a length of time the home device is in the configuration mode is greater than a preset period of time and the connection information is not received within the length of time, wherein the home device is no longer receiving the connection information in the sleep mode.
7. The system of claim 1, wherein the first identification information and the second identification information each include account authentication information, wherein the account authentication information is used for logging in a target application, and the target application is run on the terminal device and is at least used for controlling an operating state of the home appliance.
8. A control method of a home appliance, comprising:
the terminal equipment determines a frequency hopping parameter;
the terminal equipment performs frequency hopping communication with the household electrical appliance through a first near field communication NFC module so as to send connection information to the household electrical appliance, wherein parameters in frequency hopping communication of the terminal equipment and the household electrical appliance are the same frequency hopping parameters, the connection information comprises distribution network data, and the distribution network data is used for enabling the household electrical appliance to be connected into a target network corresponding to a wireless access point device;
and the terminal equipment transmits a control instruction to the household electrical appliance through the target network, wherein the control instruction is used for controlling the household electrical appliance to execute the operation corresponding to the control instruction.
9. The method of claim 8, wherein the terminal device determines the frequency hopping parameter, comprising:
the terminal equipment scans a label of the household electrical equipment, and obtains preset frequency hopping parameters in the household electrical equipment from the label, wherein the label is used for providing the preset frequency hopping parameters of the household electrical equipment.
10. The method of claim 8, wherein the terminal device determines the frequency hopping parameter, comprising:
the terminal equipment receives the frequency hopping parameter input by the target object, or responds to a selection instruction of the target object, and selects the frequency hopping parameter from a preset frequency hopping parameter set.
11. A control method of a home appliance, comprising:
the household electrical appliance determines a frequency hopping parameter;
the home appliance performs frequency hopping communication with a terminal device to receive connection information sent by the terminal device through a near field communication NFC module, wherein parameters in the frequency hopping communication of the terminal device and the home appliance are the same frequency hopping parameters, the connection information comprises distribution network data and first identification information, and the distribution network data is used for enabling the home appliance to be connected into a target network corresponding to a wireless access point device;
the household appliance is connected with wireless access point equipment corresponding to the distribution network data according to the distribution network data, wherein the wireless access point equipment is used for accessing equipment connected to the wireless access point equipment into a target wireless network;
the household appliance receives a control instruction transmitted by the terminal equipment through the target network, wherein the control instruction comprises second identification information;
and the household appliance judges whether the first identification information and the second identification information are the same or not, and executes the action corresponding to the control instruction when the first identification information is the same as the second identification information.
12. The method of claim 11, wherein the home device determining the frequency hopping parameter comprises:
the household appliance receives frequency hopping communication information broadcast by the terminal equipment, wherein the frequency hopping communication information at least comprises the frequency hopping parameters encrypted according to a preset rule;
and the household appliance decrypts the frequency hopping communication information according to the preset rule to acquire the frequency hopping parameters.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110714979.9A CN113485179B (en) | 2021-06-25 | 2021-06-25 | Control system and control method for household electrical appliance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110714979.9A CN113485179B (en) | 2021-06-25 | 2021-06-25 | Control system and control method for household electrical appliance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113485179A CN113485179A (en) | 2021-10-08 |
CN113485179B true CN113485179B (en) | 2023-07-21 |
Family
ID=77936322
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110714979.9A Active CN113485179B (en) | 2021-06-25 | 2021-06-25 | Control system and control method for household electrical appliance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113485179B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105357629A (en) * | 2015-11-20 | 2016-02-24 | 青岛海尔股份有限公司 | Method and device used for binding mobile terminal with intelligent household electrical appliance |
EP3035738A1 (en) * | 2014-12-15 | 2016-06-22 | Xiaomi Inc. | Method for connecting appliance to network and device for the same |
WO2017028651A1 (en) * | 2015-08-14 | 2017-02-23 | 北京奇虎科技有限公司 | Method, apparatus and system for performing configuration setting between devices |
WO2017189111A1 (en) * | 2016-04-27 | 2017-11-02 | Qualcomm Incorporated | Near field communication (nfc) to bluetooth handover |
WO2020019789A1 (en) * | 2018-07-25 | 2020-01-30 | Oppo广东移动通信有限公司 | Neighborhood aware networking creation method and related product |
WO2021017053A1 (en) * | 2019-07-31 | 2021-02-04 | 广东美的制冷设备有限公司 | Network distribution control method and apparatus, household appliance, and storage medium |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5710760A (en) * | 1995-11-29 | 1998-01-20 | Lucent Technologies Inc. | Out-of-band control for performing a loopback test for asynchronous transfer mode (ATM) networks |
CN103019162B (en) * | 2011-09-28 | 2015-10-28 | 海尔集团公司 | A kind of intelligent appliance supervisory system and method |
US9155026B2 (en) * | 2012-01-10 | 2015-10-06 | Htc Corporation | Systems for facilitating wireless communication and related methods |
KR101417251B1 (en) * | 2012-02-23 | 2014-07-14 | 전북대학교산학협력단 | System for managementing fish farm having a wireless network function |
CN107426725A (en) * | 2017-04-12 | 2017-12-01 | 深圳市友悦机器人科技有限公司 | Radio network configuration device, intelligent terminal and internet of things equipment |
CN107071863A (en) * | 2017-05-02 | 2017-08-18 | 青岛海尔空调器有限总公司 | A kind of household electrical appliances match somebody with somebody network method, household electrical appliances and user terminal |
CN111130957A (en) * | 2019-12-17 | 2020-05-08 | 广东美的厨房电器制造有限公司 | Network distribution method and device for household electrical appliance equipment |
CN112752325A (en) * | 2020-12-30 | 2021-05-04 | 珠海格力电器股份有限公司 | Network distribution method and device of household appliance, computer readable storage medium and processor |
-
2021
- 2021-06-25 CN CN202110714979.9A patent/CN113485179B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3035738A1 (en) * | 2014-12-15 | 2016-06-22 | Xiaomi Inc. | Method for connecting appliance to network and device for the same |
WO2017028651A1 (en) * | 2015-08-14 | 2017-02-23 | 北京奇虎科技有限公司 | Method, apparatus and system for performing configuration setting between devices |
CN105357629A (en) * | 2015-11-20 | 2016-02-24 | 青岛海尔股份有限公司 | Method and device used for binding mobile terminal with intelligent household electrical appliance |
WO2017189111A1 (en) * | 2016-04-27 | 2017-11-02 | Qualcomm Incorporated | Near field communication (nfc) to bluetooth handover |
WO2020019789A1 (en) * | 2018-07-25 | 2020-01-30 | Oppo广东移动通信有限公司 | Neighborhood aware networking creation method and related product |
WO2021017053A1 (en) * | 2019-07-31 | 2021-02-04 | 广东美的制冷设备有限公司 | Network distribution control method and apparatus, household appliance, and storage medium |
Non-Patent Citations (1)
Title |
---|
蓝牙5.0 mesh组网技术及其在光伏电站中的应用;唐孝舟;翟剑华;王建锋;杨毅;;电力工程技术(第06期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113485179A (en) | 2021-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106878923B (en) | Quick networking method for ultra-low power consumption intelligent equipment and intelligent home system | |
CN109495358B (en) | Network distribution method and network distribution system for household appliances | |
CN111866998A (en) | Bluetooth network distribution method, equipment and storage medium | |
CN111130957A (en) | Network distribution method and device for household electrical appliance equipment | |
CN107006049A (en) | A kind of smart machine and its set up the method for equipment room bluetooth connection, device | |
CN111246539A (en) | Networking binding method of intelligent household appliance, intelligent household appliance and user terminal | |
CN103369035A (en) | Two dimensional code-based intelligent household electrical appliance communication method | |
CN104580175A (en) | Equipment authorization method and device | |
CN109413653B (en) | Network distribution method and network distribution system for household appliances | |
CN105100279A (en) | Control method and device for household appliance | |
CN112152887A (en) | Network distribution method and device of household appliance, electronic device and storage medium | |
CN111818528B (en) | Connection method and device of wireless local area network, storage medium and wireless access equipment | |
CN110198257A (en) | A kind of method, device and equipment that smart machine is shared | |
CN114189863A (en) | Binding method and device of intelligent door lock, storage medium and electronic device | |
CN111327653A (en) | Equipment network distribution method, medium, household appliance and device | |
CN106792994A (en) | Method and device for sharing WIFI of dual-system terminal | |
CN112752325A (en) | Network distribution method and device of household appliance, computer readable storage medium and processor | |
CN106603374B (en) | A kind of automatic bridge joint method and system | |
CN111385611B (en) | Account login method of smart television, smart television and terminal equipment | |
KR101825432B1 (en) | Method for remotely managing accessing access points and home device thereof | |
CN112867041B (en) | Network distribution method of household appliance, mobile terminal and medium | |
CN113485179B (en) | Control system and control method for household electrical appliance | |
CN108174372A (en) | Method for network access, device, electronic equipment and storage medium | |
CN110808984A (en) | M2M terminal control method and related equipment | |
CN114900385A (en) | Household appliance binding method and device, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |