Movatterモバイル変換


[0]ホーム

URL:


CN110784865A - Network distribution method and terminal of Internet of things equipment, Internet of things equipment and network distribution system - Google Patents

Network distribution method and terminal of Internet of things equipment, Internet of things equipment and network distribution system
Download PDF

Info

Publication number
CN110784865A
CN110784865ACN201911297897.8ACN201911297897ACN110784865ACN 110784865 ACN110784865 ACN 110784865ACN 201911297897 ACN201911297897 ACN 201911297897ACN 110784865 ACN110784865 ACN 110784865A
Authority
CN
China
Prior art keywords
internet
password
terminal
hotspot
name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911297897.8A
Other languages
Chinese (zh)
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.)
Aux Air Conditioning Co Ltd
Ningbo Aux Electric Co Ltd
Original Assignee
Aux Air Conditioning Co Ltd
Ningbo Aux Electric 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 Aux Air Conditioning Co Ltd, Ningbo Aux Electric Co LtdfiledCriticalAux Air Conditioning Co Ltd
Priority to CN201911297897.8ApriorityCriticalpatent/CN110784865A/en
Publication of CN110784865ApublicationCriticalpatent/CN110784865A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

A network distribution method and terminal of Internet of things equipment, the Internet of things equipment and a network distribution system are provided, wherein the network distribution method comprises the following steps: the method comprises the steps that a terminal is networked, an information label of the Internet of things equipment is scanned to obtain an equipment unique identification code, and an identifiable AP hotspot name and a password are generated according to the equipment unique identification code; the terminal is switched to an AP mode, and the hotspot is started according to the AP hotspot name; after the Internet of things equipment is successfully connected with the AP hotspot of the terminal, the terminal prompts a user to input a WiFi name and a password which are required to be connected by the Internet of things equipment, and the WiFi name and the password are encrypted and then transmitted to the Internet of things equipment. The network distribution method supports the networking module which cannot be in the AP mode, widens the applicable scenes, and the Internet of things equipment does not need to solidify the fixed SSID and password combination, so that the method has the advantages of high efficiency, safety and reliability of the network distribution.

Description

