Networking method and wireless network architecture

By determining the root and parent nodes in a mesh network and optimizing the connection method of relay nodes, the problems of high network load and low transmission rate are solved, and efficient and reliable data transmission is achieved.

CN116033516BActive Publication Date: 2025-12-23QINGDAO HAIER TECH +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111248867.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-26
Publication Date
2025-12-23
Estimated Expiration
2041-10-26

AI Technical Summary

Technical Problem

Existing mesh network topologies suffer from high network load and low transmission rates.

Method used

By identifying the root node in the relay nodes and broadcasting path information, child nodes select parent nodes to establish one-to-one connections, ensuring that each child node has only one parent node and one root node. Multi-band connection and fault detection mechanisms are adopted to optimize network topology and path information updates.

Benefits of technology

Reduce network load, increase transmission rate, and enable rapid network reconfiguration in case of failure, ensuring network reliability and efficient transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116033516B_ABST
    Figure CN116033516B_ABST
Patent Text Reader

Abstract

The application provides a networking method and wireless network architecture. In the method, each relay node determines whether it meets the root node setting condition, and determines one node in the plurality of relay nodes as a root node. In the case that at least one wireless mesh network hotspot is scanned, a child node selects one relay node corresponding to the at least one wireless mesh network hotspot as a parent node, and establishes a connection with the parent node. It is ensured that each child node has only one parent node, and each child node has only one root node in the routing path. The data of each child node is transmitted in a one-to-one manner through the parent node, which can reduce the network burden and improve the transmission rate.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of communication technology, in particular to a networking method and a wireless network architecture. BACKGROUND

[0002] A wireless mesh network is a wireless multi-hop network developed from an ad hoc network, and is one of the key technologies for solving the "last mile" problem.

[0003] However, the current networking method of the mesh network has the problems of heavy network burden and low transmission rate. SUMMARY

[0004] To solve the above technical problems, the embodiments of the present application provide a networking method and a wireless network architecture to reduce the network burden and improve the transmission rate, and the technical solutions are as follows:

[0005] In one aspect, the present application provides a networking method based on a wireless network architecture, wherein the wireless network architecture comprises a plurality of relay nodes, and the method comprises the following steps:

[0006] Each of the relay nodes determines one of the plurality of relay nodes as a root node by determining whether the relay node meets a root node setting condition;

[0007] The root node starts at least one first wireless mesh network hotspot and broadcasts path information;

[0008] When at least one wireless mesh network hotspot is scanned, the child node selects one of the relay nodes corresponding to the at least one wireless mesh network hotspot as a parent node and establishes a connection with the parent node;

[0009] The child node is a relay node other than the root node in the plurality of relay nodes, and the wireless mesh network hotspot comprises the first wireless mesh network hotspot or a second wireless mesh network hotspot, wherein the second wireless mesh network hotspot is a wireless mesh network hotspot started by a child node having a parent node;

[0010] The child node updates the path information, starts at least one second wireless mesh network hotspot, and broadcasts the updated path information.

[0011] Optionally, each of the relay nodes determines one of the plurality of relay nodes as a root node by determining whether the relay node meets a root node setting condition, comprising:

[0012] Each of the relay nodes determines whether its uplink wired port is connected to an external network, and determines one relay node in which the uplink wired port is connected to an external network as a root node.

[0013] Optionally, the root node starts at least one first wireless mesh network hotspot, and broadcasts path information, including:

[0014] The root node starts a first wireless mesh network hotspot corresponding to a first wireless frequency band and a first wireless mesh network hotspot corresponding to a second wireless frequency band, and broadcasts first path information corresponding to the first wireless frequency band and second path information corresponding to the second wireless frequency band.

[0015] The child node updates the path information, starts the second wireless mesh network hotspot, and broadcasts the path information, including:

[0016] The child node updates the first path information or the second path information, starts the second wireless mesh network hotspot corresponding to the first wireless frequency band and the second wireless mesh network hotspot corresponding to the second wireless frequency band, and broadcasts the updated first path information and the second path information.

[0017] Optionally, after the connection with the parent node is established, the method further includes:

[0018] The child node reports information of the child node to the parent node, so that the parent node updates a network topology of the parent node based on the information of the child node, and the network topology contains an association relationship between the parent node and its child nodes.

[0019] Optionally, the method further includes:

[0020] If not, the child node disconnects the connection with the parent node.

[0021] If not, the child node disconnects the connection with the parent node.

[0022] If yes, the child node disconnects the connection with the parent node, and disconnects the connection with each target child node, the target child node being a child node taking the child node as a parent node.

[0023] The parent node of the child node deletes information of the child node in path information of the parent node, obtains target path information, and broadcasts the target path information.

[0024] The sub-node and the target sub-node respectively close their second wireless mesh network hotspots, and return to perform the step of selecting a relay node corresponding to at least one wireless mesh network hotspot as a parent node, and establishing a connection with the parent node, in the case that the sub-node scans at least one wireless mesh network hotspot.

[0025] Optionally, the step of selecting a relay node corresponding to at least one wireless mesh network hotspot as a parent node comprises:

[0026] The step of selecting a relay node corresponding to at least one wireless mesh network hotspot as a parent node comprises:

[0027] Optionally, the step of establishing a connection with the parent node comprises:

[0028] The step of establishing a connection with the parent node comprises:

[0029] The step of updating the path information by the sub-node comprises:

[0030] The step of selecting a wireless frequency band with the largest frequency band range from the first wireless frequency band and the second wireless frequency band by the sub-node as a to-be-used wireless frequency band comprises:

[0031] The step of adding a network address corresponding to the to-be-used wireless frequency band into the path information by the sub-node comprises:

[0032] Optionally, the method further comprises:

[0033] In the case that an abnormality occurs in a network card corresponding to the to-be-used wireless frequency band, the sub-node replaces a network address corresponding to the to-be-used wireless frequency band in the path information with a network address corresponding to a wireless frequency band other than the to-be-used wireless frequency band from the first wireless frequency band and the second wireless frequency band.

[0034] Optionally, the method further comprises:

[0035] The step of counting network quality of the to-be-used wireless frequency band and network quality of a wireless frequency band other than the to-be-used wireless frequency band from the first wireless frequency band and the second wireless frequency band by the sub-node at a set time interval comprises:

[0036] In a case that the network quality of the wireless frequency band other than the to-be-used wireless frequency band in the first wireless frequency band and the second wireless frequency band is higher than the network quality of the to-be-used wireless frequency band, the sub-node replaces the network address corresponding to the to-be-used wireless frequency band in the path information with the network address corresponding to the wireless frequency band other than the to-be-used wireless frequency band in the first wireless frequency band and the second wireless frequency band.

[0037] Another aspect of the present application provides a networking method, which is applied to any relay node in a wireless network architecture, and the method comprises:

[0038] After being powered on, the relay node determines whether the relay node meets root node setting conditions;

[0039] If yes, the relay node starts at least one first wireless mesh network hotspot as a root node, and broadcasts path information;

[0040] If no, the relay node starts a wireless mesh network hotspot scan as a sub-node, and in a case that at least one wireless mesh network hotspot is scanned, the relay node selects one from at least one relay node corresponding to the at least one wireless mesh network hotspot as a parent node, and establishes a connection with the parent node;

[0041] The sub-node is a relay node other than the root node in the plurality of relay nodes, the wireless mesh network hotspot comprises the first wireless mesh network hotspot or a second wireless mesh network hotspot, and the second wireless mesh network hotspot is a wireless mesh network hotspot started by a sub-node having a parent node;

[0042] The sub-node updates the path information, starts at least one second wireless mesh network hotspot, and broadcasts the updated path information.

[0043] A third aspect of the present application provides a wireless network architecture, which comprises a plurality of relay nodes;

[0044] Each of the relay nodes is configured to determine one of the plurality of relay nodes as a root node by determining whether the relay node meets root node setting conditions;

[0045] The root node is configured to start at least one first wireless mesh network hotspot, and broadcast path information;

[0046] Each of the relay nodes other than the root node in the plurality of relay nodes is configured to select one from at least one relay node corresponding to at least one wireless mesh network hotspot as a parent node, and establish a connection with the parent node as a sub-node in a case that the at least one wireless mesh network hotspot is scanned;

[0047] The wireless mesh network hotspot includes the first wireless mesh network hotspot or a second wireless mesh network hotspot, and the second wireless mesh network hotspot is a wireless mesh network hotspot started by a child node having a parent node.

[0048] The child node is further configured to update the path information, start at least one second wireless mesh network hotspot, and broadcast the updated path information.

[0049] Compared with the prior art, the application has the following beneficial effects:

[0050] In the application, each relay node determines one node in the plurality of relay nodes as a root node by determining whether it meets the root node setting condition, and a child node selects one relay node as a parent node from at least one wireless mesh network hotspot corresponding to the at least one wireless mesh network hotspot in the case of scanning at least one wireless mesh network hotspot, and establishes a connection with the parent node, so as to ensure that each child node has only one parent node, and each child node has only one root node in the routing path, and the data of each child node is transmitted in a one-to-one manner through the parent node, which can reduce the network burden and improve the transmission rate. BRIEF DESCRIPTION OF DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor.

[0052] Figure 1 is a flowchart of a networking method provided by Embodiment 1 of the application;

[0053] Figure 2 is a structural schematic diagram of a tree-shaped wireless network provided by Embodiment 1 of the application;

[0054] Figure 3 is a flowchart of a networking method provided by Embodiment 2 of the application;

[0055] Figure 4 is a flowchart of a networking method provided by Embodiment 3 of the application;

[0056] Figure 5 is a flowchart of a networking method provided by Embodiment 4 of the application;

[0057] Figure 6 is a flowchart of a networking method provided by Embodiment 5 of the application;

[0058] Figure 7 is a flow chart of a networking method provided by Embodiment 6 of the present application;

[0059] Figure 8 is a flow chart of a networking method provided by Embodiment 7 of the present application;

[0060] Figure 9 is a flow chart of a networking method provided by Embodiment 8 of the present application;

[0061] Figure 10 is a flow chart of a networking method provided by Embodiment 9 of the present application. DETAILED DESCRIPTION

[0062] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.

[0063] In order to make the above objectives, characteristics and advantages of the present application more apparent, the present application will be further described in detail below with reference to the drawings and specific embodiments.

[0064] Reference Figure 1 is a flow chart of a networking method provided by Embodiment 1 of the present application. The networking method is based on a wireless network architecture, the wireless network architecture includes a plurality of relay nodes, and the networking method can include but is not limited to the following steps:

[0065] Step S11, each of the relay nodes determines one of the plurality of relay nodes as a root node by determining whether it meets the root node setting condition.

[0066] In the embodiment, each relay node can be configured with or without wireless access capability. Specifically, in the case of being configured with wireless access capability, a wireless mesh network hotspot can be started, the data flow of the relay node is shared, and a network interface is provided for other relay nodes that can accept the information broadcast by the relay node.

[0067] Each of the relay nodes determines one of the plurality of relay nodes as a root node by determining whether it meets the root node setting condition, so as to ensure that there is only one root node.

[0068] In which, the root node is connected with an external network (such as the Internet).

[0069] Step S12, the root node starts at least one first wireless mesh network hotspot and broadcasts path information.

[0070] The path information broadcasted by the root node can at least include a MAC address (Media Access Control Address) of the root node and a root node identifier. The root node identifier can represent that the node is a root node, and the MAC address of the root node is an address used to confirm the location of the root node.

[0071] Step S13, in a case where the child node scans at least one wireless mesh network hotspot, the child node selects one of relay nodes corresponding to the at least one wireless mesh network hotspot as a parent node and establishes a connection with the parent node.

[0072] The selection of one of the relay nodes corresponding to the at least one wireless mesh network hotspot as the parent node can include:

[0073] The selection of one of the relay nodes corresponding to the at least one wireless mesh network hotspot as the parent node can include the selection of one of the relay nodes that satisfies a signal quality threshold and satisfies a routing path requirement as the parent node.

[0074] The routing path requirement can be, but is not limited to, the shortest routing path between the child node and the parent node.

[0075] The establishment of the connection with the parent node can be understood as the establishment of the connection with the parent node based on path information of the parent node.

[0076] The child node is one of the relay nodes other than the root node, the wireless mesh network hotspot includes the first wireless mesh network hotspot or a second wireless mesh network hotspot, and the second wireless mesh network hotspot is a wireless mesh network hotspot started by a child node having a parent node.

[0077] Step S14, the child node updates the path information, starts at least one second wireless mesh network hotspot, and broadcasts updated path information.

[0078] The updating of the path information by the child node can include the addition of information of the child node to the path information. The information of the child node can include, but is not limited to, a MAC address of the child node or a MAC address of the child node and an identifier of the child node.

[0079] In the embodiment, each of the relay nodes determines one of the plurality of relay nodes as the root node by determining whether it meets the root node setting condition, and the child node selects one of the relay nodes corresponding to at least one wireless mesh network hotspot as the parent node in the case of scanning the at least one wireless mesh network hotspot, and establishes a connection with the parent node, so that each child node has only one parent node, and each child node has only one root node in the routing path, as shown in Figure 2 The data of each child node is transmitted in a one-to-one manner through the parent node, which can reduce the network burden and improve the transmission rate.

