CN112867041A - Network distribution method of household appliance, mobile terminal and medium - Google Patents

Network distribution method of household appliance, mobile terminal and medium Download PDF

Info

Publication number
CN112867041A
CN112867041A CN202011581752.3A CN202011581752A CN112867041A CN 112867041 A CN112867041 A CN 112867041A CN 202011581752 A CN202011581752 A CN 202011581752A CN 112867041 A CN112867041 A CN 112867041A
Authority
CN
China
Prior art keywords
mobile terminal
distribution
network
distribution network
household appliance
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.)
Granted
Application number
CN202011581752.3A
Other languages
Chinese (zh)
Other versions
CN112867041B (en
Inventor
赖运娥
叶楚汉
林羽帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN202011581752.3A priority Critical patent/CN112867041B/en
Publication of CN112867041A publication Critical patent/CN112867041A/en
Application granted granted Critical
Publication of CN112867041B publication Critical patent/CN112867041B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a network distribution method of household appliances, the household appliances, a mobile terminal and a medium. The method comprises the following steps: the household appliance equipment establishes communication connection with the mobile terminal; the household appliance equipment receives the pre-distribution network data sent by the mobile terminal; the household appliance device performs distribution network distribution with the wireless routing device based on the distribution network distribution data, and stores a distribution network distribution result; the household appliance equipment judges whether a distribution network instruction sent by the mobile terminal is received within preset time; and responding to the distribution network distribution instruction received in the preset time, and sending a distribution network distribution pre-distribution result to the mobile terminal so as to complete the distribution network of the household appliance. By means of the mode, the distribution network waiting time of the household appliance can be reduced.

Description

Network distribution method of household appliance, mobile terminal and medium
Technical Field
The present application relates to the field of smart home technologies, and in particular, to a network distribution method for a home appliance, a mobile terminal, and a computer-readable storage medium.
Background
At present, the traditional household appliances are gradually accessed to the field of the internet of things, the concept of the family internet of things is gradually permeated in the life of common people, and the new trend also injects innovation vitality into the traditional household appliance industry. The user can control or acquire the running state of the household appliance through the mobile terminal, and the running of the household appliance can be remotely controlled or the state of the household appliance can be monitored even if the user is not close to the household appliance, so that convenience is brought to the user.
Before a user uses the mobile terminal to control the household appliance for the first time, a network needs to be configured for the household appliance so that the household appliance can be accessed to the internet, and therefore the user can use the mobile terminal to control the household appliance.
In the related art, as the network distribution process of the household electrical appliance is complicated, the problem of long waiting time of a user in the network distribution process exists.
Disclosure of Invention
The application provides a network distribution method of household appliances, the household appliances, a mobile terminal and a computer readable storage medium, which are used for solving the problem of long waiting time of network distribution of the household appliances in the related art.
In order to solve the technical problem, the application provides a network distribution method of household electrical appliances. The method comprises the following steps: the household appliance equipment establishes communication connection with the mobile terminal; the household appliance equipment receives the pre-distribution network data sent by the mobile terminal; the household appliance device performs distribution network distribution with the wireless routing device based on the distribution network distribution data, and stores a distribution network distribution result; the household appliance equipment judges whether a distribution network instruction sent by the mobile terminal is received within preset time; and responding to the distribution network distribution instruction received in the preset time, and sending a distribution network distribution pre-distribution result to the mobile terminal so as to complete the distribution network of the household appliance.
In order to solve the technical problem, the application provides a network distribution method of household electrical appliances. The method comprises the following steps: the mobile terminal establishes communication connection with the household appliance; the mobile terminal sends pre-distribution network data to the household appliance equipment based on the communication connection, so that the household appliance equipment performs pre-distribution network with the wireless routing equipment according to the pre-distribution network data and stores a pre-distribution network result; the mobile terminal judges whether a distribution network instruction sent by a user to the household appliance is received within a preset time; responding to the receiving of a distribution network instruction within the preset time, and sending the distribution network instruction to the household appliance by the mobile terminal; the mobile terminal receives a pre-distribution network result returned by the household appliance according to the distribution network instruction; and the mobile terminal completes the network distribution process based on the network pre-distribution result.
In order to solve the technical problem, the application provides a household appliance. The household appliance comprises a processor, a memory and a communication circuit, wherein the processor is coupled with the memory and the communication circuit and executes instructions during working so as to realize the network distribution method of the household appliance by matching with the memory and the communication circuit.
To solve the above technical problem, the present application provides a computer-readable storage medium. The computer readable storage medium stores a computer program, which can be executed by a processor to implement the network distribution method of the household appliance.
Before this application assigned household electrical appliances's net distribution instruction through formally giving down at the user, household electrical appliances establish communication connection with mobile terminal earlier to receive the pre-distribution network data that is used for joining in marriage the net from mobile terminal based on communication connection, household electrical appliances use pre-distribution network data to carry out net distribution in advance, remain net distribution in advance result, when the user formally gives down net distribution instruction, return net distribution in advance result, can reduce the waiting time when user household electrical appliances join in marriage the net.
Drawings
Fig. 1 is a schematic structural diagram of an embodiment of a distribution network system of a home appliance device provided in the present application;
fig. 2 is a schematic flowchart of a first embodiment of a network distribution method for a home appliance device according to the present application;
fig. 3 is a schematic flowchart of an embodiment of establishing a communication connection between a home appliance and a mobile terminal according to the present application;
fig. 4 is a schematic flowchart of a second embodiment of a network distribution method for a home appliance provided in the present application;
fig. 5 is a schematic structural diagram of an embodiment of a home appliance provided in the present application;
FIG. 6 is a schematic structural diagram of an embodiment of a mobile terminal provided in the present application;
FIG. 7 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided in the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the network distribution method of the home appliance, the mobile terminal, and the computer-readable storage medium provided in the present application are described in further detail below with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an embodiment of a distribution network system of a home appliance device provided in the present application.
The distribution network system 10 of the home appliance device of the embodiment includes a home appliance device 11, a mobile terminal 12, and a wireless routing device 13. The home appliance 11 in fig. 1 is only illustrated as an air conditioner, and the present application is not limited thereto.
The home device 11 may be a home appliance with a networking function, and a communication module (not shown) is installed in the home device 11, for example, the home device 11 may access the internet or be networked with other electronic devices based on the communication module. The household electrical appliance 11 may be a white household electrical appliance such as a refrigerator, an air conditioner, a washing machine, a range hood, a dish washer or a water heater, a black household electrical appliance such as a television or a sound, or one or more small household electrical appliances such as an induction cooker, an electric kettle, an electric fan, a soybean milk machine or a juice extractor.
The mobile terminal 12 is, for example, a smart phone, a tablet computer, a notebook computer, or a smart wearable device.
The mobile terminal 12 can establish a communication connection with the home appliance 11, and before a user issues a distribution network instruction to the home appliance through the mobile terminal 12, the mobile terminal 12 sends pre-distribution network data available for a distribution network to the home appliance 11 through the communication connection. The communication modules of the mobile terminal 12 and the home appliance 11 include, for example, bluetooth, ZigBee, Zwave, radio frequency, or infrared. The mobile terminal 12 and the home appliance 11 establish a bluetooth connection, a ZigBee connection, a Zwave connection, a radio frequency connection, or an infrared connection therebetween, so as to transmit the pre-configured network data to the home appliance 11.
The provisioning data includes, for example, an SSID (Service Set Identifier) and a password of the wireless routing device 13. After receiving the pre-distribution network data, the home appliance 11 accesses the corresponding wireless routing device 13 by using the pre-distribution network data to perform pre-distribution network. The household appliance 11 stores the result of the pre-distribution network, keeps the state of the pre-distribution network within a preset time, and waits for a user to formally issue a distribution network instruction of the household appliance 11.
The mobile terminal 12 may display an image, a name, a commodity code, or the like of the home appliance 11 on the screen, and prompt the user that the home appliance 11 is not yet connected to the network, so as to connect the network. The mobile terminal 12 listens to the operation of the user on the mobile terminal 12 to obtain the distribution network instruction of the user on the household appliance 11.
If the mobile terminal 12 receives a distribution network instruction of the user to the home appliance 11 within a preset time period, the distribution network instruction is sent to the home appliance 11. The home device 11 returns the stored provisioning network result to the mobile terminal 12. At this moment, the household appliance 11 has accessed the wireless routing device 13 by using the pre-distribution network data, the wireless routing device 13 does not need to be accessed when the user issues a distribution network instruction, the time consumed by the process from receiving the distribution network instruction to returning the pre-distribution network result by the household appliance 11 is short, and the influence of weak and unstable wireless router signals is avoided, so that the waiting time of the user when the household appliance 11 is distributed with the network can be shortened, the user can finish the distribution network of the household appliance 11 without perception, and the network access rate of the household appliance 11 is improved.
After receiving the result of the pre-configured network of the home appliance 11, the mobile terminal 12 displays the result of the pre-configured network on the screen to notify the user whether the home appliance 11 is successfully configured and a coping strategy when the pre-configured network fails, thereby completing the network configuration of the home appliance 11.
Based on the network distribution system of the household electrical appliance, the following network distribution method of the household electrical appliance can be realized. Referring to fig. 2, fig. 2 is a schematic flowchart of a network distribution method for a home appliance according to a first embodiment of the present application. The execution main body of the embodiment is a household appliance, and the embodiment includes the following steps:
s210: and the household appliance equipment establishes communication connection with the mobile terminal.
The household electrical appliance and the household electrical appliance are provided with the communication module, and communication connection is established between the household electrical appliance and the household electrical appliance based on the communication module.
The communication module of the mobile terminal and the household appliance comprises Bluetooth, ZigBee, Zwave, radio frequency or infrared. Bluetooth connection, ZigBee connection, Zwave connection, radio frequency connection or infrared connection are established between the mobile terminal and the household appliance equipment so as to transmit data.
The communication modules of the mobile terminal and the household appliance equipment can also comprise WiFi modules respectively so as to be connected with the wireless routing equipment based on WiFi and access the Internet.
Specifically, referring to fig. 3, fig. 3 is a schematic flow chart of an embodiment of establishing a communication connection between a home appliance and a mobile terminal according to the present application, where the embodiment includes the following steps:
s211: the home appliance sends out a wireless broadcast.
After the household electrical appliance is powered on, whether the household electrical appliance is distributed with a network or not is detected, and if the household electrical appliance is determined not to be distributed with the network, the communication module is utilized to send out wireless broadcast, so that the household electrical appliance can be scanned and sensed by the mobile device.
The identification code may be included in the wireless broadcast to enable the home device to be accurately matched with the mobile terminal. The identification code includes a specific bluetooth name, company name or protocol version number, etc.
S212: the household appliance equipment receives a communication connection request sent by the mobile terminal.
The communication connection request is sent by the mobile terminal in response to the monitoring that the household appliance control program installed in the mobile terminal is started, the wireless broadcast is scanned, and the wireless broadcast is verified to meet the preset conditions.
The mobile terminal starts a running household appliance control program, which indicates that a user is possible to use the household appliance control program to control household appliances, and for the household appliances which are not provided with the network previously, the network needs to be distributed first. Therefore, the mobile terminal scans the wireless broadcast in the surrounding environment by using the communication module in response to the start of the household appliance control program.
Before scanning the wireless broadcast, the mobile terminal needs to determine that the communication module is in an open state. If the communication module is not started, after the household appliance control program is started, a request for starting the communication module can be initiated to a user so as to remind the user to start the communication module; or the household appliance control program is granted with the permission of turning on and turning off the Bluetooth by the user, and the mobile terminal automatically turns on the communication module according to the permission after starting the household appliance control program, so that the mobile terminal can scan the wireless broadcast by using the communication module.
Further, after the mobile terminal scans and receives the wireless broadcast, whether the wireless broadcast meets the preset conditions is verified.
For example, the identification code carried by the wireless broadcast of the mobile terminal is compared with the identification code in the communication protocol to determine whether the identification code carried by the wireless broadcast is consistent with the identification code in the communication protocol. If the wireless broadcast is consistent with the preset condition, the wireless broadcast can be determined to be in accordance with the preset condition, and a communication connection request can be initiated to the household appliance. Therefore, the mobile terminal and the household appliance can be accurately matched, and inconvenience and risk caused by the fact that any mobile terminal and program are in communication connection with the household appliance are reduced.
For example, the washing machine sends out a bluetooth broadcast after being powered on, the bluetooth broadcast carries the bluetooth name MD100V11D of the washing machine, the company name MIDEA of the production washing machine, and the bluetooth protocol version V2.0. After scanning the Bluetooth broadcast, the mobile terminal checks the protocol version in the Bluetooth broadcast and analyzes whether the MD100V11D and MIDEA belong to the Bluetooth name and company name agreed in the communication protocol. The mobile terminal determines that the identification code carried in the Bluetooth broadcast is consistent with the communication protocol through comparison, and then the washing machine can be determined to be controlled by a household appliance control program (such as American household APP) running on the mobile terminal.
Optionally, the mobile terminal may further determine whether the distance between the mobile terminal and the home appliance is smaller than a threshold, so as to improve the accuracy of matching between the mobile terminal and the home appliance, and reduce the possibility of connecting the mobile terminal and the home appliance in a neighboring home.
Specifically, the mobile terminal detects a Received RSSI (Received Signal Strength Indication) value of the radio broadcast, and calculates a distance between the mobile terminal and the home appliance at present based on the RSSI value. Generally, the greater the RSSI value (negative RSSI value), the closer the distance between the mobile terminal and the home appliance. And when the calculated distance is smaller than the threshold value, determining that the wireless broadcast meets the preset condition, and sending a communication connection request to the household appliance.
The threshold of the distance may be 3 meters, 5 meters, 8 meters, 10 meters, or 20 meters, and may be specifically set according to a specific application scenario of the home appliance, for example, a house area, and the application is not limited thereto.
S213: the home appliance verifies whether the communication connection request is legal.
Any wireless communication technology has the possibility of being monitored and cracked, and in order to ensure the communication safety of the household appliance, the household appliance needs to confirm whether a communication connection request is legal or not.
There are various methods for verifying whether the communication connection request is legitimate. For example, the communication connection request carries a random number generated by the mobile terminal and a first contract code generated based on the random number and the contract password. The household appliance calculates the random number by using the received random number and the appointed password stored by the household appliance to obtain a second appointed code. The household appliance compares whether the first agreed code is consistent with the second agreed code, if so, the communication connection request is determined to be legal, and S214 is executed; if not, the communication connection request may be determined to be illegal, and S215 is performed.
S214: the household appliance responds to the communication connection request to establish communication connection with the mobile terminal.
After the household appliance equipment determines that the communication connection request of the mobile terminal is legal, the household appliance equipment responds to the communication connection request to the mobile terminal so as to inform the mobile terminal that the household appliance equipment agrees to establish communication connection with the mobile terminal.
S215: the home appliance refuses to connect with the mobile terminal.
After the household appliance determines that the communication connection request of the mobile terminal is illegal, the household appliance terminates the communication protocol and refuses to establish communication connection with the mobile terminal so as to ensure the safety of the household appliance.
S220: and the household appliance equipment receives the pre-distribution network data sent by the mobile terminal.
And based on the communication connection between the household appliance and the mobile terminal, the household appliance receives the pre-distribution network data from the mobile terminal.
The provisioning data includes, for example, an SSID (Service Set Identifier) and a password of the wireless routing device.
The SSID is used for determining which wireless routing device the household appliance is connected with, and the password is used for authentication through the wireless routing device, so that the household appliance can access the Internet.
In this embodiment, the mobile terminal establishes connection with the wireless routing device, and the SSID and the password of the wireless routing device are stored in the mobile terminal. The mobile terminal can select the SSID and the password of the wireless routing device which is currently accessed by the mobile terminal as pre-configured network data and send the pre-configured network data to the household appliance. If the mobile terminal is not connected with any wireless routing device currently, the mobile terminal can inquire the SSID and the password corresponding to the currently available wireless routing device in the historical connection record. The mobile terminal can also inquire distribution network data used when other household appliances are distributed as pre-distribution network data. If the wireless local area network module of the mobile terminal is closed and available wireless routing devices in the current environment cannot be scanned, the mobile terminal can also determine which SSID and password of the wireless routing device are sent to the household electrical appliance as pre-configured network data according to the current positioning information, for example, the current location mark of the mobile terminal is determined to be home according to the positioning information, and then the mobile terminal can obtain the SSID and password of the wireless routing device which is connected at the current location in the past. When there are multiple available wireless routing devices, the mobile terminal may determine the SSID and password of the routing device with the greatest signal strength as the pre-configured network data.
In order to ensure the security of the pre-distribution network data and resist man-in-the-middle attacks, eavesdropping and the like in the communication process of the household appliance equipment and the mobile terminal, the pre-distribution network data can be in an encrypted state. Specifically, after the mobile terminal acquires the pre-distribution network data, the encryption key agreed in the protocol is used for encrypting the pre-distribution network data in the plaintext state, and the pre-distribution network data in the encrypted state is obtained. After the household appliance equipment receives the pre-configured network data in the encrypted state, the pre-configured network data in the encrypted state is decrypted by using a decryption key agreed in the protocol to obtain the pre-configured network data in a plaintext state. The household appliance accesses the wireless routing equipment by using the pre-configured network data in the plaintext state.
The encryption key and the decryption key may be the same (symmetric encryption) or different (asymmetric encryption). When the encryption key and the decryption key are different, the difficulty of breaking the pre-distribution network data can be improved, and the safety of the pre-distribution network data is improved.
S230: and the household appliance device performs distribution network distribution with the wireless routing device based on the distribution network distribution data, and stores the distribution network distribution result.
The household appliance uses the pre-distribution network data to request to access the wireless routing equipment corresponding to the pre-distribution network data so as to perform pre-distribution network and store the pre-distribution network result.
Because the user starts the household appliance control program on the mobile terminal, a certain time interval exists until the user sends the distribution network instruction to the household appliance through the household appliance control program, and the steps S210-S230 of the application are carried out when the user starts the household appliance control program but does not formally send the distribution network instruction, so that the user has no sense on the pre-distribution network operation of the household appliance. In this way, the household appliance performs the pre-distribution network in the period, so that the waiting time of the user in the process of distributing the network for the household appliance can be shortened, and the user operation can be simplified.
The provisioning network results may include provisioning network success and provisioning network failure. The household appliances can be networked if the pre-distribution network is successful, namely the household appliances are successfully accessed to the wireless routing equipment. If the pre-distribution network fails, the household appliances cannot access the wireless routing device based on the pre-distribution network data, and the household appliances cannot be networked.
When the pre-distribution network is successful, the household electrical appliance keeps the pre-distribution network state because the user has not formally issued a distribution network instruction. That is, the home appliance does not send a message that the home appliance has successfully distributed the network to the mobile terminal or the cloud server, and further the home appliance does not bind to the user account or the mobile terminal logged in the home appliance control program before receiving the distribution network command.
S240: the household appliance equipment judges whether a distribution network instruction sent by the mobile terminal is received within preset time, wherein the distribution network instruction is generated based on the operation of a user on the mobile terminal.
The household appliance keeps a pre-distribution network state within a preset time, and waits for receiving a distribution network instruction sent to the household appliance by a user through the mobile terminal.
The network distribution instruction is generated by the mobile terminal through preset operations such as voice induction and recognition of a user, clicking of a screen of the mobile terminal, pressing of a button or a gesture on the mobile terminal and the like. Specifically, after the mobile terminal scans the wireless broadcast sent by the household appliance, on one hand, the mobile terminal establishes communication connection with the household appliance and sends pre-distribution network data, on the other hand, the mobile terminal inquires the picture, model or household appliance type of the household appliance sending the wireless broadcast, displays the related information of the household appliance on the screen of the mobile terminal or sends out voice prompt to prompt the user to find the household appliance without a distribution network and inquire whether the user needs to distribute the distribution network for the household appliance. The user operates the mobile terminal based on the current prompt of the mobile terminal, for example, clicking the position of the display "determine" on the screen, sending voice instructions such as "good", "determine" or "distribution network", or pressing the volume key of the mobile terminal to determine the operation of the distribution network of the household appliance. The mobile terminal generates a distribution network instruction based on the operation of the user.
Certainly, the user does not operate the mobile terminal, quit the household appliance control program or send out corresponding operation which does not distribute the network for the household appliance within a certain time, and the mobile terminal does not generate a network distribution instruction and also does not send the network distribution instruction to the household appliance. Of course, the mobile terminal may send the information of ending the distribution network to the home appliances, so that the home appliances exit the distribution network pre-distribution mode and continue to send out the wireless broadcast.
If the household appliance equipment does not receive the distribution network instruction sent by the mobile terminal within the preset time, the household appliance equipment exits the preset distribution network mode, the communication connection with the mobile terminal is disconnected, the household appliance equipment enters the network to be distributed again, and the wireless broadcast is continuously sent out, so that the power consumption of the household appliance equipment and the power consumption of the mobile terminal are reduced, the household appliance equipment can be found by other mobile terminals after exiting the preset distribution network mode, and then the distribution network is carried out through other mobile terminals.
The preset time may be 2 minutes, 5 minutes, 10 minutes, 20 minutes, 30 minutes, or the like.
S250: and responding to the distribution network distribution instruction received in the preset time, and sending a distribution network distribution pre-distribution result to the mobile terminal so as to complete the distribution network of the household appliance.
And if the household appliance equipment receives the distribution network instruction within the preset time, sending the stored pre-distribution network result to the mobile terminal to complete the distribution network of the household appliance equipment.
And when the result of the pre-distribution network is that the pre-distribution network is successful, sending a message of successful pre-distribution network to the mobile terminal based on the communication connection. And the mobile terminal displays the success of the distribution network or sends out a voice prompt of the success of the distribution network on a screen according to the message of the success of the pre-distribution network so as to remind the user that the household appliance equipment completes the distribution network.
Further, the household appliance stores the pre-distribution network data, the communication connection with the mobile terminal is disconnected, and the household appliance completes distribution of the network.
And when the result of the pre-distribution network is that the pre-distribution network fails, sending a message of the failure of the pre-distribution network to the mobile terminal based on the communication connection. The failure of the pre-distribution network can be caused by various reasons, such as a password error in the pre-distribution network data, a wireless routing device corresponding to an SSID in the pre-distribution network not being in an accessible range, or a current working frequency band of the wireless routing device not being consistent with a frequency band supported by the household appliance device.
And the household appliance equipment analyzes the reason of the failure of the pre-distribution network and stores an error code corresponding to the failure of the pre-distribution network as a pre-distribution network result.
And the mobile terminal receives the result of the pre-distribution network and can determine the reason of the failure of the pre-distribution network according to the error code. When the failure error code of the pre-configured network is a password error or the wireless routing equipment corresponding to the SSID in the pre-configured network is not in the accessible range, the mobile terminal displays an interface for inputting the distribution network data on a screen or displays an interface for confirming the distribution network data so as to prompt a user to input or modify the distribution network data again. And the mobile terminal monitors the input operation of the user to obtain new distribution network data and sends the new distribution network data to the household appliance.
And the household appliance equipment receives the new distribution network data sent by the mobile terminal, and uses the new distribution network data to carry out distribution network again with the wireless network equipment. If the network distribution is successful, the household appliance equipment sends a message of successful network distribution to the mobile terminal and closes the communication connection with the mobile terminal; if the number of distribution network failure times exceeds a threshold value, for example, 3 times, 5 times, 8 times or 10 times, it indicates that the home appliance and the mobile terminal may be incorrectly paired, for example, the mobile terminal is incorrectly connected to the home appliance of the neighboring home, the home appliance disconnects the communication connection with the mobile terminal, sends out a wireless broadcast, and recovers the state of the distribution network.
And when the pre-distribution network failure error code is not related to the pre-distribution network data error, for example, the current working frequency band of the wireless routing equipment does not accord with the frequency band supported by the household appliance equipment, the mobile terminal displays the corresponding distribution network failure error code on a screen. Under the condition, the household appliance equipment closes the communication connection with the mobile terminal, sends out wireless broadcast and recovers the state of the network to be configured.
In some other embodiments, the home appliance device may also send the pre-distribution network result to the mobile terminal after obtaining the pre-distribution network result, and the mobile terminal stores the pre-distribution network result. When the mobile terminal receives a distribution network instruction of the household appliance from a user, the mobile terminal can directly call the pre-distribution network result of the household appliance from the memory and carry out corresponding display, without sending the distribution network instruction to the household appliance and receiving the pre-distribution network result returned by the household appliance. Therefore, the network distribution efficiency of the household electrical appliance can be further improved, and the waiting time of the user after sending the network distribution instruction to the household electrical appliance can be further reduced.
This application is through before the distribution network instruction of giving household electrical appliances in user's official form, household electrical appliances establish communication connection with mobile terminal earlier, and receive the pre-distribution network data that are used for joining in marriage the net from mobile terminal based on communication connection, household electrical appliances use pre-distribution network data to carry out the pre-distribution net, remain the pre-distribution network result, when giving distribution network instruction in user's official form, return the pre-distribution network result, can reduce user operation, reduce the waiting time when user's household electrical appliances join in marriage the net, improve household electrical appliances' distribution network efficiency.
Referring to fig. 4, fig. 4 is a schematic flowchart of a network distribution method for a home appliance according to a second embodiment of the present application. The execution main body of the embodiment is a mobile terminal, and the embodiment includes the following steps:
s410: and the mobile terminal establishes communication connection with the household appliance.
This step is described in detail in S210 of the first embodiment of the network distribution method for the home appliance device, and therefore is not described herein again.
When a plurality of household appliances not in a distribution network exist in the current environment, the mobile terminal can establish communication connection with only the first scanned household appliance and perform subsequent pre-distribution network operation. The mobile terminal can also establish communication connection with a plurality of household appliances, and carry out pre-configuration network operation for each household appliance in sequence. This is not limited by the present application.
S420: the mobile terminal sends the pre-distribution network data to the household appliances based on the communication connection, so that the household appliances can pre-distribute the network with the wireless routing device according to the pre-distribution network data and store the pre-distribution network result.
This step is described in detail in S220 of the first embodiment of the network distribution method for the household electrical appliance, and therefore is not described herein again.
S430: the mobile terminal judges whether a distribution network instruction sent by a user to the household appliance is received within a preset time.
This step is described in detail in S240 of the first embodiment of the network distribution method for the household electrical appliance, and therefore is not described herein again.
S440: and responding to the receiving of the distribution network instruction within the preset time, and sending the distribution network instruction to the household appliance by the mobile terminal.
This step is described in detail in S240 of the first embodiment of the network distribution method for the household electrical appliance, and therefore is not described herein again.
S450: and the mobile terminal receives a pre-distribution network result returned by the household appliance according to the distribution network instruction.
This step is described in detail in S250 of the first embodiment of the network distribution method for the home appliance device, and therefore is not described herein again.
S460: and the mobile terminal completes the network distribution process based on the network pre-distribution result.
This step is described in detail in S250 of the first embodiment of the network distribution method for the home appliance device, and therefore is not described herein again.
The first embodiment of the network distribution method for the household electrical appliance is implemented by the household electrical appliance, so the present application also provides a household electrical appliance, please refer to fig. 5, and fig. 5 is a schematic structural diagram of an embodiment of the household electrical appliance provided in the present application. The home device 500 of the present embodiment may include a processor 501, a memory 502, and a communication circuit 503, which are connected to each other. The memory 502 is configured to store the pre-distribution network data and the pre-distribution network result, and the communication circuit 503 is configured to establish a communication connection with the mobile terminal, receive the pre-distribution network data and the distribution network instruction sent by the mobile terminal, and send the pre-distribution network result to the mobile terminal. The processor 501 is configured to perform distribution network distribution with the wireless routing device based on distribution network distribution data; judging whether a distribution network instruction sent by the mobile terminal is received within a preset time, wherein the distribution network instruction is generated based on the operation of a user on the mobile terminal; and responding to the distribution network distribution instruction received in the preset time, and sending a distribution network distribution pre-distribution result to the mobile terminal so as to complete the distribution network of the household appliance.
The processor 501 may be an integrated circuit chip having signal processing capability. The processor 501 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The second embodiment of the network distribution method for the household electrical appliance is implemented by a mobile terminal, so that the present application also provides a mobile terminal, please refer to fig. 6, and fig. 6 is a schematic structural diagram of an embodiment of the mobile terminal provided in the present application. The mobile terminal 600 of this embodiment may include a processor 601, a memory 602, and a communication circuit 603 coupled to each other. The memory 602 is configured to store the pre-distribution network data, and the communication circuit 603 is configured to establish a communication connection with the home appliance device, send the pre-distribution network data and the distribution network instruction to the home appliance device, and receive a pre-distribution network result sent by the home appliance device, so that the home appliance device performs pre-distribution network with the wireless routing device according to the pre-distribution network data and stores the pre-distribution network result. The processor 601 is configured to determine whether a distribution network instruction issued by a user to a home appliance is received within a preset time; responding to the receiving of a distribution network instruction within the preset time, and sending the distribution network instruction to the household appliance by the mobile terminal; the mobile terminal receives a pre-distribution network result returned by the household appliance according to the distribution network instruction; and the mobile terminal completes the network distribution process based on the network pre-distribution result.
The processor 601 may be an integrated circuit chip having signal processing capability. The processor 601 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
For the method of the above embodiment, it may exist in the form of a computer program, so that the present application provides a computer readable storage medium, please refer to fig. 7, and fig. 7 is a schematic structural diagram of an embodiment of the computer readable storage medium provided in the present application. The computer-readable storage medium 700 of the present embodiment has stored therein a computer program 701 that can be executed to implement the method in the above-described embodiments.
The computer-readable storage medium 700 of this embodiment may be a medium that can store program instructions, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, or may be a server that stores the program instructions, and the server may send the stored program instructions to other devices for operation, or may self-execute the stored program instructions.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
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 network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (15)

1. A network distribution method of household appliances is characterized by comprising the following steps:
the household appliance equipment and the mobile terminal establish communication connection;
the household appliance equipment receives the pre-configured network data sent by the mobile terminal;
the household appliance device performs distribution network distribution with the wireless routing device based on the distribution network distribution data, and saves a distribution network distribution result;
the household appliance equipment judges whether a distribution network instruction sent by the mobile terminal is received within preset time;
and responding to the distribution network command received in the preset time, and sending the distribution network pre-distribution result to the mobile terminal so as to complete the distribution network of the household appliance.
2. The method of claim 1, wherein the pre-distribution network result comprises a pre-distribution network success, and wherein sending the pre-distribution network result to the mobile terminal to complete a network connection comprises:
the household appliance device sends the message of successful pre-distribution network to the mobile terminal based on the communication connection;
and the household appliance equipment stores the pre-distribution network data and disconnects the communication connection with the mobile terminal.
3. The method of claim 1, wherein the pre-distribution network result comprises a pre-distribution network failure, and wherein sending the pre-distribution network result to the mobile terminal to complete a network connection comprises:
the household appliance device is connected based on the communication to send a message of failure of the pre-distribution network to the mobile terminal;
the household appliance equipment receives new distribution network data sent by the mobile terminal, wherein the new distribution network data are sent by the mobile terminal under the condition that the reason for the failure of the distribution network is that the distribution network data are wrong;
and the household appliance device performs network distribution again with the wireless network device based on the new network distribution data.
4. The method of claim 1, further comprising:
and responding to the situation that the distribution network instruction is not received within the preset time, the household electrical appliance is disconnected from the communication connection with the mobile terminal, and a wireless broadcast is sent out.
5. The method of claim 1, wherein establishing the communication connection between the home device and the mobile terminal comprises:
the household appliance sends out wireless broadcast;
the household appliance equipment receives a communication connection request sent by the mobile terminal, wherein the communication connection request is sent by the mobile terminal after the mobile terminal verifies that the wireless broadcast meets a preset condition, and the wireless broadcast is scanned and received by the mobile terminal in response to the starting of a household appliance control program;
the household appliance equipment verifies whether the communication connection request is legal or not;
responding to the communication connection request to be legal, and responding to the communication connection request by the household appliance equipment to establish the communication connection with the mobile terminal;
and responding to the illegal communication connection request, and refusing the connection of the household appliance and the mobile terminal.
6. A network distribution method of household appliances is characterized by comprising the following steps:
the mobile terminal establishes communication connection with the household appliance;
the mobile terminal sends pre-distribution network data to the household appliance equipment based on the communication connection, so that the household appliance equipment performs pre-distribution network with the wireless routing equipment according to the pre-distribution network data and stores a pre-distribution network result;
the mobile terminal judges whether a distribution network instruction sent by a user to the household appliance equipment is received within a preset time;
responding to the distribution network instruction received in the preset time, and sending the distribution network instruction to the household appliance by the mobile terminal;
the mobile terminal receives the pre-distribution network result returned by the household appliance according to the distribution network instruction;
and the mobile terminal completes the network distribution process based on the pre-network distribution result.
7. The network distribution method according to claim 6, wherein the result of network pre-distribution comprises success of network pre-distribution, and the mobile terminal completes a network distribution process based on the result of network pre-distribution, comprising:
and responding to the result of the pre-distribution network that the pre-distribution network is successful, and the mobile terminal displays that the distribution network is successful and disconnects the wireless connection with the household appliance.
8. The network distribution method according to claim 6, wherein the result of pre-distribution network comprises failure of pre-distribution network, and the mobile terminal completes the network distribution process based on the result of pre-distribution network, comprising:
responding to the network connection result that the pre-distribution network fails, and judging whether the reason of the pre-distribution network failure is the data error of the pre-distribution network by the mobile terminal;
responding to the reason of the network connection failure that the pre-distribution network data are wrong, and displaying and inputting distribution network data by the mobile terminal to remind the user of inputting new distribution network data;
the mobile terminal sends the new network distribution data to the household electrical appliance equipment, so that the household electrical appliance equipment performs network distribution again according to the new network distribution data;
and responding to the reason that the pre-distribution network fails and is not the pre-distribution network data error, and displaying a distribution network failure error code.
9. The network distribution method of claim 6, further comprising:
and responding to the situation that the distribution network instruction is not received within the preset time, and disconnecting the communication connection between the mobile terminal and the household appliance equipment.
10. The network distribution method according to claim 6, wherein the mobile terminal establishes a communication connection with the home appliance, and the method comprises:
the mobile terminal monitors the starting of a household appliance control program installed on the mobile terminal and scans the wireless broadcast in the current environment;
the mobile terminal receives the wireless broadcast sent by the household appliance;
and the mobile terminal establishes wireless connection with the household appliance based on the wireless broadcast.
11. The network distribution method of claim 10, wherein the establishing a wireless connection with the home device based on the wireless broadcast comprises:
the mobile terminal verifies whether the wireless broadcast meets a preset condition;
responding to the wireless broadcast meeting a preset condition, and sending a wireless connection request to the household appliance by the mobile terminal;
and the mobile terminal receives a response of communication connection returned by the household appliance equipment, establishes the communication connection with the household appliance equipment, and sends the response of the communication connection after the household appliance equipment verifies that the wireless connection request is legal.
12. The network distribution method of claim 11, wherein the verifying whether the wireless broadcast meets a preset condition comprises:
the mobile terminal measures the signal strength of the wireless broadcast;
the mobile terminal calculates the distance between the household appliance and the mobile terminal based on the signal intensity;
and responding to the distance smaller than a threshold value, and the mobile terminal determines that the wireless broadcast meets a preset condition.
13. An electric home appliance, comprising a processor, a memory and a communication circuit, wherein the processor is coupled to the memory and the communication circuit, and executes instructions in operation to cooperate with the memory and the communication circuit to implement the network distribution method of the electric home appliance according to any one of claims 1 to 5.
14. A mobile terminal, characterized in that the mobile terminal comprises a processor, a memory and a communication circuit, wherein the processor is coupled to the memory and the communication circuit, and executes instructions in operation to implement the network distribution method for the home appliance according to any one of claims 6 to 12 in cooperation with the memory and the communication circuit.
15. A computer-readable storage medium, characterized in that it stores a computer program executable by a processor to implement the method for network distribution of an electric home appliance according to any one of claims 1 to 12.
CN202011581752.3A 2020-12-28 2020-12-28 Network distribution method of household appliance, mobile terminal and medium Active CN112867041B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011581752.3A CN112867041B (en) 2020-12-28 2020-12-28 Network distribution method of household appliance, mobile terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011581752.3A CN112867041B (en) 2020-12-28 2020-12-28 Network distribution method of household appliance, mobile terminal and medium

Publications (2)

Publication Number Publication Date
CN112867041A true CN112867041A (en) 2021-05-28
CN112867041B CN112867041B (en) 2023-03-21

Family

ID=75997752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011581752.3A Active CN112867041B (en) 2020-12-28 2020-12-28 Network distribution method of household appliance, mobile terminal and medium

Country Status (1)

Country Link
CN (1) CN112867041B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022095709A1 (en) * 2020-11-05 2022-05-12 华为技术有限公司 Device network configuration method and apparatus
CN114785679A (en) * 2022-04-08 2022-07-22 深圳市欧瑞博科技股份有限公司 Network configuration method, network configuration device, electronic equipment, storage medium and program product

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357737A (en) * 2015-11-20 2016-02-24 深圳市江波龙科技有限公司 Method and device for accessing WiFi device to wireless access point
CN106657234A (en) * 2016-10-09 2017-05-10 美的智慧家居科技有限公司 Household electrical appliance, distribution network method and system thereof, and mobile terminal
US20170142018A1 (en) * 2015-11-16 2017-05-18 Qualcomm Incorporated Latency enhancement in a wireless communication system
CN106872854A (en) * 2017-01-26 2017-06-20 南京陇源汇能电力科技有限公司 The fault handling method of power distribution automation equipment in a kind of distribution system
CN107276862A (en) * 2017-07-10 2017-10-20 广东美的制冷设备有限公司 Household electrical appliances match somebody with somebody network method, intelligent appliance and readable storage medium storing program for executing
CN107770007A (en) * 2017-09-20 2018-03-06 广东美的制冷设备有限公司 Distribution method, apparatus, system and the computer-readable recording medium of home appliance
CN109450752A (en) * 2018-11-30 2019-03-08 广东美的制冷设备有限公司 Household electrical appliance distribution method, apparatus and computer readable storage medium
CN109819426A (en) * 2019-01-31 2019-05-28 广东美的制冷设备有限公司 Household appliance matches network method, household appliance, mobile terminal and storage medium
CN110336794A (en) * 2019-06-10 2019-10-15 平安科技(深圳)有限公司 A kind of Intranet access method, system and relevant apparatus
CN110798343A (en) * 2019-10-22 2020-02-14 普联技术有限公司 Network configuration method, device and system
CN111818613A (en) * 2020-07-24 2020-10-23 深圳创维数字技术有限公司 Wireless network configuration method, device and storage medium
CN111867007A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Automatic network distribution method and system for intelligent equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170142018A1 (en) * 2015-11-16 2017-05-18 Qualcomm Incorporated Latency enhancement in a wireless communication system
CN105357737A (en) * 2015-11-20 2016-02-24 深圳市江波龙科技有限公司 Method and device for accessing WiFi device to wireless access point
CN106657234A (en) * 2016-10-09 2017-05-10 美的智慧家居科技有限公司 Household electrical appliance, distribution network method and system thereof, and mobile terminal
CN106872854A (en) * 2017-01-26 2017-06-20 南京陇源汇能电力科技有限公司 The fault handling method of power distribution automation equipment in a kind of distribution system
CN107276862A (en) * 2017-07-10 2017-10-20 广东美的制冷设备有限公司 Household electrical appliances match somebody with somebody network method, intelligent appliance and readable storage medium storing program for executing
CN107770007A (en) * 2017-09-20 2018-03-06 广东美的制冷设备有限公司 Distribution method, apparatus, system and the computer-readable recording medium of home appliance
CN109450752A (en) * 2018-11-30 2019-03-08 广东美的制冷设备有限公司 Household electrical appliance distribution method, apparatus and computer readable storage medium
CN109819426A (en) * 2019-01-31 2019-05-28 广东美的制冷设备有限公司 Household appliance matches network method, household appliance, mobile terminal and storage medium
CN110336794A (en) * 2019-06-10 2019-10-15 平安科技(深圳)有限公司 A kind of Intranet access method, system and relevant apparatus
CN110798343A (en) * 2019-10-22 2020-02-14 普联技术有限公司 Network configuration method, device and system
CN111818613A (en) * 2020-07-24 2020-10-23 深圳创维数字技术有限公司 Wireless network configuration method, device and storage medium
CN111867007A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Automatic network distribution method and system for intelligent equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022095709A1 (en) * 2020-11-05 2022-05-12 华为技术有限公司 Device network configuration method and apparatus
CN114785679A (en) * 2022-04-08 2022-07-22 深圳市欧瑞博科技股份有限公司 Network configuration method, network configuration device, electronic equipment, storage medium and program product
CN114785679B (en) * 2022-04-08 2024-02-20 深圳市欧瑞博科技股份有限公司 Network configuration method, device, electronic equipment, storage medium and program product

Also Published As

Publication number Publication date
CN112867041B (en) 2023-03-21

Similar Documents

Publication Publication Date Title
CN109348458B (en) Network access configuration method and device, electronic equipment and network system
US11546429B2 (en) Device management system and device management method
EP3484196B1 (en) Method and apparatus for registering wireless device in wireless communication system
CN109890065B (en) Networking method and system of household appliance
CN109495358B (en) Network distribution method and network distribution system for household appliances
CN110971495B (en) Equipment binding method and device of intelligent household system and storage medium
CN109819426A (en) Household appliance matches network method, household appliance, mobile terminal and storage medium
WO2018068750A1 (en) Network connection method utilized in home appliance, home appliance, and network connection method utilized in home appliance system
CN112867041B (en) Network distribution method of household appliance, mobile terminal and medium
CN106358147A (en) Method and system for connecting wireless network, household electric appliance and user terminal
CN104869612A (en) Method and device for accessing network
CN112188488A (en) Network distribution method, device and system
CN111556500A (en) Technology for distributing network and authenticating WiFi (wireless fidelity) of equipment through WeChat applet
US20160239651A1 (en) Method of controlling an electronic device to operate using a mobile terminal and the mobile terminal
CN110149622B (en) Intelligent household appliance control method and device
CN114270781A (en) Device access method, device, system control method, electronic device and storage medium
CN111818528B (en) Connection method and device of wireless local area network, storage medium and wireless access equipment
WO2017088795A1 (en) Method and device for controlling smart appliance
CN111787595A (en) Network distribution method, network distribution equipment and terminal equipment
CN110855535A (en) Gateway equipment, home equipment and connection method between gateway equipment and home equipment
CN106658488B (en) Intelligent household appliance and method and device for safely accessing intelligent household appliance
WO2022068601A1 (en) Network repairing method, electronic device, and mobile terminal
CN114339789B (en) AP distribution network processing method and device
CN107396281B (en) communication mode switching method and intelligent password equipment
WO2021248963A1 (en) Home appliance, networking method therefor, control terminal, and computer 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