CN113395740B - Wireless network construction method - Google Patents

Wireless network construction method Download PDF

Info

Publication number
CN113395740B
CN113395740B CN202010170510.9A CN202010170510A CN113395740B CN 113395740 B CN113395740 B CN 113395740B CN 202010170510 A CN202010170510 A CN 202010170510A CN 113395740 B CN113395740 B CN 113395740B
Authority
CN
China
Prior art keywords
wireless device
sub
routing table
proxy
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010170510.9A
Other languages
Chinese (zh)
Other versions
CN113395740A (en
Inventor
沈誉苍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dewei Photoelectric Co ltd
Motian Wulian Creative Technology Co ltd
Original Assignee
Dewei Photoelectric Co ltd
Motian Wulian Creative Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dewei Photoelectric Co ltd, Motian Wulian Creative Technology Co ltd filed Critical Dewei Photoelectric Co ltd
Priority to CN202010170510.9A priority Critical patent/CN113395740B/en
Publication of CN113395740A publication Critical patent/CN113395740A/en
Application granted granted Critical
Publication of CN113395740B publication Critical patent/CN113395740B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/246Connectivity information discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/248Connectivity information update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/32Connectivity information management, e.g. connectivity discovery or connectivity update for defining a routing cluster membership

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A wireless network construction method is implemented by a wireless network construction calculation system, which comprises a servo end, a management end connected to the servo end through a communication network and a plurality of wireless devices, wherein the servo end respectively adds a plurality of pieces of wireless device information comprising device identifiers and positioning information corresponding to the wireless devices according to new adding requests from the management end, respectively sets the wireless devices as one of a primary wireless device, a secondary wireless device or a sub-wireless device according to a plurality of setting requests from the management end, establishes an online architecture among the wireless devices according to the wireless device information and generates a routing table corresponding to the online architecture so that the wireless devices are online according to the routing table.

Description

Wireless network construction method
Technical Field
The present invention relates to wireless communication networks, and more particularly, to a method for automatically establishing connection between different devices.
Background
For the internet of things technology, a wireless topology is an important item, which is to achieve point-to-point data transmission by using wireless communication, and a data transmission path is constructed according to a routing table, and the routing table is constructed by each wireless device according to signal strength.
In practical applications, a large number of wireless devices are distributed in various places, and if the wireless devices establish the routing table by themselves, the manager managing the wireless devices cannot establish the routing table according to the requirements of the manager, so that the manager cannot understand the wireless device connection architecture, and further unpredictable accidents are easily generated among the wireless devices, and the maintenance cost and the workload of the manager are increased.
Disclosure of Invention
Therefore, the present invention provides a method for automatically establishing routing tables and packet transmission paths according to administrator design.
In order to achieve the above object, the present invention provides a wireless network constructing and calculating method implemented by a wireless network constructing and calculating system, the wireless network constructing and calculating system comprising a plurality of wireless devices, a server, and a management end connected to the server through a communication network, wherein at least one main wireless device configured to have a link relationship with the server exists in the wireless devices, and a sub wireless device configured not to have a link relationship with the server exists in the wireless devices, the wireless network constructing method comprising steps (a), (B), (C), (D), (E), and (F).
In the step (a), for each primary wireless device, the server establishes connection with the primary wireless device according to the addition request from the management terminal and the connection message from the primary wireless device and including the device identifier, the connection address, and the positioning information of the primary wireless device.
In the step (B), for each sub-wireless device, the management terminal selects a target main wireless device from the at least one main wireless device to have a link relationship with the sub-wireless device.
In step (C), for each child wireless device, the target master wireless device establishes a connection with the child wireless device according to a connection configuration from the child wireless device and including a device identifier, a connection address, a connection number indicating a number of transmissions corresponding to each packet previously transmitted, and location information of the child wireless device.
In the step (D), the server selects at least one of the sub-wireless devices as at least one sub-wireless device according to a sub-configuration request from the management terminal.
In the step (E), the server establishes an online framework among the at least one master wireless device, the at least one slave wireless device, and the slave wireless devices according to an online response message transmitted by each master wireless device, where the online response message includes device identifiers and location information of the at least one slave wireless device and the slave wireless device directly or indirectly connected to the master wireless device, and online information between each wireless device and other wireless devices directly connected to the master wireless device, where the online information includes connection times and wireless communication quality between two wireless devices that have been online.
In the step (F), the server generates a routing table corresponding to the online framework according to the online framework and the wireless device information established in the step (E) and transmits the routing table to each wireless device.
Preferably, the method for constructing a wireless network of the present invention further comprises step (G), step (H), step (I), and step (J) after the step (F).
In the step (G), the server receives, from the manager, a plurality of routing tables respectively corresponding to different connection architectures among the at least one master wireless device, the at least one slave wireless device, and the slave wireless devices, and a plurality of routing table numbers respectively corresponding to each routing table.
In the step (H), the server determines whether a request for replacing the routing table including the target routing table number is received from the management terminal.
In the step (I), when the server determines that the request for replacing the routing table, which is sent from the management terminal and includes the target routing table number, is not received, the server selects the routing table generated in the step (F), and connects with the at least one primary wireless device, the at least one secondary wireless device, and the secondary wireless device according to the routing table.
In the step (J), when the server determines that the request for replacing the routing table is received from the management terminal and includes the number of the target routing table, the server selects the target routing table corresponding to the number of the target routing table according to the routing table received in the step (F), and performs connection with the at least one primary wireless device, the at least one secondary wireless device, and the secondary wireless device according to the target routing table.
Preferably, the method for constructing a wireless network of the present invention further comprises step (K), step (L), step (M), and step (N) after step (J).
In the step (K), for each primary wireless device, the server determines whether an online response message of the primary wireless device is received within a preset time, where the online response message includes an online status of the at least one secondary wireless device and the secondary wireless device that are online with the primary wireless device.
In the step (L), for each master wireless device, when the server determines that the online response message of the master wireless device is not received within the preset time, the server uses the master wireless device as a disconnected master wireless device, and selects a bridging wireless device corresponding to the disconnected master wireless device according to the at least one master wireless device, the at least one slave wireless device, and the slave wireless device that are not directly or indirectly connected to the disconnected master wireless device in the routing table.
In the step (M), for each disconnected master wireless device, the server selects a proxy wireless device corresponding to the disconnected master wireless device according to the at least one slave wireless device and the at least one slave wireless device directly or indirectly connected to the disconnected master wireless device in the routing table, and uses other slave wireless devices and slave wireless devices that are not the proxy wireless device as the at least one lost connection wireless device.
In the step (N), the server re-establishes another routing table according to the routing table established in the step (F), and in the another routing table, for each disconnected master wireless device, the proxy wireless device corresponding to the disconnected master wireless device is assigned to have a link relationship with the bridge wireless device corresponding to the disconnected master wireless device, and the at least one unlink wireless device corresponding to the disconnected master wireless device and not belonging to the proxy wireless device is assigned to have a link relationship with the proxy wireless device corresponding to the disconnected master wireless device.
Preferably, the method for constructing a wireless network of the present invention further comprises, after the step (N), a step (O), a step (P), a step (Q), a step (R), a step (S), a step (T), and a step (U).
In the step (O), the server transmits the other routing table to the at least one primary wireless device not belonging to the disconnected primary wireless device, and the at least one secondary wireless device and the sub wireless device that are not directly or indirectly connected to any disconnected primary wireless device, and the bridging wireless device corresponding to the disconnected primary wireless device.
In step (P), for each disconnected master wireless device, when the bridging wireless device corresponding to the disconnected master wireless device receives the other routing table, the bridging wireless device transmits a proxy connection message including a device identifier of the proxy wireless device corresponding to the disconnected master wireless device to the proxy wireless device corresponding to the disconnected master wireless device.
In step (Q), for each proxy wireless device, when the proxy wireless device receives a proxy connection message including the device identifier corresponding to itself, the proxy wireless device transmits a proxy response message including a proxy wireless device network protocol address to the bridging wireless device.
In step (R), for each bridging wireless device, when the bridging wireless device receives the proxy response message, the bridging wireless device establishes a connection with the proxy wireless device according to the proxy wireless device network protocol address, and transmits the other routing table to the proxy wireless device.
In the step (S), for each proxy wireless device, when the proxy wireless device receives the other routing table, for each offline wireless device corresponding to the proxy wireless device, the proxy wireless device transmits a reconnection message including a device identifier of the offline wireless device corresponding to the proxy wireless device to the offline wireless device corresponding to the proxy wireless device according to the other routing table.
In the step (T), for each of the disconnected wireless devices directly or indirectly connected to the disconnected master wireless device, when the disconnected wireless device receives a reconnect message including a device identifier corresponding to the disconnected wireless device, the disconnected wireless device transmits a disconnected response message including a network protocol address corresponding to the disconnected wireless device to the proxy wireless device.
In the step (U), for each proxy wireless device, when the proxy wireless device receives at least one of the offline response messages, the proxy wireless device establishes connection with the at least one offline wireless device according to at least one of the offline wireless device network protocol addresses, and transmits the other routing table to the at least one offline wireless device.
Preferably, the method for constructing a wireless network according to the present invention further comprises step (i), step (ii), step (iii), and step (iv) after the step (K).
In step (i), the server determines whether there is a disconnected sub-wireless apparatus that is not connected to the at least one sub-wireless apparatus or the at least one main wireless apparatus in the sub-wireless apparatuses according to the connection response message.
In the step (ii), when the server determines that the unlink sub-wireless device exists, the server marks that the unlink sub-wireless device is in a disconnected state, and transmits a maintenance message corresponding to a device identifier and positioning information of the unlink sub-wireless device to the management terminal.
In step (iii), the management end transmits a configuration message related to an alternative sub-wireless device corresponding to the lost sub-wireless device to the servo end, wherein the configuration message includes a device identifier of the lost sub-wireless device, a device identifier of the alternative sub-wireless device, a connection address, and positioning information.
In the step (iv), the server generates another routing table according to the routing table and the setting message established in the step (F), and the device identifier, the connection address, and the location information associated with the lost sub-wireless device are replaced with the device identifier, the connection address, and the location information of the replacement sub-wireless device in the another routing table.
Preferably, the method for constructing a wireless network of the present invention further comprises step (v), step (vi), step (vii), and step (viii) after step (iv).
In step (v), the server transmits the other routing table to the at least one master wireless device, the at least one slave wireless device, and other slave wireless devices not belonging to the substitute slave wireless device.
In the step (vi), for a superior wireless device having a link relationship with the substitute child wireless device among the at least one master wireless device and the at least one slave wireless device, when the superior wireless device receives the another routing table, the superior wireless device transmits a substitute connection message including a device identifier of the substitute child wireless device to the substitute child wireless device according to the another routing table.
In step (vii), when the substitute connection message is received by the substitute sub-wireless device, the substitute sub-wireless device transmits a response message including the substitute sub-wireless device connection address to the superior wireless device.
In step (viii), when the superior wireless device receives the response message, the superior wireless device establishes a connection with the substitute sub wireless device according to the substitute sub wireless device connection address, and transmits the other routing table to the substitute sub wireless device.
Preferably, the method for constructing a wireless network of the present invention further comprises step (ix), step (x), step (xi), step (xii), step (xiii), step (xiv), and step (xv) after the step (K).
In the step (ix), the server determines whether there is an offline secondary wireless apparatus that is not online to the at least one primary wireless apparatus in the at least one secondary wireless apparatus according to the online response message.
In the step (x), when the server determines that the unconnection secondary wireless device exists, for each subordinate sub-wireless device of the sub-wireless devices that has a link relationship with the unconnection secondary wireless device, the server transmits an acknowledgment connection message including a device identifier corresponding to the subordinate sub-wireless device.
In the step (xi), for each subordinate child wireless device, when the subordinate child wireless device receives the confirmed connection message, the subordinate child wireless device transmits a response confirmation message including a device identifier and a connection address of the subordinate child wireless device to the server.
In the step (xii), the server determines whether the number of response confirmation messages corresponding to all the response confirmation messages is greater than a default threshold according to all the received response confirmation messages.
In the step (xiii), when the server determines that the number of the response acknowledgement messages is greater than the default threshold, the server uses the offline secondary wireless device as the offline primary wireless device, and selects a bridging wireless device corresponding to the offline primary wireless device according to the at least one primary wireless device, the at least one secondary wireless device, and the secondary wireless device that are not directly or indirectly connected to the offline primary wireless device in the routing table.
In the step (xiv), for each disconnected master wireless device, the server selects a proxy wireless device corresponding to the disconnected master wireless device according to the child wireless devices connected to the disconnected master wireless device in the routing table, and uses other child wireless devices that are not used as proxy wireless devices as at least one disconnected wireless device.
In the step (xv), the server reestablishes another routing table according to the routing table established in the step (F), and in the another routing table, for each disconnected master wireless device, the proxy wireless device corresponding to the disconnected master wireless device is assigned to have a link relationship with the bridge wireless device corresponding to the disconnected master wireless device, and the at least one unlink wireless device corresponding to the disconnected master wireless device and not belonging to the proxy wireless device is assigned to have a link relationship with the proxy wireless device corresponding to the disconnected master wireless device.
Preferably, the method for constructing a wireless network of the present invention further comprises step (xvi), step (xvii), step (xviii), step (xix), step (xx), step (xxi), and step (xxii) after the step (xv).
In the step (xvi), the server transmits the other routing table to the at least one primary wireless device not belonging to the disconnected primary wireless device, and the at least one secondary wireless device, the sub wireless device not directly or indirectly connected to any disconnected primary wireless device, and the bridging wireless device corresponding to the disconnected primary wireless device.
In step (xvii), for each disconnected master wireless device, when the bridging wireless device corresponding to the disconnected master wireless device receives the other routing table, the bridging wireless device transmits a proxy connection message including a device identifier of the proxy wireless device corresponding to the disconnected master wireless device to the proxy wireless device corresponding to the disconnected master wireless device.
In step (xviii), for each proxy wireless device, when the proxy wireless device receives a proxy connection message including the device identifier corresponding to itself, the proxy wireless device transmits a proxy response message including the proxy wireless device network protocol address to the bridging wireless device.
In step (xix), for each bridging wireless device, when the bridging wireless device receives the proxy response message, the bridging wireless device establishes a connection with the proxy wireless device according to the proxy wireless device network protocol address, and transmits the other routing table to the proxy wireless device.
In the step (xx), for each proxy wireless device, when the proxy wireless device receives the other routing table, for each offline wireless device corresponding to the proxy wireless device, the proxy wireless device transmits a reconnection message including a device identifier of the offline wireless device corresponding to the proxy wireless device to the offline wireless device according to the other routing table.
In step (xxi), for each lost wireless device connected to the disconnected master wireless device, when the lost wireless device receives a reconnect message including a device identifier corresponding to the lost wireless device, the lost wireless device transmits a lost response message including a network protocol address corresponding to the lost wireless device to the proxy wireless device.
In step (xxii), for each proxy wireless device, when the proxy wireless device receives at least one of the missed response messages, the proxy wireless device establishes a connection with at least one of the missed wireless devices according to at least one of the missed wireless device network protocol addresses, and transmits the other routing table to the at least one of the missed wireless devices.
Preferably, the method for constructing a wireless network of the present invention further comprises step (xxiii), step (xxiv), step (xxv), and step (xxvi) after the step (xii).
In the step (xxii), when the server determines that the number of the response acknowledgement messages is not greater than the default threshold, the server uses the lost secondary wireless device as the lost secondary wireless device.
In the step (xxiv), the server side marks that the disconnected sub-wireless device is in a disconnected state, and transmits a maintenance message corresponding to a device identifier and positioning information of the disconnected sub-wireless device to the management side.
In the step (xxv), the management end transmits a configuration message related to an alternative sub-wireless device corresponding to the lost sub-wireless device to the servo end, wherein the configuration message includes a device identifier of the lost sub-wireless device, a device identifier of the alternative sub-wireless device, a connection address, and location information.
In step (xxvi), the server generates another routing table in which the device identifier, connection address, and location information associated with the disconnected child wireless device are replaced with the device identifier, connection address, and location information of the replaced child wireless device, based on the routing table and the setting message established in step (F).
Preferably, the method for constructing a wireless network of the present invention further comprises step (xxvii), step (xxviii), step (xxix), and step (xxx) after the step (xxvi).
In the step (xxvii), the server end transmits the other routing table to the at least one master wireless device, the at least one slave wireless device, and other slave wireless devices not belonging to the alternative slave wireless device.
In the step (xxviii), for a superior wireless device having a link relationship with the alternative child wireless device among the at least one master wireless device and the at least one slave wireless device, when the superior wireless device receives the another routing table, the superior wireless device transmits an alternative connection message including a device identifier of the alternative child wireless device to the alternative child wireless device according to the another routing table.
In the step (xxix), when the substitute connection message is received by the substitute sub-wireless device, the substitute sub-wireless device transmits a response message including a connection address of the substitute sub-wireless device to the superior wireless device.
In the step (xxx), when the superior wireless device receives the response message, the superior wireless device establishes a connection with the substitute sub-wireless device according to the substitute sub-wireless device connection address, and transmits the other routing table to the substitute sub-wireless device.
Preferably, in the method for configuring a wireless network according to the present invention, the server determines whether there is at least one subordinate wireless device that did not transmit the response confirmation message according to all the received response confirmation messages, and when the server determines that there is at least one subordinate wireless device that did not transmit the response confirmation message, the server regards each subordinate wireless device that did not transmit the response confirmation message as the dropped subordinate wireless device, and performs step (xxxi), step (xxxii), step (xxxiii), step (xxxiv), step (xxxvi), and step (xxxvii).
In the step (xxxi), the server side marks that the disconnected sub-wireless device is in a disconnected state, and transmits a maintenance message corresponding to a device identifier and positioning information of the disconnected sub-wireless device to the management side.
In the step (xxxii), the management end transmits a configuration message associated with an alternative sub-wireless device corresponding to the lost sub-wireless device to the servo end, wherein the configuration message includes a device identifier of the lost sub-wireless device, a device identifier of the alternative sub-wireless device, a connection address, and location information.
In the step (xxxiii), the server generates another routing table according to the routing table and the setting message established in the step (F), and the device identifier, the connection address, and the location information associated with the lost sub-wireless device are replaced with the device identifier, the connection address, and the location information of the replacement sub-wireless device in the another routing table.
In the step (xxxiv), the server transmits the other routing table to the at least one master wireless device, the at least one slave wireless device, and other slave wireless devices not belonging to the alternative slave wireless device.
In the step (xxxv), for a superior wireless device having a link relationship with the alternative child wireless device among the at least one master wireless device and the at least one slave wireless device, when the superior wireless device receives the another routing table, the superior wireless device transmits an alternative connection message including a device identifier of the alternative child wireless device to the alternative child wireless device according to the another routing table.
In step (xxxvi), when the substitute sub-wireless device receives the substitute connection message, the substitute sub-wireless device transmits a response message including the substitute sub-wireless device connection address to the superior wireless device.
In the step (xxxvi), when the superior wireless device receives the response message, the superior wireless device establishes a connection with the substitute sub-wireless device according to the substitute sub-wireless device connection address, and transmits the other routing table to the substitute sub-wireless device.
The invention has the beneficial effects that: the server end sets the wireless device as one of the primary wireless device, the secondary wireless device or the sub-wireless device through the new adding request and the secondary setting request from the management end, and automatically establishes an online architecture and a routing table among the wireless devices according to the design of a manager.
Drawings
Fig. 1 is a block diagram illustrating a wireless network configuration method according to an embodiment of the present invention implemented by a wireless network configuration algorithm system;
fig. 2 is a flowchart illustrating a setup procedure of the wireless network configuration method of the present invention performed in the embodiment;
fig. 3 is a flowchart illustrating an on-line procedure of the wireless network establishment method of the present invention performed in the embodiment;
fig. 4 is a flowchart illustrating steps 301 to 307 of a repair procedure of the wireless network establishment method according to the present invention;
fig. 5 is a flowchart illustrating steps 308-315 of a repair procedure of the wireless network establishment method of the present invention performed in accordance with the illustrative embodiment;
fig. 6 is a flowchart illustrating a search procedure of the wireless network configuration method of the present invention performed in accordance with the described embodiment;
fig. 7 is a flowchart illustrating a determination procedure of the wireless network configuration method according to the present invention performed in the embodiment.
Detailed Description
Before the present invention is described in detail, it should be noted that in the following description, like elements are represented by like reference numerals.
Referring to fig. 1, a first embodiment of the wireless network construction method according to the present invention is implemented by a wireless network construction algorithm system, which includes a plurality of wireless devices, a server 1, and a management end 14 connected to the server 1 through a communication network 100, wherein at least one of the wireless devices includes a master wireless device 11 configured to have a link relationship with the server 1 and other slave wireless devices 13 configured not to have a link relationship with the server 1.
In this embodiment, the implementation of the server 1 may be a personal computer, a cloud host, or a server, but not limited thereto.
In this embodiment, the implementation of the management terminal 14 can be a personal computer, a notebook computer or a smart phone, but not limited thereto.
In this embodiment, the implementation aspect of the wireless device may be an intelligent street lamp, an intelligent vending machine, or an intelligent door lock, but not limited thereto.
The first embodiment of the wireless network constructing method implemented by the wireless network constructing and calculating system will be described below with reference to the attached drawings, and the embodiment includes an establishing procedure, an on-line procedure, a repairing procedure, a searching procedure, and a determining procedure in sequence.
Referring to fig. 2, the establishment procedure illustrates how the server 1 establishes the connection structure between the wireless devices and the routing table corresponding to the connection structure, and includes a step 201, a step 202, a step 203, a step 204, a step 205, a step 206, a step 207, a step 208, a step 209, a step 210, and a step 211.
In step 201, for each host wireless device 11, the host wireless device 11 transmits a connection message including its own device identifier, connection address, and location information to the server 1.
In step 202, for each host wireless device 11, the server 1 establishes a connection with the host wireless device 11 according to a new addition request from the management node 14 and the connection message from the host wireless device 11.
In step 203, for each sub-wireless device 13, the management terminal 14 selects a target main wireless device 11 from at least one main wireless device 11 to have a link relationship with the sub-wireless device 13.
In step 204, for each sub-wireless device 13, when the target master wireless device 11 corresponding to the sub-wireless device 13 receives a connection setting from the sub-wireless device 13, the target master wireless device 11 establishes a connection with the sub-wireless device 13 according to the connection setting, wherein the connection setting includes a device identifier corresponding to the sub-wireless device 13, a connection address, a transmission count indicating a number of times corresponding to each packet previously transmitted, and positioning information.
In step 205, the server 1 selects at least one of the at least one sub-wireless device 13 as at least one sub-wireless device 12 according to a sub-configuration request from the management end 14.
In step 206, the server 1 establishes a connection configuration among the at least one master wireless device 11, the at least one slave wireless device 12, and the at least one slave wireless device 13 according to a connection response message transmitted by each master wireless device, wherein the connection response message includes device identifiers and location information of the at least one slave wireless device 12 and the at least one slave wireless device 13 directly or indirectly connected to the master wireless device 11, and connection information between each wireless device and other wireless devices directly connected to the master wireless device 11, and the connection information includes connection times and wireless communication quality between two connected wireless devices. For example, the distance between a first sub-wireless device 13 and a first sub-wireless device 12 is smaller than the distance between the first sub-wireless device 13 and a second main wireless device 11, but the first sub-wireless device 13 and the first sub-wireless device 12 are located on different sides of a street corner, respectively, which causes the wireless communication between the first sub-wireless device 13 and the first sub-wireless device 12 to be shielded by a building located at the corner, and causes the quality of the wireless communication between the first sub-wireless device 13 and the first sub-wireless device 12 to be smaller than the quality of the wireless communication between the first sub-wireless device 13 and the second main wireless device 11, so the server 1 designates the first sub-wireless device 13 to be connected to the second main wireless device 11.
In step 207, the server 1 generates a routing table corresponding to the connection structure according to the connection structure and the wireless device information established in step 206, wherein the routing table includes the connection structure, the device identifier and the location information of the wireless device.
In step 208, the server 1 receives a plurality of routing tables from the management node 14 corresponding to different connection configurations among the at least one primary wireless device 11, the at least one secondary wireless device 12, and the at least one secondary wireless device 13, and a plurality of routing table numbers corresponding to each routing table, respectively, through the communication network 100.
In the step 209, the server 1 determines whether a request for replacing the routing table including a target routing table number is received from the management node 14 via the communication network 100, if the server 1 determines that the request for replacing the routing table including the target routing table number is not received from the management node 14, the step 210 is performed, and if the server 1 determines that the request for replacing the routing table including the target routing table number is received from the management node 14, the step 211 is performed.
In step 210, the server 1 selects the routing table generated in step 207, and connects with the at least one master wireless device 11, the at least one slave wireless device 12, and the at least one slave wireless device 13 according to the routing table.
In step 211, the server 1 selects a target routing table corresponding to the target routing table number in the request for replacing the routing table according to the routing table received in step 208, and connects with the at least one primary wireless device 11, the at least one secondary wireless device 12, and the at least one secondary wireless device 13 according to the target routing table.
Referring to fig. 3, the connection procedure illustrates how the server 1 connects with the at least one master wireless device 11, the at least one slave wireless device 12, and the at least one slave wireless device 13 according to the routing table in the step 210, and includes a step 220, a step 221, and a step 222.
In step 220, for each master wireless device 11, the server 1 transmits the routing table to the master wireless device 11.
In step 221, for each master wireless device 11, the master wireless device 11 transmits the routing table to the at least one slave wireless device 12 or the at least one slave wireless device 13 connected thereto, and establishes a connection with the at least one slave wireless device 12 or the at least one slave wireless device 13 having a connection relationship with itself according to the routing table.
In step 222, for each slave wireless device 12, the slave wireless device 12 transmits the routing table to the at least one slave wireless device 13 connected thereto, and establishes a connection with the at least one slave wireless device 13 having a connection relationship with itself according to the routing table.
It should be noted that, in the step 211, the procedure of the servo terminal 1 performing connection with the at least one master wireless device 11, the at least one slave wireless device 12, and the at least one slave wireless device 13 is similar to the connection procedure, and the difference lies in the routing table according to which the servo terminal 1 is based, and is the target routing table corresponding to the target routing table number of the request for replacing the routing table from the management terminal 14 in the routing table received in the step 208, and the rest of the same is not repeated herein.
Referring to fig. 4 and 5, the repair procedure illustrates how the server 1 reestablishes another connection structure and the routing table corresponding to the another connection structure when it finds that a host wireless device 11 is disconnected, and includes a step 301, a step 302, a step 303, a step 304, a step 305, a step 306, a step 307, a step 308, a step 309, a step 310, a step 311, a step 312, a step 313, a step 314, and a step 315.
In step 301, for each master wireless device 11, the server 1 determines whether an online response message of the master wireless device 11 is received within a predetermined time, where the online response message includes the online status of the at least one slave wireless device 12 and the at least one slave wireless device 13 that are online with the master wireless device 11, and performs step 302 when the server 1 determines that the online response message of the master wireless device 11 is received within the predetermined time, and performs step 304 when the server 1 determines that the online response message of the master wireless device 11 is not received within the predetermined time.
In step 302, for each connection response message, the server 1 determines whether there is an offline secondary wireless apparatus 12 that is not connected to the at least one primary wireless apparatus 11 according to the connection response message, performs the determining procedure when the server 1 determines that there is the offline secondary wireless apparatus 12, and performs step 303 when the server 1 determines that there is no offline secondary wireless apparatus 12.
In step 303, for each connection response message, the server 1 determines whether there is an offline sub-wireless apparatus 13 that is not connected to the at least one secondary wireless apparatus 12 and the at least one primary wireless apparatus 11 according to the connection response message, performs the search procedure when the server 1 determines that there is the offline sub-wireless apparatus 13, and ends the repair procedure when the server 1 determines that there is no offline sub-wireless apparatus 13.
In step 304, for each master wireless device 11, when the server 1 determines that the response message of the master wireless device 11 is not received within the preset time, the server 1 regards the master wireless device 11 as a disconnected master wireless device 11, and selects a bridging wireless device corresponding to the disconnected master wireless device 11 according to the at least one master wireless device 11, the at least one slave wireless device 12, and the at least one slave wireless device 13 that are not directly or indirectly connected to the disconnected master wireless device 11 in the routing table.
In the step 305, for each disconnected master wireless device 11, the server 1 selects a proxy wireless device corresponding to the disconnected master wireless device 11 according to the at least one slave wireless device 12 and the at least one slave wireless device 13 in the routing table, which are directly or indirectly connected to the disconnected master wireless device 11, and uses other slave wireless devices 12 and slave wireless devices 13 which are not proxy wireless devices as at least one lost connection wireless device. For example, a second sub-wireless device 13 and a second sub-wireless device 12 are connected to the disconnected master wireless device, wherein a third sub-wireless device 13, a fourth sub-wireless device 13, and a fifth sub-wireless device 13 are connected to the second sub-wireless device 12, and the server 1 selects the second sub-wireless device as the proxy wireless device corresponding to the disconnected master wireless device 11 according to the routing table, wherein the server 1 selects the proxy wireless device according to the positioning information of the wireless devices and the wireless communication quality among the wireless devices, and on the other hand, the server 1 selects the second sub-wireless device 12, the third sub-wireless device 13, the fourth sub-wireless device 13, and the fifth sub-wireless device 13 as the lost connection wireless device.
In the step 306, the server 1 re-establishes another routing table according to the routing table generated in the step 207 or the step 211, in which for each disconnected master wireless device 11, the proxy wireless device corresponding to the disconnected master wireless device 11 is assigned to have a link relationship with the bridge wireless device corresponding to the disconnected master wireless device 11, and the at least one disconnected wireless device corresponding to the disconnected master wireless device 11 and not belonging to the proxy wireless device is assigned to have a link relationship with the proxy wireless device corresponding to the disconnected master wireless device 11.
In step 307, the server 1 transmits the other routing table to the at least one master wireless device 11 not belonging to the disconnected master wireless device 11, and the at least one slave wireless device 12, the at least one slave wireless device 13, and the bridging wireless device corresponding to the disconnected master wireless device 11, which are not directly or indirectly connected to any disconnected master wireless device 11.
In step 308, for each disconnected master wireless device 11, when the bridging wireless device corresponding to the disconnected master wireless device 11 receives the other routing table, the bridging wireless device transmits a proxy connection message including a device identifier corresponding to the proxy wireless device associated with the disconnected master wireless device 11 to the proxy wireless device corresponding to the disconnected master wireless device 11.
In step 309, for each proxy wireless device, when the proxy wireless device receives the proxy connection message containing the device identifier corresponding to the proxy wireless device, the proxy wireless device sends a proxy response message containing the proxy wireless device network protocol address to the bridging wireless device.
In step 310, for each bridging wireless device, when the bridging wireless device receives the proxy response message, the bridging wireless device establishes a connection with the proxy wireless device according to the proxy wireless device network protocol address.
In step 311, for each bridging wireless device, the bridging wireless device transmits the other routing table to the proxy wireless device connected to itself.
In step 312, for each proxy wireless device, when the proxy wireless device receives the other routing table, for each offline wireless device corresponding to the proxy wireless device, the proxy wireless device transmits a reconnect message including a device identifier of the offline wireless device corresponding to the proxy wireless device to the offline wireless device corresponding to the proxy wireless device according to the other routing table.
In step 313, for each offline wireless device that is directly or indirectly connected to the disconnected master wireless device 11, when the offline wireless device receives the reconnect message including the device identifier corresponding to the offline master wireless device, the offline wireless device transmits an offline response message including the network protocol address of the offline master wireless device corresponding to the offline master wireless device to the proxy wireless device.
In step 314, for each proxy wireless device, when the proxy wireless device receives at least one of the offline response messages, the proxy wireless device establishes a connection with the at least one offline wireless device according to the at least one offline wireless device network protocol address.
In step 315, for each proxy wireless device, the proxy wireless device transmits the other routing table to the at least one dropped wireless device connected to the proxy wireless device.
Referring to fig. 6, the search procedure illustrates how the server 1 establishes a connection with the disconnected child wireless device 13, and includes a step 401, a step 402, a step 403, a step 404, a step 405, a step 406, a step 407, and a step 408.
In step 401, when the server 1 determines that the unlinked sub-wireless device 13 exists, the server 1 marks that the unlinked sub-wireless device 13 is in a disconnected state, and transmits a maintenance message corresponding to the device identifier and the positioning information of the unlinked sub-wireless device 13 to the management end 14.
In step 402, the management end 14 transmits a configuration message related to an alternative sub-wireless device 13 corresponding to the lost sub-wireless device 13 to the server end 1, wherein the configuration message includes the device identifier of the lost sub-wireless device 13, the device identifier of the alternative sub-wireless device 13, the connection address, and the positioning information.
In step 403, when the server 1 receives the setting message from the management node 14, the server 1 establishes another routing table according to the setting message, the another routing table is similar to the routing table established in step 207, and the difference is that in the another routing table, the device identifier, the connection address, and the location information associated with the disconnected sub-wireless device 13 are replaced with the device identifier, the connection address, and the location information of the replaced sub-wireless device 13.
In step 404, the server 1 transmits the other routing table to the at least one master wireless device 11, the at least one slave wireless device 12 and other slave wireless devices 13 not belonging to the alternative slave wireless device 13.
In step 405, for a superior wireless device having a link relationship with the substitute sub-wireless device 13, the superior wireless device transmits a substitute connection message including the device identifier of the substitute sub-wireless device 13 to the substitute sub-wireless device 13 according to the other routing table.
In step 406, when the substitute connection message is received by the substitute sub-wireless device 13, the substitute sub-wireless device 13 transmits a response message including the substitute sub-wireless device connection address to the superior wireless device.
In step 407, when the superior wireless device receives the response message, the superior wireless device establishes a connection with the substitute sub-wireless device 13 according to the substitute sub-wireless device connection address.
In step 408, the superior wireless device transmits the another routing table to the alternate child wireless device 13.
It should be noted that, in the present embodiment, the lost sub-wireless device 13 and the alternative sub-wireless device 13 are different wireless devices, but in other embodiments, the lost sub-wireless device 13 and the alternative sub-wireless device 13 may be the same wireless device.
Referring to fig. 7, the determination procedure illustrates how the server 1 determines to establish a connection with the disconnected secondary wireless device, and includes a step 501, a step 502, a step 503, a step 504, a step 505, a step 506, and a step 507.
In step 501, for each subordinate wireless device 13 of the at least one subordinate wireless device 13 linked to the unlink subordinate wireless device 12, the server transmits an acknowledgment connection message including a device identifier corresponding to the subordinate wireless device 13.
In step 502, for each subordinate sub-wireless device 13, when the subordinate sub-wireless device 13 receives the connection confirmation message, the subordinate sub-wireless device 13 transmits a response confirmation message including a device identifier and a connection address of the subordinate sub-wireless device 13 to the server 1.
In the step 503, the server 1 determines whether a number of response confirmation messages corresponding to all the response confirmation messages is greater than a default threshold according to all the received response confirmation messages, performs the step 504 when the server 1 determines that the number of response confirmation messages is greater than the default threshold, and performs the step 505 when the server 1 determines that the number of response confirmation messages is not greater than the default threshold.
In step 504, the server 1 sets the loss secondary wireless apparatus 12 as the loss primary wireless apparatus 11, and performs the operations of steps 304 to 315.
In step 505, the server 1 uses the unlink secondary wireless apparatus 12 as the unlink secondary wireless apparatus 13 according to all the received response confirmation messages, and proceeds to steps 401 to 408.
In the step 506, the server 1 determines whether there is at least one subordinate wireless device 13 that has not transmitted the response confirmation message according to all the received response confirmation messages, when the server 1 determines that there is at least one subordinate wireless device 13 that has not transmitted the response confirmation message, the step 507 is performed, and when the server 1 determines that there is no at least one subordinate wireless device 13 that has not transmitted the response confirmation message, the determining procedure is ended.
In step 507, for each subordinate wireless device 13 that does not transmit the response confirmation message, the server 1 regards the subordinate wireless device 13 as the dropped subordinate wireless device 13, and performs steps 401 to 408.
In summary, in the method for constructing a wireless network according to the present invention, the server 1 sets the wireless devices as the at least one primary wireless device 11, the at least one secondary wireless device 12, and the at least one secondary wireless device 13 according to the new-adding request and the secondary-setting request from the management end 14, and automatically establishes the connection architecture and the routing table among the at least one primary wireless device 11, the at least one secondary wireless device 12, and the at least one secondary wireless device 13, so that the server 1 can automatically establish a master-slave connection architecture meeting the design of the administrator to reduce the workload of the administrator, thereby avoiding the risk of the administrator caused by the inability to understand the connection architecture of the wireless devices, such as unstable device operation, device damage, and the like, and on the other hand, when the server 1 determines that the main wireless device 11 is disconnected, can re-establish another routing table to avoid losing the connection with the wireless device connected to the disconnected main wireless device 11, thereby achieving the object of the present invention.
However, the above description is only an example of the present invention, and the scope of the present invention should not be limited thereby, and all simple equivalent changes and modifications made according to the claims and the contents of the specification of the present invention are included in the scope of the present invention.

Claims (11)

1. A wireless network construction method implemented by a wireless network construction algorithm system, the wireless network construction algorithm system comprising a plurality of wireless devices, a server and a management end connected to the server through a communication network, wherein at least one main wireless device configured to have a link relationship with the server exists in the wireless devices, and other sub wireless devices configured not to have a link relationship with the server exist in the wireless devices, the wireless network construction method comprising the steps of:
(A) For each master wireless device, the server establishes connection with the master wireless device according to the new adding request from the management terminal and the connection message which is from the master wireless device and comprises the device identifier, the connection address and the positioning information of the master wireless device;
(B) For each sub wireless device, the management terminal selects a target main wireless device from the at least one main wireless device to have a link relation with the sub wireless device;
(C) For each child wireless device, the target master wireless device establishing a connection with the child wireless device according to connection settings from the child wireless device including a device identifier of the child wireless device, a connection address, a connection number indicating the number of transmissions corresponding to each packet previously transmitted, and positioning information;
(D) The servo terminal selects at least one of the sub wireless devices as at least one sub wireless device according to the sub setting request from the management terminal;
(E) The server establishes an online framework among the at least one master wireless device, the at least one slave wireless device and the slave wireless devices according to an online response message transmitted by each master wireless device, wherein the online response message comprises device identifiers and positioning information of the at least one slave wireless device and the slave wireless devices which are directly or indirectly connected with the master wireless device, and online information between each wireless device and other wireless devices which are directly connected with the master wireless device under the master wireless device, and the online information comprises the connection times and the wireless communication quality between the two connected wireless devices; and
(F) And (E) the server end generates a routing table corresponding to the online framework according to the online framework and the wireless device information established in the step (E) and transmits the routing table to each wireless device.
2. The method of claim 1, further comprising the following steps after the step (F):
(G) The servo end receives a plurality of routing tables respectively corresponding to different online architectures among the at least one main wireless device, the at least one auxiliary wireless device and the sub wireless devices and a plurality of routing table numbers respectively corresponding to each routing table from the management end;
(H) The servo end judges whether a request for replacing the routing table, which is from the management end and contains the number of the target routing table, is received;
(I) When the servo terminal judges that the routing table replacing request which is from the management terminal and contains the target routing table number is not received, the servo terminal selects the routing table generated in the step (F) and is connected with the at least one main wireless device, the at least one auxiliary wireless device and the sub wireless devices according to the routing table; and
(J) When the server judges that the routing table replacing request which is from the management end and contains the target routing table number is received, the server selects the target routing table corresponding to the target routing table number according to the routing table received in the step (F), and the server is connected with the at least one main wireless device, the at least one auxiliary wireless device and the sub wireless devices according to the target routing table.
3. The method of claim 1, further comprising the following steps after the step (F):
(K) For each main wireless device, the server judges whether an online response message of the main wireless device is received within a preset time, wherein the online response message comprises the online condition of the at least one secondary wireless device which is online with the corresponding main wireless device and the online condition of the secondary wireless device;
(L) for each master wireless device, when the server determines that the connection response message of the master wireless device is not received within the preset time, the server takes the master wireless device as a disconnected master wireless device, and selects a bridging wireless device corresponding to the disconnected master wireless device according to the at least one master wireless device, the at least one slave wireless device, and the slave wireless device that are not directly or indirectly connected to the disconnected master wireless device in the routing table;
(M) for each disconnected master wireless device, the server side selects a proxy wireless device corresponding to the disconnected master wireless device according to the at least one slave wireless device and the slave wireless device in the routing table directly or indirectly connected to the disconnected master wireless device, and takes other slave wireless devices and slave wireless devices that are not the proxy wireless device as at least one lost connection wireless device; and
(N) the server re-establishing another routing table in which, for each disconnected master wireless device, the proxy wireless device corresponding to the disconnected master wireless device is assigned a link relationship with the bridging wireless device corresponding to the disconnected master wireless device, and the at least one unlink wireless device corresponding to the disconnected master wireless device and not belonging to the proxy wireless device is assigned a link relationship with the proxy wireless device corresponding to the disconnected master wireless device, according to the routing table established from the step (F).
4. The method of claim 3, further comprising the following steps after the step (N):
(O) said server transmitting said another routing table to said at least one primary wireless device not belonging to said disconnected primary wireless device, and said at least one secondary wireless device, said secondary wireless device not directly or indirectly connected to any disconnected primary wireless device, and said bridging wireless device corresponding to said disconnected primary wireless device;
(P) for each disconnected master wireless device, when the bridging wireless device corresponding to the disconnected master wireless device receives the other routing table, the bridging wireless device transmitting a proxy connection message including a device identifier corresponding to the proxy wireless device associated with the disconnected master wireless device to the proxy wireless device corresponding to the disconnected master wireless device;
(Q) for each proxy wireless device, when the proxy wireless device receives a proxy connection message including the device identifier corresponding to itself, the proxy wireless device transmitting a proxy response message including a proxy wireless device network protocol address to the bridging wireless device;
(R) for each bridging wireless device, when the bridging wireless device receives the proxy response message, the bridging wireless device establishing a connection with the proxy wireless device according to the proxy wireless device network protocol address and transmitting the other routing table to the proxy wireless device;
(S) for each proxy wireless device, when the proxy wireless device receives the another routing table, for each delinquent wireless device corresponding to the proxy wireless device, the proxy wireless device transmitting a relinquishing message including a device identifier of the delinquent wireless device corresponding to the proxy wireless device to the delinquent wireless device corresponding to the proxy wireless device according to the another routing table;
(T) for each lost wireless device that is directly or indirectly connected to the disconnected master wireless device, when the lost wireless device receives a reconnect message including a device identifier corresponding to the lost wireless device, the lost wireless device transmitting a lost response message including a network protocol address corresponding to the lost wireless device to the proxy wireless device; and
(U) for each proxy wireless device, when the proxy wireless device receives at least one of the delinquent response messages, the proxy wireless device establishes a connection with the at least one delinquent wireless device according to at least one of the delinquent wireless device network protocol addresses and transmits the another routing table to the at least one delinquent wireless device.
5. The method of claim 3, further comprising the following steps after the step (K):
(i) The server judges whether a disconnected sub wireless device which is not connected to the at least one sub wireless device or the at least one main wireless device exists in the sub wireless devices according to the online response message;
(ii) When the servo end judges that the lost connection sub wireless device exists, the servo end marks that the lost connection sub wireless device is in a disconnection state, and transmits a device identifier and a maintenance message of positioning information corresponding to the lost connection sub wireless device to the management end;
(iii) The management end transmits a setting message related to an alternative sub-wireless device corresponding to the lost sub-wireless device to the servo end, wherein the setting message comprises a device identifier of the lost sub-wireless device, a device identifier of the alternative sub-wireless device, a connection address and positioning information; and
(iv) The server side generates another routing table according to the routing table and the setting message established in the step (F), wherein the device identifier, the connection address and the positioning information related to the lost sub-wireless device are replaced by the device identifier, the connection address and the positioning information of the replacement sub-wireless device in the another routing table.
6. The method according to claim 5, further comprising the following steps after the step (iv):
(v) The servo end transmits the other routing table to the at least one main wireless device, the at least one auxiliary wireless device and other sub wireless devices which do not belong to the substitute sub wireless device;
(vi) For a superior wireless device having a link relationship with the alternative child wireless device among the at least one master wireless device and the at least one slave wireless device, when the superior wireless device receives the another routing table, the superior wireless device transmits an alternative connection message including a device identifier of the alternative child wireless device to the alternative child wireless device according to the another routing table;
(vii) When the substitute sub-wireless device receives the substitute connection message, the substitute sub-wireless device transmitting a response message including the substitute sub-wireless device connection address to the superior wireless device; and
(viii) When the superior wireless device receives the response message, the superior wireless device establishes connection with the substitute sub-wireless device according to the substitute sub-wireless device connection address, and transmits the other routing table to the substitute sub-wireless device.
7. The method of claim 3, further comprising the following steps after the step (K):
(ix) The server side judges whether an offline secondary wireless device which is not connected to the at least one main wireless device exists in the at least one secondary wireless device or not according to the online response message;
(x) When the servo terminal judges that the lost connection secondary wireless device exists, the servo terminal transmits an acknowledgement connection message containing a device identifier corresponding to the subordinate sub wireless device to each subordinate sub wireless device in the sub wireless devices which has a link relation with the lost connection secondary wireless device;
(xi) For each subordinate child wireless device, when the subordinate child wireless device receives the acknowledge connection message, the subordinate child wireless device transmits a response acknowledge message including a device identifier and a connection address of the subordinate child wireless device to the server;
(xii) The server judges whether the number of the response confirmation messages corresponding to all the response confirmation messages is larger than a default threshold value or not according to all the received response confirmation messages;
(xiii) When the servo end judges that the number of the response confirmation messages is larger than the default threshold value, the servo end takes the loss-of-connection auxiliary wireless device as the disconnection main wireless device, and selects a bridging wireless device corresponding to the disconnection main wireless device according to the at least one main wireless device, the at least one auxiliary wireless device and the sub wireless devices which are not directly or indirectly connected to the disconnection main wireless device in the routing table;
(xiv) For each broken-line main wireless device, the servo terminal selects a proxy wireless device corresponding to the broken-line main wireless device according to the sub wireless devices connected to the broken-line main wireless device in the routing table, and takes other sub wireless devices which are not taken as proxy wireless devices as at least one lost connection wireless device; and
(xv) The server re-establishes another routing table according to the routing table established in the step (F), in which, for each disconnected master wireless device, the proxy wireless device corresponding to the disconnected master wireless device is assigned to have a link relationship with the bridging wireless device corresponding to the disconnected master wireless device, and the at least one unlink wireless device corresponding to the disconnected master wireless device and not belonging to the proxy wireless device is assigned to have a link relationship with the proxy wireless device corresponding to the disconnected master wireless device.
8. The method according to claim 7, further comprising the following steps after the step (xv):
(xvi) The servo end transmits the other routing table to the at least one primary wireless device which is not the disconnected primary wireless device, the at least one secondary wireless device which is not directly or indirectly connected to any disconnected primary wireless device, the sub wireless device and the bridging wireless device corresponding to the disconnected primary wireless device;
(xvii) For each disconnected master wireless device, when the bridging wireless device corresponding to the disconnected master wireless device receives the other routing table, the bridging wireless device transmits a proxy connection message including a device identifier of the proxy wireless device corresponding to the disconnected master wireless device to the proxy wireless device corresponding to the disconnected master wireless device;
(xviii) For each proxy wireless device, when the proxy wireless device receives a proxy connection message including the device identifier corresponding to itself, the proxy wireless device transmits a proxy response message including the proxy wireless device network protocol address to the bridging wireless device;
(xix) For each bridging wireless device, when the bridging wireless device receives the proxy response message, the bridging wireless device establishes a connection with the proxy wireless device according to the proxy wireless device network protocol address and transmits the other routing table to the proxy wireless device;
(xx) For each proxy wireless device, when the proxy wireless device receives the other routing table, for each delinquent wireless device corresponding to the proxy wireless device, the proxy wireless device transmitting a relinquishing message including a device identifier of the delinquent wireless device corresponding to the proxy wireless device to the delinquent wireless device according to the other routing table;
(xxi) For each lost connection wireless device connected to the disconnected master wireless device, when the lost connection wireless device receives a reconnection message containing a device identifier corresponding to the lost connection wireless device, the lost connection wireless device transmits a lost connection response message containing a network protocol address corresponding to the lost connection wireless device to the proxy wireless device; and
(xxii) For each proxy wireless device, when the proxy wireless device receives at least one of the offline response messages, the proxy wireless device establishes a connection with at least one of the offline wireless devices according to at least one of the offline wireless device network protocol addresses, and transmits the other routing table to the at least one of the offline wireless devices.
9. The method of claim 7, further comprising the following steps after the step (xii):
(xxiii) When the servo terminal judges that the number of the response confirmation messages is not larger than the default threshold value, the servo terminal takes the lost connection sub wireless device as a lost connection sub wireless device;
(xxiv) The servo end marks that the lost connection sub wireless device is in a disconnection state, and transmits a device identifier and maintenance information of positioning information corresponding to the lost connection sub wireless device to the management end;
(xxv) The management end transmits a setting message related to an alternative sub-wireless device corresponding to the lost sub-wireless device to the servo end, wherein the setting message comprises a device identifier of the lost sub-wireless device, a device identifier of the alternative sub-wireless device, a connection address and positioning information; and
(xxvi) The server generates another routing table in which the device identifier, the connection address, and the location information associated with the lost sub-wireless device are replaced with the device identifier, the connection address, and the location information of the replacement sub-wireless device, based on the routing table and the setting message established in the step (F).
10. A method for constructing a wireless network according to claim 9, further comprising the step of, after said step (xxvi):
(xxvii) The servo end transmits the other routing table to the at least one master wireless device, the at least one slave wireless device and other slave wireless devices which do not belong to the substitute slave wireless device;
(xxviii) For a superior wireless device having a link relationship with the alternative child wireless device among the at least one master wireless device and the at least one slave wireless device, when the superior wireless device receives the another routing table, the superior wireless device transmits an alternative connection message including a device identifier of the alternative child wireless device to the alternative child wireless device according to the another routing table;
(xxix) When the substitute sub-wireless device receives the substitute connection message, the substitute sub-wireless device transmitting a response message including the substitute sub-wireless device connection address to the superior wireless device; and
(xxx) When the superior wireless device receives the response message, the superior wireless device establishes connection with the substitute sub wireless device according to the substitute sub wireless device connection address, and transmits the other routing table to the substitute sub wireless device.
11. The method according to any one of claims 7 to 10, wherein the server determines whether there is at least one subordinate wireless device that has not transmitted the response confirmation message according to all the received response confirmation messages, and when the server determines that there is at least one subordinate wireless device that has not transmitted the response confirmation message, the server regards each subordinate wireless device that has not transmitted the response confirmation message as a dropped child wireless device, and performs the following steps:
(xxxi) The servo end marks that the lost connection sub wireless device is in a disconnection state, and transmits a device identifier and maintenance information of positioning information corresponding to the lost connection sub wireless device to the management end;
(xxxii) The management end transmits a setting message related to an alternative sub-wireless device corresponding to the lost sub-wireless device to the servo end, wherein the setting message comprises a device identifier of the lost sub-wireless device, a device identifier of the alternative sub-wireless device, a connection address and positioning information;
(xxxiii) The server side generating another routing table in which the device identifier, the connection address, and the location information associated with the lost sub-wireless device are replaced with the device identifier, the connection address, and the location information of the replacement sub-wireless device, based on the routing table and the setting message established in the step (F);
(xxxiv) The servo end transmits the other routing table to the at least one master wireless device, the at least one slave wireless device and other slave wireless devices which do not belong to the substitute slave wireless device;
(xxxv) For a superior wireless device having a link relationship with the alternative child wireless device among the at least one master wireless device and the at least one slave wireless device, when the superior wireless device receives the another routing table, the superior wireless device transmits an alternative connection message including a device identifier of the alternative child wireless device to the alternative child wireless device according to the another routing table;
(xxxvi) When the substitute sub-wireless device receives the substitute connection message, the substitute sub-wireless device transmitting a response message including the substitute sub-wireless device connection address to the superior wireless device; and
(xxxvii) When the superior wireless device receives the response message, the superior wireless device establishes connection with the substitute sub wireless device according to the substitute sub wireless device connection address, and transmits the other routing table to the substitute sub wireless device.
CN202010170510.9A 2020-03-12 2020-03-12 Wireless network construction method Active CN113395740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010170510.9A CN113395740B (en) 2020-03-12 2020-03-12 Wireless network construction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010170510.9A CN113395740B (en) 2020-03-12 2020-03-12 Wireless network construction method

Publications (2)

Publication Number Publication Date
CN113395740A CN113395740A (en) 2021-09-14
CN113395740B true CN113395740B (en) 2023-03-24

Family

ID=77615567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010170510.9A Active CN113395740B (en) 2020-03-12 2020-03-12 Wireless network construction method

Country Status (1)

Country Link
CN (1) CN113395740B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101312416A (en) * 2007-05-22 2008-11-26 晶睿通讯股份有限公司 Method and system for wireless network apparatus connection
CN102769928A (en) * 2011-05-05 2012-11-07 四零四科技股份有限公司 Wireless device, system and method for selecting online target according to signal quality
JPWO2013136527A1 (en) * 2012-03-16 2015-08-03 富士通株式会社 Route selection method and wireless device
CN107787022A (en) * 2016-08-26 2018-03-09 马维尔国际贸易有限公司 The Remote configuration of radio node and the method and apparatus of management

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10091658B2 (en) * 2015-10-19 2018-10-02 Time Warner Cable Enterprises Llc Wireless network management and online signup of services
US10798053B2 (en) * 2017-12-30 2020-10-06 Intel Corporation Alias-based time-limited lease addressing for internet of things devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101312416A (en) * 2007-05-22 2008-11-26 晶睿通讯股份有限公司 Method and system for wireless network apparatus connection
CN102769928A (en) * 2011-05-05 2012-11-07 四零四科技股份有限公司 Wireless device, system and method for selecting online target according to signal quality
JPWO2013136527A1 (en) * 2012-03-16 2015-08-03 富士通株式会社 Route selection method and wireless device
CN107787022A (en) * 2016-08-26 2018-03-09 马维尔国际贸易有限公司 The Remote configuration of radio node and the method and apparatus of management

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
An Efficient Resource Monitoring Service for Fog Computing Environments;BATTULA等;《IEEE TRANSACTIONS ON SERVICES COMPUTING》;20150831;第14卷(第8期);第1-14页 *
无线网络二层交换路由协议研究与实现;刘磊等;《通信技术》;20180310;第107-110页 *
无线网络的构建和安全策略研究;许高建;《计算机技术与发展》;20070710;第17卷(第7期);第162-165页 *

Also Published As

Publication number Publication date
CN113395740A (en) 2021-09-14

Similar Documents

Publication Publication Date Title
CN101547463B (en) Access point device for wireless LAN and method of securing communication path
WO2006121282A1 (en) Optimal path routing method in wireless network
CN101316236A (en) VRRP backup group load sharing method and router
US6654350B1 (en) Method and apparatus for tracking a transaction across a multi-hop network
WO2012000271A1 (en) Method for terminal access and wireless communication network
JP7479427B2 (en) Point-to-point database synchronization over transport protocols
CN116016164A (en) Virtual service network construction method based on software defined network
CN103428269B (en) A kind of resource rapid deployment method under distributed environment
JP2002064562A (en) Method for establishing communication connection
CN113395740B (en) Wireless network construction method
CN113286347A (en) Wireless network construction method
JP3785101B2 (en) Communication connection establishment method, communication control device, recording medium, and control program
TWI710274B (en) Wireless network construction method
JP3672534B2 (en) Routing control method, routing control device, recording medium, and control program
TWI725853B (en) Wireless device construction method for monitored device
CN105376275A (en) Software-defined network (SDN)-based data management method and system
CN111328033B (en) Short message load transmission method and system
JP2007166532A (en) Communication system
KR101737697B1 (en) Method and apparatus for distributing controller load in software defined networking environment
CN115460291B (en) Inter-group scheduling method based on center configuration, center server and system
WO2024065424A1 (en) Link optimization method and system
CN101860487A (en) Forwarding method of IP fragment message of Internet protocol and interface board
JP3712983B2 (en) Multicast communication control method, communication control apparatus, recording medium, and control program
JP2000022757A (en) Connecting method between network systems
CN106789651B (en) Method and system for preventing cloud server network from generating broadcast storm

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 1, 2, Floor 5, No. 120, Qiaohe Road, Zhonghe District, Xinbei City, Taiwan, China, China

Patentee after: Motian Wulian Creative Technology Co.,Ltd.

Patentee after: Dewei photoelectric Co.,Ltd.

Address before: taoyuan city

Patentee before: Motian Wulian Creative Technology Co.,Ltd.

Patentee before: Dewei photoelectric Co.,Ltd.