Network distribution method and terminal of Internet of things equipment, Internet of things equipment and network distribution system
Technical Field
The invention relates to the technical field of air conditioners, in particular to a network distribution method and terminal of Internet of things equipment, the Internet of things equipment and a network distribution system.
Background
Nowadays, with the constant popularization of internet of things technology and products in life, a large number of devices need to be networked to realize important functional services, and a network distribution becomes a key step of networking.
The existing distribution network modes are various, and the main popular distribution network modes comprise an AP distribution network, a key distribution network and the like, wherein the AP distribution network is reliable and effective, and the key distribution network is simple and quick. However, the distribution network mode has the disadvantage that the distribution network mode is difficult to avoid, for example, the AP distribution network needs the Internet of things device to support the AP mode and part of mobile phones cannot switch hot spots, so that the process is complicated, and the failure rate of the one-key distribution network is high due to the distribution network mechanism, and the experience is poor. The network distribution modes such as Bluetooth, NFC, infrared, sound wave and voice mainly transmit SSID and passwords to WiFi equipment through the third-party module, but the third-party module is introduced in the realization process, the cost is high, and the modules are only used when the network is distributed in part of the network distribution modes, so that the utilization rate is low.
Disclosure of Invention
The invention solves the problems that: in the existing network distribution method of the internet of things equipment, the AP network distribution needs the internet of things equipment to support the AP mode, and the process is complicated because part of mobile phones cannot switch hot spots; the failure rate of the one-key distribution network is high due to a distribution network mechanism, and the experience is poor; the third party module needs to be introduced into the distribution network modes such as Bluetooth, NFC, infrared, sound wave and voice, the cost is high, and the modules are only used when the distribution network is distributed in part of the distribution network modes, so that the utilization rate is low.
In order to solve the problems, the invention provides a network distribution method and terminal of internet of things equipment, the internet of things equipment and a network distribution system.
According to a first aspect of the present invention, a network distribution method for internet of things devices is provided, including:
the method comprises the steps that a terminal is networked, an information label of the Internet of things equipment is scanned to obtain an equipment unique identification code, and an identifiable AP hotspot name and a password are generated according to the equipment unique identification code;
the terminal is switched to an AP mode, and the hotspot is started according to the AP hotspot name;
after the Internet of things equipment is successfully connected with the AP hotspot of the terminal, the terminal prompts a user to input a WiFi name and a password which are required to be connected by the Internet of things equipment, and the WiFi name and the password are encrypted and then transmitted to the Internet of things equipment.
Firstly, the terminal and the Internet of things equipment are interconnected through an AP mode (wireless access point mode) of the terminal, then under the AP mode of the terminal, the interconnected terminal encrypts and transmits a WiFi name and a password which are input by a user and need to be connected to the Internet of things equipment, and the Internet of things equipment can be connected to a WiFi hotspot corresponding to the WiFi name and the password to realize networking. In the process that the terminal and the Internet of things device are interconnected through the AP mode of the terminal, the unique identification code of the device is acquired in the form that the terminal scans the information label, and the identifiable AP hotspot name and the password are generated according to the unique identification code of the device, so that the Internet of things device can be connected with the AP hotspot. According to the network distribution method, the Internet of things equipment only needs to switch networks in a Station mode, an AP hotspot of a terminal (such as a mobile phone app) is connected first, and then a WiFi hotspot is connected, and the networking module of the Internet of things equipment does not need to be switched to the AP mode.
In an embodiment of the present invention, the step of generating an identifiable AP hotspot name and password according to the device unique identification code includes: and directly taking the unique identification code of the equipment as the AP hotspot name and the password at the same time, or processing the unique identification code of the equipment according to a specific algorithm to generate the identifiable AP hotspot name and the password.
Although the safety is slightly worse in a mode of directly taking the unique identification code of the equipment as the AP hotspot name and the password, the method has the advantages of simple and efficient connection and can meet the general safety requirement; the method for generating the identifiable AP hotspot name and password by processing the unique identification code of the equipment according to the specific algorithm has the advantage of high safety, and the latter method can be adopted for scenes with high safety requirements. Illustratively, for example, the MAC address is used as a password of the terminal AP hotspot, a hash value algorithm such as MD5 or SHA-1 of the MAC data is used as an AP hotspot name (SSID), or a hash value of the MAC data takes a certain length as an SSID; or adding a specific value before or after the MAC data to form a new value as the AP hotspot name or password, for example, adding 112233 as the AP hotspot password after the MAC data, and using the MAC address as the terminal AP hotspot name. The generation mode can be expanded, and the specific generation algorithm is not limited to the above example.
In an embodiment of the present invention, the network distribution method further includes: after the Internet of things equipment is connected to the WiFi network, the terminal exits the AP mode and is connected to the WiFi network.
After the internet of things equipment is connected to the WiFi network, the server can communicate with the internet of things equipment. At this time, the terminal may exit the AP mode and connect to the WiFi network, thereby forming network communication between the internet of things device and the terminal and the server.
In an embodiment of the present invention, the information label includes information of the device unique identification code and information of the generation mode, and is presented in an encrypted mode.
The information label presents the information such as the unique identification code information of the equipment, the generation mode and the like in an encrypted mode, thereby being beneficial to improving the safety in the process of distribution network and avoiding being stolen by other irrelevant equipment.
In an embodiment of the invention, in the process of inputting the WiFi name and the password which are required to be connected by the internet of things device by the user, if the user inputs at least one of the WiFi name and the password incorrectly, and encrypts and transmits the incorrect WiFi name and the password to the internet of things device, the terminal receives a networking failure message sent by the internet of things device and prompts the user to recheck the input WiFi name and the password.
The embodiment considers the condition that a user has errors in the process of inputting the WiFi name and the password which are required to be connected by the Internet of things equipment, and provides a corresponding solution, the Internet of things equipment is switched to a network mode in a Station mode (site working mode), and the networking failure message is sent to the terminal, and after the terminal receives the networking failure message, the user is prompted to re-check the input WiFi name and the password, so that the successful realization of the distribution network is ensured.
According to a second aspect of the present invention, a network distribution method for internet of things devices is provided, including:
the method comprises the steps that the Internet of things equipment generates a name and a password for carrying out hotspot connection by using an equipment unique identification code in the same way as a terminal generates an identifiable AP hotspot name and password;
a networking module of the Internet of things equipment scans a channel and matches the name and the password of the hotspot connection with an AP hotspot of a terminal so as to realize connection with the terminal;
the Internet of things equipment receives the WiFi name and the password from the terminal and is connected to the WiFi network.
The unique identification code of the equipment is obtained by using a terminal, such as an information label of the thing networking equipment scanned by a mobile phone APP, and is the MAC information of the equipment networking module, the MAC information is the unique data which is burnt by each piece of equipment leaving a factory and corresponds to the equipment, the data is not generally modified and can be used as the identification of the equipment, and the thing networking equipment can obtain the MAC address of the thing networking equipment. The generation mode of generating the identifiable AP hotspot name and password at the terminal according to the equipment identification code is the same as the generation mode of the name and password for hotspot connection generated by the Internet of things equipment, so that the AP hotspot name (SSID) and password data generated by the terminal are effectively ensured to be matched with the name and password for hotspot connection generated by the Internet of things equipment, and the Internet of things equipment and the terminal can be connected. According to the network distribution method, the Internet of things equipment only needs to switch networks in the Station mode, the AP hotspot of the terminal (such as a mobile phone app) is connected firstly, then the WiFi hotspot is connected, the networking module of the Internet of things equipment does not need to be switched to the AP mode, the network distribution method supports the networking module which cannot be in the AP mode, the applicable scene is widened, the fixed SSID and password combination does not need to be solidified by the Internet of things equipment, the information label of the networking equipment is scanned by the mobile phone, the equipment can be successfully networked by sharing the specific network SSID (AP hotspot name) and the password generated according to the unique identification code of the equipment, and the connection request of other unrelated equipment can be rejected, so that the network distribution method has the advantages of high efficiency, safety and reliability.
In an embodiment of the present invention, in the network distribution method, a networking module of the internet of things device is in a Station mode.
In an embodiment of the invention, if the internet of things equipment cannot be networked due to errors in the WiFi name and the password received from the terminal, the internet of things equipment is switched from a network mode connected with a WiFi hotspot to a network mode connected with a mobile phone AP hotspot, and a networking failure message is sent to the terminal.
The embodiment considers the condition that a user has errors in the process of inputting the WiFi name and the password which are required to be connected by the Internet of things equipment, and provides a corresponding solution, the Internet of things equipment is switched to a network mode in a Station mode, and a networking failure message is sent to the terminal, and after the terminal receives the networking failure message, the user is prompted to re-check the input WiFi name and the password, so that the successful realization of the distribution network is ensured.
According to a third aspect of the present invention, there is provided a terminal for a distribution network, comprising: the networking module is used for enabling the terminal to be networked; the scanning identification module is used for acquiring the unique identification code of the equipment by scanning the information label of the Internet of things equipment; the AP hotspot generating module is used for generating an identifiable AP hotspot name and an identifiable password according to the unique identification code of the equipment; the mode switching module is used for switching the terminal from a networking mode to an AP mode and starting a hotspot according to the AP hotspot name; the networking information input module is used for prompting a user to input a WiFi name and a password which are required to be connected by the Internet of things equipment at the terminal after the Internet of things equipment is successfully connected with the AP hotspot of the terminal; and the data transmission module is used for encrypting the WiFi name and the password and transmitting the encrypted WiFi name and the encrypted password to the Internet of things equipment.
In an embodiment of the present invention, the AP hotspot generating module directly uses the unique device identifier as an AP hotspot name and a password at the same time, or processes the unique device identifier according to a specific algorithm to generate an identifiable AP hotspot name and password.
According to a fourth aspect of the present invention, there is provided an internet of things device for a distribution network, comprising: the hotspot connection generating module is used for generating a name and a password for hotspot connection by using the unique identification code of the equipment, and the generating mode is the same as the mode of generating the identifiable AP hotspot name and password by the terminal; the networking module is used for scanning a channel and matching the name and the password of the hotspot connection with the AP hotspot of the terminal so as to realize connection with the terminal; the networking module is also used for receiving the WiFi name and the password from the terminal and connecting the WiFi name and the password to the WiFi network.
In an embodiment of the present invention, in the internet of things device for a distribution network, a networking module of the internet of things device is in a Station mode.
According to a fifth aspect of the present invention, there is provided a distribution network system, comprising: terminal, wiFi hot spot equipment and thing networking device, its characterized in that, the terminal is used for: networking is carried out, an information label of the Internet of things equipment is scanned to obtain an equipment unique identification code, and an identifiable AP hotspot name and a password are generated according to the equipment unique identification code;
the Internet of things equipment is used for: generating a name and a password for carrying out hotspot connection by using the unique identification code of the equipment in the same way as that of generating an identifiable AP hotspot name and password by the terminal;
the networking module of the Internet of things equipment is used for scanning channels and matching the name and the password of the hotspot connection with the AP hotspot of the terminal so as to realize connection with the terminal;
after the Internet of things equipment is successfully connected with the AP hotspot of the terminal, the terminal is used for prompting a user to input a WiFi name and a password of WiFi hotspot equipment which needs to be connected with the Internet of things equipment, and the WiFi name and the password are encrypted and then transmitted to the Internet of things equipment;
the Internet of things equipment is used for receiving the WiFi name and the password from the terminal and connecting the WiFi name and the password to the WiFi network.
In an embodiment of the present invention, in the distribution network system, after the internet of things device is connected to the WiFi network, the terminal exits the AP mode and is connected to the WiFi network.
In an embodiment of the present invention, the terminal is a mobile phone client app; and/or the Internet of things equipment is an air conditioner.
In the terminal, the internet of things equipment and the distribution network system, the internet of things equipment only needs to switch networks in a Station mode, an AP hotspot of the terminal (such as a mobile phone app) is connected firstly, then a WiFi hotspot is connected, a networking module of the internet of things equipment does not need to be switched to the AP mode, the distribution network method supports the networking module which cannot be in the AP mode, the applicable scene is widened, the internet of things equipment does not need to solidify a fixed SSID and password combination, an information label of the internet of things equipment is scanned by a mobile phone, the equipment can be successfully networked by sharing a specific network SSID (AP hotspot name) and a password generated according to the unique identification code of the equipment, and the connection request of other unrelated equipment can be rejected, so that the distribution network has the advantages of high efficiency and safety.
Drawings
Fig. 1 is a flow chart of a network distribution method of an internet of things device according to an embodiment of the present invention;
fig. 2 is a block diagram of a distribution network system according to an embodiment of the present invention.
Detailed Description
The AP distribution network comprises a device hotspot distribution network and a mobile phone hotspot distribution network.
In the mobile phone hotspot network distribution, the prior art mode generally adopts a fixed SSID and password combination for the hotspot opened by the mobile phone, and the mode has two obvious disadvantages:
1. the unified SSID and password information needs to be solidified in the Internet of things equipment module, and if an eavesdropper knows the SSID and the password, the information can be easily stolen, so that the network security problem is caused.
2. If different SSID and password information of thing networking equipment module internal solidification, this mode causes certain difficulty for production, needs constantly to revise firmware content, if the production procedure makes mistakes, causes the unable networking of thing networking equipment module in batches.
Based on the analysis, the invention provides a network distribution method and terminal of the internet of things equipment, the internet of things equipment and a network distribution system.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, specific embodiments accompanied with figures are described in detail below.
First embodiment
In a first exemplary embodiment of the invention, a network distribution method for internet of things equipment is provided.
Fig. 1 is a flow chart of a network distribution method of internet of things equipment according to an embodiment of the invention.
Referring to fig. 1, a distribution network method for internet of things devices according to this embodiment is described in terms of a whole information transfer process, and includes:
step S11: the method comprises the steps that a terminal is networked, an information label of the Internet of things equipment is scanned to obtain an equipment unique identification code, and an identifiable AP hotspot name and a password are generated according to the equipment unique identification code;
in step S11, the terminal may perform networking through traffic or connect with a WiFi hotspot, and the terminal may acquire the unique identifier of the device by scanning an information label of the internet of things device after networking.
In an embodiment of the present invention, the step of generating an identifiable AP hotspot name and password according to the device unique identification code includes: and directly taking the unique identification code of the equipment as the AP hotspot name and the password at the same time, or processing the unique identification code of the equipment according to a specific algorithm to generate the identifiable AP hotspot name and the password.
Although the safety is slightly worse in a mode of directly taking the unique identification code of the equipment as the AP hotspot name and the password, the method has the advantages of simple and efficient connection and can meet the general safety requirement; the method for generating the identifiable AP hotspot name and password by processing the unique identification code of the equipment according to the specific algorithm has the advantage of high safety, and the latter method can be adopted for scenes with high safety requirements. Illustratively, for example, the MAC address is used as a password of the terminal AP hotspot, a hash value algorithm such as MD5 or SHA-1 of the MAC data is used as an AP hotspot name (SSID), or a hash value of the MAC data takes a certain length as an SSID; or adding a specific value before or after the MAC data to form a new value as the AP hotspot name or password, for example, adding 112233 as the AP hotspot password after the MAC data, and using the MAC address as the terminal AP hotspot name. The generation mode can be expanded, and the specific generation algorithm is not limited to the above example.
The following describes how to generate an identifiable AP hotspot name and password from the device unique identification code in a specific example.
In general, the MAC address of an air conditioner is 48 bits (6 bytes) in length, and is usually expressed as 12 16-ary numbers, for example: 01-23-BB-C7-80-0A is a MAC address, which is unique in the world as long as the MAC address of the device is not changed. The MAC address is, in a descriptive sense, just like the identification card number on the identification card, and has uniqueness.
Example one:
the method comprises the steps that an AP hot spot with the SSID and the password being 0123BBC7800A is generated by utilizing MAC data (such as 01-23-BB-C7-80-0A) on an air conditioner to be connected with the Internet of things equipment, and the Internet of things equipment is connected with the hot spot through known MAC information of the Internet of things equipment.
SSID0123BBC7800AMac address data
Cipher code0123BBC7800AMac address data
Example two:
the MD5 hash value (MD 5: 8F03F0F0F807428F) of the MSC data is calculated by utilizing MAC data (such as 01-23-BB-C7-80-0A) on an air conditioner, the MD5 hash value is used as a hotspot SSID by a user mobile phone, MAC address data is used as a password, an AP hotspot is generated to be connected with equipment of the Internet of things, and the equipment of the Internet of things utilizes known MAC information of the equipment of the Internet of things to generate a name and a password for hotspot connection in the same way so as to connect the AP hotspot.
SSID8F03F0F0F807428FMD5 calculation
Cipher code0123BBC7800AMac address data
Of course, the algorithm for generating is not limited to the hash algorithm, and may be other data processing algorithms, and the hash algorithm is not limited to the MD5 algorithm, and may be SHA-1 hash algorithm. In addition, the generated value may be obtained by a certain calculation, and the specific length is used as the SSID or the password, for example, the first 12 bits (8F03F0F 807) of the calculation-completed data are used as the AP hotspot address.
Example three: in this example, a number of bits of data are added to the MAC data, and then the whole data is processed by a specific algorithm, for example, in the manner shown in example two, and then used as the SSID or password.
Step S12: the terminal is switched to an AP mode, and the hotspot is started according to the AP hotspot name;
step S13: the method comprises the steps that the Internet of things equipment generates a name and a password for carrying out hotspot connection by using an equipment unique identification code in the same way as a terminal generates an identifiable AP hotspot name and password;
step S14: a networking module of the Internet of things equipment scans a channel and matches the name and the password of the hotspot connection with an AP hotspot of a terminal so as to realize connection with the terminal;
step S15-1: after the Internet of things equipment is successfully connected with the AP hotspot of the terminal, the terminal prompts a user to input a WiFi name and a password which are required to be connected by the Internet of things equipment, encrypts the WiFi name and the password and transmits the encrypted WiFi name and password to the Internet of things equipment;
step S16-1: the Internet of things equipment receives the WiFi name and the password from the terminal and is connected to the WiFi network.
In the network distribution method, the method further includes:
step S15-2: in the process that the user inputs the WiFi name and the password which are required to be connected by the Internet of things equipment, if the user inputs at least one of the WiFi name and the password by mistake, the WiFi name and the password which are wrong are encrypted and then transmitted to the Internet of things equipment, so that the Internet of things equipment cannot be networked, the Internet of things equipment is switched from a network mode connected with a WiFi hotspot to a network mode connected with a mobile phone AP hotspot, and a message of networking failure is sent to the terminal;
step S16-2: and the terminal receives a networking failure message sent by the Internet of things equipment and prompts the user to recheck the input WiFi name and password.
The embodiment considers the condition that a user has errors in the process of inputting the WiFi name and the password which are required to be connected by the Internet of things equipment, and provides a corresponding solution, the Internet of things equipment is switched to a network mode in a Station mode, and a networking failure message is sent to the terminal, and after the terminal receives the networking failure message, the user is prompted to re-check the input WiFi name and the password, so that the successful realization of the distribution network is ensured.
In an embodiment of the present invention, the terminal is a mobile phone; and/or the Internet of things equipment is an air conditioner.
In an embodiment, described from a terminal side, the network distribution method for the internet of things device includes:
the method comprises the steps that a terminal is networked, an information label of the Internet of things equipment is scanned to obtain an equipment unique identification code, and an identifiable AP hotspot name and a password are generated according to the equipment unique identification code;
the terminal is switched to an AP mode, and the hotspot is started according to the AP hotspot name;
after the Internet of things equipment is successfully connected with the AP hotspot of the terminal, the terminal prompts a user to input a WiFi name and a password which are required to be connected by the Internet of things equipment, and the WiFi name and the password are encrypted and then transmitted to the Internet of things equipment.
Firstly, the terminal and the Internet of things equipment are interconnected through the AP mode of the terminal, then under the AP mode of the terminal, the interconnected terminal encrypts and transmits the WiFi name and the password which are input by the user and need to be connected to the Internet of things equipment, and the Internet of things equipment can be connected to the WiFi hotspot corresponding to the WiFi name and the password to realize networking. In the process that the terminal and the Internet of things device are interconnected through the AP mode of the terminal, the unique identification code of the device is acquired in the form that the terminal scans the information label, and the identifiable AP hotspot name and the password are generated according to the unique identification code of the device, so that the Internet of things device can be connected with the AP hotspot. According to the network distribution method, the Internet of things equipment only needs to switch networks in the Station mode, the AP hotspot of the terminal (such as a mobile phone app) is connected firstly, then the WiFi hotspot is connected, the networking module of the Internet of things equipment does not need to be switched to the AP mode, the network distribution method supports the networking module which cannot be in the AP mode, the applicable scene is widened, the fixed SSID and password combination does not need to be solidified by the Internet of things equipment, the information label of the networking equipment is scanned by the mobile phone, the equipment can be successfully networked by sharing the specific network SSID (AP hotspot name) and the password generated according to the unique identification code of the equipment, and the connection request of other unrelated equipment can be rejected, so that the network distribution method has the advantages of high efficiency, safety and reliability.
In an embodiment of the present invention, the network distribution method further includes: after the Internet of things equipment is connected to the WiFi network, the terminal exits the AP mode and is connected to the WiFi network.
After the internet of things equipment is connected to the WiFi network, the server can communicate with the internet of things equipment. At this time, the terminal may exit the AP mode and connect to the WiFi network, thereby forming network communication between the internet of things device and the terminal and the server.
In an embodiment of the present invention, the information label includes information of the device unique identification code and information of the generation mode, and is presented in an encrypted mode.
For example, the information label is presented in a two-dimensional code or other display form, which is called "information label code" in fig. 1, and is a specific example of the information label.
The information label presents the information such as the unique identification code information of the equipment, the generation mode and the like in an encrypted mode, thereby being beneficial to improving the safety in the process of distribution network and avoiding being stolen by other irrelevant equipment.
In an embodiment of the invention, in the process of inputting the WiFi name and the password which are required to be connected by the internet of things device by the user, if the user inputs at least one of the WiFi name and the password incorrectly, and encrypts and transmits the incorrect WiFi name and the password to the internet of things device, the terminal receives a networking failure message sent by the internet of things device and prompts the user to recheck the input WiFi name and the password.
The embodiment considers the condition that a user has errors in the process of inputting the WiFi name and the password which are required to be connected by the Internet of things equipment, and provides a corresponding solution, the Internet of things equipment is switched to a network mode in a Station mode, and a networking failure message is sent to the terminal, and after the terminal receives the networking failure message, the user is prompted to re-check the input WiFi name and the password, so that the successful realization of the distribution network is ensured.
In an embodiment, described from the internet of things device side, the network distribution method for the internet of things device includes:
the method comprises the steps that the Internet of things equipment generates a name and a password for carrying out hotspot connection by using an equipment unique identification code in the same way as a terminal generates an identifiable AP hotspot name and password;
a networking module of the Internet of things equipment scans a channel and matches the name and the password of the hotspot connection with an AP hotspot of a terminal so as to realize connection with the terminal;
the Internet of things equipment receives the WiFi name and the password from the terminal and is connected to the WiFi network.
In an embodiment of the present invention, in the network distribution method, a networking module of the internet of things device is in a Station mode.
The unique identification code of the equipment is obtained by using a terminal, such as an information label of the thing networking equipment scanned by a mobile phone APP, and is the MAC information of the equipment networking module, the MAC information is the unique data which is burnt by each piece of equipment leaving a factory and corresponds to the equipment, the data is not generally modified and can be used as the identification of the equipment, and the thing networking equipment can obtain the MAC address of the thing networking equipment. The generation mode of generating the identifiable AP hotspot name and password at the terminal according to the equipment identification code is the same as the generation mode of the name and password for hotspot connection generated by the Internet of things equipment, so that the AP hotspot name (SSID) and password data generated by the terminal are effectively ensured to be matched with the name and password for hotspot connection generated by the Internet of things equipment, and the Internet of things equipment and the terminal can be connected.
In an embodiment of the invention, if the internet of things equipment cannot be networked due to errors in the WiFi name and the password received from the terminal, the internet of things equipment is switched from a network mode connected with a WiFi hotspot to a network mode connected with a mobile phone AP hotspot, and a networking failure message is sent to the terminal.
The embodiment considers the condition that a user has errors in the process of inputting the WiFi name and the password which are required to be connected by the Internet of things equipment, and provides a corresponding solution, the Internet of things equipment is switched to a network mode in a Station mode, and a networking failure message is sent to the terminal, and after the terminal receives the networking failure message, the user is prompted to re-check the input WiFi name and the password, so that the successful realization of the distribution network is ensured.
In summary, in the network distribution method of this embodiment, the internet of things device only needs to switch networks in the Station mode, and first connects an AP hotspot of a terminal (for example, a mobile app), and then connects a WiFi hotspot, without switching a networking module of the internet of things device to the AP mode, the network distribution method supports a networking module that cannot perform the AP mode, widens an applicable scenario, and the internet of things device does not need to solidify a fixed SSID and password combination, and shares a specific network SSID (AP hotspot name) and password generated according to the unique identifier of the device by scanning an information label of the internet of things device with a mobile phone, so that the device can be successfully networked, and connection requests of other unrelated devices can be rejected, thereby having the advantages of high efficiency and safety of network distribution.
Second embodiment
In a second exemplary embodiment of the invention, a terminal for a distribution network is provided.
The terminal for a distribution network of the embodiment includes: the networking module is used for enabling the terminal to be networked; the scanning identification module is used for acquiring the unique identification code of the equipment by scanning the information label of the Internet of things equipment; the AP hotspot generating module is used for generating an identifiable AP hotspot name and an identifiable password according to the unique identification code of the equipment; the mode switching module is used for switching the terminal from a networking mode to an AP mode and starting a hotspot according to the AP hotspot name; the networking information input module is used for prompting a user to input a WiFi name and a password which are required to be connected by the Internet of things equipment at the terminal after the Internet of things equipment is successfully connected with the AP hotspot of the terminal; and the data transmission module is used for encrypting the WiFi name and the password and transmitting the encrypted WiFi name and the encrypted password to the Internet of things equipment.
In an embodiment of the present invention, the AP hotspot generating module directly uses the unique device identifier as an AP hotspot name and a password at the same time, or processes the unique device identifier according to a specific algorithm to generate an identifiable AP hotspot name and password.
Third embodiment
In a third exemplary embodiment of the present invention, an internet of things device for a distribution network is provided.
In this embodiment, an internet of things device for joining in marriage net includes: the hotspot connection generating module is used for generating a name and a password for hotspot connection by using the unique identification code of the equipment, and the generating mode is the same as the mode of generating the identifiable AP hotspot name and password by the terminal; the networking module is used for scanning a channel and matching the name and the password of the hotspot connection with the AP hotspot of the terminal so as to realize connection with the terminal; the networking module is also used for receiving the WiFi name and the password from the terminal and connecting the WiFi name and the password to the WiFi network.
In an embodiment of the present invention, in the internet of things device for a distribution network, a networking module of the internet of things device is in a Station mode.
Fourth embodiment
In a fourth exemplary embodiment of the present invention, a distribution network system is provided.
Fig. 2 is a block diagram of a distribution network system according to an embodiment of the present invention.
Referring to fig. 2, the distribution network system of this embodiment includes: a terminal, a WiFi hotspot device and an Internet of things device, wherein,
the terminal is used for: networking is carried out, an information label of the Internet of things equipment is scanned to obtain an equipment unique identification code, and an identifiable AP hotspot name and a password are generated according to the equipment unique identification code;
the Internet of things equipment is used for: generating a name and a password for carrying out hotspot connection by using the unique identification code of the equipment in the same way as that of generating an identifiable AP hotspot name and password by the terminal;
the networking module of the Internet of things equipment is used for scanning channels and matching the name and the password of the hotspot connection with the AP hotspot of the terminal so as to realize connection with the terminal;
after the Internet of things equipment is successfully connected with the AP hotspot of the terminal, the terminal is used for prompting a user to input a WiFi name and a password of WiFi hotspot equipment which needs to be connected with the Internet of things equipment, and the WiFi name and the password are encrypted and then transmitted to the Internet of things equipment;
the Internet of things equipment is used for receiving the WiFi name and the password from the terminal and connecting the WiFi name and the password to the WiFi network.
In an embodiment of the present invention, in the distribution network system, after the internet of things device is connected to the WiFi network, the terminal exits the AP mode and is connected to the WiFi network.
In the distribution network system, the Internet of things equipment only needs to switch networks in the Station mode, the AP hotspot of the terminal (such as a mobile phone app) is connected firstly, and then the WiFi hotspot is connected, and the networking module of the Internet of things equipment does not need to be switched to the AP mode.
In summary, the invention provides a network distribution method, a terminal, an internet of things device and a network distribution system for the internet of things device, the terminal and the internet of things device are interconnected in an AP mode of the terminal, then in the AP mode of the terminal, the interconnected terminal encrypts and transmits a WiFi name and a password, which are input by a user and are required to be connected, to the internet of things device, and the internet of things device can be connected to a WiFi hotspot corresponding to the WiFi name and the password, so as to realize networking. According to the network distribution method, the Internet of things equipment only needs to switch networks in the Station mode, the AP hotspot of the terminal (such as a mobile phone app) is connected firstly, then the WiFi hotspot is connected, the networking module of the Internet of things equipment does not need to be switched to the AP mode, the network distribution method supports the networking module which cannot be in the AP mode, the applicable scene is widened, the fixed SSID and password combination does not need to be solidified by the Internet of things equipment, the information label of the networking equipment is scanned by the mobile phone, the equipment can be successfully networked by sharing the specific network SSID (AP hotspot name) and the password generated according to the unique identification code of the equipment, and the connection request of other unrelated equipment can be rejected, so that the network distribution method has the advantages of high efficiency, safety and reliability.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

