CN111565396A - System and method for rapidly realizing distribution of multiple WiFi devices - Google Patents

System and method for rapidly realizing distribution of multiple WiFi devices Download PDF

Info

Publication number
CN111565396A
CN111565396A CN202010349301.0A CN202010349301A CN111565396A CN 111565396 A CN111565396 A CN 111565396A CN 202010349301 A CN202010349301 A CN 202010349301A CN 111565396 A CN111565396 A CN 111565396A
Authority
CN
China
Prior art keywords
equipment
distribution
distribution network
information
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.)
Granted
Application number
CN202010349301.0A
Other languages
Chinese (zh)
Other versions
CN111565396B (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.)
Beijing Xinchuang Ruisheng Science & Technology Co ltd
Original Assignee
Beijing Xinchuang Ruisheng Science & 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 Beijing Xinchuang Ruisheng Science & Technology Co ltd filed Critical Beijing Xinchuang Ruisheng Science & Technology Co ltd
Priority to CN202010349301.0A priority Critical patent/CN111565396B/en
Publication of CN111565396A publication Critical patent/CN111565396A/en
Application granted granted Critical
Publication of CN111565396B publication Critical patent/CN111565396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • H04W16/20Network planning tools for indoor coverage or short range network deployment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

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

Abstract

The invention relates to a system and a method for quickly realizing distribution of a plurality of WiFi (wireless fidelity) devices, wherein the system comprises a distribution network terminal and a plurality of devices to be distributed, the devices to be distributed initiate connection requests to a target AP according to target AP information in distribution network information of a received terminal, and after the devices to be distributed are successfully connected with the target AP, the devices to be distributed are disconnected from the distribution network terminal and become distribution network devices; the distribution network equipment can send equipment distribution network information, after the equipment to be distributed and the distribution network equipment are connected, the equipment distribution network information sent by the connected distribution network equipment can be received, the equipment to be distributed and the distribution network equipment can send a connection request to a target AP according to target AP information in the equipment distribution network information, and after the equipment to be distributed and the target AP are successfully connected, the equipment to be distributed and the distribution network equipment are disconnected with the currently connected distribution network equipment and become the distribution network equipment. The invention can effectively and quickly realize the distribution of a plurality of WiFi devices, and greatly improves the safety of the distribution network.

Description

System and method for rapidly realizing distribution of multiple WiFi devices
Technical Field
The invention relates to a network distribution system and a network distribution method, in particular to a system and a method for quickly realizing network distribution of a plurality of WiFi devices, and belongs to the technical field of WiFi connection of smart homes.
Background
WiFi connection is the short-distance wireless local area network communication technology which is used most at present, and has the advantages of high speed, networking, simplicity and convenience in use, data safety and the like. The mobile communication network is widely used in home, office and partial industrial fields, is complementary with a mobile communication network, and has important technical position and application market.
Before WiFi connection, a newly-accessed device needs to complete authentication, and the most important step is to input the SSID (the name of the WiFi hotspot, which is generally a character string) of the target AP and a corresponding password, and then to perform connection. Since the mobile phone and the computer (hereinafter, collectively referred to as a terminal) have rich computing and interactive resources, the SSID can be obtained through WiFi hardware scanning, and the password is input by using a keyboard, so that connection is completed. However, for embedded hardware devices applied in the fields of smart homes and internet of things, because of being limited by interactive resources, users generally cannot directly screen SSIDs, and even cannot input complex passwords.
Therefore, the distribution network of the WiFi device is a key and important process for the embedded device with simple structure and limited resources. If the special design is not adopted, the use experience of a user is greatly influenced, and even the solution can be solved by paying the cost of structure, cost and the like.
As shown in fig. 1, the existing one-key distribution network is a conventional one-key distribution network, and specifically, the WiFi module in the embedded device essentially operates in a packet capture mode, and then monitors WiFi messages in the environment. And the message embeds the coded SSID and password in the specific field. The terminal places information such as SSID (service set identifier) and password of the target AP (access point) at a specific position in the message according to the requirements of the WiFi module, broadcasts the information in a circulating manner, unpacks the information after the WiFi module captures the message and obtains the SSID and the password; and then initiates the final connection.
The method for distributing the network is simple for users. However, there are several problems, and very prominent, mainly: 1) safety issues: the password is broadcast in the environment and can be intercepted by anyone. 2) Poor compatibility: because the WiFi module is in a random packet capturing state and is influenced by factors such as environmental channel fluctuation, other AP (WiFi access point: an opposite end to which WiFi equipment is connected, which can be a common access point or a router), interference, a network mode of a terminal and the like, the failure rate can be randomly increased; if the frequencies of the terminal connections do not match, it may even fail 100%. 3) And the terminal cannot acquire the information of the peripheral equipment because of one-way communication.
Security issues are a fatal problem for sensitive users. Compatibility problems can affect almost all users, and users are usually very confused due to the randomness of the environment, and user satisfaction is greatly reduced. Furthermore, the process of the terminal discovering the device in the lan requires that the terminal must establish a connection with the target AP, and usually introduces significant delay, which also degrades the user experience.
As shown in fig. 2, the existing commonly used AP distribution network form is provided, and specifically, the existing commonly used AP distribution network form is essentially a WiFi module in an embedded device, and operates in a single AP mode, and then a terminal establishes a connection with the AP to exchange information required by both sides, including information such as a target SSID, a password, and a device serial number. And after the WiFi module acquires the information, switching the mode, actively connecting the target AP, and if the information is effective, finishing the connection.
The success rate of the pure AP distribution network is good. However, the disadvantages of this approach are evident: 1) only WiFi networking information is transmitted, and no user information exists; 2) and whether the transmitted information is valid or not cannot be known. 3) Only one device can be distributed at a time, and the efficiency is low.
Disclosure of Invention
The invention aims to overcome the defects in the prior art, and provides a system and a method for rapidly realizing the distribution of a plurality of WiFi devices, which can effectively and rapidly realize the distribution of a plurality of WiFi devices and greatly improve the safety of the distribution network.
According to the technical scheme provided by the invention, the system for rapidly realizing the distribution of the plurality of WiFi devices comprises a distribution network terminal and a plurality of devices to be distributed, wherein at least one of the plurality of devices to be distributed can be directly connected with the distribution network terminal, the distribution network terminal can send terminal distribution network information to the devices to be distributed, and the terminal distribution network information comprises target AP information;
the method comprises the steps that a to-be-configured network device which can be directly connected with a distribution network terminal can send a connection request to the distribution network terminal through an appointed SSID and a password corresponding to the appointed SSID, and after connection, the to-be-configured network device can receive terminal distribution network information sent by the distribution network terminal; the method comprises the steps that a to-be-distributed network device initiates a connection request to a target AP according to target AP information in distribution network information of a received terminal, and after the to-be-distributed network device is successfully connected with the target AP, the to-be-distributed network device is disconnected with a distribution network terminal and becomes a distribution network device;
the method comprises the steps that the distribution network equipment can send equipment distribution network information, the equipment distribution network information comprises target AP information, and a terminal to be distributed adjacent to the distribution network equipment can send a connection request to the corresponding distribution network equipment through an appointed SSID and a password corresponding to the appointed SSID;
after the network distribution equipment is connected with the network distribution equipment, the network distribution equipment can receive equipment network distribution information sent by the connected network distribution equipment, the network distribution equipment can send a connection request to a target AP according to target AP information in the equipment network distribution information, and after the network distribution equipment is successfully connected with the target AP, the network distribution equipment is disconnected from the currently connected network distribution equipment and becomes the network distribution equipment.
The distribution network terminal works in an AP mode, and the terminal distribution network information further comprises user information, terminal information and/or task information.
The equipment to be networked comprises an information exchange control module, a WiFi STA module and a WiFi AP module, wherein the WiFi STA module and the WiFi AP module are connected with the information exchange control module;
the information exchange control module controls the WiFi STA module to establish connection between the distribution network terminal, the target AP or the distribution network equipment; the information exchange control module can send the equipment distribution network information through the WiFi AP module so as to realize the connection with the equipment to be distributed.
The equipment to be networked can work in a receiving mode or a distribution mode; when the network is distributed, the equipment to be distributed enters a receiving mode;
when the wireless network distribution system works in a receiving mode, the information exchange control module scans nearby appointed APs through the WiFi STA module, sends a connection request to the appointed APs according to an appointed SSID and a password corresponding to the appointed SSID, sends a request to a target AP according to obtained target AP information after the connection with the appointed APs is successful, and starts the WiFi AP module after the connection with the target AP is successful so that a device to be distributed enters a distribution mode;
when the distribution network management system works in a distribution mode, the information exchange control module controls the WiFi AP module to be in the working state of the appointed AP so as to allow the connection between the nearby equipment to be distributed and the WiFi AP module, and the information exchange control module can send equipment distribution network information to the equipment to be distributed, which is connected to the WiFi AP module, through the WiFi AP module.
A method for rapidly realizing distribution of a plurality of WiFi devices comprises a distribution network terminal and a plurality of devices to be distributed, wherein at least one of the plurality of devices to be distributed can be directly connected with the distribution network terminal, the distribution network terminal can send terminal distribution network information to the devices to be distributed, and the terminal distribution network information comprises target AP information;
the method comprises the steps that a to-be-configured network device which can be directly connected with a distribution network terminal can send a connection request to the distribution network terminal through an appointed SSID and a password corresponding to the appointed SSID, and after connection, the to-be-configured network device can receive terminal distribution network information sent by the distribution network terminal; the method comprises the steps that a to-be-distributed network device initiates a connection request to a target AP according to target AP information in distribution network information of a received terminal, and after the to-be-distributed network device is successfully connected with the target AP, the to-be-distributed network device is disconnected with a distribution network terminal and becomes a distribution network device;
the method comprises the steps that the distribution network equipment can send equipment distribution network information, the equipment distribution network information comprises target AP information, and a terminal to be distributed adjacent to the distribution network equipment can send a connection request to the corresponding distribution network equipment through an appointed SSID and a password corresponding to the appointed SSID;
after the network distribution equipment is connected with the network distribution equipment, the network distribution equipment can receive equipment network distribution information sent by the connected network distribution equipment, the network distribution equipment can send a connection request to a target AP according to target AP information in the equipment network distribution information, and after the network distribution equipment is successfully connected with the target AP, the network distribution equipment is disconnected from the currently connected network distribution equipment and becomes the network distribution equipment.
The distribution network terminal works in an AP mode, and the terminal distribution network information further comprises user information, terminal information and/or task information.
The equipment to be networked comprises an information exchange control module, a WiFi STA module and a WiFi AP module, wherein the WiFi STA module and the WiFi AP module are connected with the information exchange control module;
the information exchange control module can be connected with the distribution network terminal, the target AP or the distribution network equipment through the WiFi STA module; the information exchange control module can send the equipment distribution network information through the WiFi AP module so as to realize the connection with the equipment to be distributed.
The equipment to be networked can work in a receiving mode or a distribution mode; when the network is distributed, the equipment to be distributed enters a receiving mode;
when the wireless network distribution system works in a receiving mode, the information exchange control module scans nearby appointed APs through the WiFi STA module, sends a connection request to the appointed APs according to an appointed SSID and a password corresponding to the appointed SSID, sends a request to a target AP according to obtained target AP information after the connection with the appointed APs is successful, and starts the WiFi AP module after the connection with the target AP is successful so that a device to be distributed enters a distribution mode;
when the distribution network management system works in a distribution mode, the information exchange control module controls the WiFi AP module to be in the working state of the appointed AP so as to allow the connection between the nearby equipment to be distributed and the WiFi AP module, and the information exchange control module can send equipment distribution network information to the equipment to be distributed, which is connected to the WiFi AP module, through the WiFi AP module.
After the distribution is completed or the idle time is out, the information exchange control module closes the WiFi AP module to exit the current distribution mode.
The invention has the advantages that:
the reliability is high, the success rate is high: the WiFi AP connection mode is adopted to realize bidirectional communication between the distribution network terminal and the equipment to be distributed, and between the distribution network equipment and the equipment to be distributed, so that data can be exchanged quickly and reliably without being influenced by external factors.
The safety is high: the WiFi AP connection and information confirmation mode is used, the whole process is independent and closed, and therefore the risk of target AP password leakage can be avoided.
The success rate is high: by using the mode of the appointed AP, the probability of failure is greatly reduced as long as software and hardware work normally in connection establishment and information exchange.
The speed is high: and each device to be configured finishes the network distribution as long as receiving the effective target AP information, and further works in a distribution mode to serve as a new information distribution node. The distribution network can work in parallel in space, capacity and time, and the speed of the distribution network is improved in an exponential mode.
Drawings
Fig. 1 is a schematic diagram of a conventional distribution network.
Fig. 2 is a schematic diagram of another distribution network in the prior art.
Fig. 3 is a schematic diagram of a distribution network system according to the present invention.
Fig. 4 is a schematic diagram of a network to be distributed between adjacent devices to be distributed according to the present invention.
Fig. 5 is a schematic view of the working state of the network to be distributed according to the present invention.
Fig. 6 is a flowchart illustrating the operation of the information exchange control module and the WiFi STA module according to the present invention.
Fig. 7 is a flowchart illustrating the operation of the information exchange control module and the WiFi AP module according to the present invention.
Description of reference numerals: the system comprises 0-distribution network terminal, 1-equipment to be distributed, 11-WiFi STA module, 12-information exchange control module and 13-WiFi AP module.
Detailed Description
The invention is further illustrated by the following specific figures and examples.
As shown in fig. 3: in order to effectively and quickly realize the distribution of a plurality of WiFi (wireless fidelity) devices and greatly improve the safety of a distribution network, the system comprises a distribution network terminal 0 and a plurality of devices to be distributed 1, wherein at least one of the devices to be distributed 1 can be directly connected with the distribution network terminal 0, the distribution network terminal 0 can send terminal distribution network information to the devices to be distributed 1, and the terminal distribution network information comprises target AP (access point) information;
the device 1 to be configured, which can be directly connected with the distribution network terminal 0, can send a connection request to the distribution network terminal 0 through an agreed SSID and a password corresponding to the agreed SSID, and after connection, the device 1 to be configured can receive terminal distribution network information sent by the distribution network terminal 0; the method comprises the steps that a to-be-distributed network device 1 initiates a connection request to a target AP according to target AP information in distribution network information of a received terminal, and after the to-be-distributed network device 1 is successfully connected with the target AP, the to-be-distributed network device 1 is disconnected with a distribution network terminal 0 and becomes a distribution network device;
the method comprises the steps that the distribution network equipment can send equipment distribution network information, the equipment distribution network information comprises target AP information, and the equipment 1 to be distributed adjacent to the distribution network equipment can send a connection request to the corresponding distribution network equipment through an appointed SSID and a password corresponding to the appointed SSID;
after the distribution network equipment 1 is connected with the distribution network equipment, the distribution network equipment 1 can receive equipment distribution network information sent by the connected distribution network equipment, the distribution network equipment 1 can send a connection request to a target AP according to target AP information in the equipment distribution network information, and after the distribution network equipment 1 is successfully connected with the target AP, the distribution network equipment 1 is disconnected from the currently connected distribution network equipment and becomes the distribution network equipment.
Specifically, the distribution network terminal 0 is a source of information distribution, and the terminal distribution network information can be sent by the distribution network terminal 0, where the terminal distribution network information includes, but is not limited to, target AP information, and in addition, the terminal distribution network information may also include user information, terminal information, task information, and the like. The target AP information includes an SSID of the target AP and a password corresponding to the SSID of the target AP. The target AP is a WiFi AP hotspot to which all the devices 1 to be networked are to be connected finally.
In the embodiment of the invention, the distribution network terminal 0 has a WiFi connection function, works in an AP mode, establishes an AP hotspot which can be connected by other equipment 1 to be distributed, waits for the connection of the equipment 1 to be distributed, and distributes terminal distribution network information for the equipment. The distribution network terminal 0 mainly has a distribution mode. Specifically, the distribution network terminal 0 may provide an AP hotspot function by corresponding WiFi function hardware, and perform external services with an agreed SSID and a password known to the network device 1 to be distributed. When the network distribution equipment 1 is to be actively connected with the AP hotspot of the network distribution terminal 1, handshaking is performed to determine mutual information after the connection is successful, and the process and manner for specifically determining the information can adopt the existing common form, and the specific process is well known to those skilled in the art and is not described herein again. The distribution network terminal 0 sends terminal distribution network information to the equipment 1 to be distributed, and distribution network information distribution is completed.
In summary, the distribution network terminal 0 mainly works in two parts: 1) generating networking information of the target AP; 2) and starting the WiFi AP hotspot with the appointed SSID and the password corresponding to the appointed SSID as parameters for connecting the to-be-configured network equipment 1. The distribution network terminal 0 can be implemented by using an existing intelligent terminal, such as a smart phone, a computer, etc., and specific types and structural forms can be selected as required, which are not described herein again. The nearby device 1 to be networked automatically connects to the appointed SSID, and if the connection is successful, the target AP information is acquired from the network distribution terminal 0, so that the device 1 to be networked can be connected to the target AP.
In the embodiment of the invention, in the actual working process of the plurality of devices 1 to be distributed, at least one device 1 to be distributed exists, which can be directly connected to the distribution network terminal 0, the device 1 to be distributed and the distribution network terminal 0 adopt the existing WiFi connection mode, the device 1 to be distributed and the distribution network terminal can be generally an intelligent home or other corresponding devices of the Internet of things, and the selection can be specifically carried out according to the requirements. The number of the devices 1 to be connected to the distribution network terminal 0 directly can be selected according to the requirement, and the devices 1 to be connected to the distribution network terminal 0 close to the distribution network terminal 0 can be generally selected to be directly connected with the distribution network terminal 0. Of course, all the devices 1 to be connected to the network distribution terminal 0 may be selected to be connected to the network distribution terminal 0, or the devices 1 to be connected to the adjacent network distribution devices may be connected to each other, and the specific position relationship is based on that after all the devices 1 to be connected to the network can acquire the target AP signal, the effective connection with the target AP can be finally established.
As can be seen from the above description, the distribution network terminal 0 operates in the AP mode, the to-be-distributed device 1 can be connected to the distribution network terminal 0 according to the agreed SSID and the password corresponding to the agreed SSID, the connection process between the to-be-distributed device 1 and the distribution network terminal 0 is consistent with the existing WiFi connection mode, the agreed SSID and the password corresponding to the agreed SSID are pre-stored in each to-be-distributed device 1, so that the to-be-distributed device 1 can send a connection request to the distribution network terminal 0 or the distribution network device through the agreed SSID and the password corresponding to the agreed SSID after scanning the agreed SSID, and after confirmation by the distribution network terminal 0 or the distribution network device, the to-be-distributed device 1 can be connected to the corresponding distribution network terminal 0 or the distribution network device.
In the embodiment of the present invention, the device 1 to be configured is a device to be networked, and after the device 1 to be configured is connected to the target AP, the device is automatically changed into a network distribution device, that is, the device 1 to be configured connected to the target AP realizes network distribution, and at this time, the device 1 to be configured becomes a network distribution device. The distribution network device needs to be disconnected from the distribution network terminal 0 or other distribution network devices. In order to quickly realize the distribution network of a plurality of devices 1 to be distributed, the distribution network device successfully connected with the target AP can also send device distribution network information, the devices 1 to be distributed can be connected with the adjacent distribution network devices by using the appointed SSID and the passwords corresponding to the appointed SSID, after connection, the distribution network devices can send device distribution network information to the successfully connected devices 1 to be distributed, according to the target AP information in the device distribution network information, the devices 1 to be distributed can send connection requests to the target AP, and after the devices 1 to be distributed are successfully connected with the target AP, the distribution network is successful, so that the distribution network devices are changed into the distribution network devices. In specific implementation, when a network-distribution device 1 to be distributed becomes a network-distribution device and can send device distribution network information, the connection state between the network-distribution device and the target AP can be maintained, the connection state between the network-distribution device and the target AP can also be disconnected, the connection state between the network-distribution device and the target AP can be selected as required, and details are not repeated here.
After all the devices 1 to be distributed are connected with the target AP and become the distribution network devices, the distribution network operation among the devices 1 to be distributed can be realized. In the whole process, the distribution network terminal 0 is only required to send terminal distribution network information to the adjacent to-be-distributed network equipment 1, and the to-be-distributed network equipment 1 is connected with the distribution network terminal 0 and can be connected with the target AP according to the terminal distribution network information. After the device to be configured is connected with the target AP, the device distribution network information can be sent to the adjacent device to be configured 1, so that the connection between the rest devices to be configured 1 and the distribution network device and the connection with the target AP can be realized, and the purpose of rapidly realizing the distribution of the plurality of devices to be configured 1 is achieved. In specific implementation, when a plurality of distribution network devices and/or distribution network terminals 0 exist near the to-be-distributed network device 1, the to-be-distributed network device 1 may select a mode with the closest distance or the strongest signal to realize connection with the corresponding distribution network device or distribution network terminal 0.
As shown in fig. 4, the device to be configured 1 includes an information exchange control module 12, and a WiFi STA module 11 and a WiFi AP module 13 connected to the information exchange control module 12;
the information exchange control module 12 can be connected with the distribution network terminal 0, the target AP or the distribution network equipment through the WiFi STA module 11; the information exchange control module 12 can send the device distribution network information through the WiFi AP module 13, so as to implement connection with the device 1 to be distributed.
In the embodiment of the present invention, the WiFi STA module 11 and the WiFi AP module 13 may adopt the existing common form, that is, the WiFi STA module 11 needs to be connected to the WiFi AP to realize network communication. The WiFi AP module 13 is a WiFi access point, that is, an opposite end to which the WiFi device is to be connected, and may be a common access point or a router. The information exchange control module 12 may adopt a conventional implementation form, such as a circuit, a chip, or a microprocessor chip with a control function, which may be specifically selected according to needs and will not be described herein again.
Further, the device to be networked 1 can operate in a receiving mode or a distribution mode; when the network is distributed, the equipment 1 to be distributed enters a receiving mode;
when the wireless network distribution device works in a receiving mode, the information exchange control module 12 scans nearby appointed APs through the WiFi STA module 11, sends a connection request to the appointed APs according to an appointed SSID and a password corresponding to the appointed SSID, sends a request to a target AP according to obtained target AP information after the connection with the appointed APs is successful, and starts the WiFi AP module 13 after the connection with the target AP is successful so that the device 1 to be networked enters a distribution mode by the information exchange control module 12;
when the distribution network equipment works in the distribution mode, the information exchange control module 12 controls the WiFi AP module 13 to be in the working state of the appointed AP so as to allow the connection between the nearby equipment to be distributed 1 and the WiFi AP module 13, and the information exchange control module 12 can send the equipment distribution network information to the equipment to be distributed 1 connected to the WiFi AP module 13 through the WiFi AP module 13.
In the embodiment of the invention, the equipment 1 to be configured works in the receiving mode before the terminal distribution network information or the equipment distribution network information is obtained. In the receiving mode, the information exchange control module 12 controls the WiFi STA module 11 to scan the default AP of the nearby default SSID (the device 1 to be networked can connect with the default AP by using the default SSID and the password corresponding to the default SSID). After the scanning, the WiFi STA module 11 actively connects to the agreed AP, sends a request for reading the distribution network information (terminal distribution network information or device distribution network information), and tries to connect to the target AP after returning the information. If the connection is successful, the working mode is switched, the information exchange control module 12 starts the WiFi AP module 13, establishes an AP point with the agreed SSID as the name, enters the distribution mode, and can send the device distribution network information to the outside.
Specifically, the WiFi STA module 11 is used to implement connection with other AP hotspots, and the opposite end may be a distribution network information distribution hotspot or a target WiFi hotspot. The WiFi AP module 13 is used to start an AP hotspot, and can distribute the device distribution network information to other devices 1 to be distributed. The information exchange control module 12 is used to control the start and stop of the WiFi STA module 11 and the WiFi AP module 13 and to read or transmit data, so as to manage the acquisition, maintenance and transmission of the distribution network information in the whole system.
Once the device 1 to be distributed enters the network-to-be-distributed mode, the device will first enter the receiving mode. In a receive mode: the information exchange control module 12 starts the WiFi STA module 11 and turns off the WiFi AP module 13. And then controls the WiFi STA module 11 to scan for the agreed SSID. If the scanning is finished, the connection is immediately established, and the distribution process is started. The distribution process includes several steps of mutual authentication confirmation, request sending, request responding, connection confirmation, etc., and the specific process and step implementation of the specific distribution process may adopt the existing common technical means, and the specific implementation process is well known to those skilled in the art and will not be described herein again.
After the receiving mode is completed, it indicates that the correct and effective distribution network information (equipment distribution network information or terminal distribution network information) is received. The received information may then be used to distribute to other devices 1 to be networked for distribution, and the devices may go into distribution mode.
In the distribution mode: the information exchange control module 12 starts the WiFi AP module 13. And waiting for the WiFi STA module 11 of other equipment 1 to be networked to access. When other devices 1 to be distributed access to the device in a receiving mode, a distribution process is started, and the distribution process comprises several steps of mutual authentication confirmation, request acceptance, request response and the like. In the distribution mode, the information exchange control module 12 may close the WiFi STA module 11, and certainly, may also keep the working state of the WiFi STA module 11, and may specifically select according to actual needs, which is not described herein again.
As shown in fig. 5, in the state transition of the device 1 to be networked, there are two main states: a reception mode and a distribution mode. Specifically, the user operates to enter the distribution network mode, and first enters the receiving mode, that is, prepares to receive the distribution network information. In the receiving mode, a receiving work flow is executed, which includes processes of scanning for an SSID of a default AP, connecting, identifying, sending a request, receiving distribution network information, and the like, and a specific receiving work flow can be realized by a conventional and commonly-used technical means, and a specific realizing process is well known by those skilled in the art and is not described herein again.
And after the receiving process is finished, the information is switched to an information confirmation state. And confirming the information, namely confirming the received distribution network information. Including attempting to establish a WiFi connection with the target AP in order to confirm the networking information; other ancillary information is confirmed including, but not limited to, user information, task information, and the like.
And if the information is confirmed to be completed successfully, switching to a distribution mode to work. The distribution mode is a passive service mode, i.e. listening for requests and then servicing the requests. The distribution mode starts to work according to a distribution flow, and comprises the steps of waiting for connection, identifying a terminal, receiving a request and sending distribution network information confirmed to be effective before. The distribution mode is repeated monitoring, when no new access equipment exists, the distribution mode is quitted overtime, and the whole process is ended.
As shown in fig. 6, it is a flow chart of a receiving mode of the device 1 to be configured, specifically, the device 1 to be configured is triggered by a user first, and enters a network distribution state. At this time, the device to be networked 1 is in the receiving mode. The information exchange control module 12 controls the WiFi STA module 11 to start working, scan nearby WiFi APs, and check whether there is an agreed AP (i.e., SSID, such as AP _ CFG, hereinafter abbreviated). If the appointed AP is not scanned, the retry is delayed, and if the retry is overtime, the distribution network state is directly exited.
If the appointed AP is found in the name list of the nearby WiFi AP, the information exchange control module 12 controls the WiFi STA module 11 to initiate connection to the appointed AP by the appointed password so as to receive the distribution network information of the distributed target AP.
After establishing a connection with the agreed AP, the information exchange control module 12 is responsible for establishing a connection of a network layer and then exchanging information (including but not limited to device information of both parties, name and password of the target AP). The device information of both parties can be used for mutual validity verification to prevent misconnection of non-cooperative endpoints. The name and password of the target AP are necessary information of the distribution network.
After the name and password of the target AP are obtained, the information exchange module 12 controls the STA module 11 to initiate connection to the target AP. If the connection is successful, it indicates that the networking information of the target AP is valid, and the network distribution process of the device to be distributed 1 is completed, and becomes a network distribution device, and can be used as an information distribution source of other devices, and can also directly exit. And switching the specific modes according to the selection of the user.
As shown in fig. 7, a flow chart of a distribution mode of the device to be networked 1, specifically, after the device to be networked 1 receives a valid name and password of a target AP through a receiving mode, if a user selects to enter the distribution mode, the distribution network device will be used as a distribution AP to perform work. The distribution mode is favorable for rapidly completing the distribution of a plurality of devices 1 to be distributed, and the distribution mode has exponential improvement compared with the mode of connecting one device each time.
After entering the distribution mode, the information exchange control module 12 controls the WiFi AP module 13 to start up, and establishes a distribution AP hotspot according to an agreed name and password. And waiting for the access of other devices 1 to be distributed.
If the network-to-be-distributed device 1 is to be accessed, the information exchange control module 12 establishes a network service, monitors the appointed port, and waits for the device to initiate a request. When the request packet is received, the message exchange control module 12 decodes the request data to confirm its validity. After the validity is confirmed, the information control module 12 controls the WiFi AP module 13 to distribute the networking information of the target AP to the accessed device. The device 1 to be networked, which fails in validity confirmation, cannot receive the response of the device itself, and the design can protect the password from being leaked.
After receiving the networking information, the accessed device 1 to be connected to the network operates according to its own "receiving mode", and at this time, the device 1 to be connected to the WiFi AP module 13 of the current network distribution device is disconnected.
After the distribution work is completed or the idle time is out, the information exchange control module 12 may turn off the WiFi AP module 13 and exit the distribution mode. And finishing the whole distribution network flow.
According to the description, the specific network distribution method can be obtained, and the method for rapidly realizing the network distribution of the plurality of WiFi devices comprises a network distribution terminal 0 and a plurality of devices to be distributed 1, wherein at least one of the plurality of devices to be distributed 1 can be directly connected with the network distribution terminal 0, the network distribution terminal 0 can send terminal network distribution information to the devices to be distributed 1, and the terminal network distribution information comprises target AP information;
the device 1 to be configured, which can be directly connected with the distribution network terminal 0, can send a connection request to the distribution network terminal 0 through an agreed SSID and a password corresponding to the agreed SSID, and after connection, the device 1 to be configured can receive terminal distribution network information sent by the distribution network terminal 0; the method comprises the steps that a to-be-distributed network device 1 initiates a connection request to a target AP according to target AP information in distribution network information of a received terminal, and after the to-be-distributed network device 1 is successfully connected with the target AP, the to-be-distributed network device 1 is disconnected with a distribution network terminal 0 and becomes a distribution network device;
the distribution network equipment can send equipment distribution network information, the equipment distribution network information target AP information, and the equipment 1 to be distributed adjacent to the distribution network equipment can send a connection request to the corresponding distribution network equipment through an agreed SSID and a password corresponding to the agreed SSID;
after the distribution network equipment 1 is connected with the distribution network equipment, the distribution network equipment 1 can receive equipment distribution network information sent by the connected distribution network equipment, the distribution network equipment 1 can send a connection request to a target AP according to target AP information in the equipment distribution network information, and after the distribution network equipment 1 is successfully connected with the target AP, the distribution network equipment 1 is disconnected from the currently connected distribution network equipment and becomes the distribution network equipment.
In summary, when a plurality of devices 1 to be distributed are distributed, the invention has the following advantages:
the reliability is high, the success rate is high: the WiFi AP connection mode is adopted to complete bidirectional communication between the distribution network terminal 0 and the equipment 1 to be distributed, and between the distribution network equipment and the equipment 1 to be distributed, so that data can be exchanged quickly and reliably without being influenced by external factors.
The safety is high: the WiFi AP connection and information confirmation mode is used, the whole process is independent and closed, and therefore the risk of target AP password leakage can be avoided.
The success rate is high: by using the mode of the appointed AP, the probability of failure is greatly reduced as long as software and hardware work normally in connection establishment and information exchange.
The speed is high: each device 1 to be distributed completes distribution of the network as long as receiving the effective target AP information, and further works in a distribution mode to serve as a new information distribution node. The distribution network can work in parallel in space, capacity and time, and the speed of the distribution network is improved in an exponential mode.

Claims (9)

1. A system for rapidly realizing distribution of a plurality of WiFi (wireless fidelity) devices is characterized by comprising a distribution network terminal (0) and a plurality of devices (1) to be distributed, wherein at least one of the plurality of devices (1) to be distributed can be directly connected with the distribution network terminal (0), the distribution network terminal (0) can send terminal distribution network information to the devices (1) to be distributed, and the terminal distribution network information comprises target AP (access point) information;
the device (1) to be configured, which can be directly connected with the network distribution terminal (0), can send a connection request to the network distribution terminal (0) through an agreed SSID and a password corresponding to the agreed SSID, and after connection, the device (1) to be configured can receive terminal network distribution information sent by the network distribution terminal (0); the method comprises the steps that a to-be-distributed network device (1) initiates a connection request to a target AP according to target AP information in distribution network information of a received terminal, and after the to-be-distributed network device (1) is successfully connected with the target AP, the to-be-distributed network device (1) is disconnected with a distribution network terminal (0) and becomes a distribution network device;
the method comprises the steps that the distribution network equipment can send equipment distribution network information, the equipment distribution network information comprises target AP information, and a terminal (1) to be distributed adjacent to the distribution network equipment can send a connection request to the corresponding distribution network equipment through an appointed SSID and a password corresponding to the appointed SSID;
after the equipment (1) to be connected with the distribution network equipment is connected, the equipment distribution network information sent by the connected distribution network equipment can be received, the equipment (1) to be connected can send a connection request to a target AP according to target AP information in the equipment distribution network information, and after the equipment (1) to be connected with the target AP is successfully connected, the equipment (1) to be connected is disconnected from the currently connected distribution network equipment and becomes the distribution network equipment.
2. The system for rapidly realizing a distribution network with a plurality of WiFi devices of claim 1, wherein: the distribution network terminal (0) works in an AP mode, and the terminal distribution network information further comprises user information, terminal information and/or task information.
3. The system for rapidly realizing a distribution network with a plurality of WiFi devices of claim 1, wherein: the device (1) to be networked comprises an information exchange control module (12), a WiFi STA module (11) and a WiFi AP module (13), wherein the WiFi STA module and the WiFi AP module are connected with the information exchange control module (12);
the information exchange control module (12) controls the WiFi STA module (11) to establish connection between the distribution network terminal (0), the target AP or the distribution network equipment; the information exchange control module (12) can send the equipment distribution network information through the WiFi AP module (13) so as to realize the connection with the equipment (1) to be distributed.
4. The system for rapidly realizing a distribution network with a plurality of WiFi devices of claim 3, wherein: the equipment (1) to be networked can work in a receiving mode or a distribution mode; when a network is distributed, the equipment (1) to be distributed enters a receiving mode;
when the wireless network distribution system works in a receiving mode, the information exchange control module (12) scans nearby appointed APs through the WiFi STA module (11), sends a connection request to the appointed APs according to the appointed SSID and the passwords corresponding to the appointed SSID, sends a request to the target AP according to the obtained target AP information after the connection with the appointed APs is successful, and starts the WiFiAP module (13) through the information exchange control module (12) after the connection with the target AP is successful so that the equipment (1) to be distributed enters a distribution mode;
when the distribution network distribution system works in a distribution mode, the information exchange control module (12) controls the WiFi AP module (13) to be in an AP-agreed working state so as to allow the connection between the nearby equipment (1) to be distributed and the WiFi AP module (13), and the information exchange control module (12) can send equipment distribution network information to the equipment (1) to be distributed and connected to the WiFi AP module (13) through the WiFi AP module (13).
5. A method for rapidly realizing distribution of a plurality of WiFi devices is characterized by comprising the following steps: the network distribution system comprises a network distribution terminal (0) and a plurality of devices (1) to be distributed, wherein at least one of the devices (1) to be distributed can be directly connected with the network distribution terminal (0), the network distribution terminal (0) can send terminal network distribution information to the devices (1) to be distributed, and the terminal network distribution information comprises target AP information;
the device (1) to be configured, which can be directly connected with the network distribution terminal (0), can send a connection request to the network distribution terminal (0) through an agreed SSID and a password corresponding to the agreed SSID, and after connection, the device (1) to be configured can receive terminal network distribution information sent by the network distribution terminal (0); the method comprises the steps that a to-be-distributed network device (1) initiates a connection request to a target AP according to target AP information in distribution network information of a received terminal, and after the to-be-distributed network device (1) is successfully connected with the target AP, the to-be-distributed network device (1) is disconnected with a distribution network terminal (0) and becomes a distribution network device;
the method comprises the steps that the distribution network equipment can send equipment distribution network information, the equipment distribution network information comprises target AP information, and a terminal (1) to be distributed adjacent to the distribution network equipment can send a connection request to the corresponding distribution network equipment through an appointed SSID and a password corresponding to the appointed SSID;
after the equipment (1) to be connected with the distribution network equipment is connected, the equipment distribution network information sent by the connected distribution network equipment can be received, the equipment (1) to be connected can send a connection request to a target AP according to target AP information in the equipment distribution network information, and after the equipment (1) to be connected with the target AP is successfully connected, the equipment (1) to be connected is disconnected from the currently connected distribution network equipment and becomes the distribution network equipment.
6. The method for rapidly realizing the distribution network of the plurality of WiFi equipment as claimed in claim 5, wherein: the distribution network terminal (0) works in an AP mode, and the terminal distribution network information further comprises user information, terminal information and/or task information.
7. The method for rapidly realizing the distribution network of the plurality of WiFi equipment as claimed in claim 5, wherein: the device (1) to be networked comprises an information exchange control module (12), a WiFi STA module (11) and a WiFi AP module (13), wherein the WiFi STA module and the WiFi AP module are connected with the information exchange control module (12);
the information exchange control module (12) can be connected with the distribution network terminal (0), the target AP or the distribution network equipment through the WiFi STA module (11); the information exchange control module (12) can send the equipment distribution network information through the WiFi AP module (13) so as to realize the connection with the equipment (1) to be distributed.
8. The method for rapidly realizing the distribution network of the plurality of WiFi equipment as claimed in claim 7, wherein: the equipment (1) to be networked can work in a receiving mode or a distribution mode; when a network is distributed, the equipment (1) to be distributed enters a receiving mode;
when the wireless network distribution system works in a receiving mode, the information exchange control module (12) scans nearby appointed APs through the WiFi STA module (11), sends a connection request to the appointed APs according to the appointed SSID and the passwords corresponding to the appointed SSID, sends a request to the target AP according to the obtained target AP information after the connection with the appointed APs is successful, and starts the WiFiAP module (13) through the information exchange control module (12) after the connection with the target AP is successful so that the equipment (1) to be distributed enters a distribution mode;
when the distribution network distribution system works in a distribution mode, the information exchange control module (12) controls the WiFi AP module (13) to be in an AP-agreed working state so as to allow the connection between the nearby equipment (1) to be distributed and the WiFi AP module (13), and the information exchange control module (12) can send equipment distribution network information to the equipment (1) to be distributed and connected to the WiFi AP module (13) through the WiFi AP module (13).
9. The method for rapidly realizing the distribution network of the plurality of WiFi equipment as claimed in claim 8, wherein: after the distribution is completed or the idle time is out, the information exchange control module (12) closes the WiFi AP module (13) to exit the current distribution mode.
CN202010349301.0A 2020-04-28 2020-04-28 System and method for rapidly realizing distribution of multiple WiFi (Wireless Fidelity) devices Active CN111565396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010349301.0A CN111565396B (en) 2020-04-28 2020-04-28 System and method for rapidly realizing distribution of multiple WiFi (Wireless Fidelity) devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010349301.0A CN111565396B (en) 2020-04-28 2020-04-28 System and method for rapidly realizing distribution of multiple WiFi (Wireless Fidelity) devices

Publications (2)

Publication Number Publication Date
CN111565396A true CN111565396A (en) 2020-08-21
CN111565396B CN111565396B (en) 2022-12-02

Family

ID=72074479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010349301.0A Active CN111565396B (en) 2020-04-28 2020-04-28 System and method for rapidly realizing distribution of multiple WiFi (Wireless Fidelity) devices

Country Status (1)

Country Link
CN (1) CN111565396B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132989A (en) * 2021-04-20 2021-07-16 宁波奥克斯电气股份有限公司 Network distribution method and intelligent household system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507330A (en) * 2016-09-26 2017-03-15 海尔优家智能科技(北京)有限公司 A kind of equipment networking collocation method and device
CN108063702A (en) * 2017-07-27 2018-05-22 宁波方太厨具有限公司 A kind of apparatus self-adaptation matches somebody with somebody network method
CN109495358A (en) * 2018-12-10 2019-03-19 美的集团武汉制冷设备有限公司 Household electrical appliance match network method and distribution network systems
CN109996314A (en) * 2017-12-29 2019-07-09 阿里巴巴集团控股有限公司 A kind of methods, devices and systems to distribution net equipment access network hotspot equipment
US20190394643A1 (en) * 2016-12-08 2019-12-26 British Telecommunications Public Limited Company Configuration of wireless-equipped devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507330A (en) * 2016-09-26 2017-03-15 海尔优家智能科技(北京)有限公司 A kind of equipment networking collocation method and device
US20190394643A1 (en) * 2016-12-08 2019-12-26 British Telecommunications Public Limited Company Configuration of wireless-equipped devices
CN108063702A (en) * 2017-07-27 2018-05-22 宁波方太厨具有限公司 A kind of apparatus self-adaptation matches somebody with somebody network method
CN109996314A (en) * 2017-12-29 2019-07-09 阿里巴巴集团控股有限公司 A kind of methods, devices and systems to distribution net equipment access network hotspot equipment
CN109495358A (en) * 2018-12-10 2019-03-19 美的集团武汉制冷设备有限公司 Household electrical appliance match network method and distribution network systems

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132989A (en) * 2021-04-20 2021-07-16 宁波奥克斯电气股份有限公司 Network distribution method and intelligent household system
CN113132989B (en) * 2021-04-20 2023-09-15 宁波奥克斯电气股份有限公司 Network distribution method and intelligent home system

Also Published As

Publication number Publication date
CN111565396B (en) 2022-12-02

Similar Documents

Publication Publication Date Title
CN111565137A (en) System and method for binding WiFi distribution network and equipment
US10129755B2 (en) Deauthenticating and disassociating unauthorized access points with spoofed management frames
RU2564251C2 (en) Dynamic creation of account in protected network with wireless access point
CN106332224B (en) Equipment network distribution method, device and system
US7929503B2 (en) Wireless terminal, management apparatus and wireless LAN control method
US8547946B2 (en) Efficient creation of WLAN connections
CN105682093A (en) Wireless network access method and access device, and client
CN101621800B (en) Method for exchanging authentication information between wireless terminal and wireless router
US20040125778A1 (en) Method and system for improving transmission efficiency of wireless local area network
US8984287B2 (en) Wireless personal area network access method based on primitive
CN105072012A (en) Quick network access method of intelligent device
CN105554754A (en) Method and system for accessing WIFI module of the internet of things to network
KR101613170B1 (en) Apparatus and method for providing access point function in portable communication system
KR20120025114A (en) Apparatus and method for determining validity of wifi connection in wireless communication system
CN112188488A (en) Network distribution method, device and system
US20230291799A1 (en) Method and Apparatus of Network Configuration for Internet-of-Things Device
CN113068181B (en) Multi-type intelligent terminal safety network access method
CN111565396B (en) System and method for rapidly realizing distribution of multiple WiFi (Wireless Fidelity) devices
US20190261436A1 (en) Device networking method, apparatus and system
US10070289B1 (en) Client association for provisioning devices in a communication network
CN103442450A (en) Wireless communication method and wireless communication equipment
WO2013174312A2 (en) Control method and device, and mobile terminal
CN113055971A (en) Method and device for accessing intelligent terminal to network based on special SSID
WO2015196687A1 (en) Authentication management method and apparatus, wlan access device and communication system
CN105992202A (en) Method for communication through detection request frame embedded data under unrelated WIFI environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant