Routing networking configuration method and device, storage medium and computer equipment

By generating networking signals and detecting request frames to identify target subroutines, establishing peer-to-peer connections for network configuration, solving the problem of wireless Mesh network configuration complexity, improving network efficiency and ensuring security.

CN118945094APending Publication Date: 2024-11-12GUANGDONG HONGQIN COMM TECH CO LTD
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202411073681.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The existing wireless Mesh network configuration process is complicated and cumbersome, and it is difficult for users with non-technical backgrounds to operate, resulting in low network configuration efficiency.

Method used

By receiving user configuration information, generating network signals, sending them to the subroutines of the target area, and determining the target subroutines according to the detection request frame, establishing peer connections for network configuration, realizing secure encrypted communication between the main route and the subroutine, and Restart the configured subroutine to make the network configuration take effect.

Benefits of technology

It realizes automatic network configuration, improves network configuration efficiency, simplifies user operations, and ensures the security of network configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945094A_ABST
    Figure CN118945094A_ABST
Patent Text Reader

Abstract

According to the routing networking configuration method and device, the storage medium and the computer equipment provided by the invention, when the configuration information sent by the user is received, the networking signal can be generated according to the configuration information and is sent to each sub-route; determining a target sub-route to be networked based on each sub-route according to a detection request frame returned by the networking signal, and then sending a corresponding detection response frame to the target sub-route to trigger each target sub-route to enter a configuration state; then, a network group with each target sub-route can be created, network configuration is carried out in each network group to establish peer-to-peer connection, then each target sub-route is controlled through the peer-to-peer connection to carry out networking parameter configuration according to the configuration information, and restart operation is carried out to enable the configuration to take effect. Therefore, a user only needs to carry out information configuration on the main route, the main route can realize networking automatic configuration of the sub-route through a wireless interaction process of peer-to-peer connection, and the configuration efficiency is improved while the networking configuration security is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network communication technology, and in particular to a routing network configuration method, device, storage medium and computer equipment. Background Art

[0002] In the context of the current high-speed network demand, Mesh networking technology, as an important means to improve the network coverage and stability of the venue, has shown its unique advantages. Among them, wireless Mesh networking has been widely welcomed by the market for its flexibility and convenience. It achieves the collaborative work between multiple routers through wireless connection, thereby expanding the network coverage.

[0003] However, the process of wireless Mesh networking requires users to operate the buttons on each sub-router one by one and confirm them synchronously on the control interface of the main router. The pairing and setting operations involved in this process are relatively complex and cumbersome. For users without a technical background, the network configuration process is difficult to operate, resulting in low network configuration efficiency. Summary of the invention

[0004] The purpose of the present application is to solve at least one of the above-mentioned technical defects, especially the fact that the pairing and setting operations involved in the network configuration process in the prior art are relatively complex and cumbersome, and the network configuration process is difficult to operate for users without a technical background, resulting in a technical defect of low network configuration efficiency.

[0005] The present application provides a routing network configuration method, the method comprising:

[0006] When receiving the configuration information sent by the user, generating a networking signal according to the configuration information, sending the networking signal to multiple sub-routes in the target area, and receiving a detection request frame returned by each sub-route according to the networking signal;

[0007] Determine the target sub-routes to be networked based on each probe request frame, and send corresponding probe response frames to each target sub-routes to trigger each target sub-routes to enter the configuration state;

[0008] Create a network group with each target sub-route respectively, configure the network for each target sub-route in each network group, and establish a peer-to-peer connection with each target sub-route;

[0009] Each peer connection is used to control each target sub-route to configure the networking parameters according to the configuration information, and each configured target sub-route is restarted to make the routing networking configuration effective.

[0010] Optionally, the process of each sub-route returning a detection request frame according to the networking signal includes:

[0011] For each sub-route, after the sub-route scans the networking signal, the route data of the sub-route is obtained, a probe request frame is generated based on the route data, and the probe request frame is returned.

[0012] Optionally, determining the target sub-route to be networked based on each probe request frame includes:

[0013] Parse the data of each probe request frame to obtain the routing data corresponding to each sub-route; each routing data includes status information and identity information;

[0014] Based on each state information, a networkable sub-route is screened from each sub-route to obtain a networkable sub-route, and an address is identified for each networkable sub-route according to the identity information of each networkable sub-route to obtain a target sub-route to be networked.