[0080] It should be noted that Figure 2 The tree-shaped wireless network shown is only one example, which does not limit the network obtained by performing the networking method of the present application.

[0081] Next, the processes of the foregoing steps S11-S14 are introduced in a sequential manner for each relay node, which can include:

[0082] A11, each of the relay nodes determines whether it meets the root node setting condition, and if it meets the root node setting condition, it is determined as the root node.

[0083] It should be noted that only one of the plurality of relay nodes meets the root node setting condition, so that there is only one root node.

[0084] A12, the root node starts at least one first wireless mesh network hotspot, and broadcasts path information.

[0085] A13, one of the relay nodes that does not establish a connection among the plurality of relay nodes other than the root node scans the wireless mesh network hotspot as the child node.

[0086] In the case of scanning the first wireless mesh network hotspot, step A14 is performed;

[0087] The second wireless mesh network hotspot is a wireless mesh network hotspot started by the child node with a parent node.

[0088] A14, determine whether to establish a connection with the root node;

[0089] If yes, step A15 is performed.

[0090] A15, the root node is taken as the parent node, and a connection is established with the parent node.

[0091] A16, the child node establishes connection with the parent node, updates path information, starts at least one second wireless mesh network hotspot, and broadcasts the path information.

[0092] A17, in the plurality of relay nodes except the root node and the relay node connected with the root node, one of the relay nodes not establishing connection scans the wireless mesh network hotspot as a child node.

[0093] In the case of scanning the second wireless mesh network hotspot, step A18 is performed;

[0094] A18, one of the child nodes corresponding to the second wireless mesh network hotspot is selected as a parent node, connection is established with the parent node, and step A16 is performed.

[0095] A18, in the case that each of the plurality of relay nodes except the root node establishes connection, the networking is ended; in the case that there is a relay node not establishing connection in the plurality of relay nodes except the root node, step A13 is performed.

[0096] As another optional embodiment of the present application, referring to Figure 3 , a flowchart of a networking method provided in Embodiment 2 of the present application, the present embodiment mainly provides a detailed scheme of the networking method described in Embodiment 1, as shown in the figure, the method can include but is not limited to the following steps: Figure 3

[0097] Step S21, each relay node respectively determines whether the uplink wired port thereof is connected with the external network, and determines one of the plurality of relay nodes whose uplink wired port is connected with the external network as the root node.

[0098] In the present embodiment, each relay node can be configured with an uplink wired port, and only one of the plurality of relay nodes is configured with an uplink wired port connected with the external network. Under this configuration, each relay node can respectively determine whether the uplink wired port thereof is connected with the external network, and determine one of the plurality of relay nodes whose uplink wired port is connected with the external network as the root node.

[0099] Step S22, the root node starts at least one first wireless mesh network hotspot, and broadcasts path information.

[0100] Step S23, in the case that the child node scans at least one wireless mesh network hotspot, one of the relay nodes corresponding to the at least one wireless mesh network hotspot is selected as a parent node, and connection is established with the parent node.

[0101] ​The sub-nodes are the relay nodes other than the root node in the plurality of relay nodes, and the wireless mesh network hotspot includes the first wireless mesh network hotspot or a second wireless mesh network hotspot, the second wireless mesh network hotspot being a wireless mesh network hotspot started by a sub-node having a parent node.

[0102] In step S24, the sub-node updates the path information, starts at least one second wireless mesh network hotspot, and broadcasts the updated path information.

[0103] The detailed process of steps S22-S24 can refer to the related description of steps S12-S14 in Embodiment 1, and will not be described here again.

[0104] In this embodiment, each relay node determines a relay node having an uplink wired port connected to an external network as a root node in the plurality of relay nodes by determining whether the uplink wired port of the relay node is connected to the external network. In the case that at least one wireless mesh network hotspot is scanned, a sub-node selects one of the relay nodes corresponding to the at least one wireless mesh network hotspot as a parent node, establishes a connection with the parent node, ensures that each sub-node has only one parent node, and that there is only one root node in the routing path where each sub-node is located. The data of each sub-node is transmitted in a one-to-one manner through the parent node, which can reduce the network burden and improve the transmission rate.

[0105] In addition, on the basis of reducing the network burden, a plurality of relay nodes can be included in a routing path to complete a plurality of relays. Specifically, an upper limit of the number of relay nodes in a routing path and an upper limit of the number of relays can be configured, and in the networking process, the relay nodes determine to join the routing path without reaching the upper limit of the number of relay nodes and the upper limit of the number of relays.

[0106] As another optional embodiment of the present application, referring to Figure 4 A flowchart of a networking method provided in Embodiment 3 of the present application, the present embodiment mainly describes a detailed scheme of the networking method described in Embodiment 1, as shown in the figure, the method can include but is not limited to the following steps: Figure 4

[0107] In step S31, each relay node determines one of the plurality of relay nodes as a root node by determining whether the relay node meets the root node setting condition.

[0108] ​In the embodiment, each relay node can be configured with two network cards, and the two network cards support different wireless frequency bands. The two network cards can each start a WDS STA (Wireless Distribution System Station) and a WDS AP (Wireless Distribution System access point). The WDS STA of the network card is responsible for connecting the WDS AP of the upper node, and the WDS AP of the network card is responsible for connecting the WDS STA of the lower node.

[0109] The two network cards can be, but are not limited to, 2.4G network cards and 5G network cards.

[0110] The detailed process of step S31 can refer to the related description of step S11 in Embodiment 1, and will not be described here again.

[0111] In step S32, the root node starts a first wireless mesh network hotspot corresponding to a first wireless frequency band and a first wireless mesh network hotspot corresponding to a second wireless frequency band, and broadcasts first path information corresponding to the first wireless frequency band and second path information corresponding to the second wireless frequency band.

[0112] In the embodiment, the first path information corresponding to the first wireless frequency band and the second path information corresponding to the second wireless frequency band are different.

[0113] The first wireless frequency band can be a 2.4G wireless frequency band, and the second wireless frequency band can be a 5G wireless frequency band.

[0114] In the embodiment, the root node can only start a WDS AP, and does not start a WDS STA.

[0115] Step S32 is a specific implementation of step S12 in Embodiment 1.

[0116] In step S33, the child node selects one of the relay nodes corresponding to at least one wireless mesh network hotspot as a parent node and establishes a connection with the parent node when scanning the at least one wireless mesh network hotspot.

