CN113473479A - Method for rapidly distributing WiFi modules in batch - Google Patents
Method for rapidly distributing WiFi modules in batch Download PDFInfo
- Publication number
- CN113473479A CN113473479A CN202110351471.7A CN202110351471A CN113473479A CN 113473479 A CN113473479 A CN 113473479A CN 202110351471 A CN202110351471 A CN 202110351471A CN 113473479 A CN113473479 A CN 113473479A
- Authority
- CN
- China
- Prior art keywords
- network
- distribution
- distributed
- equipment
- distribution network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W16/00—Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
- H04W16/18—Network planning tools
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method for rapidly distributing a network in batches by WiFi modules, which specifically comprises the following steps: and C, entering a batch distribution network through the APP, selecting distributed network equipment to send a batch distribution network instruction, entering an Ap mode and a specific ssid by the distributed network equipment, starting a UDP (user datagram protocol) Server by the distributed network equipment in the step two, waiting for a distribution network request, detecting whether the network is distributed or not after the distributed network equipment is powered on and started, entering a distribution network state of a non-distribution network, and searching for the specific ssid for networking. According to the method for rapidly distributing the network in batches by the WiFi modules, the WiFi modules of which the network distribution is finished are used as Ap hot spots, the appointed ssid is adopted, the subsequent network distribution process does not need manual operation, the workload of the network distribution is reduced, and the network distribution time is shortened; the plurality of wifi modules are supported to be connected with the hot spot module at the same time, and the distribution network is carried out at the same time, so that the distribution network efficiency is improved; no special requirement is made on the router, the distribution network has high reliability and high success rate; and module identity authentication and message encryption are supported, and equipment safety is ensured.
Description
Technical Field
The invention relates to the field of network distribution methods, in particular to a method for rapidly distributing network in batches by WiFi modules.
Background
wifi is a wireless local area network provided by a routing device, a networking device can connect to the wifi network by searching for a specific ssid, authentication needs to be performed by means of a secret key and the like during connection, and the process is called a distribution network;
however, the existing method for rapidly distributing the network in batches by the WiFi modules has certain defects to be improved, manual operation is firstly needed, when the network is distributed to the plurality of WiFi modules at the same time, the efficiency of the distribution network is underground, and the power of the distribution network is poor; secondly, join in marriage net work load big, join in marriage net time long, in addition, do not support a plurality of wifi modules and connect the hot spot module simultaneously, join in marriage the net simultaneously, the result of use is poor.
Disclosure of Invention
The invention mainly aims to provide a method for rapidly distributing WiFi modules in batches, which can effectively solve the problems in the background art that: firstly, manual operation is needed, when a plurality of wifi modules are simultaneously distributed, the efficiency of the distribution network is underground, and the distribution network has a power difference; secondly, join in marriage net work load big, join in marriage net time long, in addition, do not support a plurality of wifi modules and connect the hot spot module simultaneously, join in marriage the net simultaneously, the result of use is poor.
In order to achieve the purpose, the invention adopts the technical scheme that:
A method for rapidly distributing WiFi modules in batches comprises the following steps:
the method comprises the following steps: entering a batch distribution network through the APP, and selecting distributed network equipment to send a batch distribution network instruction;
step two: the distributed network equipment enters an Ap mode and a specific ssid;
step three: starting a UDP Server by the equipment with the network distribution in the step two, and waiting for a network distribution request;
step four: after the equipment to be networked is powered on and started, detecting whether a network is distributed or not, and if the network is not distributed, entering a network distribution state, searching a specific ssid for networking, and connecting the ssid to the equipment which is distributed in the Ap mode;
step five: the method comprises the steps that a device to be distributed sends a distribution network request packet to a UDP Server of a device already distributed through UDP;
step six: the distributed network equipment receives the distribution network request and then performs authentication;
step seven: after the authentication is passed, the distribution network information is sent to the equipment to be distributed, and the authentication is not passed and the distribution network request packet is sent again for authentication;
step eight: and switching wifi by the equipment to be distributed to complete distribution according to the distribution network information.
As a further scheme of the present invention, the UDP Server in the fifth step includes a storage module, a matching module, a receiving module, and a determining module, wherein the storage module is configured to store the authentication information.
As a further scheme of the present invention, the UDP Server specifically processes the following steps:
S1: storing the authentication information in a storage module;
s2: when the receiving module receives the distribution network request, the matching module is matched with the authentication information stored in the storage module;
s3: the judging module judges whether the matching is successful or not, judges that the distribution network is successful after the matching is successful, and judges that the distribution network fails when the matching is unsuccessful.
As a further scheme of the present invention, in the step eight, the step of switching wifi to complete the distribution network specifically comprises the following steps:
a1: setting the number of wifi as N, and sequentially naming the wifi as a, b, c and d.cndot.n;
a2: when the equipment to be distributed requests for distribution, the distribution is firstly carried out from a, and when the distribution is unsuccessful, the equipment to be distributed is switched to b, c, d.cndot.n until the equipment to be distributed is matched with the network.
As a further scheme of the present invention, in a2, the next device to be connected switches wifi in the same manner and filters the ssid of the distribution network to complete the distribution network.
Compared with the prior art, the invention has the following beneficial effects:
1) the wifi module of the finished distribution network is used as an Ap hotspot, the previously agreed ssid is adopted, the subsequent distribution network flow does not need manual operation, the distribution network workload is reduced, and the distribution network time is shortened.
2) The plurality of wifi modules are supported to be connected with the hot spot module at the same time, and a network is distributed at the same time, so that the network distribution efficiency is improved.
3) The method has no special requirements on the router, and has high distribution network reliability and high success rate.
4) And module identity authentication and message encryption are supported, and equipment safety is ensured.
Drawings
Fig. 1 is a flowchart of a method for rapidly distributing network in batches by using WiFi modules according to the present invention.
Detailed Description
In order to make the technical means, the creation characteristics, the achievement purposes and the effects of the invention easy to understand, the invention is further described with the specific embodiments.
As shown in fig. 1, a method for rapidly distributing networks in batches through WiFi modules specifically includes the following steps:
the method comprises the following steps: entering a batch distribution network through the APP, and selecting distributed network equipment to send a batch distribution network instruction;
step two: the distributed network equipment enters an Ap mode and a specific ssid;
step three: starting a UDP Server by the equipment with the network distribution in the step two, and waiting for a network distribution request;
step four: after the equipment to be networked is powered on and started, detecting whether a network is distributed or not, and if the network is not distributed, entering a network distribution state, searching a specific ssid for networking, and connecting the ssid to the equipment which is distributed in the Ap mode;
step five: the method comprises the steps that a device to be distributed sends a distribution network request packet to a UDP Server of a device already distributed through UDP;
step six: the distributed network equipment receives the distribution network request and then performs authentication;
Step seven: after the authentication is passed, the distribution network information is sent to the equipment to be distributed, and the authentication is not passed and the distribution network request packet is sent again for authentication;
step eight: and switching wifi by the equipment to be distributed to complete distribution according to the distribution network information.
And in the fifth step, the UDP Server comprises a storage module, a matching module, a receiving module and a judging module, wherein the storage module is used for storing authentication information.
The UDP Server comprises the following specific processing steps:
s1: storing the authentication information in a storage module;
s2: when the receiving module receives the distribution network request, the matching module is matched with the authentication information stored in the storage module;
s3: the judging module judges whether the matching is successful or not, judges that the distribution network is successful after the matching is successful, and judges that the distribution network fails when the matching is unsuccessful.
In the eighth step, switching wifi to complete the distribution network specifically comprises the following steps:
a1: setting the number of wifi as N, and sequentially naming the wifi as a, b, c and d.cndot.n;
a2: when the equipment to be distributed requests for distribution, the distribution is firstly carried out from a, and when the distribution is unsuccessful, the equipment to be distributed is switched to b, c, d.cndot.n until the equipment to be distributed is matched with the network.
In a2, the next device to be connected switches wifi by using the ssid of the network to be connected in the same manner and filtering, so as to complete the network connection.
According to the invention, the wifi module of the finished distribution network is used as an Ap hotspot, and a preset ssid is adopted, so that the subsequent distribution network flow does not need manual operation, the distribution network workload is reduced, and the distribution network time is shortened; the plurality of wifi modules are supported to be connected with the hot spot module at the same time, and the distribution network is carried out at the same time, so that the distribution network efficiency is improved; no special requirement is made on the router, the distribution network has high reliability and high success rate; and module identity authentication and message encryption are supported, and equipment safety is ensured.
The foregoing shows and describes the general principles and broad features of the present invention and advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.
Claims (5)
1. A method for rapidly distributing network in batches for WiFi modules is characterized by comprising the following steps: the method specifically comprises the following steps:
the method comprises the following steps: entering a batch distribution network through the APP, and selecting distributed network equipment to send a batch distribution network instruction;
Step two: the distributed network equipment enters an Ap mode and a specific ssid;
step three: starting a UDP Server by the equipment with the network distribution in the step two, and waiting for a network distribution request;
step four: after the equipment to be networked is powered on and started, detecting whether a network is distributed or not, and if the network is not distributed, entering a network distribution state, searching a specific ssid for networking, and connecting the ssid to the equipment which is distributed in the Ap mode;
step five: the method comprises the steps that a device to be distributed sends a distribution network request packet to a UDP Server of a device already distributed through UDP;
step six: the distributed network equipment receives the distribution network request and then performs authentication;
step seven: after the authentication is passed, the distribution network information is sent to the equipment to be distributed, and the authentication is not passed and the distribution network request packet is sent again for authentication;
step eight: and switching wifi by the equipment to be distributed to complete distribution according to the distribution network information.
2. The method for the rapid batch distribution of the networks of the WiFi modules according to claim 1, wherein the method comprises the following steps: and in the fifth step, the UDP Server comprises a storage module, a matching module, a receiving module and a judging module, wherein the storage module is used for storing authentication information.
3. The method for the rapid batch distribution of the networks of the WiFi modules as claimed in claim 2, wherein: the UDP Server comprises the following specific processing steps:
S1: storing the authentication information in a storage module;
s2: when the receiving module receives the distribution network request, the matching module is matched with the authentication information stored in the storage module;
s3: the judging module judges whether the matching is successful or not, judges that the distribution network is successful after the matching is successful, and judges that the distribution network fails when the matching is unsuccessful.
4. The method for the rapid batch distribution of the networks of the WiFi modules according to claim 1, wherein the method comprises the following steps: in the eighth step, the switching wifi to complete the distribution network specifically comprises the following steps:
a1: setting the number of wifi as N, and sequentially naming the wifi as a, b, c and d.cndot.n;
a2: when the equipment to be distributed requests for distribution, the distribution is firstly carried out from a, and when the distribution is unsuccessful, the equipment to be distributed is switched to b, c, d.cndot.n until the equipment to be distributed is matched with the network.
5. The method for the rapid batch distribution of the networks of the WiFi modules as claimed in claim 4, wherein: in the step A2, the next device to be connected switches wifi by the ssid of the network distribution in the same way and filtering to complete the network distribution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110351471.7A CN113473479A (en) | 2021-03-31 | 2021-03-31 | Method for rapidly distributing WiFi modules in batch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110351471.7A CN113473479A (en) | 2021-03-31 | 2021-03-31 | Method for rapidly distributing WiFi modules in batch |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113473479A true CN113473479A (en) | 2021-10-01 |
Family
ID=77868435
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110351471.7A Pending CN113473479A (en) | 2021-03-31 | 2021-03-31 | Method for rapidly distributing WiFi modules in batch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113473479A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114245402A (en) * | 2021-12-13 | 2022-03-25 | 珠海格力电器股份有限公司 | Network distribution method and device of intelligent device, electronic device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106211264A (en) * | 2016-07-11 | 2016-12-07 | 九阳股份有限公司 | A kind of household electrical appliances distribution method and device |
CN106254189A (en) * | 2016-09-13 | 2016-12-21 | 四川长虹电器股份有限公司 | A kind of WiFi distribution method |
CN107787022A (en) * | 2016-08-26 | 2018-03-09 | 马维尔国际贸易有限公司 | The Remote configuration of radio node and the method and apparatus of management |
US20190116503A1 (en) * | 2017-10-16 | 2019-04-18 | T-Mobile Usa, Inc. | Wireless communication network including linear front-to-back small cell configurations |
CN111194067A (en) * | 2018-11-14 | 2020-05-22 | 中兴通讯股份有限公司 | Network access method, device, related equipment and storage medium |
CN112187831A (en) * | 2020-10-30 | 2021-01-05 | 腾讯科技(深圳)有限公司 | Equipment network access method and device, storage medium and electronic equipment |
-
2021
- 2021-03-31 CN CN202110351471.7A patent/CN113473479A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106211264A (en) * | 2016-07-11 | 2016-12-07 | 九阳股份有限公司 | A kind of household electrical appliances distribution method and device |
CN107787022A (en) * | 2016-08-26 | 2018-03-09 | 马维尔国际贸易有限公司 | The Remote configuration of radio node and the method and apparatus of management |
CN106254189A (en) * | 2016-09-13 | 2016-12-21 | 四川长虹电器股份有限公司 | A kind of WiFi distribution method |
US20190116503A1 (en) * | 2017-10-16 | 2019-04-18 | T-Mobile Usa, Inc. | Wireless communication network including linear front-to-back small cell configurations |
CN111194067A (en) * | 2018-11-14 | 2020-05-22 | 中兴通讯股份有限公司 | Network access method, device, related equipment and storage medium |
CN112187831A (en) * | 2020-10-30 | 2021-01-05 | 腾讯科技(深圳)有限公司 | Equipment network access method and device, storage medium and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114245402A (en) * | 2021-12-13 | 2022-03-25 | 珠海格力电器股份有限公司 | Network distribution method and device of intelligent device, electronic device and storage medium |
CN114245402B (en) * | 2021-12-13 | 2023-09-08 | 珠海格力电器股份有限公司 | Network distribution method and device of intelligent equipment, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102496405B1 (en) | Method and apparatus of scanning in wireless local area network system | |
US9408058B2 (en) | Device discovery method and apparatus of Wi-Fi P2P device | |
WO2019029271A1 (en) | Network assigning method and apparatus, storage medium, terminal, and home appliance | |
US20210281981A1 (en) | Communications Method, Apparatus and System | |
WO2017185909A1 (en) | Network slice processing method and apparatus | |
WO2013107137A1 (en) | Heartbeat cycle obtaining method, terminal, and server | |
WO2013064126A1 (en) | Communication matching method, user equipment and base station | |
CN103338483A (en) | Data distribution method, data distribution device and heterogeneous network | |
US20230336993A1 (en) | Virtual private dial-up network access method, network-side system, system and storage medium | |
WO2012075837A1 (en) | Cell search method for terminal, and related device and system | |
EP3534648A1 (en) | Access method for access point, apparatus, and system | |
CN104205782A (en) | Push button configuration for hybrid network devices | |
WO2013041033A1 (en) | Access points to access an access controller in a wireless local area network | |
WO2013155768A1 (en) | Single-card multi-mode multi-operator authentication method and device | |
WO2014086188A1 (en) | Service establishment method, apparatus, and system of multimode user equipment | |
WO2021056596A1 (en) | Paging method and apparatus | |
EP3427504A1 (en) | Wwan-wlan aggregation security | |
WO2021203891A1 (en) | Method, apparatus and device for controlling network slice authentication, and storage medium | |
CN104254145A (en) | WLAN (wireless local area network) based direct-communication establishment method and device | |
WO2022082724A1 (en) | Method and apparatus for multicast service support in time sensitive network | |
WO2018045805A1 (en) | Network registration method and device | |
CN105451274A (en) | Network convergence preprocessing method, device and system | |
WO2012162976A1 (en) | Method and device for acquiring wifi access point information | |
CN113473479A (en) | Method for rapidly distributing WiFi modules in batch | |
WO2017215435A1 (en) | Radio-resource-control connection method, apparatus, and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20211001 |
|
RJ01 | Rejection of invention patent application after publication |