[0015] Optionally, the creating a network group with each target sub-route respectively includes:

[0016] For each target sub-route, send a networking invitation to the target sub-route, and after the target sub-route responds to the networking invitation, negotiate parameters with the target sub-route;

[0017] When the parameter negotiation with the target sub-route is completed, the wireless service configuration is performed on the target sub-route to form a network group.

[0018] Optionally, performing network configuration on each target sub-route in each network group and establishing a peer-to-peer connection with each target sub-route includes:

[0019] For each network group, four-way handshake configuration and DHCP configuration are performed in the target sub-route corresponding to the network group to establish a peer-to-peer connection with the target sub-route.

[0020] Optionally, the using each peer connection to control each target sub-route to configure the networking parameters according to the configuration information includes:

[0021] For each target sub-route, the configuration information is encrypted and transmitted to the target sub-route through the peer connection corresponding to the target sub-route, so that the target sub-route configures the networking parameters according to the configuration information.

[0022] Optionally, the restarting operation on each configured target sub-route includes:

[0023] When a confirmation signal returned by each target sub-route after configuration is completed is received, a restart signal is generated, and the restart signal is sent to each target sub-route respectively, triggering each target sub-route to perform a restart operation.

[0024] The present application also provides a routing network configuration device, including:

[0025] A networking request module, configured to generate a networking signal according to the configuration information when receiving the configuration information sent by the user, and send the networking signal to multiple sub-routes in the target area, and receive a detection request frame returned by each sub-route according to the networking signal;

[0026] A configuration determination module is used to determine the target sub-routes to be networked based on each probe request frame, and send a corresponding probe response frame to each target sub-route to trigger each target sub-route to enter a configuration state;

[0027] A peer connection module, used to respectively create a network group with each target sub-route, and perform network configuration on each target sub-route in each network group, and establish a peer connection with each target sub-route;

[0028] The networking validation module is used to use each peer connection to control each target sub-route to configure the networking parameters according to the configuration information, and restart each configured target sub-route to make the routing networking configuration effective.

[0029] The present application also provides a storage medium, in which computer-readable instructions are stored. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the routing network configuration method described in any one of the above embodiments.

[0030] The present application also provides a computer device, comprising: one or more processors, and a memory;

[0031] The memory stores computer-readable instructions, and when the computer-readable instructions are executed by the one or more processors, the steps of the routing network configuration method described in any one of the above embodiments are performed.

[0032] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0033] The routing networking configuration method, device, storage medium and computer equipment provided by the present application can generate a networking signal according to the configuration information when receiving the configuration information sent by the user, and send the networking signal to multiple sub-routes in the target area, and receive the detection request frame returned by each sub-route according to the networking signal, so that the routing distribution data in the target area can be clearly understood; then the target sub-route to be networked can be determined based on each detection request frame, and the corresponding detection response frame can be sent to each target sub-route to trigger each target sub-route to enter the configuration state, so that the networking state of each sub-route can be automatically identified, thereby improving the efficiency of networking configuration; then, a network group between each target sub-route can be created respectively, and each target sub-route can be configured in each network group, and a peer connection can be established with each target sub-route, so as to realize secure encrypted communication between the main route and the sub-route. Therefore, after using each peer connection to control each target sub-route to configure the networking parameters according to the configuration information, each configured target sub-route can be restarted to make the routing networking configuration effective. In this way, users only need to configure information on the main router, and the main router can realize the automatic networking configuration of the sub-routers through the wireless interaction process of peer-to-peer connection, thereby improving the configuration efficiency while ensuring the security of the networking configuration. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0035] Figure 1 A schematic diagram of a flow chart of a routing network configuration method provided in an embodiment of the present application;

[0036] Figure 2 A schematic diagram of the structure of a routing network configuration device provided in an embodiment of the present application;

[0037] Figure 3 A schematic diagram of the internal structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0039] The process of wireless Mesh networking requires users to operate the buttons on each sub-router one by one and confirm them synchronously on the control interface of the main router. The pairing and setting operations involved in this process are relatively complex and cumbersome. For users without a technical background, the network configuration process is difficult to operate, resulting in low network configuration efficiency.

[0040] Based on this, this application proposes the following technical solutions, see below for details:

[0041] In one embodiment, Figure 1 As shown, Figure 1 A schematic diagram of a flow chart of a routing network configuration method provided in an embodiment of the present application; the present application provides a routing network configuration method, which specifically includes the following:

[0042] S110: When configuration information sent by the user is received, a networking signal is generated according to the configuration information, and the networking signal is sent to multiple sub-routes in the target area, and a detection request frame returned by each sub-route according to the networking signal is received.

[0043] In this step, when the user needs to perform Mesh networking on the routing devices in the target area, the user can first power on each routing device, including the main router and multiple sub-routers, and then the user can enter the corresponding configuration information in the interactive interface of the main router, so that the main router can generate a networking signal according to the configuration information, and send the networking signal to the multiple sub-routers in the target area, and then receive the detection request frames returned by each sub-route according to the networking signal.

[0044] It is understandable that the target area refers to a specific area that can be covered by the wireless signal of the Mesh network, including but not limited to home environment, industrial environment, and outdoor environment. In addition, in order to provide stable and reliable wireless signal coverage in the target area, the routing device used for Mesh networking can be composed of a main router and multiple sub-routers; among them, the main router, as the central node of the Mesh network, is mainly responsible for and controls the traffic of the entire network. It can connect to the external network and allocate network resources; and the sub-router, as the auxiliary node of the main router, can help expand the coverage of the network wireless signal and reduce the burden of the main router.

[0045] Specifically, the user can input corresponding configuration information in the interactive interface of the main router according to the networking requirements of the target area, so that the main router can generate a networking signal based on the configuration information and broadcast the networking signal in the target area, so that other sub-routes respond to the networking signal and return the corresponding detection request frame. Therefore, the main router can clearly understand the routing distribution data in the target area through the detection request frame it receives, and then reasonably perform network planning for the sub-routes.

[0046] Furthermore, the configuration information of the present application may include data such as SSID, MAC address, encryption method, password, etc. Among them, SSID refers to the network name of the Mesh network, which is a string used by other devices to identify or connect to a specific wireless network; MAC address refers to the address used by network devices in the network layer to uniquely identify each device; encryption method refers to the methods and techniques used to protect the security of wireless network data transmission to prevent unauthorized access by other devices; and password refers to a secret code or string used to access network resources or perform specific operations. In Mesh networking, passwords can usually be used in conjunction with SSID to ensure that only users who know the password can connect to the network. Therefore, based on this configuration information, the main router in this application can realize automatic networking configuration, without the need for users to configure the networking of each sub-router one by one, thereby improving the efficiency of networking configuration.

[0047] S120: Determine the target sub-routes to be networked based on each probe request frame, and send a corresponding probe response frame to each target sub-route to trigger each target sub-route to enter a configuration state.

[0048] In this step, after receiving the probe request frames returned by each sub-route through step S110, the main route can automatically identify the basic status of each sub-route through each probe request frame, and then determine the target sub-route to be networked according to the basic status of each sub-route, and send corresponding probe response frames to each target sub-route to trigger each target sub-route to enter the configuration state, thereby improving the efficiency of networking configuration.

[0049] Among them, the probe request frame refers to a frame type used by the sub-router to actively scan the wireless network in the wireless network. It allows the sub-router to discover and actively identify the main router without knowing the SSID in advance; and the probe response frame refers to a management frame sent by the main router in response to the probe request frame of the sub-router. It can carry basic information of the networking configuration, such as SSID, MAC address, encryption method, password, etc.

[0050] It is understandable that the sub-route of the present application can actively generate a probe request frame containing relevant routing information after scanning the networking signal of the main route, but the main route may not respond to the probe request frame after receiving it, but determine the target sub-route to be networked through the routing information carried in each probe request frame, and then send the corresponding probe response frame to trigger each target sub-route to enter the configuration state, so as to achieve rapid matching and networking of the sub-routes. In this process, the main route can adjust the networking configuration mode in real time according to the probe request frame of the sub-route, and highly automate the entire configuration process, reduce the need for manual intervention, and reduce the risk of configuration errors, so as to adapt to changes in the network environment and changes in user needs.

[0051] S130: Create a network group with each target sub-route respectively, perform network configuration on each target sub-route in each network group, and establish a peer-to-peer connection with each target sub-route.

[0052] In this step, after each target sub-route is triggered to enter the configuration state through step S120, the main route can respectively create a network group with each target sub-route, and perform network configuration for each target sub-route in each network group, so as to establish a peer connection with each target sub-route and realize secure encrypted communication between the main route and the sub-route.

[0053] It is understood that a network group refers to a group of nodes spontaneously organized according to certain rules or requirements in a distributed system or network environment. These groups can be used for various purposes, such as resource sharing, collaborative work, communication, etc., and this process can be called Group Formation. In this application, a network group can provide a more structured environment for the establishment of peer-to-peer connections, making communication and resource sharing between routers more orderly and efficient.

[0054] Among them, peer-to-peer connection (P2P) refers to a network architecture and communication method, in which two or more devices can communicate without distinguishing which one is the service requester or the service provider, and the two can connect and communicate equally and equally. In this application, peer-to-peer connection can support direct communication and resource exchange between routes within the network group, further enhancing the coordination ability and flexibility of each node in the group. In addition, after the main route and the sub-route establish a P2P connection, secure encrypted communication can also be achieved between the main route and the sub-route in the network group, thereby improving the integrity and security of data transmission during the networking configuration process.

[0055] S140: Using each peer connection to control each target sub-route to configure the networking parameters according to the configuration information, and restarting each configured target sub-route to make the routing networking configuration effective.

[0056] In this step, after establishing a peer-to-peer connection with each target sub-route through step S130, the main route can use each peer-to-peer connection to control each target sub-route to configure the networking parameters according to the configuration information, and restart each configured target sub-route to make the routing networking configuration effective. The present application realizes the automatic networking configuration of the sub-route through the wireless interaction process of this peer-to-peer connection, which improves the configuration efficiency while ensuring the security of the networking configuration.

[0057] It is understandable that the main router, as the central node of the Mesh network, can use peer-to-peer connections to directly establish communication links with the target sub-router, thereby bypassing the traditional central server transit mode and achieving direct and fast data transmission. Since the transmission of configuration information occurs in peer-to-peer connections, the configuration information can be effectively encrypted and protected, preventing external attacks and unauthorized access, and improving the security of network configuration.

[0058] Furthermore, when the networking configuration of the target area takes effect, each target sub-router can start working as an access point of the wireless network in the target area and broadcast wireless signals according to its configuration information; when there are other devices in the target area that need to connect to the network, they can actively scan for available wireless signals and initiate connection requests to the routers whose wireless signals match their own configurations to establish a communication link. Through this process, other devices can successfully connect to the Mesh network in the target area, and the routing devices in the Mesh network will respond to them and connect the links, thereby achieving rapid reorganization and stable operation of the wireless network.

[0059] In the above embodiment, when the configuration information sent by the user is received, a networking signal can be generated according to the configuration information, and the networking signal can be sent to multiple sub-routes in the target area, and the detection request frame returned by each sub-route according to the networking signal can be received, so that the routing distribution data in the target area can be clearly understood; then the target sub-route to be networked can be determined based on each detection request frame, and the corresponding detection response frame can be sent to each target sub-route to trigger each target sub-route to enter the configuration state, so that the networking state of each sub-route can be automatically identified, thereby improving the efficiency of networking configuration; then, a network group between each target sub-route can be created respectively, and each target sub-route can be configured in each network group, and a peer connection can be established with each target sub-route, so as to realize secure encrypted communication between the main route and the sub-route. Therefore, after using each peer connection to control each target sub-route to configure the networking parameters according to the configuration information, each configured target sub-route can be restarted to make the routing networking configuration effective. In this way, users only need to configure information on the main router, and the main router can realize the automatic networking configuration of the sub-routers through the wireless interaction process of peer-to-peer connection, thereby improving the configuration efficiency while ensuring the security of the networking configuration.

[0060] In one embodiment, the process of each sub-route returning the detection request frame according to the networking signal in step S110 may include:

[0061] S111: for each sub-route, after the sub-route scans a networking signal, the route data of the sub-route is obtained, a probe request frame is generated based on the route data, and the probe request frame is returned.

[0062] In this embodiment, after the main router broadcasts the networking signal in the target area, if any sub-router detects the networking signal, it can obtain the routing data of the sub-router and generate a detection request frame based on the routing data and return it to the main router, so as to request a network connection from the main router through the detection request frame.

[0063] It can be understood that after the sub-router is powered on, its state is always in scanning mode, so that it can continuously scan and detect the available main routes in the surrounding environment. After scanning and obtaining the communication signal broadcast by the main route, the sub-router can obtain its own routing data, such as networking status, MAC address and other information, to construct a detection request frame and send it to the main route to verify whether the communication path between it and the main route is unobstructed, and to initiate further connection requests.

[0064] Furthermore, in the process of the sub-route sending a probe request frame to the main route, the sub-route can switch between scanning mode and monitoring mode. Among them, the scanning mode allows the sub-route to actively discover and send a probe request frame to detect the response of the network, while the monitoring mode allows the sub-route to receive timely feedback from the main route on its probe request frame. This dynamic switching state can ensure that the sub-route can respond to changes in the network in a timely manner and maintain the stability and reliability of the communication link with the main route.

[0065] In one embodiment, determining the target sub-route to be networked based on each probe request frame in step S120 may include:

[0066] S121: parse each probe request frame to obtain routing data corresponding to each sub-route; each routing data includes state information and identity information.

[0067] S122: based on each state information, a networkable sub-route is obtained from each sub-route by screening, and an address is identified for each networkable sub-route according to the identity information of each networkable sub-route to obtain a target sub-route to be networked.

[0068] In this embodiment, after receiving the detection request frames returned by each sub-route, the main route can parse the data of each detection request frame to obtain the routing data corresponding to each sub-route, where the routing data includes the status information and identity information of the sub-route. Therefore, the main route can filter out the networkable sub-routes from each sub-route based on the status information, and address each networkable sub-route according to the identity information of each networkable sub-route to obtain the target sub-route to be networked.

[0069] It is understandable that the status information refers to the current working status and performance parameters of the sub-router, such as networking status, device type, load status, compatibility, etc. These data can reflect whether the sub-router is suitable for joining the main router's networking. Identity information refers to the data used to uniquely identify each sub-router in the network, such as MAC address, serial number, etc. These data can allow the main router to distinguish different sub-routes and assign corresponding addresses or identifiers to them.

[0070] Therefore, when the main router receives the probe request frames sent by each sub-route, it may not respond to them first, but obtain the route data carried in each probe request frame by parsing, so as to determine the sub-route that can meet the networking requirements through the route data, and further respond to improve the efficiency of networking configuration. Specifically, the main router can filter out the networkable sub-routes that meet the networking conditions through the status information of the sub-routes, such as the networking status is idle, the device type belongs to the connection type supported by the main router, etc., and then the main router can address each networkable sub-route according to the MAC address in the sub-route identity information.

[0071] In one embodiment, the step S130 of creating a network group with each target sub-route may include:

[0072] S131: For each target sub-route, a networking invitation is sent to the target sub-route, and after the target sub-route responds to the networking invitation, parameter negotiation is performed with the target sub-route.

[0073] S132: After the parameter negotiation with the target sub-route is completed, wireless service configuration is performed on the target sub-route to form a network group.

[0074] In this embodiment, when each target sub-route enters the configuration state, the main route can sequentially establish a network group with each target sub-route. During the establishment process, the main route can first send a networking invitation to the target sub-route, and after the target sub-route responds to the networking invitation, the main route negotiates parameters with the target sub-route. After the parameter negotiation with the target sub-route is completed, the main route can perform wireless service configuration on the target sub-route to form a network group, thereby providing a more structured environment, making the communication and resource sharing between routes more orderly and efficient.

[0075] Specifically, the main router can initiate a networking invitation to the target sub-route in the role of GO (Group Owner) in the network group, so that the target sub-route can join the network group as a GC (Group Client). In this process, the main router can broadcast a networking invitation containing relevant identification parameters such as SSID and encryption key through a wireless channel, so that the target sub-route that receives the invitation can determine whether it meets the joining conditions based on the networking invitation, and send a response signal to the main router when it meets the conditions. Once the main router confirms that the sub-route has joined, a detailed parameter exchange process will begin between the main router and the sub-route, including confirming the network configuration, such as IP address allocation method, encryption level, etc., security requirements and specific parameters of the communication protocol. When all parameters of both parties are agreed, the negotiation is considered to be completed. At this time, the next configuration stage can be entered, that is, the main router can act as a control center to perform specific wireless service configuration (WCS configuration) on the target main router to ensure the efficient operation and security of the network. Among them, the WCS configuration can include the allocation of wireless frequency bands, the adjustment of signal strength, and the allocation of network management rights, which are not limited here.

[0076] In one embodiment, performing network configuration on each target sub-route in each network group in step S130 and establishing a peer-to-peer connection with each target sub-route may include:

[0077] S133: For each network group, perform four-way handshake configuration and DHCP configuration in the target sub-route corresponding to the network group to establish a peer-to-peer connection with the target sub-route.

[0078] In this embodiment, after the main router establishes a network group with each target sub-route, the main router can perform a four-way handshake configuration and a DHCP configuration with the target sub-route in each network group to establish a peer-to-peer connection with the target sub-route, thereby realizing secure encrypted communication between the main router and the sub-route.

[0079] Among them, the 4-Way Handshake refers to an authentication protocol used to establish a secure connection between two devices. As a two-way authentication protocol, it can ensure the security of the identity information of both parties and the security of the connection between the two parties, thereby ensuring the security of communication between the two parties. DHCP (Dynamic Host Configuration Protocol) is a network management protocol used to dynamically assign IP addresses to any device or node on the network so that they can communicate using IP. In this application, the main router can automate and centrally manage the networking configuration of the sub-routers through DHCP to simplify the networking configuration process and improve configuration efficiency.

[0080] Specifically, in order to establish a secure peer-to-peer connection, the main router can perform a four-way handshake process with the target sub-router in the network group. This process can be implemented based on security protocols such as WPA (Wi-Fi Protected Access) or WPA2 to securely exchange keys between the two parties and ensure the encryption and integrity of subsequent communications; when the four-way handshake configuration is completed, the main router can also assign an IP address and other network configuration parameters to the target sub-router, such as subnet mask, DNS server address, etc., to implement DHCP configuration.

[0081] In one embodiment, in step S140, using each peer connection to control each target sub-route to configure networking parameters according to the configuration information may include:

[0082] S141: For each target sub-route, encrypt and transmit configuration information to the target sub-route through the peer connection corresponding to the target sub-route, so that the target sub-route configures networking parameters according to the configuration information.

[0083] In this embodiment, after the main route establishes a peer-to-peer connection with each target sub-route, the configuration information can be encrypted and transmitted to each target sub-route through the peer-to-peer connection, so that the target sub-route configures the networking parameters according to the configuration information.

[0084] To elaborate, since corresponding encryption protocols, such as IPsec and TLS, are deployed on the peer-to-peer connection between the main router and the sub-router, when the main router needs to send configuration information to the target sub-router, it will first encrypt the configuration information, and then send it to the target sub-router through the peer-to-peer connection. After receiving the encrypted configuration information, the target sub-router will use the corresponding decryption key to decrypt it to obtain the original configuration information, thereby achieving the security of data transmission.

[0085] In one embodiment, the restart operation on each configured target sub-route in step S140 may include:

[0086] S142: When receiving a confirmation signal returned by each target sub-route after configuration is completed, generating a restart signal, and sending the restart signal to each target sub-route respectively, triggering each target sub-route to perform a restart operation.

[0087] In this embodiment, after receiving the confirmation signal returned by each target sub-route after the configuration is completed, the main router can generate a restart signal and send the restart signal to each target sub-route respectively, triggering each target sub-route to perform a restart operation, thereby making the entire Mesh networking effective.

[0088] Specifically, after the target sub-route configuration is completed, the main route will trigger the restart operation of the target sub-route. This step is the key to ensure that the new configuration takes effect. During the restart process, the target sub-route will reload and apply the new configuration parameters so that its network behavior is consistent with the overall network strategy. Through the automated restart mechanism, the main route can ensure that all sub-routes complete the configuration update within the same time frame, maintaining the consistency and stability of the Mesh network.

[0089] The following describes a routing networking configuration device provided in an embodiment of the present application. The routing networking configuration device described below and the routing networking configuration method described above can refer to each other.

[0090] In one embodiment, Figure 2 As shown, Figure 2 A schematic diagram of the structure of a routing network configuration device provided in an embodiment of the present application; the present application also provides a routing network configuration device, including a networking request module 210, a configuration determination module 220, a peer connection module 230 and a networking validation module 240, specifically including the following:

[0091] The networking request module 210 is used to generate a networking signal according to the configuration information when receiving the configuration information sent by the user, send the networking signal to multiple sub-routes in the target area, and receive the detection request frame returned by each sub-route according to the networking signal.

[0092] The configuration determination module 220 is used to determine the target sub-routes to be networked based on each probe request frame, and send a corresponding probe response frame to each target sub-route to trigger each target sub-route to enter a configuration state.

[0093] The peer connection module 230 is used to respectively create a network group with each target sub-route, perform network configuration on each target sub-route in each network group, and establish a peer connection with each target sub-route.

[0094] The networking validation module 240 is used to control each target sub-route to configure the networking parameters according to the configuration information by using each peer connection, and to restart each configured target sub-route to make the routing networking configuration effective.

[0095] In the above embodiment, when the configuration information sent by the user is received, a networking signal can be generated according to the configuration information, and the networking signal can be sent to multiple sub-routes in the target area, and the detection request frame returned by each sub-route according to the networking signal can be received, so that the routing distribution data in the target area can be clearly understood; then the target sub-route to be networked can be determined based on each detection request frame, and the corresponding detection response frame can be sent to each target sub-route to trigger each target sub-route to enter the configuration state, so that the networking state of each sub-route can be automatically identified, thereby improving the efficiency of networking configuration; then, a network group between each target sub-route can be created respectively, and each target sub-route can be configured in each network group, and a peer connection can be established with each target sub-route, so as to realize secure encrypted communication between the main route and the sub-route. Therefore, after using each peer connection to control each target sub-route to configure the networking parameters according to the configuration information, each configured target sub-route can be restarted to make the routing networking configuration effective. In this way, users only need to configure information on the main router, and the main router can realize the automatic networking configuration of the sub-routers through the wireless interaction process of peer-to-peer connection, thereby improving the configuration efficiency while ensuring the security of the networking configuration.

[0096] In one embodiment, the networking request module 210 may include:

[0097] The data acquisition submodule is used to acquire the routing data of each sub-route after the sub-route scans the networking signal, generate a detection request frame based on the routing data, and return the detection request frame.

[0098] In one embodiment, the configuration determination module 220 may include:

[0099] The data analysis submodule is used to analyze each detection request frame to obtain the routing data corresponding to each sub-route; each routing data includes status information and identity information.

[0100] The address identification submodule is used to filter out networkable subroutes from various subroutes based on various state information, and to address identify each networkable subroute according to the identity information of each networkable subroute to obtain a target subroute to be networked.

[0101] In one embodiment, the peer connection module 230 may include:

[0102] The parameter negotiation submodule is used to send a networking invitation to each target sub-route, and to negotiate parameters with the target sub-route after the target sub-route responds to the networking invitation.

[0103] The wireless service configuration submodule is used to perform wireless service configuration on the target sub-route to form a network group after the parameter negotiation with the target sub-route is completed.

[0104] In one embodiment, the peer connection module 230 may further include:

[0105] The network configuration submodule is used to perform four-way handshake configuration and DHCP configuration in the target sub-route corresponding to each network group, so as to establish a peer-to-peer connection with the target sub-route.

[0106] In one embodiment, the networking validation module 240 may include:

[0107] The networking configuration submodule is used to encrypt and transmit configuration information to each target sub-route through the peer connection corresponding to the target sub-route, so that the target sub-route configures networking parameters according to the configuration information.

[0108] In one embodiment, the networking validation module 240 may include:

[0109] The networking restart submodule is used to generate a restart signal when receiving the confirmation signal returned by each target sub-route after the configuration is completed, and send the restart signal to each target sub-route respectively, triggering each target sub-route to perform a restart operation.

[0110] In one embodiment, the present application also provides a storage medium, in which computer-readable instructions are stored. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the routing network configuration method described in any of the above embodiments.

[0111] In one embodiment, the present application also provides a computer device, in which computer-readable instructions are stored. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the routing network configuration method described in any of the above embodiments.

[0112] Indicatively, Figure 3 As shown, Figure 3 This is a schematic diagram of the internal structure of a computer device provided in an embodiment of the present application. The computer device 300 may be provided as a server. Figure 3The computer device 300 includes a processing component 302, which further includes one or more processors, and a memory resource represented by a memory 301, for storing instructions that can be executed by the processing component 302, such as an application. The application stored in the memory 301 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 302 is configured to execute instructions to perform the routing network configuration method of any of the above embodiments.

[0113] The computer device 300 may further include a power supply component 303 configured to perform power management of the computer device 300, a wired or wireless network interface 304 configured to connect the computer device 300 to a network, and an input / output (I / O) interface 305. The computer device 300 may operate based on an operating system stored in the memory 301, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, Free BSD TM, or the like.

[0114] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0115] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0116] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.

[0117] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A routing network configuration method, characterized in that: The method comprises: When receiving the configuration information sent by the user, generating a networking signal according to the configuration information, sending the networking signal to multiple sub-routes in the target area, and receiving a detection request frame returned by each sub-route according to the networking signal; Determine the target sub-routes to be networked based on each probe request frame, and send corresponding probe response frames to each target sub-routes to trigger each target sub-routes to enter the configuration state; Create a network group with each target sub-route respectively, configure the network for each target sub-route in each network group, and establish a peer-to-peer connection with each target sub-route; Each peer connection is used to control each target sub-route to configure the networking parameters according to the configuration information, and each configured target sub-route is restarted to make the routing networking configuration effective.

2. The method for configuring routing network according to claim 1, characterized in that: The process of each sub-route returning a detection request frame according to the networking signal includes: For each sub-route, after the sub-route scans the networking signal, the route data of the sub-route is obtained, a probe request frame is generated based on the route data, and the probe request frame is returned.

3. The method for configuring routing network according to claim 1, characterized in that: The determining of the target sub-route to be networked based on each probe request frame includes: Parse the data of each probe request frame to obtain the routing data corresponding to each sub-route; each routing data includes status information and identity information; Based on each state information, a networkable sub-route is screened from each sub-route to obtain a networkable sub-route, and an address is identified for each networkable sub-route according to the identity information of each networkable sub-route to obtain a target sub-route to be networked.

4. The method for configuring routing network according to claim 1, characterized in that: The step of respectively creating a network group between each target sub-route includes: For each target sub-route, send a networking invitation to the target sub-route, and after the target sub-route responds to the networking invitation, negotiate parameters with the target sub-route; When the parameter negotiation with the target sub-route is completed, the wireless service configuration is performed on the target sub-route to form a network group.

5. The method for configuring routing network according to claim 1, characterized in that: The performing of network configuration on each target sub-route in each network group and establishing a peer-to-peer connection with each target sub-route includes: For each network group, four-way handshake configuration and DHCP configuration are performed in the target sub-route corresponding to the network group to establish a peer-to-peer connection with the target sub-route.

6. The method for configuring routing network according to claim 1, characterized in that: The using each peer connection to control each target sub-route to configure the networking parameters according to the configuration information includes: For each target sub-route, the configuration information is encrypted and transmitted to the target sub-route through the peer connection corresponding to the target sub-route, so that the target sub-route configures the networking parameters according to the configuration information.

7. The method for configuring routing network according to claim 1, characterized in that: The restarting operation on each configured target sub-route includes: When a confirmation signal returned by each target sub-route after configuration is completed is received, a restart signal is generated, and the restart signal is sent to each target sub-route respectively, triggering each target sub-route to perform a restart operation.

8. A routing network configuration device, characterized in that: include: A networking request module, configured to generate a networking signal according to the configuration information when receiving the configuration information sent by the user, and send the networking signal to multiple sub-routes in the target area, and receive a detection request frame returned by each sub-route according to the networking signal; A configuration determination module is used to determine the target sub-routes to be networked based on each probe request frame, and send a corresponding probe response frame to each target sub-route to trigger each target sub-route to enter a configuration state; A peer connection module, used to respectively create a network group with each target sub-route, and perform network configuration on each target sub-route in each network group, and establish a peer connection with each target sub-route; The networking validation module is used to use each peer connection to control each target sub-route to configure the networking parameters according to the configuration information, and restart each configured target sub-route to make the routing networking configuration effective.

9. A storage medium, characterized in that: The storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the routing network configuration method as described in any one of claims 1 to 7.

10. A computer device, characterized in that: include: one or more processors, and memory; The memory stores computer-readable instructions, and when the computer-readable instructions are executed by the one or more processors, the steps of the routing network configuration method as described in any one of claims 1 to 7 are executed.

Citation Information

Cited By

  • Self-discovery ad-hoc network control method based on swan gap operating system

    CN119676740A

  • Method and system for guiding sub-router to access network and wireless communication system

    CN120091388A

  • A method, system, and wireless communication system for guiding a sub-router to join a network.

    CN120091388B

  • Routing method, electronic device, and storage medium

    WO2026129901A1