Movatterモバイル変換


[0]ホーム

URL:


CN112261708A - System and method for automatically configuring WiFi equipment in batches - Google Patents

System and method for automatically configuring WiFi equipment in batches
Download PDF

Info

Publication number
CN112261708A
CN112261708ACN202011500509.4ACN202011500509ACN112261708ACN 112261708 ACN112261708 ACN 112261708ACN 202011500509 ACN202011500509 ACN 202011500509ACN 112261708 ACN112261708 ACN 112261708A
Authority
CN
China
Prior art keywords
network
information
equipment
intelligent
wifi
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
CN202011500509.4A
Other languages
Chinese (zh)
Other versions
CN112261708B (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.)
Shenzhen Jingxun Technology Co ltd
Original Assignee
Shenzhen Jingxun Technology 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 Shenzhen Jingxun Technology Co ltdfiledCriticalShenzhen Jingxun Technology Co ltd
Priority to CN202011500509.4ApriorityCriticalpatent/CN112261708B/en
Publication of CN112261708ApublicationCriticalpatent/CN112261708A/en
Application grantedgrantedCritical
Publication of CN112261708BpublicationCriticalpatent/CN112261708B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention relates to a system and a method for automatically configuring WiFi (wireless fidelity) equipment in batches, which specifically comprise a server, at least two intelligent WiFi equipment and an intelligent mobile terminal, wherein the server is used for verifying the safety of the intelligent WiFi equipment, the intelligent mobile terminal is used for carrying out network distribution on the selected first WiFi equipment through an intelligent mobile application program, the intelligent mobile application program searches for an identifiable SSID head identifier, and the SSID information is decrypted and then connected with an AP hotspot; and after the WiFi equipment is connected with the network, applying for authentication again to the server, encrypting and storing authentication information, starting scanning a peripheral WiFi list, searching and connecting SSID head identifications of identifiable new WiFi equipment, and determining whether to transmit a new routing network information list or send a current routing network information list to the WiFi equipment. The invention utilizes the capability that each intelligent WiFi device can dynamically serve as a distribution network node, omits artificial and complex interactive operation, and has the advantages of long distance coverage, simple operation, safety, reliability and high distribution network speed.

Description