[0117] In the embodiment, the child node is a relay node other than the root node in the plurality of relay nodes, and the wireless mesh network hotspot includes a first wireless mesh network hotspot corresponding to a first wireless frequency band, a first wireless mesh network hotspot corresponding to a second wireless frequency band, a second wireless mesh network hotspot corresponding to the first wireless frequency band, or a second wireless mesh network hotspot corresponding to the second wireless frequency band. The second wireless mesh network hotspot is a wireless mesh network hotspot started by a child node with a parent node.

[0118] In the case that the child node scans a plurality of first wireless mesh network hotspots corresponding to the first wireless frequency band and a plurality of second wireless mesh network hotspots corresponding to the second wireless frequency band, the child node can select a first wireless mesh network hotspot with the optimal network connection state from the plurality of first wireless mesh network hotspots corresponding to the first wireless frequency band and the plurality of second wireless mesh network hotspots corresponding to the second wireless frequency band, and take the relay node corresponding to the first wireless mesh network hotspot with the optimal network connection state as the parent node.

[0119] In the case that the child node scans a plurality of first wireless mesh network hotspots corresponding to the first wireless frequency band and a plurality of second wireless mesh network hotspots corresponding to the second wireless frequency band, the child node can select a second wireless mesh network hotspot with the optimal network connection state from the plurality of first wireless mesh network hotspots corresponding to the first wireless frequency band and the plurality of second wireless mesh network hotspots corresponding to the second wireless frequency band, and take the relay node corresponding to the second wireless mesh network hotspot with the optimal network connection state as the parent node.

[0120] Step S33 is a specific implementation of step S13 in Embodiment 1.

[0121] Step S34, the child node updates the first path information or the second path information, starts the second wireless mesh network hotspots corresponding to the first wireless frequency band and the second wireless mesh network hotspots corresponding to the second wireless frequency band, and broadcasts the updated first path information and the second path information.

[0122] In the case that the child node takes the relay node corresponding to the first wireless mesh network hotspot corresponding to the first wireless frequency band or the second wireless mesh network hotspot corresponding to the first wireless frequency band as the parent node, the child node can update the first path information.

[0123] In the case that the child node takes the relay node corresponding to the first wireless mesh network hotspot corresponding to the second wireless frequency band or the second wireless mesh network hotspot corresponding to the second wireless frequency band as the parent node, the child node can update the second path information.

[0124] After the child node starts the second wireless mesh network hotspots corresponding to the first wireless frequency band and the second wireless mesh network hotspots corresponding to the second wireless frequency band, the child node needs to broadcast the updated first path information and the second path information, so that other relay nodes can obtain the updated first path information and the second path information in the case that the other relay nodes scan the second wireless mesh network hotspots corresponding to the first wireless frequency band and the second wireless mesh network hotspots corresponding to the second wireless frequency band.

[0125] Step S34 is a specific implementation of step S14 in Embodiment 1.

[0126] In this embodiment, each of the relay nodes determines one of the plurality of relay nodes as a root node by determining whether it meets the root node setting condition, and a child node selects one of the relay nodes corresponding to at least one wireless mesh network hotspot as a parent node in a case where at least one wireless mesh network hotspot is scanned, and establishes a connection with the parent node, so that each child node has only one parent node, and each child node has only one root node in a routing path, and data of each child node is transmitted in a one-to-one manner through the parent node, which can reduce network burden and ensure transmission rate.

[0127] Further, the root node and the child node can start wireless mesh network hotspots corresponding to different wireless frequency bands, so that the relay node can be connected to the relay node corresponding to the wireless mesh network hotspot with the optimal network connection state, and transmission rate is improved.

[0128] As another optional embodiment of the present application, referring to Figure 5 A flowchart of a networking method provided in Embodiment 4 of the present application, the present embodiment is mainly an extension scheme of the networking method described in Embodiment 1, as shown in the figure, the method can include but is not limited to the following steps: Figure 5

[0129] Step S41, each of the relay nodes determines one of the plurality of relay nodes as a root node by determining whether it meets the root node setting condition.

[0130] Step S42, the root node starts at least one first wireless mesh network hotspot, and broadcasts path information.

[0131] Step S43, a child node selects one of the relay nodes corresponding to at least one wireless mesh network hotspot as a parent node in a case where at least one wireless mesh network hotspot is scanned, and establishes a connection with the parent node.

[0132] The child node is a relay node other than the root node in the plurality of relay nodes, and the wireless mesh network hotspot includes the first wireless mesh network hotspot or a second wireless mesh network hotspot, and the second wireless mesh network hotspot is a wireless mesh network hotspot started by a child node having a parent node.

[0133] The detailed processes of steps S41-S43 can be referred to the related introduction of steps S11-S13 in Embodiment 1, which will not be described here. ​

[0134] Step S44, the child node reports the information of the child node to the parent node, so that the parent node updates the network topology of the parent node based on the information of the child node, and the network topology comprises the association relationship between the parent node and its child nodes.

[0135] The parent node updates the network topology of the parent node based on the information of the child node, which can ensure the accuracy of the network topology of the parent node.

[0136] The parent node can perform processing related to the child node based on the network topology of the parent node, such as transmitting a message to the child node in the network topology.

[0137] Step S45, the child node updates the path information, starts at least one second wireless mesh network hotspot, and broadcasts the path information.

[0138] The detailed process of step S45 can refer to the related description of step S14 in embodiment 1, which will not be repeated here.

[0139] In this embodiment, the child node reports the information of the child node to the parent node, and the parent node updates the network topology of the parent node based on the information of the child node, which can ensure the convenience of interaction between the parent node and the child node.

[0140] As another optional embodiment of the present application, referring to Figure 6 A flowchart of a networking method provided in embodiment 5 of the present application, this embodiment mainly extends the networking method described in embodiment 1, as shown in the figure, the method can include but is not limited to the following steps: Figure 6

[0141] Step S51, each relay node determines one of the plurality of relay nodes as a root node by determining whether it meets the root node setting condition.

[0142] Step S52, the root node starts at least one first wireless mesh network hotspot, and broadcasts path information.

[0143] Step S53, the child node selects one of the relay nodes corresponding to at least one wireless mesh network hotspot as a parent node and establishes a connection with the parent node when scanning at least one wireless mesh network hotspot.

[0144] ​The sub-node is a relay node other than the root node in the plurality of relay nodes, and the wireless mesh network hotspot includes the first wireless mesh network hotspot or a second wireless mesh network hotspot, the second wireless mesh network hotspot being a wireless mesh network hotspot started by a child node of a parent node.

[0145] In step S54, the sub-node updates the path information, starts at least one second wireless mesh network hotspot, and broadcasts the path information.

[0146] The detailed process of steps S51-S54 can refer to the related description of steps S11-S14 in Embodiment 1, which will not be repeated here.

[0147] In step S55, the sub-node determines whether the sub-node is a parent node of other sub-nodes when detecting that the parent node has a fault.

[0148] In the embodiment, the sub-node can detect whether the parent node has a fault. Specifically, detecting whether the parent node has a fault can include: detecting whether the network connection state of the parent node meets the requirements; or sending a detection data packet to the parent node and detecting whether information fed back by the parent node is received.

[0149] If the network connection state of the parent node does not meet the requirements or the information fed back by the parent node is not received, it can be determined that the parent node has a fault.

[0150] If not, step S56 is performed. If yes, step S57 is performed.

[0151] In step S56, the connection between the sub-node and the parent node is disconnected.

[0152] In step S57, the connection between the sub-node and the parent node is disconnected, and the connection between the sub-node and each target sub-node is disconnected, the target sub-node being a child node of the sub-node.

[0153] In step S58, the parent node of the sub-node deletes the information of the sub-node in the path information, obtains target path information, and broadcasts the target path information.

[0154] After determining to disconnect from the sub-node, the parent node of the sub-node updates the path information, specifically, deletes the information of the sub-node in the path information, and obtains target path information.

[0155] After updating the path information and obtaining the target path information, the target path information is broadcasted.

[0156] Step S59, the child node and the target child node respectively close their second wireless mesh network hotspots, and return to execute step S53.

[0157] After the child node disconnects from its parent node and its child nodes, the child node closes its second wireless mesh network hotspot.

[0158] After the target child node determines that it has disconnected from its parent node (i.e. the child node), the target child node closes its second wireless mesh network hotspot.

[0159] By returning to execute step S53, the multiple relay nodes are reorganized until the multiple relay nodes are all connected.

[0160] In this embodiment, each relay node determines one of the multiple relay nodes as a root node by determining whether it meets the root node setting condition, and the child node selects one of the relay nodes corresponding to at least one wireless mesh network hotspot as a parent node when it scans at least one wireless mesh network hotspot, and establishes a connection with the parent node, so that each child node has only one parent node, and each child node has only one root node in the routing path, as shown in Figure 2 The data of each child node is transmitted in a one-to-one manner through the parent node, which can reduce the network burden and improve the transmission rate.

[0161] In addition, when the child node detects that the parent node has a fault, it disconnects from the parent node, disconnects from the parent node, and disconnects from each target child node, so as to realize the reorganization of the multiple relay nodes and ensure the reliability of the network.

[0162] As another optional embodiment of the present application, referring to Figure 7 A flowchart of a network organization method provided in embodiment 6 of the present application, the embodiment mainly describes a detailed scheme of the network organization method described in embodiment 1, as shown in Figure 7 The method can include but is not limited to the following steps:

[0163] Step S61, each relay node determines one of the multiple relay nodes as a root node by determining whether it meets the root node setting condition.

[0164] Step S62, the root node starts at least one first wireless mesh network hotspot and broadcasts path information.

[0165] Step S63, in case the child node scans at least one wireless mesh network hotspot, the child node selects one of the relay nodes corresponding to the at least one wireless mesh network hotspot as a parent node, and establishes a connection with the parent node in the first wireless frequency band and the second wireless frequency band.

[0166] In this embodiment, the child node can be configured with two network cards, and the two network cards support different wireless frequency bands, specifically, the first wireless frequency band and the second wireless frequency band.

[0167] In case the child node is configured with two network cards, the child node can establish a connection with the parent node in the first wireless frequency band and the second wireless frequency band, so as to simultaneously establish a connection with the parent node in two wireless frequency bands.

[0168] The first wireless frequency band can be, but is not limited to, a 2.4G wireless frequency band, and correspondingly, the second wireless frequency band can be, but is not limited to, a 5G wireless frequency band.

[0169] Step S63 is a specific implementation of step S13 in Embodiment 1.

[0170] The child node is a relay node other than the root node in the plurality of relay nodes, and the wireless mesh network hotspot includes the first wireless mesh network hotspot or a second wireless mesh network hotspot, the second wireless mesh network hotspot being a wireless mesh network hotspot started by a child node having a parent node.

[0171] Step S64, the child node selects a wireless frequency band with the largest frequency range from the first wireless frequency band and the second wireless frequency band as a to-be-used wireless frequency band, and adds a network address corresponding to the to-be-used wireless frequency band to the path information.

[0172] In this embodiment, the network address corresponding to the to-be-used wireless frequency band is added to the path information, and the updating of the path information is completed.

[0173] Step S65, the child node starts at least one second wireless mesh network hotspot, and broadcasts the updated path information.

[0174] Steps S64-S65 are a specific implementation of step S14 in Embodiment 1.

[0175] In the embodiment, each of the relay nodes determines one of the relay nodes as the root node by determining whether the relay node meets the root node setting condition, the child node selects one of the relay nodes corresponding to at least one wireless mesh network hotspot as the parent node in a case that at least one wireless mesh network hotspot is scanned, and establishes the connection of the first wireless frequency band and the second wireless frequency band with the parent node, so that each child node has only one parent node, and each child node has only one root node in the routing path, the data of each child node is transmitted through the parent node in a one-to-one transmission mode, the network burden is reduced, and the transmission rate is improved.

[0176] Further, the child node selects the wireless frequency band with the largest frequency range from the first wireless frequency band and the second wireless frequency band as the to-be-used wireless frequency band, and adds the network address corresponding to the to-be-used wireless frequency band to the path information, so that the data transmission between the child node and the parent node through the wireless frequency band with the largest frequency range can ensure less interference, stable network speed, and higher transmission rate in the transmission process.

[0177] As another optional embodiment of the application, referring to Figure 8 A flowchart of a networking method provided in Embodiment 7 of the application is shown in the figure, and the embodiment mainly extends the networking method described in Embodiment 6, which can include but is not limited to the following steps: Figure 8

[0178] In step S71, each of the relay nodes determines one of the relay nodes as the root node by determining whether the relay node meets the root node setting condition.

[0179] In step S72, the root node starts at least one first wireless mesh network hotspot, and broadcasts path information.

[0180] In step S73, the child node selects one of the relay nodes corresponding to at least one wireless mesh network hotspot as the parent node in a case that at least one wireless mesh network hotspot is scanned, and establishes the connection of the first wireless frequency band and the second wireless frequency band with the parent node.

[0181] In the embodiment, the child node is the relay node other than the root node in the plurality of relay nodes, the wireless mesh network hotspot includes the first wireless mesh network hotspot or the second wireless mesh network hotspot, and the second wireless mesh network hotspot is the wireless mesh network hotspot started by the child node with the parent node.

[0182] ​Step S74, the sub-node selects a wireless frequency band with the largest frequency range from the first wireless frequency band and the second wireless frequency band as a to-be-used wireless frequency band, and adds a network address corresponding to the to-be-used wireless frequency band to the path information.

[0183] Step S75, the sub-node starts at least one second wireless mesh network hotspot, and broadcasts the updated path information.

[0184] The detailed processes of steps S71-S75 can refer to the related descriptions of steps S61-S65 in Embodiment 6, which will not be repeated here.

[0185] Step S76, in the case where the network card corresponding to the to-be-used wireless frequency band is abnormal, the sub-node replaces the network address corresponding to the to-be-used wireless frequency band in the path information with a network address corresponding to a wireless frequency band other than the to-be-used wireless frequency band from the first wireless frequency band and the second wireless frequency band.

[0186] In this embodiment, in the case where the network card corresponding to the to-be-used wireless frequency band is abnormal, the sub-node replaces the network address corresponding to the to-be-used wireless frequency band in the path information with a network address corresponding to a wireless frequency band other than the to-be-used wireless frequency band from the first wireless frequency band and the second wireless frequency band, without re-disconnecting the connection, so that the routing can be directly switched to another wireless frequency band, thereby reducing the network reconstruction time.

[0187] As another optional embodiment of the present application, referring to Figure 9 A flowchart of a networking method provided in Embodiment 8 of the present application, this embodiment mainly extends the networking method described in Embodiment 6, as shown in the figure, the method can include but is not limited to the following steps: Figure 9

[0188] Step S81, each relay node determines one node from the plurality of relay nodes as a root node by determining whether it meets the root node setting condition.

[0189] Step S82, the root node starts at least one first wireless mesh network hotspot, and broadcasts path information.

[0190] Step S83, in the case where the sub-node scans at least one wireless mesh network hotspot, the sub-node selects one from the relay nodes corresponding to the at least one wireless mesh network hotspot as a parent node, and establishes a connection of the first wireless frequency band and the second wireless frequency band with the parent node.

[0191] ​The sub-node is a relay node other than the root node in the plurality of relay nodes, and the wireless mesh network hotspot includes the first wireless mesh network hotspot or a second wireless mesh network hotspot.

[0192] In step S84, the sub-node selects a wireless frequency band with the largest frequency band range from the first wireless frequency band and the second wireless frequency band as a to-be-used wireless frequency band, and adds a network address corresponding to the to-be-used wireless frequency band to the path information.

[0193] In step S85, the sub-node starts at least one second wireless mesh network hotspot, and broadcasts the updated path information.

[0194] The detailed processes of steps S81-S85 can refer to the related descriptions of steps S61-S65 in Embodiment 6, which are not described herein again.

[0195] In step S86, the sub-node statistically determines the network quality of the to-be-used wireless frequency band and the network quality of the wireless frequency bands other than the to-be-used wireless frequency band in the first wireless frequency band and the second wireless frequency band every set time.

[0196] The set time can be set according to needs, which is not limited in the present application.

[0197] The sub-node statistically determines the network quality of the to-be-used wireless frequency band and the network quality of the wireless frequency bands other than the to-be-used wireless frequency band in the first wireless frequency band and the second wireless frequency band every set time, so as to realize dynamic statistical determination of the network quality of the first wireless frequency band and the second wireless frequency band.

[0198] In step S87, when the network quality of the wireless frequency bands other than the to-be-used wireless frequency band in the first wireless frequency band and the second wireless frequency band is higher than the network quality of the to-be-used wireless frequency band, the sub-node replaces the network address corresponding to the to-be-used wireless frequency band in the path information with the network address corresponding to the wireless frequency bands other than the to-be-used wireless frequency band in the first wireless frequency band and the second wireless frequency band.

[0199] In the present embodiment, the sub-node replaces the network address corresponding to the to-be-used wireless frequency band in the path information with the network address corresponding to the wireless frequency bands other than the to-be-used wireless frequency band in the first wireless frequency band and the second wireless frequency band, so as to complete route switching, keep using the wireless frequency band with the highest network quality to transmit data, and ensure the reliability of data transmission.

[0200] Reference Figure 10A flowchart of a networking method provided in Embodiment 9 of the present application is provided, the networking method is applied to any one of relay nodes in a wireless network architecture, the wireless network architecture comprises a plurality of relay nodes, and the networking method can comprise but is not limited to the following steps:

[0201] In step S91, the relay node determines whether the relay node meets the root node setting condition after being powered on.

[0202] If yes, step S92 is performed; if no, step S93 is performed.

[0203] The specific implementation of determining whether the relay node meets the root node setting condition in this step can refer to the related description of any one of Embodiments 1-8, which will not be repeated here.

[0204] In step S92, as a root node, at least one first wireless mesh network hotspot is started, and path information is broadcasted.

[0205] The detailed process of this step can refer to the related description in any one of Embodiments 1-8, which will not be repeated here.

[0206] In step S93, as a child node, a wireless mesh network hotspot is scanned, and in the case that at least one wireless mesh network hotspot is scanned, a parent node is selected from at least one relay node corresponding to the at least one wireless mesh network hotspot, and a connection is established with the parent node.

[0207] The child node is a relay node other than the root node in the plurality of relay nodes, the wireless mesh network hotspot comprises the first wireless mesh network hotspot or a second wireless mesh network hotspot, and the second wireless mesh network hotspot is a wireless mesh network hotspot started by a child node having a parent node.

[0208] In step S94, the child node updates the path information, starts at least one second wireless mesh network hotspot, and broadcasts the updated path information.

[0209] The detailed process of steps S93-S94 can refer to the related description in any one of Embodiments 1-8, which will not be repeated here.

[0210] Next, the wireless network architecture provided in the present application is introduced, and the wireless network architecture introduced below can be correspondingly referred to the networking method introduced above.

[0211] The wireless network architecture can comprise a plurality of relay nodes.

[0212] Each of the relay nodes is configured to determine one of the relay nodes as the root node by determining whether the relay node satisfies a root node setting condition.

[0213] The root node is configured to start at least one first wireless mesh network hotspot and broadcast path information.

[0214] Each of the relay nodes other than the root node is configured to select a parent node from the relay nodes corresponding to at least one wireless mesh network hotspot as a child node in a case where the at least one wireless mesh network hotspot is scanned, and establish a connection with the parent node.

[0215] The wireless mesh network hotspot includes the first wireless mesh network hotspot or a second wireless mesh network hotspot, and the second wireless mesh network hotspot is a wireless mesh network hotspot started by a child node having a parent node.

[0216] The child node is further configured to update the path information, start at least one second wireless mesh network hotspot, and broadcast the updated path information.

[0217] In the embodiment, each of the relay nodes can be specifically configured to:

[0218] The relay node having an uplink wired port connected to an external network is determined as the root node by determining whether the uplink wired port of the relay node is connected to the external network.

[0219] The root node can be specifically configured to:

[0220] The root node is configured to start a first wireless mesh network hotspot corresponding to a first wireless frequency band and a first wireless mesh network hotspot corresponding to a second wireless frequency band, and broadcast first path information corresponding to the first wireless frequency band and second path information corresponding to the second wireless frequency band.

[0221] The child node can be specifically configured to:

[0222] The child node is configured to update the first path information or the second path information, start a second wireless mesh network hotspot corresponding to the first wireless frequency band and a second wireless mesh network hotspot corresponding to the second wireless frequency band, and broadcast the updated first path information and the second path information.

[0223] The child node can be further configured to:

[0224] reporting information of the child node to the parent node, so that the parent node updates a network topology of the parent node based on the information of the child node, the network topology comprising an association relationship between the parent node and its child nodes.

[0225] The child node can be further configured to:

[0226] in a case where it is detected that the parent node has a fault, judging whether the child node is a parent node of other child nodes;

[0227] if not, disconnecting the connection with the parent node;

[0228] if yes, disconnecting the connection with the parent node, and disconnecting the connection with each target child node, the target child node being a child node taking the child node as a parent node;

[0229] the parent node of the child node is configured to delete information of the child node in path information of the parent node, obtain target path information, and broadcast the target path information;

[0230] The child node can be further configured to close the second wireless mesh network hotspot, and perform the step of, in a case where at least one wireless mesh network hotspot is scanned, selecting one of relay nodes corresponding to the at least one wireless mesh network hotspot as a parent node, and establishing a connection with the parent node.

[0231] The target child node can be configured to close the second wireless mesh network hotspot, and perform the step of, in a case where at least one wireless mesh network hotspot is scanned, selecting one of relay nodes corresponding to the at least one wireless mesh network hotspot as a parent node, and establishing a connection with the parent node as a child node.

[0232] In this embodiment, the child node can be specifically configured to:

[0233] selecting one of relay nodes corresponding to the at least one wireless mesh network hotspot as a parent node, the relay node satisfying a signal quality threshold and satisfying a routing path requirement.

[0234] In this embodiment, the child node can be specifically configured to:

[0235] in a case where at least one wireless mesh network hotspot is scanned, selecting one of relay nodes corresponding to the at least one wireless mesh network hotspot as a parent node, and establishing a connection of a first wireless frequency band and a second wireless frequency band with the parent node;

[0236] selecting a wireless frequency band with the largest frequency range from the first wireless frequency band and the second wireless frequency band as a to-be-used wireless frequency band, adding a network address corresponding to the to-be-used wireless frequency band to the path information, starting at least one second wireless mesh network hotspot, and broadcasting the updated path information.

[0237] In the embodiment, the child node can be further configured to:

[0238] In a case where the network card corresponding to the to-be-used wireless frequency band is abnormal, the network address corresponding to the to-be-used wireless frequency band in the path information is replaced with a network address corresponding to a wireless frequency band other than the to-be-used wireless frequency band from the first wireless frequency band and the second wireless frequency band.

[0239] In the embodiment, the child node can be further configured to:

[0240] The network quality of the to-be-used wireless frequency band and the network quality of a wireless frequency band other than the to-be-used wireless frequency band from the first wireless frequency band and the second wireless frequency band are counted at a set time interval.

[0241] In a case where the network quality of a wireless frequency band other than the to-be-used wireless frequency band from the first wireless frequency band and the second wireless frequency band is higher than the network quality of the to-be-used wireless frequency band, the network address corresponding to the to-be-used wireless frequency band in the path information is replaced with a network address corresponding to a wireless frequency band other than the to-be-used wireless frequency band from the first wireless frequency band and the second wireless frequency band.

[0242] In the embodiment, the functions of each relay node in the wireless network architecture can be the same. Specifically, any relay node in the wireless network architecture can be configured to:

[0243] After power-on, it is determined whether the relay node meets a root node set condition.

[0244] If yes, the relay node serves as a root node, starts at least one first wireless mesh network hotspot, and broadcasts path information.

[0245] If no, the relay node serves as a child node, starts a wireless mesh network hotspot scan, and in a case where at least one wireless mesh network hotspot is scanned, selects one of relay nodes corresponding to the at least one wireless mesh network hotspot as a parent node, and establishes a connection with the parent node.

[0246] The sub-nodes are the relay nodes other than the root node in the plurality of relay nodes, and the wireless mesh network hotspot includes the first wireless mesh network hotspot or a second wireless mesh network hotspot.

[0247] The sub-nodes update the path information, start at least one second wireless mesh network hotspot, and broadcast the updated path information.

[0248] It should be noted that each embodiment focuses on the difference from other embodiments, and the same and similar parts between embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the related parts can be referred to the part of the method embodiment.

[0249] Finally, it should be noted that in this document, the terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of another identical element in the process, method, article or device including the element.

[0250] For the convenience of description, the above device is described as various units respectively described in function. Of course, the functions of each unit can be realized in the same or more software and / or hardware in the implementation of the present application.

[0251] From the above description of the embodiments, those skilled in the art can clearly understand that the present application can be realized by means of software and necessary general hardware platforms. Based on such understanding, the technical solutions of the present application can be embodied in the form of software products, which can be stored in storage media, such as ROM / RAM, magnetic disks, optical disks, etc., and include a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.

[0252] The networking method and the wireless network architecture provided by the present application are described in detail above, and the principles and implementation manners of the present application are described by using specific examples. The above description of the examples is only used to help understand the method of the present application and its core idea; meanwhile, for those skilled in the art, the specific implementation manners and application ranges will be changed according to the idea of the present application. In conclusion, the content of the description should not be understood as a limitation of the present application.

Claims

1. A networking method, characterized in that, Based on a wireless network architecture, which includes multiple relay nodes, the method includes: Each relay node determines one of the multiple relay nodes as the root node by determining whether it meets the root node setting conditions; The root node starts at least one first wireless mesh network hotspot and broadcasts path information; When a child node detects at least one wireless mesh network hotspot, it selects one of the relay nodes corresponding to the at least one wireless mesh network hotspot as a parent node and establishes a connection with the parent node. Wherein, the child node is a relay node other than the root node among the multiple relay nodes, and the wireless mesh network hotspot includes: the first wireless mesh network hotspot or the second wireless mesh network hotspot, wherein the second wireless mesh network hotspot is a wireless mesh network hotspot started by a child node with a parent node. The child node updates the path information, starts at least one second wireless mesh network hotspot, and broadcasts the updated path information; The establishment of a connection with the parent node includes: Establish a connection with the parent node for the first and second wireless frequency bands; The child node updates the path information, including: The sub-node selects the wireless frequency band with the largest frequency range from the first wireless frequency band and the second wireless frequency band as the wireless frequency band to be used. The child node adds the network address corresponding to the wireless frequency band to be used to the path information; If the network card corresponding to the wireless frequency band to be used malfunctions, the child node will replace the network address corresponding to the wireless frequency band to be used in the path information with the network address corresponding to the wireless frequency band other than the wireless frequency band to be used in the first wireless frequency band and the second wireless frequency band.

2. The method according to claim 1, characterized in that, Each relay node determines one of the plurality of relay nodes as the root node by determining whether it meets the root node setting conditions, including: Each relay node determines whether its uplink wired port is connected to an external network, and identifies the relay node whose uplink wired port is connected to an external network as the root node.

3. The method according to claim 1, characterized in that, The root node initiates at least one first wireless mesh network hotspot and broadcasts path information, including: The root node starts the first wireless mesh network hotspot corresponding to the first wireless frequency band and the first wireless mesh network hotspot corresponding to the second wireless frequency band, and broadcasts the first path information corresponding to the first wireless frequency band and the second path information corresponding to the second wireless frequency band. The child node updates the path information, starts the second wireless mesh network hotspot, and broadcasts the path information, including: The child node updates the first path information or the second path information, starts the second wireless mesh network hotspot corresponding to the first wireless frequency band and the second wireless mesh network hotspot corresponding to the second wireless frequency band, and broadcasts the updated first path information and the second path information.

4. The method according to claim 1, characterized in that, After establishing a connection with the parent node, the process also includes: The child node reports its information to the parent node so that the parent node can update its network topology based on the child node's information. The network topology includes the association between the parent node and its child nodes.

5. The method according to claim 1, characterized in that, The method further includes: If a child node detects a fault in its parent node, it determines whether the child node is the parent node of other child nodes. If not, disconnect the connection with its parent node; If so, disconnect the connection with its parent node, and disconnect the connection with each target child node, which is the child node that has the target child node as its parent node; The parent node of the child node deletes the information of the child node from its path information to obtain the target path information, and broadcasts the target path information. The child node and the target child node respectively turn off their second wireless mesh network hotspot, and respectively return to the step of the child node selecting one of the relay nodes corresponding to at least one wireless mesh network hotspot as a parent node and establishing a connection with the parent node when scanning at least one wireless mesh network hotspot.

6. The method according to claim 1, characterized in that, Selecting a parent node from at least one relay node corresponding to the wireless mesh network hotspot includes: From at least one relay node corresponding to the wireless mesh network hotspot, select a relay node that meets the signal quality threshold and the routing path requirements, and select it as the parent node.

7. The method according to claim 1, characterized in that, The method further includes: The sub-nodes calculate the network quality of the wireless frequency band to be used and the network quality of the wireless frequency bands other than the wireless frequency band to be used in the first and second wireless frequency bands every set time intervals. If the network quality of a wireless frequency band other than the wireless frequency band to be used in the first wireless frequency band and the second wireless frequency band is higher than the network quality of the wireless frequency band to be used, the child node replaces the network address corresponding to the wireless frequency band to be used in the path information with the network address corresponding to the wireless frequency band other than the wireless frequency band to be used in the first wireless frequency band and the second wireless frequency band.

8. A networking method, characterized in that, This method, applicable to any relay node in a wireless network architecture, includes: After powering on, the relay node determines whether it meets the root node setting conditions. If the conditions are met, then act as the root node, start at least one first wireless mesh network hotspot, and broadcast path information; If not satisfied, as a child node, start scanning for wireless mesh network hotspots. If at least one wireless mesh network hotspot is detected, select one of the relay nodes corresponding to at least one wireless mesh network hotspot as a parent node and establish a connection with the parent node. Wherein, the child node is a relay node other than the root node among the multiple relay nodes, and the wireless mesh network hotspot includes: the first wireless mesh network hotspot or the second wireless mesh network hotspot, wherein the second wireless mesh network hotspot is a wireless mesh network hotspot started by a child node with a parent node. The child node updates the path information, starts at least one second wireless mesh network hotspot, and broadcasts the updated path information; The establishment of a connection with the parent node includes: Establish a connection with the parent node for the first and second wireless frequency bands; The child node updates the path information, including: The sub-node selects the wireless frequency band with the largest frequency range from the first wireless frequency band and the second wireless frequency band as the wireless frequency band to be used. The child node adds the network address corresponding to the wireless frequency band to be used to the path information; If the network card corresponding to the wireless frequency band to be used malfunctions, the child node will replace the network address corresponding to the wireless frequency band to be used in the path information with the network address corresponding to the wireless frequency band other than the wireless frequency band to be used in the first wireless frequency band and the second wireless frequency band.

9. A wireless network architecture, characterized in that, include: Multiple relay nodes; Each of the relay nodes is used to determine one of the multiple relay nodes as the root node by determining whether it meets the root node setting conditions; The root node is used to start at least one first wireless mesh network hotspot and broadcast path information; Each of the multiple relay nodes, except for the root node, serves as a child node, and is used to select one of the relay nodes corresponding to at least one wireless mesh network hotspot as a parent node and establish a connection with the parent node when at least one wireless mesh network hotspot is detected. The wireless mesh network hotspot includes: a first wireless mesh network hotspot or a second wireless mesh network hotspot, wherein the second wireless mesh network hotspot is a wireless mesh network hotspot started by a child node with a parent node; The child node is also used to update the path information, start at least one of the second wireless mesh network hotspots, and broadcast the updated path information; The establishment of a connection with the parent node includes: Establish a connection with the parent node for the first and second wireless frequency bands; The child node updates the path information, including: The sub-node selects the wireless frequency band with the largest frequency range from the first wireless frequency band and the second wireless frequency band as the wireless frequency band to be used. The child node adds the network address corresponding to the wireless frequency band to be used to the path information; If the network card corresponding to the wireless frequency band to be used malfunctions, the child node will replace the network address corresponding to the wireless frequency band to be used in the path information with the network address corresponding to the wireless frequency band other than the wireless frequency band to be used in the first wireless frequency band and the second wireless frequency band.

Citation Information

Patent Citations

  • Network address assignment method of tree topologic structure wireless ad hoc network

    CN106255134A