9. A terminal for a distribution network, comprising: the networking module is used for enabling the terminal to be networked; the scanning identification module is used for acquiring the unique identification code of the equipment by scanning the information label of the Internet of things equipment; the AP hotspot generating module is used for generating an identifiable AP hotspot name and an identifiable password according to the unique identification code of the equipment; the mode switching module is used for switching the terminal from a networking mode to an AP mode and starting a hotspot according to the AP hotspot name; the networking information input module is used for prompting a user to input a WiFi name and a password which are required to be connected by the Internet of things equipment at the terminal after the Internet of things equipment is successfully connected with the AP hotspot of the terminal; and the data transmission module is used for encrypting the WiFi name and the password and transmitting the encrypted WiFi name and the encrypted password to the Internet of things equipment.
12. A distribution network system, comprising: terminal, wiFi hot spot equipment and thing networking device, its characterized in that, the terminal is used for: networking is carried out, an information label of the Internet of things equipment is scanned to obtain an equipment unique identification code, and an identifiable AP hotspot name and a password are generated according to the equipment unique identification code; the Internet of things equipment is used for: generating a name and a password for carrying out hotspot connection by using the unique identification code of the equipment in the same way as that of generating an identifiable AP hotspot name and password by the terminal; the networking module of the Internet of things equipment is used for scanning channels and matching the name and the password of the hotspot connection with the AP hotspot of the terminal so as to realize connection with the terminal;
CN201911297897.8A2019-12-162019-12-16Network distribution method and terminal of Internet of things equipment, Internet of things equipment and network distribution systemPendingCN110784865A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201911297897.8ACN110784865A (en)2019-12-162019-12-16Network distribution method and terminal of Internet of things equipment, Internet of things equipment and network distribution system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201911297897.8ACN110784865A (en)2019-12-162019-12-16Network distribution method and terminal of Internet of things equipment, Internet of things equipment and network distribution system