System and method for automatically configuring WiFi equipment in batches
Technical Field
The invention relates to the technical field of network configuration of an intelligent Internet of things, in particular to a system and a method for automatically configuring WiFi equipment in batches.
Background
Due to the rapid development of the internet of things, most of traditional devices need to integrate WiFi modules, and standard configuration of the internet of things is basically formed. However, this also brings certain operational complexity to the application of the internet of things, and a user needs to configure a WiFi network for the internet of things device in an actual operating environment. Most of the conventional devices are devices without visualization capability, such as devices of a refrigerator, an air conditioner, a socket, a switch, and the like, and a user generally needs to perform network configuration for the internet of things device by using a corresponding operation interaction interface (for example, through a mobile application of a smart phone).
There are many existing technologies for a WiFi device distribution network, including: the broadcast packet transmits WiFi identification information; starting WiFi hotspot direct connection transmission on the equipment; configuring a hot spot emitter product batch connection individually, etc. These techniques have certain limitations in practical use, for example, when broadcast packets are transmitted, the reliability of product networking cannot be guaranteed; the hot spot direct connection transmission needs to perform interface interaction for many times to complete the operation of the distribution network, and when the quantity of equipment in a family or a commercial occasion is large, a long time is needed to complete the networking operation of all the equipment, so that the use complexity of a user is increased; the problem can be solved by independently configuring a hot spot emitter, but a user is required to additionally purchase a product, so that the user cost is increased; the transmitter is limited by distance factors, power supply of all devices is not socket type, and the WiFi network can be uniformly configured in a range and a place in a unified mode.
Disclosure of Invention
The invention provides a system and a method for automatically configuring WiFi equipment in batches, and aims to solve at least one of the technical problems in the prior art to a certain extent.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows: a system for automatically configuring WiFi equipment in batches comprises a server, at least two intelligent WiFi equipment and an intelligent mobile terminal, wherein the server is used for verifying the safety of the intelligent WiFi equipment and verifying the credibility of the intelligent WiFi equipment, the intelligent mobile terminal is used for distributing a network to the selected first intelligent WiFi equipment through an intelligent mobile application program, and the intelligent mobile application program searches for a recognizable SSID head identifier and is connected with an AP hotspot after SSID information is decrypted; after the intelligent WiFi equipment is successfully connected with a network, applying for authentication from a server through user token information and equipment unique identification UUID, after the authentication is passed, encrypting and storing the authentication token information and router information into FLASH, starting peripheral WiFi list scanning by the successfully-distributed intelligent WiFi equipment, searching SSID head identification of new identifiable intelligent WiFi, decrypting SSID information, and if new identifiable intelligent WiFi equipment is searched, connecting the equipment to send a configured routing network information list: if the searched identifiable new intelligent WiFi equipment is configured with a network and the stored user token information is inconsistent with the user token information stored in the intelligent WiFi equipment which is currently configured with the network, stopping transmitting the new routing network information list; otherwise, sending the current routing network information list to the identifiable intelligent WiFi equipment.
The technical scheme adopted by the embodiment of the invention also comprises the following steps: the intelligent WiFi equipment comprises a WiFi module and a control unit I/O, and the control unit I/O performs peripheral control and key processing; after the intelligent WiFi equipment leaves the factory and is connected with a power supply, the intelligent WiFi equipment is in a state of not being distributed with a network by default, and the intelligent WiFi equipment works in a wireless access point mode.
The technical scheme adopted by the embodiment of the invention also comprises the following steps: after the configuration of the intelligent WiFi equipment for the first equipment is completed, the intelligent WiFi equipment works in an STA station working mode.
The technical scheme adopted by the embodiment of the invention also comprises the following steps: and the intelligent WiFi equipment is distributed with a network and then stores the encrypted router information in own FLASH.
The technical scheme adopted by the embodiment of the invention also comprises the following steps: the method for searching the peripheral credible AP hotspot information by the intelligent WiFi equipment with the distributed network comprises the following steps: and searching in a mode of 2 seconds at intervals of three times, and automatically stopping searching when credible AP hotspot information is not found after the three times of searching are finished.
The embodiment of the invention adopts another technical scheme that: a method for automatic batch configuration of WiFi equipment comprises the following steps: installing intelligent WiFi equipment in batches, selecting the intelligent WiFi equipment at a central point position to distribute a network to the equipment through an intelligent mobile application program, searching a recognizable SSID head identifier by the intelligent mobile application program, decrypting SSID information and connecting an AP hotspot;
step b: after the intelligent WiFi equipment is successfully connected with a network, applying for authentication from a server through user token information and equipment unique identification UUID, and encrypting and storing the authentication token information and router information in FLASH after the authentication is passed;
step c: the method comprises the following steps of starting peripheral WiFi list scanning by the intelligent WiFi equipment with successful distribution network, searching SSID head identification capable of identifying new intelligent WiFi, decrypting SSID information, and connecting the equipment to send a configured routing network information list if the identifiable new intelligent WiFi equipment is searched: if the searched identifiable new intelligent WiFi equipment is configured with a network and the stored user token information is inconsistent with the user token information stored in the intelligent WiFi equipment which is currently configured with the network, stopping transmitting the new routing network information list; otherwise, sending the current routing network information list to the identifiable intelligent WiFi equipment.
The technical scheme adopted by the embodiment of the invention also comprises the following steps: in the step a: the method comprises the steps that the intelligent WiFi equipment is installed in batches and is in a state of not being distributed with a network, the intelligent WiFi equipment works in an AP mode, the name and the security password of an AP hotspot enable each product to have unique SSID information according to a negotiated protocol, and unique identification information is applied to a cloud server and written into FLASH of the product when the product leaves a factory.
The technical scheme adopted by the embodiment of the invention also comprises the following steps: in the step b: after the intelligent WiFi device that has successfully distributed a network is successfully connected to the AP hotspot of the intelligent WiFi device that has not distributed a network, the intelligent WiFi device that has not distributed a network needs to be subjected to effective user token acquisition to judge whether the device is in a state of not connecting the distributed network or not distributing the network: if the device is in the distribution network unsuccessful connection state, applying authentication request confirmation to a server by acquiring the user token stored in the device, the unique identification code of the device and the effective user token of the current user, so as to judge whether the device is the device of the same user.
The technical scheme adopted by the embodiment of the invention also comprises the following steps: in the step b: if the devices are not the devices under the same user, the distribution network information is not sent, the current connection is disconnected, the AP hotspot information of the devices is recorded in a blacklist of the distributed devices, and the blacklist is cleared in the scanning of the peripheral non-distributed devices at a random time point every day of the devices; if the device which is not equipped with the network, the current router information list is sent to the device in a data encryption mode.
The technical scheme adopted by the embodiment of the invention also comprises the following steps: the step c further comprises the following steps: after the SSID information is updated, the equipment connected to the router network is disconnected; if the SSID is found to exist but the connection password is not correct or the SSID does not exist after continuously scanning for three times at intervals of 2 seconds, the mode cannot be automatically switched to the AP mode, and a user needs to actively configure new router network information or restore the SSID information through a mobile terminal application program; when the multi-router information stored in the equipment exists and is within the effective distance range of a plurality of routers, a memory identifier is needed, and when the information of successful equipment distribution network verification under the current user and pushed by a server is received, the AP mode is switched to automatically acquire the modified SSID information; and after the new SSID information is obtained, automatically switching the connection of other effective routers, and transmitting the SSID information updated by other distribution network equipment in the network through data encryption UDP.
Compared with the prior art, the invention has the beneficial effects that: 1) The distribution network of any first equipment adopts intelligent interactive operation; 2) The intelligent WiFi equipment is used for safely storing the information of the effective router, so that each piece of equipment can memorize the information of the effective router at one time through authorization of a user; 3) the wide-range WiFi equipment is automatically distributed with a network: the distance of the router is limited, and particularly, the effective distance is not too far under the condition that the indoor space is blocked, so that if the same user has large family area or commercial use (such as unified management of intelligent products in enterprises and markets), the automatic multi-WiFi router self-adaptive optimal network connection of all equipment can be completed at one time; 4) the intelligent WiFi equipment can be dynamically used as a distribution network node, manual complex interactive operation is omitted, and the intelligent WiFi equipment has the advantages of long distance coverage, simplicity in operation, safety, reliability and high distribution network speed.
Drawings
Fig. 1 is a schematic structural diagram of a system for automated batch configuration of WiFi devices according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for automated batch configuration of WiFi devices in accordance with an embodiment of the present invention;
fig. 3 is a flowchart of an automatic multi-routing distribution network of a method for automatically configuring WiFi devices in batch according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a schematic structural diagram of a system for automatically configuring WiFi devices in batch according to an embodiment of the present invention. Specifically, in the specific implementation manner of the present invention, the intelligent WiFi devices include an intelligent WiFi device 1, an intelligent WiFi device 2, an intelligent WiFi device 3, an intelligent WiFi device 4, an intelligent WiFi device 5 through an intelligent WiFi device N. The server is mainly used for verifying the safety of the intelligent WiFi equipment and verifying the credibility of the intelligent WiFi equipment, and if the verified intelligent WiFi equipment cannot be safely identified, the intelligent WiFi equipment is not allowed to acquire network information so as to prevent private information of a route from being leaked; the intelligent WiFi equipment is provided with a WiFi module and a control unit I/O, and the control unit I/O performs peripheral control and key processing; the intelligent mobile terminal mainly comprises a mobile phone and a visual flat mobile terminal device,
the working principle of the system for automatically configuring the WiFi equipment in batches in the embodiment of the invention is as follows:
after the intelligent WiFi equipment of a factory-leaving product is connected with a power supply, the intelligent WiFi equipment is in a state of not being distributed with a network by default, the product is in an AP mode (wireless access point mode) to work, the name and the security password of an AP hotspot enable each product to have unique SSID (service Set identifier) information according to a negotiated protocol, the unique identification information is applied to a server and written into a FLASH of the product when the product leaves the factory, and the intelligent WiFi equipment is in a passive connection state after being started for the first time; when a user owns a batch of intelligent WiFi equipment and installs the intelligent WiFi equipment for the first time, the intelligent WiFi equipment at a central point position can be selected to distribute the network to the equipment through an intelligent mobile application program, and the encrypted router information is stored in the FLASH after the intelligent WiFi equipment distributes the network; after the configuration of the first device is completed, the first device works in an STA mode, and starts peripheral WiFi information scanning after self data is initialized, when fixed identification head (such as SMART) data with protocol negotiation is scanned, AES128 is adopted for decryption according to the negotiated encryption mode, and then the server acquires corresponding password information according to the decrypted data; and after decryption, connecting a corresponding device AP hotspot, transmitting SSID network information to be connected by adopting a data encryption mode, scanning peripheral WiFi information, if scanning is continuously carried out for three times and the scanning interval time is 2 seconds, a recognizable AP hotspot identifier is not found, the intelligent WiFi device which has accessed to the network stops scanning so as to avoid reducing the working performance of the device, if the peripheral WiFi list scanning is stopped, the accessed device needs to be triggered to wake up to actively scan a peripheral trusted WiFi list, and in addition, the accessed device needs to scan the peripheral trusted WiFi device for three times at a random time within 24 hours after the current effective network connection time or the automatic search is finished. The random time scanning aims to relieve the pressure of uniform security authentication of the server after the same time point scans peripheral trusted equipment. The AP hotspot information security encryption description in the embodiment of the invention is as follows: 1) the AP security encryption content mainly comprises: SSID name, SSID password and encryption mode; 2) SSID name adopts two parts of fixed identification head and encryption body agreed, the encryption body is encrypted and obtained by AES128 by MAC address; the SSID password is stored in the server and is bound with the MAC address; the encryption mode adopts WPA/WPA2 encryption; 3) After the WiFi equipment of the distribution network scans the identifiable identification head, the identification head is transmitted to the server by https + security authentication, and SSID password information is acquired in a data encryption mode.
The distribution network information storage mechanism of the distributed WiFi equipment comprises the following steps: 1) after the first or any one of the WiFi devices completes the network configuration, it needs to support a plurality of effective router information storage functions (for other 2-N WiFi devices connected to the network, it also needs to store the received effective router information, in order to ensure that the devices within the effective distance range of the plurality of routers can obtain the same information, and the devices perform preferred connection); 2) When a commercial intelligent market needs to dynamically and quickly configure information of a plurality of routers, the configured router equipment can be uniformly deployed in the effective range of the periphery of the first distribution network equipment; 3) the distribution network connection is carried out on each routing device which can be used, and the SSID information of the router is encrypted and stored after the WiFi intelligent device is successfully connected with the network; 4) The distribution network information storage mechanism for the same product series comprises the following steps: the routing information list needs to be periodically stored along with the user valid token. When the equipment loses connection, a token server is required to be authenticated to verify that the equipment is trusted equipment under the same user when a new network connection request is automatically received, and automatic connection of routing information of other users is ensured under the condition that the routing information of other users is not authorized; 5) and when the WiFi equipment which is not accessed to the network receives the multi-route list information and the equipment is positioned in the range of a plurality of effective routers, automatically and preferentially connecting according to the RSSI (received signal strength indicator) strength of the scanned surrounding WiFi list.
In the embodiment, the information updating process of the router after the distribution network is completed: 1) when the password of the router information is changed, a certain device connected with the router needs to be newly distributed with a network and the storage information connected with the network needs to be updated; 2) when the routes connected with the equipment of the distributed network can not be connected, firstly searching an effective router list of the cache FLASH to connect, and when all the cache lists can not be connected, automatically switching back to the AP mode to change the original working state mode of the user (because of various possible reasons, the router of the user can only be temporarily and normally used, and software can not automatically destroy the possible changes of the user, such as self recovery known by the user, for example, power-off router, temporary router information modification test, and the like); 3) as described above, when the cache routing list has only one router information and the router information is changed, all devices need to be manually reset, so as to complete the initial network configuration method in the present invention; 4) as described above, when the cache routing list has a plurality of router information and a certain router information is changed, the non-networked device needs to be manually reset, so as to complete the initial network configuration method in the present invention; meanwhile, equipment in the effective range of a plurality of routers needs to have a memory function, and when verification information of a distribution network of a server user is received, the mode is automatically switched to an AP mode to acquire new router information; 5) as described above, when the cache router information list is updated, in order to ensure that the user routing information is not obtained by any way, the cloud server channel should not be used for updating, but the update of the cache valid routing list should be automatically completed locally: when a plurality of effective routing lists exist in the area range, each intelligent WiFi equipment node automatically scans peripheral effective WiFi lists, successfully connects the peripheral effective WiFi lists one by one, and notifies and updates the current effective routing information needing to be updated through UDP broadcast.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for automated batch configuration of WiFi devices according to an embodiment of the present invention. The method for automatically configuring the WiFi equipment in batches comprises the following steps:
step 100: installing intelligent WiFi equipment in batches, selecting the intelligent WiFi equipment at a central point position to distribute a network to the equipment through an intelligent mobile application program, searching a recognizable SSID head identifier by the intelligent mobile application program, decrypting SSID information and connecting an AP hotspot;
instep 100, the intelligent WiFi devices installed in batch are all in a state of not being in a network distribution, the intelligent WiFi devices operate in an AP mode, the name and the security password of the AP hotspot enable each product to have unique SSID information according to a negotiated protocol, and the unique identification information is applied to the cloud server and written into a FLASH of the product when the product leaves a factory. The AP hotspot information of the intelligent WiFi equipment consists of fixed SSID head information and encrypted identification information which are defined according to negotiation, and the password connected with the SSID needs to be applied to a server through data decrypted by an agreed AES128 decryption key.
Step 200: after the intelligent WiFi equipment is successfully connected with a network, applying for authentication from a server through user token information and equipment unique identification UUID, and encrypting and storing the authentication token information and router information in FLASH after the authentication is passed;
instep 200, the credibility of the intelligent WiFi device needs to be authenticated and confirmed through the server platform, and after the intelligent WiFi device that has successfully distributed the network successfully connects to the AP hotspot of the intelligent WiFi device that has not distributed the network, the intelligent WiFi device that has not distributed the network needs to be subjected to effective user token acquisition to determine whether the device is in a state of not connected to the distributed network or in a state of not distributing the network: if the device is in the distribution network unsuccessful connection state, applying authentication request confirmation to a server by acquiring the user token stored in the device, the unique identification code of the device and the effective user token of the current user, so as to judge whether the device is the device of the same user. If the devices are not the devices under the same user, the distribution network information is not sent, the current connection is disconnected, and the AP hotspot information of the devices is recorded in a blacklist of the distributed devices, so that the distributed devices are prevented from being repeatedly connected. And the blacklist list is cleared in the process of scanning the peripheral equipment which is not distributed at a random time point every day, and the steps are repeated. If the equipment without the network is not configured with the network, the current router information list is sent to the equipment in a data encryption mode, so that the equipment without the network is connected through the router information list selection router network, the intelligent WiFi equipment at a central point position is supposed to be selected to be the intelligent WiFi equipment 1, and after the first intelligent WiFi equipment 1 is configured, the intelligent WiFi equipment 1 automatically searches for the peripheral credible intelligent WiFi equipment 2 and the peripheral credible intelligent WiFi equipment 3. The topology shown in fig. 1 indicates that any intelligent WiFi device may become a distribution network node for distributing networks for WiFi intelligent devices around the intelligent WiFi device. The system components shown in fig. 1 only need to first configure effective router information, so that the effective range of all intelligent WiFi equipment distribution networks can be expanded without limitation, and the limitation constraint of WiFi effective distances is greatly solved. In this embodiment, the intelligent WiFi devices in the first network distribution listed in the system module block diagram may select the central point range of all the devices in the network distribution, and the relative signal strength is stronger, so that the network distribution speed can be accelerated more quickly. In this embodiment, it is not restricted that a central point device is necessarily selected for distribution, but it is only recommended that any intelligent WiFi device capable of connecting to a router below a user can be used as a first distribution device, and all the intelligent WiFi devices are used as a part of the embodiments of the present invention.
Step 300: the method comprises the following steps of starting peripheral WiFi list scanning by the intelligent WiFi equipment with successful distribution network, searching SSID head identification capable of identifying new intelligent WiFi, decrypting SSID information, and connecting the equipment to send a configured routing network information list if the identifiable new intelligent WiFi equipment is searched: if the searched identifiable new intelligent WiFi equipment is configured with a network and the stored user token information is inconsistent with the user token information stored in the intelligent WiFi equipment which is currently configured with the network, stopping transmitting the new routing network information list; otherwise, sending the current routing network information list to the identifiable intelligent WiFi equipment.
Thestep 300 specifically includessteps 310 to 3N0, and insteps 310 to 3N0, the state processing mechanisms of the first or nth successfully-configured intelligent WiFi devices are consistent, and the first or nth successfully-configured intelligent WiFi devices serve as the intelligent WiFi devices themselves, and do not distinguish that the current nodes are successfully configured. And automatically searching the surrounding credible AP hotspot information as long as the current WiFi equipment router is successfully connected. The method for searching peripheral credible AP hotspot information by the intelligent WiFi equipment with the distributed network comprises the following steps: in order to ensure the reliability of the search, the search is carried out in a mode of 2 seconds at intervals of three times, and the search is automatically stopped when credible AP hotspot information is not found after the three times of continuous search are finished. The order of magnitude definition of the search pattern in the described embodiment of the present invention is only a recommendation, and any order of magnitude adjustment will still be part of the present invention. After the peripheral credible AP hotspot searching is stopped in the embodiment, each device randomly generates a time point within 24 hours in the future to automatically search the peripheral credible AP hotspots so as to facilitate automatic discovery of newly added devices which are not accessed to the network. The purpose of the random time point described in this embodiment is to prevent the server from being over stressed due to the fact that a lot of devices send a large number of device authentications to the server at the same time point. After the intelligent WiFi device in this embodiment successfully joins in a network, the obtained router network list information needs to be encrypted and stored, so as to prevent the FLASH of the device from being read by someone from revealing the router information of the user. The intelligent WiFi equipment needs to have a shortcut to trigger peripheral credible AP hotspot scanning under the condition of network connection, so that when a user newly adds intelligent WiFi equipment without a distribution network, the intelligent WiFi equipment can be quickly connected to a router network. The shortcut for triggering the peripheral credible AP hotspot scanning can be set according to the characteristics of the product, and is not particularly defined in the embodiment of the present invention, and any definition in the present implementation principle shall belong to the content of the present invention.
Referring to fig. 3, fig. 3 is a flowchart illustrating an automatic multi-routing distribution network according to a method for automatically configuring WiFi devices in batch according to an embodiment of the present invention. The intelligent WiFi devices in the distributed network shown in fig. 3 only list some two intelligent WiFi devices in the distributed network, and it is assumed that the intelligent WiFi device 1 is connected to the router 1, and the intelligent WiFi device 2 is connected to some router N, where the router name is merely defined for describing the present embodiment, the router 1 and the router N may also be the same router, and the same is also applicable to the present flowchart, where two different routers are used to illustrate the distance range expandability of the automatic distribution network of the intelligent WiFi device and the networking competition optimization processing method under the multiplexer).
Assuming that the intelligent WiFi devices not connected to the network are located in the effective distance range of the intelligent WiFi devices connected to the network under two routers or in the effective distance range of the intelligent WiFi devices connected to the network under the same router, both the two intelligent WiFi devices connected to the network can search for AP hotspot information of the intelligent WiFi devices (for the intelligent WiFi devices not connected to the network within the effective distance range of the intelligent WiFi devices connected to the network, the process is performed according to the flow shown in fig. 2).
The method comprises the steps that two or more intelligent WiFi devices which are already distributed with networks search AP hotspots of intelligent WiFi devices which are not already distributed with networks, if the devices are credible AP hotspot information, the devices take the first intelligent WiFi device which is connected with the devices and is already distributed with networks as effective connection, other devices reply to the devices which are currently distributed with networks according to a negotiated protocol after connection of the other devices is successful, the other devices automatically release the connection after receiving the information, and automatically process the devices which are not distributed with networks within a short certain time. The purpose of maintaining an active connection is not to handle too much information interaction because the active router information stored in the devices of the distributed network is consistent. After the credible intelligent WiFi equipment which is not provided with the network receives the connectable network router list information, the credible intelligent WiFi equipment starts to scan the peripheral WiFi hotspot information list. The distance of the automatic distribution network of the equipment is wide, and the network connection is stable. The user only needs to match the router needing the distribution network with a certain device once, and then the router information list is stored in the device. The router information list may then be obtained by the authenticated new device. Any equipment which is distributed with the network can select a router network to connect according to the distance between the equipment and different routers, and the stability of equipment connection is guaranteed. The method for scanning the information of each router in the peripheral router information list by the equipment mainly comprises the following steps: the name of the SSID of the router, the RSSI network signal strength of the router, the encryption mode of the router, the channel of the router, the BSSID and other information. The device compares the BSSID in the scanned router information list with the BSSID information in the router SSID information list stored in the FLASH, extracts the matched SSID routers, and selects the router with the maximum RSSI network signal intensity of the scanned router to connect according to the encryption mode of the router through the stored router password if a plurality of routers exist.
The embodiment of the present application further provides a mechanism for dynamically updating and storing router information, and users may change their router information at any time, including updating SSID names or SSID passwords. After the SSID information is updated, the device previously connected to the router network is disconnected. After the device configured with the network is disconnected, the following processes are respectively processed according to the situation: if the SSID is found to exist but the connection password is not correct or the SSID does not exist after 2 seconds every time of continuous scanning for three times, the equipment cannot be automatically switched to the AP mode because the equipment cannot judge the reasons of artificial test modification or artificial power-off operation and the like, and a user needs to actively configure new router network information or restore the SSID information through a mobile terminal application program; when the SSID password modification causes a connection failure condition, when the multi-router information exists in the equipment and is within the effective distance range of a plurality of routers, a memory identifier is needed, and the equipment is switched to an AP mode for 5 to 10 seconds when the information which is pushed by the server and is successfully verified by the equipment distribution network of the current user is received so as to ensure that the modified SSID information is automatically obtained; after the new SSID information is obtained, other effective routers need to be automatically switched to be connected, and the SSID information updated by other network-distributed equipment in the network is transmitted through the data encryption UDP. The update of the SSID password information ensures that the router information of all nodes under the user is uniformly updated to ensure consistency.
In the embodiment of the present invention, the intelligent WiFi device refers to any device with WiFi connection capability, including a single WiFi module product, a gateway device with WiFi connection capability, and the like.
According to the embodiment of the invention, any intelligent WiFi equipment is adopted as the dynamic distribution network node, so that the limitation of the distribution network is solved from the aspects of rapidness, safety, simplicity, reliability, wide range and automation processing of multiple dimensions of the distribution network. Although the embodiments described above have been described in some detail, it should be understood by those skilled in the art that various changes and modifications may be made without departing from the basic concept of the invention, and these changes and modifications are also considered as the protection scope of the invention.
The invention has the following beneficial effects: 1) The distribution network of any first equipment adopts intelligent interactive operation; 2) The intelligent WiFi equipment is used for safely storing the information of the effective router, so that each piece of equipment can memorize the information of the effective router at one time through authorization of a user; 3) the wide-range WiFi equipment is automatically distributed with a network: the distance of the router is limited after all, and particularly the effective distance is not too far under the condition that the indoor barrier exists, so that if the same user has large family area or commercial use (such as unified management of intelligent products in enterprises and shopping malls), the automatic multi-WiFi router self-adaptive optimal network connection of all equipment can be completed at one time; 4) the intelligent WiFi equipment can be dynamically used as a distribution network node, manual complex interactive operation is omitted, and the intelligent WiFi equipment has the advantages of long distance coverage, simplicity in operation, safety, reliability and high distribution network speed.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. The system for automatically configuring the WiFi equipment in batches is characterized by comprising a server, at least two intelligent WiFi equipment and an intelligent mobile terminal, wherein the server is used for verifying the safety of the intelligent WiFi equipment and verifying the credibility of the intelligent WiFi equipment, the intelligent mobile terminal is used for distributing a network to the selected first intelligent WiFi equipment through an intelligent mobile application program, and the intelligent mobile application program searches for an identifiable SSID head identifier and is connected with an AP hotspot after SSID information is decrypted; after the intelligent WiFi equipment is successfully connected with a network, applying for authentication from a server through user token information and equipment unique identification UUID, after the authentication is passed, encrypting and storing the authentication token information and router information into FLASH, starting peripheral WiFi list scanning by the successfully-distributed intelligent WiFi equipment, searching SSID head identification of new identifiable intelligent WiFi, decrypting SSID information, and if new identifiable intelligent WiFi equipment is searched, connecting the equipment to send a configured routing network information list: if the searched identifiable new intelligent WiFi equipment is configured with a network and the stored user token information is inconsistent with the user token information stored in the intelligent WiFi equipment which is currently configured with the network, stopping transmitting the new routing network information list; otherwise, sending the current routing network information list to the identifiable intelligent WiFi equipment.
step c: the method comprises the following steps of starting peripheral WiFi list scanning by the intelligent WiFi equipment with successful distribution network, searching SSID head identification capable of identifying new intelligent WiFi, decrypting SSID information, and connecting the equipment to send a configured routing network information list if the identifiable new intelligent WiFi equipment is searched: if the searched identifiable new intelligent WiFi equipment is configured with a network and the stored user token information is inconsistent with the user token information stored in the intelligent WiFi equipment which is currently configured with the network, stopping transmitting the new routing network information list; otherwise, sending the current routing network information list to the identifiable intelligent WiFi equipment.
8. The method for automated bulk configuration of WiFi devices of claim 6, wherein in step b: after the intelligent WiFi device that has successfully distributed a network is successfully connected to the AP hotspot of the intelligent WiFi device that has not distributed a network, the intelligent WiFi device that has not distributed a network needs to be subjected to effective user token acquisition to judge whether the device is in a state of not connecting the distributed network or not distributing the network: if the device is in the distribution network unsuccessful connection state, applying authentication request confirmation to a server by acquiring the user token stored in the device, the unique identification code of the device and the effective user token of the current user, so as to judge whether the device is the device of the same user.
10. The method for automated bulk configuration of WiFi devices of claim 6, further comprising at said step c: after the SSID information is updated, the equipment connected to the router network is disconnected; if the SSID is found to exist but the connection password is not correct or the SSID does not exist after continuously scanning for three times at intervals of 2 seconds, the mode cannot be automatically switched to the AP mode, and a user needs to actively configure new router network information or restore the SSID information through a mobile terminal application program; when the multi-router information stored in the equipment exists and is within the effective distance range of a plurality of routers, a memory identifier is needed, and when the information of successful equipment distribution network verification under the current user and pushed by a server is received, the AP mode is switched to automatically acquire the modified SSID information; and after the new SSID information is obtained, automatically switching the connection of other effective routers, and transmitting the SSID information updated by other distribution network equipment in the network through data encryption UDP.
CN202011500509.4A2020-12-182020-12-18System and method for automatically configuring WiFi equipment in batchesActiveCN112261708B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202011500509.4ACN112261708B (en)2020-12-182020-12-18System and method for automatically configuring WiFi equipment in batches

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202011500509.4ACN112261708B (en)2020-12-182020-12-18System and method for automatically configuring WiFi equipment in batches

Publications (2)

Publication NumberPublication Date
CN112261708Atrue CN112261708A (en)2021-01-22
CN112261708B CN112261708B (en)2021-07-20

Family

ID=74225353

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202011500509.4AActiveCN112261708B (en)2020-12-182020-12-18System and method for automatically configuring WiFi equipment in batches

Country Status (1)

CountryLink
CN (1)CN112261708B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113423105A (en)*2021-06-102021-09-21杭州华橙软件技术有限公司Network connection method and device
CN113873505A (en)*2021-02-182021-12-31天翼智慧家庭科技有限公司Method and system for automatically discovering distribution network by intelligent terminal
CN114124898A (en)*2021-10-222022-03-01深圳中科德能科技有限公司Automatic searching method and device for intelligent equipment
CN114245402A (en)*2021-12-132022-03-25珠海格力电器股份有限公司Network distribution method and device of intelligent device, electronic device and storage medium
CN114286421A (en)*2021-12-222022-04-05珠海格力电器股份有限公司 A distribution network method, device, system, electronic device and storage medium
CN114339960A (en)*2022-01-072022-04-12深圳华芯信息技术股份有限公司Robot rapid network configuration method and system, robot equipment end and APP end
CN115150797A (en)*2022-05-162022-10-04芜湖美的厨卫电器制造有限公司Intelligent device and network connection method thereof, routing device and storage medium
CN115225818A (en)*2022-07-132022-10-21北京有竹居网络技术有限公司Method, device, equipment and storage medium for configuring equipment
CN115484613A (en)*2022-08-192022-12-16广东省安心加科技有限公司Household distributed networking communication control method and system
CN115580912A (en)*2022-12-072023-01-06深圳市华曦达科技股份有限公司Whole-house intelligent equipment WiFi connection management method, system and storage medium
US12229275B2 (en)2020-04-082025-02-18Wells Fargo Bank, N.A.Security model utilizing multi-channel data with risk-entity facing cybersecurity alert engine and portal
US12341816B1 (en)2020-04-082025-06-24Wells Fargo Bank, N.A.Security model utilizing multi-channel data with service level agreement integration

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105141645A (en)*2014-05-292015-12-09阿里巴巴集团控股有限公司Login method of terminal devices, terminal devices and cloud server
CN105554754A (en)*2015-12-162016-05-04Tcl集团股份有限公司Method and system for accessing WIFI module of the internet of things to network
CN105871635A (en)*2016-06-022016-08-17山东有人信息技术有限公司Method for automatically configuring multiple WIFI module parameters in local area
CN106100890A (en)*2016-06-282016-11-09杭州威威网络科技有限公司A kind of automatically scanned the method that Quick Response Code completes parameter configuration by equipment
CN106332143A (en)*2016-09-282017-01-11四川长虹电器股份有限公司Method for rapidly configuring a network for smart device
US20190069225A1 (en)*2013-01-092019-02-28Martin NathansonVehicle communications via wireless access vehicular environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20190069225A1 (en)*2013-01-092019-02-28Martin NathansonVehicle communications via wireless access vehicular environment
CN105141645A (en)*2014-05-292015-12-09阿里巴巴集团控股有限公司Login method of terminal devices, terminal devices and cloud server
CN105554754A (en)*2015-12-162016-05-04Tcl集团股份有限公司Method and system for accessing WIFI module of the internet of things to network
CN105871635A (en)*2016-06-022016-08-17山东有人信息技术有限公司Method for automatically configuring multiple WIFI module parameters in local area
CN106100890A (en)*2016-06-282016-11-09杭州威威网络科技有限公司A kind of automatically scanned the method that Quick Response Code completes parameter configuration by equipment
CN106332143A (en)*2016-09-282017-01-11四川长虹电器股份有限公司Method for rapidly configuring a network for smart device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US12341816B1 (en)2020-04-082025-06-24Wells Fargo Bank, N.A.Security model utilizing multi-channel data with service level agreement integration
US12229275B2 (en)2020-04-082025-02-18Wells Fargo Bank, N.A.Security model utilizing multi-channel data with risk-entity facing cybersecurity alert engine and portal
CN113873505A (en)*2021-02-182021-12-31天翼智慧家庭科技有限公司Method and system for automatically discovering distribution network by intelligent terminal
CN113873505B (en)*2021-02-182023-09-01天翼数字生活科技有限公司Method and system for automatically discovering distribution network by intelligent terminal
CN113423105A (en)*2021-06-102021-09-21杭州华橙软件技术有限公司Network connection method and device
CN113423105B (en)*2021-06-102022-06-14杭州华橙软件技术有限公司Network connection method and device
CN114124898B (en)*2021-10-222023-07-21深圳中科德能科技有限公司Automatic searching method and device for intelligent equipment
CN114124898A (en)*2021-10-222022-03-01深圳中科德能科技有限公司Automatic searching method and device for intelligent equipment
CN114245402A (en)*2021-12-132022-03-25珠海格力电器股份有限公司Network distribution method and device of intelligent device, electronic device and storage medium
CN114245402B (en)*2021-12-132023-09-08珠海格力电器股份有限公司Network distribution method and device of intelligent equipment, electronic equipment and storage medium
CN114286421A (en)*2021-12-222022-04-05珠海格力电器股份有限公司 A distribution network method, device, system, electronic device and storage medium
CN114339960A (en)*2022-01-072022-04-12深圳华芯信息技术股份有限公司Robot rapid network configuration method and system, robot equipment end and APP end
CN115150797A (en)*2022-05-162022-10-04芜湖美的厨卫电器制造有限公司Intelligent device and network connection method thereof, routing device and storage medium
CN115225818A (en)*2022-07-132022-10-21北京有竹居网络技术有限公司Method, device, equipment and storage medium for configuring equipment
CN115225818B (en)*2022-07-132024-05-21北京有竹居网络技术有限公司Method, apparatus, device and storage medium for configuring device
CN115484613A (en)*2022-08-192022-12-16广东省安心加科技有限公司Household distributed networking communication control method and system
CN115580912A (en)*2022-12-072023-01-06深圳市华曦达科技股份有限公司Whole-house intelligent equipment WiFi connection management method, system and storage medium

Also Published As

Publication numberPublication date
CN112261708B (en)2021-07-20

Similar Documents

PublicationPublication DateTitle
CN112261708B (en)System and method for automatically configuring WiFi equipment in batches
US12376062B2 (en)Detecting profile-based wireless mesh node failover in communication networks
US8959601B2 (en)Client configuration during timing window
EP3396928B1 (en)Method for managing network access rights and related device
JP3869392B2 (en) User authentication method in public wireless LAN service system and recording medium storing program for causing computer to execute the method
CN103686709B (en)A kind of wireless mesh network authentication method and system
JP3585422B2 (en) Access point device and authentication processing method thereof
EP3764697B1 (en)Method of batch automatic network configuration of wifi devices, terminal equipment and storage medium
US20070190973A1 (en)Base station, wireless communication systems, base station control programs and base station control methods
CN114845420B (en) A method and system for AP networking and joining in EasyMesh network
JP2016208534A (en)Authentication using dhcp services in mesh networks
WO2006129287A1 (en)Method and devices for wireless network access management
US20060039360A1 (en)Method and system for distribution of configuration information among access points in a wireless local area network (WLAN) across a distribution system (DS)
KR101460766B1 (en) A security setting system and its control method using a cluster function in a wireless network system
US8312151B2 (en)Communication systems and methods for dynamic and secure simplification of equipment networking
CN114945192B (en)Easymesh network rapid networking method and system
Dai Zovi et al.Attacking automatic wireless network selection
CN110943835A (en)Distribution network encryption method and system for sending wireless local area network information
KR20160086140A (en)Apparatus and method for security management of home IoT device
CN103781071B (en)The method of access points and relevant device
US7996664B2 (en)Method and system for improved communication network setup
US12445846B2 (en)Transmission of network access information for wireless device
KR100621124B1 (en) Encryption key management method in wireless network and network device using same
US20240073690A1 (en)Transmission of network access information for wireless device
JP2006020088A (en) Network automatic connection method, apparatus for automatic connection to network, and program

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp