CN111885680A - Method, system and core equipment for establishing network connection - Google Patents

Method, system and core equipment for establishing network connection Download PDF

Info

Publication number
CN111885680A
CN111885680A CN202010951968.8A CN202010951968A CN111885680A CN 111885680 A CN111885680 A CN 111885680A CN 202010951968 A CN202010951968 A CN 202010951968A CN 111885680 A CN111885680 A CN 111885680A
Authority
CN
China
Prior art keywords
equipment
networked
authentication node
candidate
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010951968.8A
Other languages
Chinese (zh)
Inventor
杨前
李志刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TP Link Technologies Co Ltd
Original Assignee
TP Link Technologies 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 TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN202010951968.8A priority Critical patent/CN111885680A/en
Publication of CN111885680A publication Critical patent/CN111885680A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The application is applicable to the technical field of communication, and provides a method for establishing network connection, which comprises the following steps: determining the networking equipment which detects the networking request of the equipment to be networked as candidate equipment; acquiring link information of each candidate device, and determining authentication node devices from the candidate devices according to the link information and a preset selection strategy; and generating a connection message and sending the connection message to the authentication node equipment. In the scheme, the Mesh network is regarded as a whole, and all the networked devices can be used as authentication node devices to access the devices to be accessed to the network, so that the Mesh network is not limited to pairing the core devices and the devices to be accessed to the network. Therefore, the coverage range of one device of the core device is not limited, the networked device at any position can access the device to be accessed, and the coverage range of the Mesh network is expanded. And the coverage range of the Mesh network can be expanded without arranging an expander, so that the equipment cost is reduced.

Description

Method, system and core equipment for establishing network connection
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, a system, and a core device for establishing a network connection.
Background
Mesh (wireless Mesh) ad hoc networks are a new type of wireless network that is completely different from conventional wireless networks. The method is a technology for dynamically establishing new links to connect with other nodes, has the advantages of convenient configuration and intelligent networking, and can greatly reduce the cost and complexity of network deployment. In order to facilitate pairing and network access between Mesh devices, a WiFi Protected Setup (WPS) mode is generally used for authentication and access of the devices. When pairing and accessing, the devices that do not Access to the network are all core devices (CAP) in the Mesh network for pairing, but because the CAP has a fixed location and a limited coverage, the devices that do not Access to the network are limited by a spatial distance when pairing and accessing the network. The existing solution is to access an expander at the coverage edge of the CAP to improve the coverage. But such coverage is still limited and increases the cost of the device.
Disclosure of Invention
The embodiment of the application provides a method, a system and a core device for establishing network connection, which can solve the problems of limited network coverage and high device cost in a Mesh ad hoc network.
In a first aspect, an embodiment of the present application provides a method for establishing a network connection, where the method includes:
determining the networking equipment which detects the networking request of the equipment to be networked as candidate equipment;
acquiring link information of each candidate device, and determining authentication node devices from the candidate devices according to the link information and a preset selection strategy;
generating a connection message and sending the connection message to the authentication node equipment; the connection message is used for triggering the authentication node equipment to respond to the network access request and establishing network connection with the equipment to be accessed.
Further, the obtaining link information of each candidate device and determining an authentication node device from the candidate devices according to the link information and a preset selection policy includes:
obtaining the link type between each candidate device and the device to be networked;
and determining the candidate equipment with the link type being wired connection as the authentication node equipment.
Further, the determining the candidate device with the link type being a wired connection as an authentication node device includes:
determining the candidate device with the link type being wired connection as a candidate device;
and determining the alternative equipment which detects the network access request firstly as the authentication node equipment.
Further, after the obtaining the link type between each candidate device and the device to be networked, the method further includes:
if all the link types are in wireless connection, acquiring a received signal strength indication detected by each candidate device; the received signal strength indication is a signal strength indication between the candidate device and the device to be networked;
and determining the candidate device with the highest received signal strength indication or the received signal strength indication higher than a preset threshold value as the authentication node device.
Further, the determining, as a candidate device, the networked device that detects the network access request of the device to be networked includes:
when receiving a network access request sent by the equipment to be networked or receiving a network access request forwarded by the networking equipment, executing timing operation with preset time duration;
and after the timing operation is finished, determining the networking equipment which detects the network access request of the equipment to be accessed as candidate equipment.
Further, the number of the devices to be networked is one or more.
Further, after the generating a connection packet and sending the connection packet to the authentication node device, the method further includes:
and configuring the identification information of all the authentication node devices as target identification information.
In a second aspect, an embodiment of the present application provides a core device, including:
the first processing unit is used for determining the networked equipment which detects the network access request of the equipment to be accessed as candidate equipment;
the second processing unit is used for acquiring link information of each candidate device and determining authentication node equipment from the candidate devices according to the link information and a preset selection strategy;
the third processing unit is used for generating a connection message and sending the connection message to the authentication node equipment; the connection message is used for triggering the authentication node equipment to respond to the network access request and establishing network connection with the equipment to be accessed.
Further, the second processing unit includes:
a first obtaining unit, configured to obtain a link type between each candidate device and the device to be networked;
a first determining unit, configured to determine, as an authentication node device, a candidate device whose link type is wired connection.
Further, the first determining unit is specifically configured to:
determining the candidate device with the link type being wired connection as a candidate device;
and determining the alternative equipment which detects the network access request firstly as the authentication node equipment.
Further, the second processing unit further includes:
a second obtaining unit, configured to obtain, if all link types are in wireless connection, a received signal strength indication detected by each candidate device; the received signal strength indication is a signal strength indication between the candidate device and the device to be networked;
a second determining unit, configured to determine, as an authentication node device, a candidate device with the highest received signal strength indication or the received signal strength indication being higher than a preset threshold.
Further, the first processing unit is specifically configured to:
when receiving a network access request sent by the equipment to be networked or receiving a network access request forwarded by the networking equipment, executing timing operation with preset time duration;
and after the timing operation is finished, determining the networking equipment which detects the network access request of the equipment to be accessed as candidate equipment.
Further, the number of the devices to be networked is one or more.
Further, the apparatus for establishing a network connection further includes:
and the configuration unit is used for configuring the identification information of all the authentication node devices as target identification information.
In a third aspect, an embodiment of the present application provides a core device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the processor implements the method for establishing a network connection according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the method for establishing a network connection according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a system for establishing a network connection, including: the core equipment, the equipment to be accessed to the network and the equipment already networked;
the device to be networked is used for acquiring the discoverable networked device and sending a networking request to the networked device;
the networking equipment is used for receiving a network access request sent by the equipment to be networked and sending the network access request to the core equipment;
the core equipment is used for determining the networking equipment which detects the networking request of the equipment to be networked as candidate equipment; acquiring link information of each candidate device, and determining authentication node devices from the candidate devices according to the link information and a preset selection strategy; generating a connection message and sending the connection message to the authentication node equipment; the connection message is used for triggering the authentication node equipment to respond to the network access request and establishing network connection with the equipment to be accessed;
and if the networking equipment is determined to be authentication node equipment, the authentication node equipment receives the connection message and establishes network connection with the equipment to be networked.
Furthermore, the number of the devices to be networked is one or more, and the devices to be networked establish network connection with the authentication node device according to the target frame.
Furthermore, the number of the devices to be networked is one or more;
the authentication node device receives the connection message and establishes network connection with the device to be networked, including:
the authentication node equipment receives the connection message and sends a detection response message to the equipment to be accessed to the network; the detection response message contains MAC address information of the equipment to be accessed to the network corresponding to the authentication node equipment;
the equipment to be networked establishes network connection with the authentication node equipment according to the detection response message
In the embodiment of the application, the networking equipment which detects the network access request of the equipment to be accessed is determined as candidate equipment; acquiring link information of each candidate device, and determining authentication node devices from the candidate devices according to the link information and a preset selection strategy; generating a connection message and sending the connection message to authentication node equipment; the connection message is used for triggering the authentication node equipment to respond to the network access request and establish network connection with the equipment to be accessed. In the scheme, the Mesh network is regarded as a whole, and all the networked devices can be used as authentication node devices to access the devices to be accessed to the network, so that the Mesh network is not limited to pairing the core devices and the devices to be accessed to the network. Therefore, the coverage range of one device of the core device is not limited, and the networked device at any position can be accessed to the device to be networked, thereby greatly expanding the coverage range of the Mesh network. And the coverage range of the Mesh network can be expanded without arranging an expander, so that the equipment cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a method for establishing a network connection according to a first embodiment of the present application;
fig. 2 is a schematic flowchart of a refinement of S101 in a method for establishing a network connection according to a first embodiment of the present application;
fig. 3 is a schematic flowchart of a refinement of S102 in a method for establishing a network connection according to a first embodiment of the present application;
fig. 4 is a schematic flowchart of a refinement of S1022 in a method for establishing a network connection according to a first embodiment of the present application;
fig. 5 is a schematic flowchart of S1023 to S1024 in a method for establishing a network connection according to a first embodiment of the present application;
fig. 6 is a schematic diagram of a core device provided in a second embodiment of the present application;
fig. 7 is a schematic diagram of a core device provided in a third embodiment of the present application;
fig. 8 is a schematic diagram of a system for establishing a network connection according to a fourth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for establishing a network connection according to a first embodiment of the present application. An execution subject of the method for establishing a network connection in this embodiment is a core device (CAP) in a Mesh ad hoc network. The method for establishing network connection as shown in fig. 1 may include:
s101: and determining the networking equipment which detects the networking request of the equipment to be networked as candidate equipment.
Mesh ad hoc networks are a new type of wireless network that is completely different from traditional wireless networks. The method is a technology for dynamically establishing new links to connect with other nodes, has the advantages of convenient configuration and intelligent networking, and can greatly reduce the cost and complexity of network deployment. The Mesh ad hoc network product is used as a new product form and replaces the model of an Access control Point router (AP) + an auxiliary equipment expander (RE) under a large-area Wi-Fi coverage scene.
In order to facilitate pairing and network access between Mesh devices, a WiFi Protected Setup (WPS) mode is generally used for authentication and access of the devices. In the process of establishing the network connection, the WPS keys of the device to be accessed to the network and the wireless routing device can be pressed respectively to establish the connection quickly, and the connection can also be established by the two parts through clicking the keys on the virtual page. In the WPS of the push button system, the validity period of one push button is 2mins, and therefore, the interval between two push buttons needs to be within 2 mins. And due to the limitation of the distance of wireless transmission, the spatial distance between two devices performing the WPS cannot be very long, so that the success of wireless transmission can be ensured.
In a scene of actually using a network, the positions of core devices in Mesh ad hoc networks in most scenes are fixed at a certain position. For example, for a residence, the core devices in most residential Mesh ad hoc networks are at one end of the room. In order to extend the coverage of the network, the extender RE1 is typically accessed at the edge of the coverage of the core device, and if the subscriber is large and flat, then the extender RE2 may be accessed at the edge of the extension range of the extender RE1 to increase the coverage, and the extender RE2 can only receive the signal of the extender RE 1. However, such coverage is still limited and increases the cost of the device. In this embodiment, a method for establishing a network connection is provided to solve the above problem. When the device to be networked initiates a WPS session, the device detects a network access request, and the device may select one authentication node device from the candidate devices to establish a network connection with the device to be networked.
Specifically, when the device to be networked initiates the WPS session, the device to be networked initiates a network access request. The device to be networked is an active party in the formal pairing process, so the device to be networked needs to actively discover the networked device first, and then the device to be networked sends a network access request. When networking equipment in a current network connected with the core equipment receives a network access request of equipment to be accessed, the networking equipment feeds the network access request back to the core equipment, namely to a decision center (CAP equipment or AC equipment).
The core device determines the networked device which detects the network access request of the device to be accessed as a candidate device. The core device selects one device from the candidate devices as an authoritative authentication node capable of issuing the certificate to provide network access for the device to be networked.
The embodiment also supports that multiple devices to be networked initiate a WPS session at the same time, and multiple devices to be networked initiate a network access request for joining the current network at the same time. That is to say, in this embodiment, the number of the devices to be networked is one or more.
When multiple sessions are supported, a plurality of devices to be networked initiate networking requests at the same time, the plurality of devices to be networked may be allocated to interact with different networking devices, and according to a manufacturing automation standard Protocol (MAP), the core device may determine that a plurality of networking devices exist at the same time, and overlap occurs, so that WPS is not performed. To solve this problem, the following solutions are proposed in the present embodiment:
1. a core device, namely a decision center (CAP device or AC device), uniformly configures a unique identifier (UUID) of a networked device, so that The networked devices are considered as The same node by a device to be networked;
2. modifying the maintenance mode of the equipment to be networked on the scanning list, not pairing with the networked equipment only with the Beacon frame, and only regarding the items updated according to the unicast Probe Resp frame as legal networked equipment;
3. and adding the MAC address list of the corresponding equipment to be networked in the Vendor-defined information element Vendor IE of the Beacon/Probe Resp of the networked equipment, and stating that the WPS is open to the equipment to be networked, thereby ensuring that the equipment to be networked can correctly distinguish which networked equipment is specific to the equipment.
When a new device to be networked triggers WPS, there may be multiple devices already networked in the Mesh network that may all discover the new device to be networked, and due to complexity of topology, such as chaining, discovery message transfer delay, etc., the device already networked that is discovered first may not necessarily be the best access device, i.e., the best access device. Therefore, when the core device receives a WPS access request from a device to be networked sent by a certain networked device for the first time, a delay selection timer is started to check whether other networked devices discover the device to be networked, a plurality of networked devices capable of discovering the device to be networked are obtained, and the best authentication node is selected from the plurality of networked devices, so that the networked device with better signal can be selected as the access device of the device to be networked. Therefore, when determining as a candidate device, S101 may include S1011 to S1012, as shown in fig. 2, S1011 to S1012 specifically are as follows:
s1011: and when receiving the network access request sent by the equipment to be networked or receiving the network access request forwarded by the networking equipment, executing timing operation with preset time length.
And when the core equipment receives a network access request sent by the equipment to be networked or receives a network access request forwarded by the networking equipment, starting a delay selection timer and executing timing operation with preset time length. And detecting whether other networking equipment which detects the networking request of the equipment to be networked still exists or not within a preset time length.
S1012: and after the timing operation is finished, determining the networking equipment which detects the network access request of the equipment to be accessed as candidate equipment.
After the timing operation is finished, all the networked devices which detect the network access request of the device to be accessed are determined as candidate devices, so that the quality of the candidate devices can be improved, and the optimal authentication node can be selected more easily to serve as the access device of the device to be accessed.
S102: and acquiring link information of each candidate device, and determining authentication node equipment from the candidate devices according to the link information and a preset selection strategy.
The equipment acquires link information of each candidate equipment, and determines authentication node equipment from the candidate equipment according to the link information and a preset selection strategy. The link information refers to link connection information between the candidate device and the device to be networked. The link information is used as a reference factor for selecting an authentication node device.
The core device stores a preset selection policy in advance, and the preset selection policy is used for determining the authentication node device from the candidate devices. The preset selection policy may be set according to actual conditions and considerations for selecting authentication node devices.
In a specific embodiment, when the authentication node device is selected, the pairing speed is mainly considered, and since the wired pairing speed is much higher than the wireless pairing speed, S102 may determine the authentication node device in the manners of S1021 to S1022, and select a networked device with a faster pairing speed as the authentication node device, as shown in fig. 3, S1021 to S1022 are specifically as follows:
s1021: and obtaining the link type between each candidate device and the device to be networked.
And obtaining the link type between each candidate device and the device to be networked. The link types include wired connections and wireless connections. When connected by wire, a link refers to a physical line, such as a cable or fiber, between two nodes. In the case of wireless connection, a link refers to a path space for electromagnetic waves propagating between a base station and a terminal.
S1022: and determining the candidate equipment with the link type being wired connection as the authentication node equipment.
Since the wired pairing speed is much higher than the wireless pairing speed, when there is both a wired connection and a wireless connection, a candidate device that preferentially selects a link type as a wired connection is determined as an authentication node device.
Further, if the device to be networked has a wired connection with multiple candidate devices at the same time, S1022 may include S10221 to S10222, as shown in fig. 4, S10221 to S10222 are specifically as follows:
s10221: and determining the candidate device with the link type being the wired connection as the alternative device.
The core device obtains that a plurality of candidate devices are in wired connection with the device to be networked at the same time, and determines the candidate device with the link type in wired connection as the candidate device.
S10222: and determining the alternative equipment which detects the network access request firstly as the authentication node equipment.
The core device may be configured to select the candidate device that receives the network access request earliest as the authentication node device, that is, the core device obtains the time when each candidate device detects the network access request, and determines the candidate device that detects the network access request earliest as the authentication node device.
Further, in selecting the authentication node device, in addition to the pairing speed, the signal quality may be considered. After S1021, S1023 to S1024 may be further included, and as shown in fig. 5, S1023 to S1024 are specifically as follows:
s1023: if all the link types are in wireless connection, acquiring a received signal strength indication detected by each candidate device; the received signal strength indication is a signal strength indication between the candidate device and the device to be networked.
In this embodiment, if it is detected that all the current candidate devices and the device to be networked are in wireless connection, that is, the link types acquired by the device are all in wireless connection. At this time, the factor of the signal quality is prioritized when determining the authentication node device. The core device obtains the received signal strength indication detected by each candidate device, wherein the received signal strength indication is the signal strength indication between the candidate device and the device to be networked, that is, the quality of each wireless link is obtained.
S1024: and determining the candidate device with the highest received signal strength indication or the received signal strength indication higher than a preset threshold value as the authentication node device.
The core device preferentially determines the candidate device with the highest received signal strength indication as the authentication node device, namely selects the candidate device with the highest link quality to determine as the authentication node device; or a preset threshold value is preset in the core device, and the candidate device with the received signal strength indication higher than the preset threshold value is determined as the authentication node device.
S103: generating a connection message and sending the connection message to the authentication node equipment; the connection message is used for triggering the authentication node equipment to respond to the network access request and establishing network connection with the equipment to be accessed.
The core equipment generates a connection message and sends the connection message to the authentication node equipment, and the connection message is used for triggering the authentication node equipment to respond to the network access request and establish network connection with the equipment to be accessed. After the core device selects the authentication node device, the authentication node device and the device to be accessed to the network are appointed to complete the WPS session, the device to be accessed to the network is determined to be capable of establishing network connection with the authentication node device, the device to be accessed to the network can enter a pairing mode, a wireless network name and a password sent by the authentication node device are received, and network connection is established with the authentication node device based on the received wireless network name and the password.
In the embodiment of the application, the networking equipment which detects the network access request of the equipment to be accessed is determined as candidate equipment; acquiring link information of each candidate device, and determining authentication node devices from the candidate devices according to the link information and a preset selection strategy; generating a connection message and sending the connection message to authentication node equipment; the connection message is used for triggering the authentication node equipment to respond to the network access request and establish network connection with the equipment to be accessed. In the scheme, the Mesh network is regarded as a whole, and all the networked devices can be used as authentication node devices to access the devices to be accessed to the network, so that the Mesh network is not limited to pairing the core devices and the devices to be accessed to the network. Therefore, the coverage range of one device of the core device is not limited, and the networked device at any position can be accessed to the device to be networked, thereby greatly expanding the coverage range of the Mesh network. And the coverage range of the Mesh network can be expanded without arranging an expander, so that the equipment cost is reduced.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Referring to fig. 6, fig. 6 is a schematic diagram of a core device according to a second embodiment of the present application. The units included are used to perform the steps in the embodiments corresponding to fig. 1-5. Please refer to the related description of the embodiments in fig. 1 to 5. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 6, the core device 6 includes:
a first processing unit 610, configured to determine a networked device that detects a network access request of a device to be networked as a candidate device;
a second processing unit 620, configured to obtain link information of each candidate device, and determine an authentication node device from the candidate devices according to the link information and a preset selection policy;
a third processing unit 630, configured to generate a connection packet, and send the connection packet to the authentication node device; the connection message is used for triggering the authentication node equipment to respond to the network access request and establishing network connection with the equipment to be accessed.
Further, the second processing unit 620 includes:
a first obtaining unit, configured to obtain a link type between each candidate device and the device to be networked;
a first determining unit, configured to determine, as an authentication node device, a candidate device whose link type is wired connection.
Further, the first determining unit is specifically configured to:
determining the candidate device with the link type being wired connection as a candidate device;
and determining the alternative equipment which detects the network access request firstly as the authentication node equipment.
Further, the second processing unit 620 further includes:
a second obtaining unit, configured to obtain, if all link types are in wireless connection, a received signal strength indication detected by each candidate device; the received signal strength indication is a signal strength indication between the candidate device and the device to be networked;
a second determining unit, configured to determine, as an authentication node device, a candidate device with the highest received signal strength indication or the received signal strength indication being higher than a preset threshold.
Further, the first processing unit 610 is specifically configured to:
when receiving a network access request sent by the equipment to be networked or receiving a network access request forwarded by the networking equipment, executing timing operation with preset time duration;
and after the timing operation is finished, determining the networking equipment which detects the network access request of the equipment to be accessed as candidate equipment.
Further, the number of the devices to be networked is one or more.
Further, the apparatus 6 for establishing network connection further includes:
and the configuration unit is used for configuring the identification information of all the authentication node devices as target identification information.
Fig. 7 is a schematic diagram of a core device according to a third embodiment of the present application. As shown in fig. 7, the core device 7 of this embodiment includes: a processor 70, a memory 71 and a computer program 72 stored in said memory 71 and executable on said processor 70, such as a program for establishing a network connection. The processor 70, when executing the computer program 72, implements the steps in the above-described embodiments of the method for establishing a network connection, such as the steps 101 to 103 shown in fig. 1. Alternatively, the processor 70, when executing the computer program 72, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 610 to 630 shown in fig. 6.
Illustratively, the computer program 72 may be partitioned into one or more modules/units that are stored in the memory 71 and executed by the processor 70 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 72 in the core device 7. For example, the computer program 72 may be divided into a first processing unit, a second processing unit, and a third processing unit, and each unit has the following specific functions:
the first processing unit is used for determining the networked equipment which detects the network access request of the equipment to be accessed as candidate equipment;
the second processing unit is used for acquiring link information of each candidate device and determining authentication node equipment from the candidate devices according to the link information and a preset selection strategy;
the third processing unit is used for generating a connection message and sending the connection message to the authentication node equipment; the connection message is used for triggering the authentication node equipment to respond to the network access request and establishing network connection with the equipment to be accessed.
The core devices may include, but are not limited to, a processor 70, a memory 71. It will be understood by those skilled in the art that fig. 7 is merely an example of the core device 7, and does not constitute a limitation of the core device 7, and may include more or less components than those shown, or combine some components, or different components, for example, the core device may further include input and output devices, network access devices, buses, etc.
The Processor 70 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 71 may be an internal storage unit of the core device 7, such as a hard disk or a memory of the core device 7. The memory 71 may also be an external storage device of the core device 7, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the core device 7. Further, the core device 7 may also include both an internal storage unit and an external storage device of the core device 7. The memory 71 is used for storing the computer programs and other programs and data required by the core device. The memory 71 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 8 is a schematic diagram of a system for establishing a network connection according to a fourth embodiment of the present application. The system for establishing network connection comprises: the core equipment, the equipment to be accessed to the network and the equipment already networked;
the device to be networked is used for acquiring the discoverable networked device and sending a networking request to the networked device;
the networking equipment is used for receiving a network access request sent by the equipment to be networked and sending the network access request to the core equipment;
the core equipment is used for determining the networking equipment which detects the networking request of the equipment to be networked as candidate equipment; acquiring link information of each candidate device, and determining authentication node devices from the candidate devices according to the link information and a preset selection strategy; generating a connection message and sending the connection message to the authentication node equipment; the connection message is used for triggering the authentication node equipment to respond to the network access request and establishing network connection with the equipment to be accessed;
and if the networking equipment is determined to be authentication node equipment, the authentication node equipment receives the connection message and establishes network connection with the equipment to be networked.
In an implementation manner, this embodiment also supports that multiple devices to be networked initiate a WPS session at the same time, and the multiple devices to be networked initiate a network access request for joining the current network at the same time. That is to say, in this embodiment, the number of the devices to be networked is one or more.
When multiple sessions are supported, multiple devices to be networked initiate networking requests at the same time, the multiple devices to be networked may be allocated to interact with different networking devices, and according to a Manufacturing Automation Protocol (MAP), the devices may determine that multiple networking devices exist at the same time, overlap occurs, and thus WPS is not performed. To solve this problem, the following solutions are proposed in the present embodiment:
in one embodiment, a core device, that is, a decision center (CAP device or AC device), configures a unique identifier (UUID) of a networked device in a unified manner, so that a device to be networked considers that The networked devices are actually The same node;
in one embodiment, the device to be networked establishes a network connection with the authentication node device according to a target frame. The target frame is a response frame that does not include the Beacon frame, and the target frame may only include a probe response frame, that is, the device to be networked may establish network connection with the authentication node device only according to the probe response frame. Modifying the maintenance mode of the equipment to be networked on the scanning list, not pairing with the networked equipment only with the Beacon frame, and only regarding the items updated according to the unicast Probe Resp frame as legal networked equipment;
in one embodiment, the authentication node device receives the connection packet, and may establish a network connection with the device to be networked in the following manner. And the authentication node equipment receives the connection message and sends a detection response message to the equipment to be accessed to the network, wherein the detection response message contains the MAC address information of the equipment to be accessed to the network corresponding to the authentication node equipment. And the equipment to be networked establishes network connection with the authentication node equipment according to the detection response message. The information element customized by the manufacturer of the networking equipment comprises address information of the equipment to be networked corresponding to the networking equipment. The detection response message sent by the authentication node device includes information elements customized by a manufacturer, that is, the detection response message includes MAC address information of the device to be networked corresponding to the authentication node device. Specifically, the MAC address list of the corresponding device to be networked is added to the Vendor-defined information element Vendor IE of Beacon/Probe Resp of the networked device, so that the WPS is declared open to which devices to be networked, and it is ensured that the device to be networked can correctly distinguish which networked devices are directed to the device. The number of the devices to be networked is one or more, and the devices to be networked establish network connection with the devices to be networked according to the detection request frame.
An embodiment of the present application further provides a network device, where the network device includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps of any of the various method embodiments described above when executing the computer program.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), random-access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (13)

1. A method of establishing a network connection, the method comprising:
determining the networking equipment which detects the networking request of the equipment to be networked as candidate equipment;
acquiring link information of each candidate device, and determining authentication node devices from the candidate devices according to the link information and a preset selection strategy;
generating a connection message and sending the connection message to the authentication node equipment; the connection message is used for triggering the authentication node equipment to respond to the network access request and establishing network connection with the equipment to be accessed.
2. The method according to claim 1, wherein the obtaining link information of each candidate device, and determining an authentication node device from the candidate devices according to the link information and a preset selection policy, comprises:
obtaining the link type between each candidate device and the device to be networked;
and determining the candidate equipment with the link type being wired connection as the authentication node equipment.
3. The method of establishing a network connection of claim 2, wherein the determining the candidate device whose link type is a wired connection as an authentication node device comprises:
determining the candidate device with the link type being wired connection as a candidate device;
and determining the alternative equipment which detects the network access request firstly as the authentication node equipment.
4. The method for establishing network connection according to claim 2, wherein after the obtaining the link type between each candidate device and the device to be networked, further comprising:
if all the link types are in wireless connection, acquiring a received signal strength indication detected by each candidate device; the received signal strength indication is a signal strength indication between the candidate device and the device to be networked;
and determining the candidate device with the highest received signal strength indication or the received signal strength indication higher than a preset threshold value as the authentication node device.
5. The method for establishing network connection according to claim 1, wherein the determining the networked device that detects the network access request of the device to be networked as a candidate device comprises:
when receiving a network access request sent by the equipment to be networked or receiving a network access request forwarded by the networking equipment, executing timing operation with preset time duration;
and after the timing operation is finished, determining the networking equipment which detects the network access request of the equipment to be accessed as candidate equipment.
6. The method for establishing network connection according to claim 1, wherein the number of the devices to be networked is one or more.
7. The method of establishing a network connection according to claim 6, wherein after the generating a connection packet and sending the connection packet to the authentication node device, further comprising:
and configuring the identification information of all the authentication node devices as target identification information.
8. A core device, comprising:
the first processing unit is used for determining the networked equipment which detects the network access request of the equipment to be accessed as candidate equipment;
the second processing unit is used for acquiring link information of each candidate device and determining authentication node equipment from the candidate devices according to the link information and a preset selection strategy;
the third processing unit is used for generating a connection message and sending the connection message to the authentication node equipment; the connection message is used for triggering the authentication node equipment to respond to the network access request and establishing network connection with the equipment to be accessed.
9. A core device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
11. A system for establishing a network connection, comprising: the core equipment, the equipment to be accessed to the network and the equipment already networked;
the device to be networked is used for acquiring the discoverable networked device and sending a networking request to the networked device;
the networking equipment is used for receiving a network access request sent by the equipment to be networked and sending the network access request to the core equipment;
the core equipment is used for determining the networking equipment which detects the networking request of the equipment to be networked as candidate equipment; acquiring link information of each candidate device, and determining authentication node devices from the candidate devices according to the link information and a preset selection strategy; generating a connection message and sending the connection message to the authentication node equipment; the connection message is used for triggering the authentication node equipment to respond to the network access request and establishing network connection with the equipment to be accessed;
and if the networking equipment is determined to be authentication node equipment, the authentication node equipment receives the connection message and establishes network connection with the equipment to be networked.
12. The system for establishing network connection according to claim 11, wherein the number of the devices to be networked is one or more, and the devices to be networked establish network connection with the authentication node device according to a target frame.
13. The system for establishing network connection according to claim 11, wherein the number of the devices to be networked is one or more;
the authentication node device receives the connection message and establishes network connection with the device to be networked, including:
the authentication node equipment receives the connection message and sends a detection response message to the equipment to be accessed to the network; the detection response message contains MAC address information of the equipment to be accessed to the network corresponding to the authentication node equipment;
and the equipment to be networked establishes network connection with the authentication node equipment according to the detection response message.
CN202010951968.8A 2020-09-11 2020-09-11 Method, system and core equipment for establishing network connection Pending CN111885680A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010951968.8A CN111885680A (en) 2020-09-11 2020-09-11 Method, system and core equipment for establishing network connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010951968.8A CN111885680A (en) 2020-09-11 2020-09-11 Method, system and core equipment for establishing network connection

Publications (1)

Publication Number Publication Date
CN111885680A true CN111885680A (en) 2020-11-03

Family

ID=73199215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010951968.8A Pending CN111885680A (en) 2020-09-11 2020-09-11 Method, system and core equipment for establishing network connection

Country Status (1)

Country Link
CN (1) CN111885680A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112787884A (en) * 2020-12-28 2021-05-11 北京小米移动软件有限公司 Networking method and device and storage medium
CN112929908A (en) * 2021-03-17 2021-06-08 北京小米移动软件有限公司 Mesh networking method and device, gateway equipment and storage medium
CN112954716A (en) * 2021-02-26 2021-06-11 上海汉枫电子科技有限公司 Network access method and device of mesh network, computer equipment and storage medium
CN113242559A (en) * 2021-04-09 2021-08-10 普联技术有限公司 Frequency band selection method and device of hybrid link, terminal equipment and storage medium
CN113839843A (en) * 2021-11-25 2021-12-24 深圳中科德能科技有限公司 Intelligent device discovery method, device, medium and block chain system
TWI787912B (en) * 2021-07-16 2022-12-21 啟碁科技股份有限公司 Wireless communication device and wireless communication method used in wireless communication device
CN116017302A (en) * 2022-12-14 2023-04-25 深圳市新兴达科技发展有限公司 Intelligent positioning and statistics management device and system
CN116156501A (en) * 2023-04-19 2023-05-23 深圳市华曦达科技股份有限公司 Wireless grid network networking method, device and system
CN116193534A (en) * 2023-05-04 2023-05-30 深圳市华曦达科技股份有限公司 Wireless mesh network networking method, device and system based on easy mesh

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070206537A1 (en) * 2006-03-06 2007-09-06 Nancy Cam-Winget System and method for securing mesh access points in a wireless mesh network, including rapid roaming
US20140013117A1 (en) * 2012-07-09 2014-01-09 Electronics And Telecommunications Research Institute Authentication method of wireless mesh network
CN103686709A (en) * 2012-09-17 2014-03-26 中兴通讯股份有限公司 Method and system for identifying wireless mesh network
US20150109961A1 (en) * 2013-10-18 2015-04-23 Qualcomm Incorporated System and method for identifying a service mesh
CN105451290A (en) * 2014-08-20 2016-03-30 北京南瑞智芯微电子科技有限公司 Micropower wireless network self-organizing method and micropower wireless network
CN109121124A (en) * 2018-07-05 2019-01-01 杭州涂鸦信息技术有限公司 A kind of client-based bluetooth mesh equipment networking process implementation method
CN109152065A (en) * 2018-10-31 2019-01-04 重庆邮电大学 A kind of safe method of network entry of industry wireless network multinode based on IPv6
CN109963352A (en) * 2019-04-08 2019-07-02 乐鑫信息科技(上海)股份有限公司 Method of network entry, device, equipment and the storage medium of equipment
CN110300039A (en) * 2018-03-23 2019-10-01 华为技术有限公司 For the method for network entry of mixed networking, agent Coordination equipment and site apparatus
CN110740460A (en) * 2019-10-25 2020-01-31 深圳创维数字技术有限公司 device network access method, device, network device and storage medium
CN111031544A (en) * 2019-12-24 2020-04-17 重庆邮电大学 Multi-network coexisting multi-frequency-point wireless communication networking method
CN111092820A (en) * 2018-10-23 2020-05-01 中国移动通信有限公司研究院 Equipment node authentication method, device and system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070206537A1 (en) * 2006-03-06 2007-09-06 Nancy Cam-Winget System and method for securing mesh access points in a wireless mesh network, including rapid roaming
US20140013117A1 (en) * 2012-07-09 2014-01-09 Electronics And Telecommunications Research Institute Authentication method of wireless mesh network
CN103686709A (en) * 2012-09-17 2014-03-26 中兴通讯股份有限公司 Method and system for identifying wireless mesh network
US20150249921A1 (en) * 2012-09-17 2015-09-03 Zte Corporation Authentication Method and System for Wireless Mesh Network
US20150109961A1 (en) * 2013-10-18 2015-04-23 Qualcomm Incorporated System and method for identifying a service mesh
CN105451290A (en) * 2014-08-20 2016-03-30 北京南瑞智芯微电子科技有限公司 Micropower wireless network self-organizing method and micropower wireless network
CN110300039A (en) * 2018-03-23 2019-10-01 华为技术有限公司 For the method for network entry of mixed networking, agent Coordination equipment and site apparatus
CN109121124A (en) * 2018-07-05 2019-01-01 杭州涂鸦信息技术有限公司 A kind of client-based bluetooth mesh equipment networking process implementation method
CN111092820A (en) * 2018-10-23 2020-05-01 中国移动通信有限公司研究院 Equipment node authentication method, device and system
CN109152065A (en) * 2018-10-31 2019-01-04 重庆邮电大学 A kind of safe method of network entry of industry wireless network multinode based on IPv6
CN109963352A (en) * 2019-04-08 2019-07-02 乐鑫信息科技(上海)股份有限公司 Method of network entry, device, equipment and the storage medium of equipment
CN110740460A (en) * 2019-10-25 2020-01-31 深圳创维数字技术有限公司 device network access method, device, network device and storage medium
CN111031544A (en) * 2019-12-24 2020-04-17 重庆邮电大学 Multi-network coexisting multi-frequency-point wireless communication networking method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11805468B2 (en) 2020-12-28 2023-10-31 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for networking
CN112787884A (en) * 2020-12-28 2021-05-11 北京小米移动软件有限公司 Networking method and device and storage medium
CN112954716A (en) * 2021-02-26 2021-06-11 上海汉枫电子科技有限公司 Network access method and device of mesh network, computer equipment and storage medium
CN112929908A (en) * 2021-03-17 2021-06-08 北京小米移动软件有限公司 Mesh networking method and device, gateway equipment and storage medium
US11889315B2 (en) 2021-03-17 2024-01-30 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for establishing connection with Mesh networking, and gateway device
CN113242559A (en) * 2021-04-09 2021-08-10 普联技术有限公司 Frequency band selection method and device of hybrid link, terminal equipment and storage medium
CN113242559B (en) * 2021-04-09 2022-07-05 普联技术有限公司 Frequency band selection method and device of hybrid link, terminal equipment and storage medium
TWI787912B (en) * 2021-07-16 2022-12-21 啟碁科技股份有限公司 Wireless communication device and wireless communication method used in wireless communication device
CN113839843A (en) * 2021-11-25 2021-12-24 深圳中科德能科技有限公司 Intelligent device discovery method, device, medium and block chain system
CN116017302B (en) * 2022-12-14 2023-07-25 深圳市新兴达科技发展有限公司 Intelligent positioning and statistics management device and system
CN116017302A (en) * 2022-12-14 2023-04-25 深圳市新兴达科技发展有限公司 Intelligent positioning and statistics management device and system
CN116156501A (en) * 2023-04-19 2023-05-23 深圳市华曦达科技股份有限公司 Wireless grid network networking method, device and system
CN116156501B (en) * 2023-04-19 2023-06-27 深圳市华曦达科技股份有限公司 Wireless grid network networking method, device and system
CN116193534A (en) * 2023-05-04 2023-05-30 深圳市华曦达科技股份有限公司 Wireless mesh network networking method, device and system based on easy mesh

Similar Documents

Publication Publication Date Title
CN111885680A (en) Method, system and core equipment for establishing network connection
US10278099B2 (en) Electronic device and operating method thereof
US9444639B2 (en) Multi-tier wireless home mesh network with a secure network discovery protocol
JP5474098B2 (en) Wireless home mesh network bridge adapter
EP1890518B1 (en) Communication system, wireless-communication device, and control method therefor
EP2983391B1 (en) Method and apparatus for wlan initial link setup
JP6017510B2 (en) Group owner selection with cross request
JP2012516647A (en) Multi-layer wireless home mesh network authentication
US7904534B2 (en) Network topology aware configuration of network addresses in wireless personal area networks
WO2010088134A2 (en) Distributed ip address assignment protocol for a multi-hop wireless home mesh network with collision detection
CN113141671B (en) Communication method and device of wifi device and computer readable storage medium
WO2009046670A1 (en) A method, system, base station and management node for accessing a core network node
CN111934961A (en) Intelligent household network configuration method, equipment and computer readable storage medium
CN114025408B (en) Network establishing and accessing method and device for self-adaptive networking and computer equipment
CN113259928A (en) OTA (over the air) upgrading method and device, electronic equipment, storage medium and program product
WO2024065087A1 (en) Terminal discovery method, apparatus and device and storage medium
CN117769059A (en) Communication method, device, user terminal, gateway terminal and communication system

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: 20201103

RJ01 Rejection of invention patent application after publication