Publications (1)

Publication NumberPublication Date
CN110784865Atrue CN110784865A (en)2020-02-11

Family

ID=69394669

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201911297897.8APendingCN110784865A (en)2019-12-162019-12-16Network distribution method and terminal of Internet of things equipment, Internet of things equipment and network distribution system

Country Status (1)

CountryLink
CN (1)CN110784865A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112020013A (en)*2020-08-212020-12-01青岛海尔科技有限公司 Method and system, device and equipment for distribution network
CN112333710A (en)*2020-10-302021-02-05四川长虹电器股份有限公司Networking method of Internet of things equipment
CN112581658A (en)*2020-12-022021-03-30广州朗国电子科技有限公司Intelligent door lock and network configuration method and network configuration device thereof
CN113259920A (en)*2021-03-162021-08-13浙江绍兴苏泊尔生活电器有限公司Household appliance product
CN114117262A (en)*2020-08-312022-03-01Oppo广东移动通信有限公司 A method, device, intelligent terminal and storage medium for network distribution of Internet of Things equipment
CN116321208A (en)*2021-12-142023-06-23中兴通讯股份有限公司 Equipment terminal distribution network control method, device, equipment terminal and storage medium
CN117651269A (en)*2023-11-292024-03-05深圳市乔安科技有限公司Wireless cascade monitoring method, system and terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105430647A (en)*2015-11-042016-03-23广东欧珀移动通信有限公司 A method for connecting wireless speakers to the network and a mobile terminal
CN105898830A (en)*2016-06-162016-08-24美的集团股份有限公司Wireless network access method and device for intelligent household appliance
CN106211205A (en)*2015-04-302016-12-07广东美的制冷设备有限公司Collocation method and system, household electrical appliance, mobile terminal and server
CN106534957A (en)*2016-10-122017-03-22深圳市东方时代新媒体有限公司Intelligent electric appliance network setting method and system
CN109495950A (en)*2018-12-252019-03-19奥克斯空调股份有限公司A kind of WIFI distribution prompt control method, device and WIFI equipment
US20190141620A1 (en)*2017-11-072019-05-09Qualcomm IncorporatedSelective scanning based on shared scanning information
CN110366229A (en)*2019-08-012019-10-22深圳市昊一源科技有限公司A kind of wireless network connecting method, device, equipment and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106211205A (en)*2015-04-302016-12-07广东美的制冷设备有限公司Collocation method and system, household electrical appliance, mobile terminal and server
CN105430647A (en)*2015-11-042016-03-23广东欧珀移动通信有限公司 A method for connecting wireless speakers to the network and a mobile terminal
CN105898830A (en)*2016-06-162016-08-24美的集团股份有限公司Wireless network access method and device for intelligent household appliance
CN106534957A (en)*2016-10-122017-03-22深圳市东方时代新媒体有限公司Intelligent electric appliance network setting method and system
US20190141620A1 (en)*2017-11-072019-05-09Qualcomm IncorporatedSelective scanning based on shared scanning information
CN109495950A (en)*2018-12-252019-03-19奥克斯空调股份有限公司A kind of WIFI distribution prompt control method, device and WIFI equipment
CN110366229A (en)*2019-08-012019-10-22深圳市昊一源科技有限公司A kind of wireless network connecting method, device, equipment and system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112020013A (en)*2020-08-212020-12-01青岛海尔科技有限公司 Method and system, device and equipment for distribution network
CN114117262A (en)*2020-08-312022-03-01Oppo广东移动通信有限公司 A method, device, intelligent terminal and storage medium for network distribution of Internet of Things equipment
WO2022041472A1 (en)*2020-08-312022-03-03Oppo广东移动通信有限公司Network distribution method and apparatus, and device and storage medium
CN116261722A (en)*2020-08-312023-06-13Oppo广东移动通信有限公司Distribution network method, device, equipment and storage medium
CN112333710A (en)*2020-10-302021-02-05四川长虹电器股份有限公司Networking method of Internet of things equipment
CN112333710B (en)*2020-10-302021-12-17四川长虹电器股份有限公司Networking method of Internet of things equipment
CN112581658A (en)*2020-12-022021-03-30广州朗国电子科技有限公司Intelligent door lock and network configuration method and network configuration device thereof
CN113259920A (en)*2021-03-162021-08-13浙江绍兴苏泊尔生活电器有限公司Household appliance product
CN113259920B (en)*2021-03-162021-11-30浙江绍兴苏泊尔生活电器有限公司Household appliance product
CN116321208A (en)*2021-12-142023-06-23中兴通讯股份有限公司 Equipment terminal distribution network control method, device, equipment terminal and storage medium
CN117651269A (en)*2023-11-292024-03-05深圳市乔安科技有限公司Wireless cascade monitoring method, system and terminal
CN117651269B (en)*2023-11-292024-09-27深圳市乔安科技有限公司Wireless cascade monitoring method, system and terminal

Similar Documents

PublicationPublication DateTitle
CN110784865A (en)Network distribution method and terminal of Internet of things equipment, Internet of things equipment and network distribution system
US12096207B2 (en)Network access authentication method and device
CN108293185B (en) Wireless device authentication method and device
TWI634771B (en) Wisdom device and method and device for establishing Bluetooth connection between devices
CN105379190B (en)The system and method for being used to indicate service set identifier
CN112672351B (en) Wireless local area network authentication method and device, electronic device, and storage medium
CN111865603B (en) Authentication method, authentication device and authentication system
JP6727292B2 (en) Security authentication methods, configuration methods, and related devices
US20140007207A1 (en)Method and device for generating local interface key
US8295488B2 (en)Exchange of key material
CN104967595A (en)Method and apparatus for registering devices on Internet of things platform
EP2291017B1 (en)Method for network connection
WO2016015573A1 (en)Method, device and system for terminal to establish connection
CN103297224B (en)Key information distribution method and relevant device
US11722894B2 (en)Methods and devices for multi-link device (MLD) address discovery in a wireless network
US20200389788A1 (en)Session Key Establishment
CN107979864B (en)Access method, device and system of access point
CN113630774B (en)Method and apparatus for multi-link device (MLD) address discovery in wireless networks
CN101192929A (en) An access method, system and device in a short-distance wireless network
CN116761167B (en)Data encryption transmission method, system, electronic equipment and storage medium
CN107277935B (en)Bluetooth communication method, device and application system and equipment thereof
CN104243416B (en)Encryption communication method, system and relevant device
CN107104798B (en)Information transmission method based on connectionless communication verification
KR20230016662A (en) Key negotiation method, apparatus and system
CN110234110B (en)Automatic switching method for mobile network

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20200211

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp