TWI710274B - Wireless network construction method - Google Patents

Wireless network construction method Download PDF

Info

Publication number
TWI710274B
TWI710274B TW109105284A TW109105284A TWI710274B TW I710274 B TWI710274 B TW I710274B TW 109105284 A TW109105284 A TW 109105284A TW 109105284 A TW109105284 A TW 109105284A TW I710274 B TWI710274 B TW I710274B
Authority
TW
Taiwan
Prior art keywords
wireless device
disconnected
connection
sub
routing table
Prior art date
Application number
TW109105284A
Other languages
Chinese (zh)
Other versions
TW202133676A (en
Inventor
沈譽蒼
Original Assignee
摩點物聯創意科技股份有限公司
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 摩點物聯創意科技股份有限公司 filed Critical 摩點物聯創意科技股份有限公司
Priority to TW109105284A priority Critical patent/TWI710274B/en
Application granted granted Critical
Publication of TWI710274B publication Critical patent/TWI710274B/en
Priority to CN202011305606.8A priority patent/CN113286347A/en
Priority to CA3108087A priority patent/CA3108087C/en
Priority to SG10202101296YA priority patent/SG10202101296YA/en
Priority to ES21155995T priority patent/ES2961298T3/en
Priority to EP21155995.0A priority patent/EP3869739B1/en
Priority to JP2021019185A priority patent/JP7236750B2/en
Priority to PL21155995.0T priority patent/PL3869739T3/en
Priority to HRP20231334TT priority patent/HRP20231334T1/en
Priority to AU2021200805A priority patent/AU2021200805B2/en
Priority to HUE21155995A priority patent/HUE063397T2/en
Priority to RS20230984A priority patent/RS64737B1/en
Priority to US17/172,433 priority patent/US11632682B2/en
Priority to IL280897A priority patent/IL280897B2/en
Priority to KR1020210020838A priority patent/KR102539597B1/en
Priority to SA121420480A priority patent/SA121420480B1/en
Priority to RU2021104082A priority patent/RU2754344C1/en
Publication of TW202133676A publication Critical patent/TW202133676A/en
Priority to AU2022204679A priority patent/AU2022204679B2/en

Links

Images

Abstract

一種無線網路建構方法,藉由一無線網路建構演算系統來實施,該無線網路建構演算系統包含一伺服端、一透過一通訊網路連接至該伺服端的管理端,及多個無線裝置,該伺服端根據一來自該管理端的新增請求,分別新增多個包含對應該等無線裝置之裝置識別碼及定位資訊的無線裝置資訊,並根據來自該管理端的多個設定請求,分別將該等無線裝置設定為主無線裝置、副無線裝置,或子無線裝置之其中一者,且根據該等無線裝置資訊建立該等無線裝置間之連線架構,及產生一對應該連線架構的路由表以使該等無線裝置根據該路由表進行連線。A wireless network construction method is implemented by a wireless network construction calculation system. The wireless network construction calculation system includes a server, a management terminal connected to the server through a communication network, and a plurality of wireless devices, According to a new request from the management terminal, the server adds a plurality of wireless device information including device identification codes and positioning information corresponding to the wireless devices, and according to a plurality of configuration requests from the management terminal, the The other wireless devices are set to one of the main wireless device, the secondary wireless device, or the sub wireless device, and the connection structure between the wireless devices is established based on the wireless device information, and the route corresponding to the connection structure is generated Table so that the wireless devices connect according to the routing table.

Description

無線網路建構方法Wireless network construction method

本發明是有關於一種無線通訊網路,特別是指一種自動建立不同裝置間連線的方法。The present invention relates to a wireless communication network, in particular to a method for automatically establishing connections between different devices.

對物聯網技術而言,無線拓樸是一個重要的項目,其為利用無線通訊達成點對點之間的資料傳輸,其中,資料傳輸的路徑是依據一路由表建構而成,該路由表則是各無線裝置依照訊號強度自行建立而成。For the Internet of Things technology, wireless topology is an important project. It uses wireless communication to achieve point-to-point data transmission. The data transmission path is constructed based on a routing table. The wireless device builds itself according to the signal strength.

在實際應用中,大量的無線裝置分布在各處,若由該等無線裝置自行建立該路由表,則對於管理該等無線裝置的管理者而言,存在無法依照管理者要求建立路由表,導致管理者無法理解該等無線裝置連線架構,進而容易使該等無線裝置間產生無法預測的意外,變相增加維護成本與管理者的工作負荷。In practical applications, a large number of wireless devices are distributed everywhere. If the wireless devices establish the routing table by themselves, the administrator who manages the wireless devices cannot establish the routing table according to the requirements of the administrator. The administrator cannot understand the connection structure of the wireless devices, and it is easy to cause unpredictable accidents between the wireless devices, which increases the maintenance cost and the workload of the administrator in disguise.

因此,本發明的目的,即在提供一種依照管理者設計自動化建立路由表及封包傳輸路徑的建構方法。Therefore, the purpose of the present invention is to provide a method for automatically establishing a routing table and packet transmission path according to the design of the administrator.

於是,本發明無線網路建構方法,藉由一無線網路建構演算系統來實施,該無線網路建構演算系統包含一伺服端、一透過一通訊網路連接至該伺服端的管理端,及多個無線裝置,其中該等無線裝置中存在至少一被設定與該伺服端存在連結關係的主連線裝置,與其他被設定不與該伺服端存在連結關係的子無線裝置,本發明無線網路建構方法包含一步驟(A)、一步驟(B)、一步驟(C)、一步驟(D)、一步驟(E),及一步驟(F)。Therefore, the wireless network construction method of the present invention is implemented by a wireless network construction calculation system. The wireless network construction calculation system includes a server terminal, a management terminal connected to the server terminal through a communication network, and a plurality of Wireless devices, wherein at least one of the wireless devices has a primary connection device that is set to have a connection relationship with the server, and other sub-wireless devices that are set not to have a connection relationship with the server. The wireless network construction of the present invention The method includes one step (A), one step (B), one step (C), one step (D), one step (E), and one step (F).

在該步驟(A)中,對於每一主無線裝置,該伺服端根據一來自該管理端的新增請求與一來自該主無線裝置且包含該主無線裝置之裝置識別碼、連線位址,及定位資訊的連線訊息,建立與該主無線裝置的連線。In this step (A), for each master wireless device, the server terminal responds to a new request from the management terminal and a device identification code and connection address from the master wireless device that includes the master wireless device, And the connection information of the location information to establish a connection with the main wireless device.

在該步驟(B)中,對於每一子無線裝置,該管理端自該至少一主無線裝置中選擇一目標主無線裝置與該子無線裝置存在連結關係。In the step (B), for each child wireless device, the management end selects a target master wireless device from the at least one master wireless device to have a connection relationship with the child wireless device.

在該步驟(C)中,對於每一子無線裝置,該目標主無線裝置根據一來自子無線裝置且包含該子無線裝置之裝置識別碼、連線位址、一指示出對應先前傳送過的每一封包的傳送次數,及定位資訊的連線設定,建立與該子無線裝置的連線。In this step (C), for each child wireless device, the target master wireless device is based on a device identification code from the child wireless device and containing the child wireless device, connection address, and an indication corresponding to the previously transmitted The number of transmissions of each packet and the connection settings of the location information establish a connection with the sub-wireless device.

在該步驟(D)中,該伺服端根據一來自該管理端的副設定請求,選取該至少一子無線裝置中至少一者作為至少一副無線裝置。In the step (D), the server selects at least one of the at least one sub-wireless device as the at least one sub-wireless device according to a secondary setting request from the management terminal.

在該步驟(E)中,該伺服端根據每一主無線裝置所傳送之一連線回應訊息,建立該至少一主無線裝置、該至少一副無線裝置,及該至少一子無線裝置間之連線架構,其中該連線回應訊息包含該主無線裝置直接或間接連接之該至少一副無線裝置及該至少一子無線裝置之裝置識別碼、定位資訊,及該主無線裝置下每一無線裝置與直接連接的其他無線裝置間的一連線資訊,該連線資訊包含已連線的兩無線裝置間的連接次數及無線通訊品質。In the step (E), the server establishes a connection between the at least one primary wireless device, the at least one secondary wireless device, and the at least one secondary wireless device based on a connection response message sent by each primary wireless device The connection structure, wherein the connection response message includes the device identification code and positioning information of the at least one secondary wireless device and the at least one secondary wireless device directly or indirectly connected to the primary wireless device, and each wireless device under the primary wireless device A piece of connection information between the device and other directly connected wireless devices, the connection information including the number of connections between the two connected wireless devices and the wireless communication quality.

在該步驟(F)中,該伺服端根據自該步驟(E)所建立的連線架構及該等無線裝置資訊,產生一對應該連線架構的路由表並傳送至每一無線裝置。In the step (F), the server generates a routing table corresponding to the connection structure based on the connection structure established from the step (E) and the information of the wireless devices and sends it to each wireless device.

本發明的功效在於:該伺服端透過來自該管理端的該新增請求及該副設定請求,分別將該等無線裝置設定為該主無線裝置、該副無線裝置,或該子無線裝置之其中一者,並依照管理者設計自動化建立該等無線裝置間之連線架構與路由表。The effect of the present invention is that the server sets the wireless devices as the primary wireless device, the secondary wireless device, or one of the secondary wireless devices through the new request and the secondary configuration request from the management terminal. , And automatically establish the connection structure and routing table between the wireless devices according to the design of the administrator.

在本發明被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it should be noted that in the following description, similar elements are represented by the same numbers.

參閱圖1,本發明無線網路建構方法的一第一實施例,藉由一無線網路建構演算系統來實施,該無線網路建構演算系統包含多個無線裝置、一伺服端1,及一透過一通訊網路100連接至該伺服端1的管理端14,其中該等無線裝置中存在至少一被設定與該伺服端1存在連結關係的主連線裝置11,與其他被設定不與該伺服端1存在連結關係的子無線裝置13。Referring to FIG. 1, a first embodiment of the wireless network construction method of the present invention is implemented by a wireless network construction calculation system that includes multiple wireless devices, a server 1, and a wireless network construction calculation system. It is connected to the management terminal 14 of the server 1 through a communication network 100. Among the wireless devices, there is at least one master connection device 11 that is set to have a connection relationship with the server 1. Terminal 1 has a child wireless device 13 in a connection relationship.

在本實施例中,該伺服端1的實施態樣可為一個人電腦、一雲端主機,或一伺服器,但不以此為限。In this embodiment, the implementation of the server 1 can be a personal computer, a cloud host, or a server, but it is not limited to this.

在本實施例中,該管理端14的實施態樣可為一個人電腦、一筆記型電腦、或一智慧型手機,但不以此為限。In this embodiment, the implementation aspect of the management terminal 14 can be a personal computer, a notebook computer, or a smart phone, but is not limited to this.

在本實施例中,該等無線裝置的實施態樣可為智慧型路燈、智慧型販賣機,或智慧型門鎖,但不以此為限。In this embodiment, the implementation of the wireless devices can be smart street lights, smart vending machines, or smart door locks, but not limited to this.

以下將配合所附圖式來說明利用該無線網路建構演算系統所實施的本發明無線網路建構方法之該第一實施例,本實施例依序包含一建立程序、一連線程序、一修護程序、一搜尋程序,及一判斷程序。Hereinafter, the first embodiment of the wireless network construction method of the present invention implemented by the wireless network construction calculation system will be described in conjunction with the accompanying drawings. This embodiment sequentially includes a creation process, a connection process, and a Repair procedures, a search procedure, and a judgment procedure.

參閱圖2,該建立程序說明該伺服端1如何建立該等無線裝置間的連線架構,及對應該連線架構的路由表,並包含一步驟201、一步驟202、一步驟203、一步驟204、一步驟205、一步驟206、一步驟207、一步驟208、一步驟209、一步驟210,及一步驟211。Referring to Figure 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, and 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.

在該步驟201中,對於每一主無線裝置11,該主無線裝置11傳送一包含對應其自身之裝置識別碼、連線位址,及定位資訊的連線訊息至該伺服端1。In this step 201, for each master wireless device 11, the master wireless device 11 sends a connection message including its own device identification code, connection address, and positioning information to the server 1.

在該步驟202中,對於每一主無線裝置11,該伺服端1根據一來自該管理端14的新增請求與來自該主無線裝置11的該連線訊息,建立與該主無線裝置11的連線。In the step 202, for each master wireless device 11, the server 1 establishes a connection with the master wireless device 11 according to a new request from the management terminal 14 and the connection message from the master wireless device 11 Connect.

在該步驟203中,對於每一子無線裝置13,該管理端14自該至少一主無線裝置11中選擇一目標主無線裝置11與該子無線裝置13存在連結關係。In this step 203, for each sub-wireless device 13, the management terminal 14 selects a target main wireless device 11 from the at least one main wireless device 11 to have a connection relationship with the sub-wireless device 13.

在該步驟204中,對於每一子無線裝置13,當對應該子無線裝置13的該目標主無線裝置11接收到來自該子無線裝置13的連線設定時,該目標主無線裝置11根據該連線設定,建立與該子無線裝置13間的連線,其中該連線設定包含對應該子無線裝置13之裝置識別碼、連線位址、一指示出對應先前傳送過的每一封包的傳送次數,及定位資訊。In this step 204, for each slave wireless device 13, when the target master wireless device 11 corresponding to the slave wireless device 13 receives the connection setting from the slave wireless device 13, the target master wireless device 11 Connection setting to establish a connection with the sub-wireless device 13, where the connection setting includes the device ID corresponding to the sub-wireless device 13, the connection address, and an indication corresponding to each packet previously sent The number of transmissions, and positioning information.

在該步驟205中,該伺服端1根據一來自該管理端14的副設定請求,選取該至少一子無線裝置13中至少一者作為至少一副無線裝置12。In the step 205, the server 1 selects at least one of the at least one wireless slave device 13 as the at least one wireless device 12 according to a secondary setting request from the management terminal 14.

在該步驟206中,該伺服端1根據每一主無線裝置所傳送之一連線回應訊息,建立該至少一主無線裝置11、該至少一副無線裝置12,及該至少一子無線裝置13間之連線架構,其中該連線回應訊息包含該主無線裝置11直接或間接連接之該至少一副無線裝置12及該至少一子無線裝置13之裝置識別碼、定位資訊,及該主無線裝置11下每一無線裝置與直接連接的其他無線裝置間的一連線資訊,該連線資訊包含已連線的兩無線裝置間的連接次數及無線通訊品質。舉例來說,一第一子無線裝置13與一第一副無線裝置12間的距離小於該第一子無線裝置13與一第二主無線裝置11的距離,但該第一子無線裝置13與該第一副無線裝置12分別位於街道轉角之相異兩側,導致該第一子無線裝置13與該第一副無線裝置12間的無線通訊受到位在轉角處的建築物遮蔽,並使該第一子無線裝置13與該第一副無線裝置12間的無線通訊品質小於該第一子無線裝置13與該第二主無線裝置11間的無線通訊品質,因此該伺服端1指定該第一子無線裝置13連接至與該第二主無線裝置11。In step 206, the server 1 establishes 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 a connection response message sent by each primary wireless device The connection structure in which the connection response message includes the device identification code and location information of the at least one secondary wireless device 12 and the at least one secondary wireless device 13 directly or indirectly connected to the primary wireless device 11, and the primary wireless device A piece of connection information between each wireless device under the device 11 and other wireless devices directly connected, the connection information including the number of connections between the two connected wireless devices and the wireless communication quality. For example, the distance between a first wireless sub-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 secondary wireless device 12 is located on different sides of a street corner, which causes the wireless communication between the first secondary wireless device 13 and the first secondary wireless device 12 to be shielded by the building located at the corner, and causes the The wireless communication quality between the first slave wireless device 13 and the first slave wireless device 12 is lower than the wireless communication quality between the first slave wireless device 13 and the second master wireless device 11, so the server 1 specifies the first The slave wireless device 13 is connected to the second master wireless device 11.

在該步驟207中,該伺服端1根據自該步驟206所建立的連線架構及該等無線裝置資訊,產生一對應該連線架構的路由表,其中,該路由表包含該連線架構,以及該等無線裝置的裝置識別碼與定位資訊。In step 207, the server 1 generates a routing table corresponding to the connection structure based on the connection structure established in step 206 and the information of the wireless devices, wherein the routing table includes the connection structure, And the device identification codes and positioning information of these wireless devices.

在該步驟208中,該伺服端1透過該通訊網路100接收多個來自該管理端14且分別對應該至少一主無線裝置11、該至少一副無線裝置12,及該至少一子無線裝置13間之不同連線架構的路由表,及分別對應每一路由表的多個路由表編號。In the step 208, the server 1 receives a plurality of from the management terminal 14 through the communication network 100 and corresponds to at least one primary wireless device 11, the at least one secondary wireless device 12, and the at least one sub wireless device 13 respectively. There are routing tables with different connection architectures, and multiple routing table numbers corresponding to each routing table.

在該步驟209中,該伺服端1判斷是否藉由該通訊網路100接收到一來自該管理端14且包含一目標路由表編號的更換路由表請求,當該伺服端1判斷並未接收到來自該管理端14且包含該目標路由表編號的該更換路由表請求時,進行該步驟210,當該伺服端1判斷接收到來自該管理端14且包含該目標路由表編號的該更換路由表請求時,進行該步驟211。In the step 209, the server 1 determines whether a routing table replacement request containing a target routing table number is received from the management terminal 14 through the communication network 100. When the server 1 determines that it has not received When the management terminal 14 contains the target routing table number for the replacement routing table request, step 210 is performed. When the server 1 determines that it receives the replacement routing table request from the management terminal 14 and contains the target routing table number When, proceed to step 211.

在該步驟210中,該伺服端1選擇自該步驟207所產生的該路由表,並根據該路由表與該至少一主無線裝置11、該至少一副無線裝置12,及該至少一子無線裝置13進行連線。In the step 210, the server 1 selects the routing table generated from the step 207, and compares the routing table with the at least one primary wireless device 11, the at least one secondary wireless device 12, and the at least one sub wireless device according to the routing table. The device 13 is connected.

在該步驟211中,該伺服端1根據自該步驟208中所接收的該等路由表,挑選一對應該更換路由表請求中之該目標路由表編號的目標路由表,並根據該目標路由表與該至少一主無線裝置11、該至少一副無線裝置12,及該至少一子無線裝置13進行連線。In step 211, the server 1 selects a pair of target routing tables that should replace the target routing table number in the routing table request based on the routing tables received in step 208, and then selects the target routing table according to the target routing table. Connect with the at least one primary wireless device 11, the at least one secondary wireless device 12, and the at least one sub wireless device 13.

參閱圖3,該連線程序說明在該步驟210中,該伺服端1如何根據該路由表與該至少一主無線裝置11、該至少一副無線裝置12,及該至少一子無線裝置13進行連線,並包含一步驟220、一步驟221,及一步驟222。Referring to FIG. 3, the connection procedure illustrates how in the step 210, the server 1 performs the process according to the routing table 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. The connection includes a step 220, a step 221, and a step 222.

在該步驟220中,對於每一主無線裝置11,該伺服端1傳送該路由表至該主無線裝置11。In this step 220, for each master wireless device 11, the server 1 transmits the routing table to the master wireless device 11.

在該步驟221中,對於每一主無線裝置11,該主無線裝置11傳送該路由表至自身所連接之該至少一副無線裝置12或該至少一子無線裝置13,並根據該路由表,與其自身存在連結關係的該至少一副無線裝置12或該至少一子無線裝置13建立連線。In step 221, for each primary wireless device 11, the primary wireless device 11 transmits the routing table to the at least one secondary wireless device 12 or the at least one sub wireless device 13 connected to itself, and according to the routing table, A connection is established with the at least one wireless device 12 or the at least one sub wireless device 13 that has a connection relationship with itself.

在該步驟222中,對於每一副無線裝置12,該副無線裝置12傳送該路由表至自身所連接之該至少一子無線裝置13,並根據該路由表,與其自身存在連結關係的該至少一子無線裝置13建立連線。In step 222, for each secondary wireless device 12, the secondary wireless device 12 transmits the routing table to the at least one child wireless device 13 connected to itself, and according to the routing table, the at least one that has a connection relationship with itself A sub-wireless device 13 establishes a connection.

需要注意的是,在該步驟211中,該伺服端1與該至少一主無線裝置11、該至少一副無線裝置12,及該至少一子無線裝置13進行連線的程序與該連線程序類似,其差異之處在於該伺服端1所根據的路由表,為自該步驟208所接收的該等路由表中,對應來自該管理端14之更換路由表請求之目標路由表編號的該目標路由表,其餘相同之處在此不再贅述。It should be noted that in step 211, the connection procedure between the server 1 and 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 is the same as the connection procedure Similarly, the difference lies in that the routing table based on the server 1 is the target corresponding to the target routing table number of the routing table replacement request from the management terminal 14 among the routing tables received in step 208 Routing table, other similarities will not be repeated here.

參閱圖4及圖5,該修護程序說明該伺服端1發現一主無線裝置11斷線時,該伺服端如何重新建立另一連線架構及對應該另一連線架構的路由表,並包含一步驟301、一步驟302、一步驟303、一步驟304、一步驟305、一步驟306、一步驟307、一步驟308、一步驟309、一步驟310、一步驟311、一步驟312、一步驟313、一步驟314,及一步驟315。Referring to Figures 4 and 5, the repair procedure explains how the server 1 re-establishes another connection structure and the routing table corresponding to the other connection structure when the server 1 finds that a main wireless device 11 is disconnected. Contains one step 301, one step 302, one step 303, one step 304, one step 305, one step 306, one step 307, one step 308, one step 309, one step 310, one step 311, one step 312, one step Step 313, a step 314, and a step 315.

在該步驟301中,對於每一主無線裝置11,該伺服端1判斷在一預設時間內,是否接收到該主無線裝置11的一連線回應訊息,其中該連線回應訊息包含與對應該主無線裝置11連線的該至少一副無線裝置12,及該至少一子無線裝置13之連線情況,當該伺服端1判斷在該預設時間內接收到該主無線裝置11的該連線回應訊息時,進行該步驟302,當該伺服端1判斷在該預設時間內並未接收到該主無線裝置11的該連線回應訊息時,進行該步驟304。In this step 301, for each master wireless device 11, the server 1 determines whether a connection response message from the master wireless device 11 is received within a preset time, where the connection response message includes the The connection status of the at least one secondary wireless device 12 and the at least one secondary wireless device 13 that should be connected to the primary wireless device 11, when the server 1 determines that the primary wireless device 11 is received within the preset time When the connection response message is connected, the step 302 is performed. When the server 1 determines that the connection response message of the master wireless device 11 is not received within the preset time, the step 304 is performed.

在該步驟302中,對於每一連線回應訊息,該伺服端1根據該連線回應訊息,判斷是否存在一未連線至該至少一主無線裝置11的失聯副無線裝置12,當該伺服端1判斷存在該失聯副無線裝置12時,進行該判斷程序,當該伺服端1判斷並未存在該失聯副無線裝置12時,進行該步驟303。In step 302, for each connection response message, the server 1 determines whether there is a disconnected secondary wireless device 12 that is not connected to the at least one primary wireless device 11 according to the connection response message. When the server 1 determines that the missing secondary wireless device 12 exists, the determination procedure is performed, and when the server 1 determines that the missing secondary wireless device 12 does not exist, the step 303 is performed.

在該步驟303中,對於每一連線回應訊息,該伺服端1根據該連線回應訊息,判斷是否存在一未連線至該至少一副無線裝置12及該至少一主無線裝置11的失聯子無線裝置13,當該伺服端1判斷存在該失聯子無線裝置13時,進行該搜尋程序,當該伺服端1判斷並未存在該失聯子無線裝置13時,結束該修護程序。In the step 303, for each connection response message, the server 1 determines whether there is a failure to connect to the at least one secondary wireless device 12 and the at least one primary wireless device 11 according to the connection response message. Connect the child wireless device 13. When the server 1 determines that the missing child wireless device 13 exists, the search procedure is performed. When the server 1 determines that the missing child wireless device 13 does not exist, the repair procedure is ended. .

在該步驟304中,對於每一主無線裝置11,當該伺服端1判斷在該預設時間內,並未接收到該主無線裝置11的該回應訊息時,該伺服端1將該主無線裝置11作為一斷線主無線裝置11,且根據該路由表中未直接或間接連接至該斷線主無線裝置11之該至少一主無線裝置11、該至少一副無線裝置12,及該至少一子無線裝置13中,選取一對應該斷線主無線裝置11的橋接無線裝置。In this step 304, for each master wireless device 11, when the server 1 determines that the response message from the master wireless device 11 is not received within the preset time, the server 1 sends the master wireless device 11 The device 11 serves as a disconnected master wireless device 11, and according to the at least one master wireless device 11, the at least one secondary wireless device 12, and the at least one that are not directly or indirectly connected to the disconnected master wireless device 11 in the routing table In a child wireless device 13, a pair of bridge wireless devices that should disconnect the main wireless device 11 is selected.

在該步驟305中,對於每一斷線主無線裝置11,該伺服端1根據該路由表中直接或間接連接至該斷線主無線裝置11的該至少一副無線裝置12及該至少一子無線裝置13,選取一對應該斷線主無線裝置11的代理無線裝置,並將非作為代理無線裝置的其他副無線裝置12及子無線裝置13作為至少一失聯無線裝置。舉例來說,一第二子無線裝置13及一第二副無線裝置12連線至該斷線主無線裝置,其中一第三子無線裝置13、一第四子無線裝置13,及一第五子無線裝置13均連線至該第二副無線裝置12,此時該伺服端1根據該路由表,選取該第二子無線裝置作為對應該斷線主無線裝置11的該代理無線裝置,其中該伺服端1係依據該等無線裝置的定位資訊,及該等無線裝置間的無線通訊品質選取該代理無線裝置,另一方面,該伺服端1選取該第二副無線裝置12、該第三子無線裝置13、該第四子無線裝置13,及該第五子無線裝置13作為該等失聯無線裝置。In this step 305, for each disconnected master wireless device 11, the server 1 directly or indirectly connected to the at least one secondary wireless device 12 and the at least one sub-wireless device 12 directly or indirectly connected to the disconnected master wireless device 11 in the routing table The wireless device 13 selects a pair of proxy wireless devices that should be disconnected from the main wireless device 11, and uses other secondary wireless devices 12 and sub wireless devices 13 that are not acting as proxy wireless devices as at least one disconnected wireless device. For example, a second sub-wireless device 13 and a second sub-wireless device 12 are connected to the disconnected main wireless device, including a third sub-wireless device 13, a fourth sub-wireless device 13, and a fifth sub-wireless device. The sub-wireless devices 13 are all connected to the second sub-wireless device 12. At this time, the server 1 selects the second sub-wireless device as the proxy wireless device corresponding to the disconnected main wireless device 11 according to the routing table. The server 1 selects the proxy wireless device based on the positioning information of the wireless devices and the wireless communication quality between the wireless devices. On the other hand, the server 1 selects the second secondary wireless device 12, the third The child wireless device 13, the fourth child wireless device 13, and the fifth child wireless device 13 serve as the disconnected wireless devices.

在該步驟306中,該伺服端1根據自該步驟207或該步驟211所產生的路由表,重新建立另一路由表,其中,在該另一路由表中,對於每一斷線主無線裝置11,對應該斷線主無線裝置11的該代理無線裝置被指定跟對應該斷線主無線裝置11的該橋接無線裝置存在連結關係,對應該斷線主無線裝置11且不屬於該代理無線裝置的該至少一失聯無線裝置被指定跟對應該斷線主無線裝置11的該代理無線裝置存在連結關係。In the step 306, the server 1 re-creates another routing table according to the routing table generated in the step 207 or the step 211, wherein, in the other routing table, for each disconnected master wireless device 11. The proxy wireless device corresponding to the disconnected main wireless device 11 is designated to have a connection relationship with the bridged wireless device corresponding to the disconnected main wireless device 11, corresponding to the disconnected main wireless device 11 and does not belong to the proxy wireless device The at least one disconnected wireless device is designated to have a connection relationship with the proxy wireless device corresponding to the disconnected main wireless device 11.

在該步驟307中,該伺服端1傳送該另一路由表至非屬該斷線主無線裝置11的該至少一主無線裝置11,以及未直接或間接連線至任一斷線主無線裝置11的該至少一副無線裝置12、該至少一子無線裝置13,及對應該斷線主無線裝置11的該橋接無線裝置。In the step 307, the server 1 transmits the another routing table to the at least one master wireless device 11 that is not the disconnected master wireless device 11, and is not directly or indirectly connected to any disconnected master wireless device The at least one secondary wireless device 12, the at least one secondary wireless device 13 of 11, and the bridge wireless device corresponding to the disconnected primary wireless device 11.

在該步驟308中,對於每一斷線主無線裝置11,當對應該斷線主無線裝置11的該橋接無線裝置接收到該另一路由表時,該橋接無線裝置傳送一包含對應相關於該斷線主無線裝置11的該代理無線裝置之裝置識別碼的代理連線訊息至對應該斷線主無線裝置11的該代理無線裝置。In this step 308, for each disconnected master wireless device 11, when the bridged wireless device corresponding to the disconnected master wireless device 11 receives the other routing table, the bridged wireless device transmits a message containing a corresponding link to the The proxy connection message of the device identification code of the proxy wireless device of the disconnected master wireless device 11 is sent to the proxy wireless device corresponding to the disconnected master wireless device 11.

在該步驟309中,對於每一代理無線裝置,當該代理無線裝置接收到該包含對應其自身之裝置識別碼的代理連線訊息時,該代理無線裝置傳送一包含該代理無線裝置網路協定位址的代理回應訊息至該橋接無線裝置。In this step 309, for each proxy wireless device, when the proxy wireless device receives the proxy connection message containing the device ID corresponding to itself, the proxy wireless device sends a network protocol containing the proxy wireless device The proxy of the address responds to the bridged wireless device.

在該步驟310中,對於每一橋接無線裝置,當該橋接無線裝置接收到該代理回應訊息時,該橋接無線裝置根據該代理無線裝置網路協定位址,建立與該代理無線裝置的連線。In step 310, for each bridged wireless device, when the bridged wireless device receives the proxy response message, the bridged wireless device establishes a connection with the proxy wireless device according to the proxy wireless device network protocol address .

在該步驟311中,對於每一橋接無線裝置,該橋接無線裝置傳送該另一路由表至與其自身所連線的該代理無線裝置。In this step 311, for each bridged wireless device, the bridged wireless device transmits the other routing table to the proxy wireless device connected to itself.

在該步驟312中,對於每一代理無線裝置,當該代理無線裝置接收到該另一路由表時,對於對應該代理無線裝置的每一失聯無線裝置,該代理無線裝置根據該另一路由表,傳送一包含對應該代理無線裝置的該失聯無線裝置之裝置識別碼的重新連線訊息至對應該代理無線裝置的該失聯無線裝置。In this step 312, for each proxy wireless device, when the proxy wireless device receives the other routing table, for each out-of-connection wireless device corresponding to the proxy wireless device, the proxy wireless device according to the other routing table Table, sending a reconnection message including the device identification code of the lost wireless device corresponding to the proxy wireless device to the lost wireless device corresponding to the proxy wireless device.

在該步驟313中,對於每一直接或間接連線至該斷線主無線裝置11的失聯無線裝置,當該失聯裝置接收到包含對應其自身之裝置識別碼的重新連線訊息時,該失聯無線裝置傳送一包含對應其自身之失聯無線裝置網路協定位址的失聯回應訊息至該代理無線裝置。In this step 313, for each disconnected wireless device directly or indirectly connected to the disconnected master wireless device 11, when the disconnected device receives a reconnection message that includes its own device ID, The out-of-connection wireless device sends a out-of-connection response message including the network protocol address corresponding to the out-of-connection wireless device to the proxy wireless device.

在該步驟314中,對於每一代理無線裝置,當該代理無線裝置接收到該至少一失聯回應訊息時,該代理無線裝置根據該至少一失聯無線裝置網路協定位址,建立與該至少一失聯無線裝置的連線。In step 314, for each proxy wireless device, when the proxy wireless device receives the at least one lost connection response message, the proxy wireless device establishes a connection with the at least one lost connection wireless device network protocol address At least one disconnected wireless device connection.

在該步驟315中,對於每一代理無線裝置,該代理無線裝置傳送該另一路由表至與其自身所連線的該至少一失聯無線裝置。In this step 315, for each proxy wireless device, the proxy wireless device transmits the other routing table to the at least one disconnected wireless device connected to itself.

參閱圖6,該搜尋程序說明該伺服端1如何建立與該失聯子無線裝置13的連線,並包含一步驟401、一步驟402、一步驟403、一步驟404、一步驟405、一步驟406、一步驟407,及一步驟408。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, and a step 406, a step 407, and a step 408.

在該步驟401中,當該伺服端1判斷存在該失聯子無線裝置13時,該伺服端1標註該失聯子無線裝置13處於一斷線狀態,並傳送對應該失聯子無線裝置13之裝置識別碼及定位資訊的一維修訊息至該管理端14。In this step 401, when the server 1 determines that the disconnected child wireless device 13 exists, the server 1 marks that the disconnected child wireless device 13 is in a disconnected state, and sends the corresponding disconnected child wireless device 13 The device identification code and a repair message of the location information are sent to the management terminal 14.

在該步驟402中,該管理端14傳送一相關於對應該失聯子無線裝置13之一替代子無線裝置13的設定訊息至該伺服端1,其中,該設定訊息包含該失聯子無線裝置13之裝置識別碼、該替代子無線裝置13之裝置識別碼、連線位址,及定位資訊。In the step 402, the management terminal 14 sends a configuration message related to a replacement sub-wireless device 13 corresponding to the disconnected sub-wireless device 13 to the server 1, wherein the configuration message includes the disconnected sub-wireless device The device identification code of 13, the device identification code of the replacement wireless device 13, the connection address, and the location information.

在該步驟403中,當該伺服端1接收到來自該管理端14的該設定訊息時,該伺服端1根據該設定訊息,建立另一路由表,其中,該另一路由表與自該步驟207所建立的該路由表相似,其相異之處在於,在該另一路由表中,相關於該失聯子無線裝置13之裝置識別碼、連線位址,及定位資訊被替代為該替代子無線裝置13之裝置識別碼、連線位址,及定位資訊。In the step 403, when the server 1 receives the setting message from the management terminal 14, the server 1 creates another routing table according to the setting message, wherein the other routing table is the same as the one from the step The routing table established by 207 is similar, and the difference is that in the other routing table, the device identification code, connection address, and location information of the missing child wireless device 13 are replaced with the Replace the device identification code, connection address, and location information of the sub-wireless device 13.

在該步驟404中,該伺服端1傳送該另一路由表至該至少一主無線裝置11、該至少一副無線裝置12、及不屬於該替代子無線裝置13之其他子無線裝置13。In the step 404, the server 1 transmits the another routing table to the at least one primary wireless device 11, the at least one secondary wireless device 12, and other child wireless devices 13 that do not belong to the replacement child wireless device 13.

在該步驟405中,對於與該替代子無線裝置13存在有連結關係的一上級無線裝置,該上級無線裝置根據該另一路由表傳送一包含該替代子無線裝置13之裝置識別碼的替代連線訊息至該替代子無線裝置13。In the step 405, for an upper-level wireless device that has a connection relationship with the replacement sub-wireless device 13, the upper-level wireless device transmits a replacement connection that includes the device identification code of the replacement sub-wireless device 13 according to the another routing table. Wire the message to the replacement sub-wireless device 13.

在該步驟406中,當該替代子無線裝置13接收到該替代連線訊息時,該替代子無線裝置13傳送一包含該替代子無線裝置連線位址的回應訊息至該上級無線裝置。In step 406, when the substitute wireless device 13 receives the substitute connection message, the substitute sub wireless device 13 transmits a response message including the connection address of the substitute sub wireless device to the superior wireless device.

在該步驟407中,當該上級無線裝置接收到該回應訊息時,該上級無線裝置根據該替代子無線裝置連線位址,建立與該替代子無線裝置13的連線。In step 407, when the upper-level wireless device receives the response message, the upper-level wireless device establishes a connection with the substitute sub-wireless device 13 according to the connection address of the substitute sub-wireless device.

在該步驟408中,該上級無線裝置傳送該另一路由表至該替代子無線裝置13。In the step 408, the superior wireless device transmits the other routing table to the substitute sub wireless device 13.

值得一提的是,在本實施例中,該失聯子無線裝置13與該替代子無線裝置13為不同無線裝置,但在其他實施例中,該失聯子無線裝置13也可與該替代子無線裝置13為同一無線裝置。It is worth mentioning that in this embodiment, the disconnected sub-wireless device 13 and the replacement sub-wireless device 13 are different wireless devices, but in other embodiments, the disconnected sub-wireless device 13 may also be the same as the replacement sub-wireless device 13 The sub wireless device 13 is the same wireless device.

參閱圖7,該判斷程序說明該伺服端1判斷如何建立與該失聯副無線裝置間之連線,並包含一步驟501、一步驟502、一步驟503、一步驟504、一步驟505、一步驟506,及一步驟507。Referring to FIG. 7, the determination procedure illustrates how the server 1 determines how to establish a connection with the missing secondary wireless device, and includes a step 501, a step 502, a step 503, a step 504, a step 505, and a step 501. Step 506, and a step 507.

在該步驟501中,對於該至少一子無線裝置13中與該失聯副無線裝置12存在連結關係的每一下級子無線裝置13,該伺服端傳送一包含對應該下級子無線裝置13之裝置識別碼的確認連線訊息至該下級子無線裝置13。In this step 501, for each of the at least one child wireless device 13 that has a connection relationship with the disconnected secondary wireless device 12, the server sends a device corresponding to the child wireless device 13 The identification code confirms the connection message to the subordinate wireless device 13.

在該步驟502中,對於每一下級子無線裝置13,當該下級子無線裝置13接收到該確認連線訊息時,該下級子無線裝置13傳送一包含該下級子無線裝置13之裝置識別碼、連線位址的回應確認訊息至該伺服端1。In step 502, for each lower-level sub-wireless device 13, when the lower-level sub-wireless device 13 receives the connection confirmation message, the lower-level sub-wireless device 13 transmits a device identification code that includes the lower-level sub-wireless device 13 , The response confirmation message of the connection address to the server 1.

在該步驟503中,該伺服端1根據所接收的所有回應確認訊息,判斷對應所有回應確認訊息的一回應確認訊息數量是否大於一預設閥值,當該伺服端1判斷該回應確認訊息數量大於該預設閥值,進行該步驟504,當該伺服端1判斷該回應確認訊息數量並未大於該預設閥值,進行該步驟505。In step 503, the server 1 determines whether the number of response confirmation messages corresponding to all the response confirmation messages is greater than a preset threshold based on all the received response confirmation messages. When the server 1 determines the number of response confirmation messages If it is greater than the preset threshold, proceed to step 504, and when the server 1 determines that the number of response confirmation messages is not greater than the preset threshold, proceed to step 505.

在該步驟504中,該伺服端1將該失聯副無線裝置12作為該失聯主無線裝置11,並進行該步驟304至該步驟315的動作。In step 504, the server 1 uses the missing secondary wireless device 12 as the missing primary wireless device 11, and performs the actions from step 304 to step 315.

在該步驟505中,該伺服端1根據所接收的所有回應確認訊息,將該失聯副無線裝置12作為該等失聯子無線裝置13,並進行該步驟401至該步驟408。In this step 505, the server 1 uses the missing secondary wireless device 12 as the missing secondary wireless devices 13 according to all the received response confirmation messages, and performs the step 401 to the step 408.

在該步驟506中,該伺服端1根據所接收的所有回應確認訊息,判斷是否存在未傳送該回應確認訊息的該至少一下級子無線裝置13,當該伺服端1判斷存在未傳送該回應確認訊息的該至少一下級子無線裝置13時,進行該步驟507,當該伺服端1判斷不存在未傳送該回應確認訊息的該至少一下級子無線裝置13時,結束該判斷程序。In step 506, the server 1 determines whether there is the at least one sub-wireless device 13 that has not sent the response confirmation message based on all the received response confirmation messages. When the server 1 determines that the response confirmation message has not been sent When the at least subordinate wireless device 13 of the message is sent, step 507 is performed. When the server 1 determines that there is no at least subordinate wireless device 13 that has not sent the response confirmation message, the determination procedure is ended.

在該步驟507中,對於每一未傳送該回應確認訊息的下級子無線裝置13,該伺服端1將該下級子無線裝置13作為該失聯子無線裝置13,並進行該步驟401至該步驟408。In step 507, for each subordinate wireless device 13 that has not sent the response confirmation message, the server 1 uses the subordinate sub wireless device 13 as the disconnected sub wireless device 13, and performs steps 401 to 408.

綜上所述,本發明無線網路建構方法,藉由該伺服端1根據來自該管理端14的該主設定請求及該副設定請求,分別將該等無線裝置設定為該至少一主無線裝置11、該至少一副無線裝置12,及該至少一子無線裝置13,並自動化建立該至少一主無線裝置11、該至少一副無線裝置12,及該至少一子無線裝置13間的連線架構與路由表,藉此,該伺服端1能夠自動建立符合管理者設計的主從式連線架構以減少管理者工作負荷,進而避免管理者因無法理解該等無線裝置連線架構而造成的風險,例如裝置運作不穩定、裝置毀損等風險,另一方面,當該伺服端1判斷存在斷線主無線裝置11時,亦能重新建立另一路由表,以避免與連線至該斷線主無線裝置11的該等無線裝置失去聯繫,故確實能達成本發明的目的。In summary, in the wireless network construction method of the present invention, the server 1 sets the wireless devices as the at least one primary wireless device according to the primary configuration request and the secondary configuration request from the management terminal 14, respectively 11. The at least one secondary wireless device 12, and the at least one secondary wireless device 13, and automatically establish a connection between 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 Structure and routing table, by which the server 1 can automatically establish a master-slave connection structure designed by the administrator to reduce the administrator’s workload, thereby avoiding the administrator’s inability to understand the wireless device connection structure. Risks, such as unstable device operation, device damage, etc. On the other hand, when the server 1 determines that the main wireless device 11 is disconnected, it can also re-create another routing table to avoid connecting to the disconnection The wireless devices of the master wireless device 11 lose contact, so the objective of the invention can indeed be achieved.

惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。However, the above are only examples of the present invention. When the scope of implementation of the present invention cannot be limited by this, all simple equivalent changes and modifications made in accordance with the scope of the patent application of the present invention and the content of the patent specification still belong to Within the scope of the patent for the present invention.

1:伺服端 100:通訊網路 11:主無線裝置 12:副無線裝置 13:子無線裝置 14:管理端 201~211步驟:建立程序 220~222步驟:連線程序 301~315步驟:修護程序 401~408步驟:搜尋程序 501~507步驟:判斷程序1: server 100: Communication network 11: Main wireless device 12: Secondary wireless device 13: Sub wireless device 14: Management side Steps 201~211: Establish a program Steps 220~222: Connection procedure Steps 301~315: Repair procedures Steps 401~408: search program Steps 501~507: Judgment procedure

本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是一方塊圖,說明本發明無線網路建構方法的一實施例藉由一無線網路建構演算系統來實施; 圖2是一流程圖,說明該實施例所執行的本發明無線網路建構方法之一建立程序; 圖3是一流程圖,說明該實施例所執行的本發明無線網路建構方法之一連線程序; 圖4是一流程圖,說明該實施例所執行的本發明無線網路建構方法之一修護程序的步驟301~307; 圖5是一流程圖,說明該實施例所執行的本發明無線網路建構方法之一修護程序的步驟308~315; 圖6是一流程圖,說明該實施例所執行的本發明無線網路建構方法之一搜尋程序;及 圖7是一流程圖,說明該實施例所執行的本發明無線網路建構方法之一判斷程序。 Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: 1 is a block diagram illustrating an embodiment of the wireless network construction method of the present invention is implemented by a wireless network construction calculation system; FIG. 2 is a flowchart illustrating the establishment procedure of one of the wireless network construction methods of the present invention executed in this embodiment; FIG. 3 is a flowchart illustrating a connection procedure of the wireless network construction method of the present invention executed by this embodiment; FIG. 4 is a flowchart illustrating steps 301 to 307 of a repair procedure of the wireless network construction method of the present invention executed by this embodiment; 5 is a flowchart illustrating steps 308 to 315 of a repair procedure of the wireless network construction method of the present invention executed by this embodiment; FIG. 6 is a flowchart illustrating a search procedure of the wireless network construction method of the present invention executed in this embodiment; and FIG. 7 is a flowchart illustrating a judgment procedure of the wireless network construction method of the present invention executed by this embodiment.

201~211:步驟:建立程序 201~211: Step: Establish a program

Claims (11)

一種無線網路建構方法,藉由一無線網路建構演算系統來實施,該無線網路建構演算系統包含多個無線裝置、一伺服端,及一透過一通訊網路連接至該伺服端的管理端,其中該等無線裝置中存在至少一被設定與該伺服端存在連結關係的主連線裝置,與其他被設定不與該伺服端存在連結關係的子無線裝置,該無線網路建構方法包含以下步驟: (A)對於每一主無線裝置,該伺服端根據一來自該管理端的新增請求與一來自該主無線裝置且包含該主無線裝置之裝置識別碼、連線位址,及定位資訊的連線訊息,建立與該主無線裝置的連線; (B)對於每一子無線裝置,該管理端自該至少一主無線裝置中選擇一目標主無線裝置與該子無線裝置存在連結關係; (C)對於每一子無線裝置,該目標主無線裝置根據一來自該子無線裝置且包含該子無線裝置之裝置識別碼、連線位址、一指示出對應先前傳送過的每一封包的傳送次數,及定位資訊的連線設定,建立與該子無線裝置的連線; (D)該伺服端根據一來自該管理端的副設定請求,選取該至少一子無線裝置中至少一者作為至少一副無線裝置; (E)該伺服端根據每一主無線裝置所傳送之一連線回應訊息,建立該至少一主無線裝置、該至少一副無線裝置,及該至少一子無線裝置間之連線架構,其中該連線回應訊息包含該主無線裝置直接或間接連接之該至少一副無線裝置及該至少一子無線裝置之裝置識別碼、定位資訊,及該主無線裝置下每一無線裝置與直接連接的其他無線裝置間的一連線資訊,該連線資訊包含已連線的兩無線裝置間的連接次數及無線通訊品質;及 (F)該伺服端根據自該步驟(E)所建立的連線架構及該等無線裝置資訊,產生一對應該連線架構的路由表並傳送至每一無線裝置。 A wireless network construction method is implemented by a wireless network construction calculation system including a plurality of wireless devices, a server, and a management terminal connected to the server through a communication network, Among the wireless devices, there is at least one main connection device that is set to have a connection relationship with the server, and other sub-wireless devices that are set not to have a connection relationship with the server. The wireless network construction method includes the following steps : (A) For each master wireless device, the server connects a new request from the management terminal with a device ID, connection address, and location information from the master wireless device that includes the master wireless device. Line message to establish a connection with the main 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 connection relationship with the sub wireless device; (C) For each sub-wireless device, the target master wireless device is based on a device identification code from the sub-wireless device that includes the sub-wireless device, connection address, and an indication corresponding to each packet previously transmitted The number of transmissions, and the connection settings of the location information, establish a connection with the sub-wireless device; (D) The server selects at least one of the at least one sub wireless device as at least one wireless device according to a secondary setting request from the management terminal; (E) The server establishes a connection structure between the at least one primary wireless device, the at least one secondary wireless device, and the at least one sub wireless device according to a connection response message sent by each primary wireless device, wherein The connection response message includes the device identification code and location information of the at least one secondary wireless device directly or indirectly connected to the main wireless device and the at least one sub wireless device, and the location information of each wireless device directly connected to the main wireless device A connection information between other wireless devices, the connection information including the number of connections and wireless communication quality between the two connected wireless devices; and (F) The server generates a routing table corresponding to the connection structure based on the connection structure established in step (E) and the wireless device information and sends it to each wireless device. 如請求項1所述的無線網路建構方法,其中,在該步驟(F)後還包含以下步驟: (G)該伺服端自該管理端接收多個分別對應該至少一主無線裝置、該至少一副無線裝置,及該至少一子無線裝置間之不同連線架構的路由表,及分別對應每一路由表的多個路由表編號; (H)該伺服端判斷是否接收到一來自該管理端且包含一目標路由表編號的更換路由表請求; (I)當該伺服端判斷並未接收到來自該管理端且包含一目標路由表編號的該更換路由表請求時,該伺服端選擇自該步驟(F)所產生的路由表,並根據該路由表與該至少一主無線裝置、該至少一副無線裝置,及該至少一子無線裝置進行連線;及 (J)當該伺服端判斷接收到來自該管理端且包含一目標路由表編號的該更換路由表請求時,該伺服端根據自步驟(F)中所接收的該等路由表,挑選一對應該目標路由表編號的目標路由表,並根據該目標路由表與該至少一主無線裝置、該至少一副無線裝置,及該至少一子無線裝置進行連線。 The method for constructing a wireless network according to claim 1, wherein after step (F), the method further includes the following steps: (G) The server receives a plurality of routing tables corresponding to different connection architectures between at least one primary wireless device, the at least one secondary wireless device, and the at least one secondary wireless device from the management terminal, and respectively corresponds to each Multiple routing table numbers of a routing table; (H) The server determines whether a routing table replacement request containing a target routing table number is received from the management side; (I) When the server determines that it has not received the routing table replacement request containing a target routing table number from the management side, the server selects the routing table generated from the step (F), and based on the The routing table is connected to the at least one primary wireless device, the at least one secondary wireless device, and the at least one sub wireless device; and (J) When the server determines that it has received the routing table replacement request from the management side that contains a target routing table number, the server selects a pair of routing tables based on the routing tables received in step (F) According to the target routing table numbered by the target routing table, connection is made with the at least one primary wireless device, the at least one secondary wireless device, and the at least one sub wireless device according to the target routing table. 如請求項1所述的無線網路建構方法,其中,在該步驟(F)後還包含以下步驟: (K)對於每一主無線裝置,該伺服端判斷在一預設時間內是否接收到該主無線裝置的一連線回應訊息,其中該連線回應訊息包含與對應該主無線裝置連線的該至少一副無線裝置,及該至少一子無線裝置之連線情況; (L)對於每一主無線裝置,當該伺服端判斷在該預設時間內並未接收到該主無線裝置的該連線回應訊息時,該伺服端將該主無線裝置作為一斷線主無線裝置,且根據該路由表中未直接或間接連接至該斷線主無線裝置之該至少一主無線裝置、該至少一副無線裝置,及該至少一子無線裝置,選取一對應該斷線主無線裝置的橋接無線裝置; (M)對於每一斷線主無線裝置,該伺服端根據該路由表中直接或間接連接至該斷線主無線裝置的該至少一副無線裝置及該至少一子無線裝置,選取一對應該斷線主無線裝置的代理無線裝置,並將非作為代理無線裝置的其他副無線裝置及子無線裝置作為至少一失聯無線裝置;及 (N)該伺服端根據自該步驟(F)所建立的路由表,重新建立另一路由表,其中,在該另一路由表中,對於每一斷線主無線裝置,對應該斷線主無線裝置的該代理無線裝置被指定跟對應該斷線主無線裝置的該橋接無線裝置存在連結關係,對應該斷線主無線裝置且不屬於該代理無線裝置的該至少一失聯無線裝置被指定跟對應該斷線主無線裝置的該代理無線裝置存在連結關係。 The method for constructing a wireless network according to claim 1, wherein after step (F), the method further includes the following steps: (K) For each master wireless device, the server determines whether a connection response message from the master wireless device is received within a preset time, wherein the connection response message includes the connection with the corresponding master wireless device The connection status of the at least one wireless device and the at least one sub wireless device; (L) For each master wireless device, when the server determines that the connection response message of the master wireless device has not been received within the preset time, the server treats the master wireless device as a disconnected master Wireless device, and according to the at least one primary wireless device, the at least one secondary wireless device, and the at least one sub wireless device that are not directly or indirectly connected to the disconnected primary wireless device in the routing table, select a pair that should be disconnected Bridge wireless device of the main wireless device; (M) For each disconnected master wireless device, the server selects a corresponding response according to the at least one secondary wireless device and the at least one sub wireless device directly or indirectly connected to the disconnected primary wireless device in the routing table Disconnect the proxy wireless device of the main wireless device, and use other secondary wireless devices and sub wireless devices that are not acting as proxy wireless devices as at least one disconnected wireless device; and (N) The server re-creates another routing table based on the routing table established in step (F), wherein, in the other routing table, for each disconnected master wireless device, the disconnected master The proxy wireless device of the wireless device is designated to have a connection relationship with the bridge wireless device corresponding to the disconnected master wireless device, and the at least one disconnected wireless device corresponding to the disconnected master wireless device and not belonging to the proxy wireless device is designated There is a connection relationship with the proxy wireless device corresponding to the disconnected master wireless device. 如請求項3所述的無線網路建構方法,其中,該步驟(N)後還包含以下步驟: (O)該伺服端傳送該另一路由表至非屬該斷線主無線裝置的該至少一主無線裝置,以及未直接或間接連線至任一斷線主無線裝置的該至少一副無線裝置、該至少一子無線裝置,及對應該斷線主無線裝置的該橋接無線裝置; (P)對於每一斷線主無線裝置,當對應該斷線主無線裝置的該橋接無線裝置接收到該另一路由表時,該橋接無線裝置傳送一包含對應相關於該斷線主無線裝置的該代理無線裝置之裝置識別碼的代理連線訊息至對應該斷線主無線裝置的該代理無線裝置; (Q)對於每一代理無線裝置,當該代理無線裝置接收到該包含對應其自身之裝置識別碼的代理連線訊息時,該代理無線裝置傳送一包含該代理無線裝置網路協定位址的代理回應訊息至該橋接無線裝置; (R)對於每一橋接無線裝置,當該橋接無線裝置接收到該代理回應訊息時,該橋接無線裝置根據該代理無線裝置網路協定位址建立與該代理無線裝置的連線,並傳送該另一路由表至該代理無線裝置; (S)對於每一代理無線裝置,當該代理無線裝置接收該另一路由表時,對於對應該代理無線裝置的每一失聯無線裝置,該代理無線裝置根據該另一路由表,傳送一包含對應該代理無線裝置的該失聯無線裝置之裝置識別碼的重新連線訊息至對應該代理無線裝置的該失聯無線裝置; (T)對於每一直接或間接連線至該斷線主無線裝置的失聯無線裝置,當該失聯無線裝置接收到包含對應其自身之裝置識別碼的重新連線訊息時,該失聯無線裝置傳送一包含對應其自身之失聯無線裝置網路協定位址的失聯回應訊息至該代理無線裝置;及 (U)對於每一代理無線裝置,當該代理無線裝置接收到該至少一失聯回應訊息時,該代理無線裝置根據該至少一失聯無線裝置網路協定位址,建立與該至少一失聯無線裝置的連線,並傳送該另一路由表至該至少一失聯無線裝置。 The method for constructing a wireless network according to claim 3, wherein the step (N) further includes the following steps: (O) The server sends the other routing table to the at least one master wireless device that is not the disconnected master wireless device, and the at least one secondary wireless device that is not directly or indirectly connected to any disconnected master wireless device A device, the at least one sub-wireless device, and the bridged wireless device corresponding to the disconnected main wireless device; (P) For each disconnected master wireless device, when the bridged wireless device corresponding to the disconnected master wireless device receives the other routing table, the bridged wireless device transmits a message corresponding to the disconnected master wireless device The proxy connection message of the device identification code of the proxy wireless device to the proxy wireless device corresponding to the disconnected main wireless device; (Q) For each proxy wireless device, when the proxy wireless device receives the proxy connection message that contains the device ID corresponding to its own, the proxy wireless device sends a network protocol address that includes the proxy wireless device The proxy responds to the bridged wireless device; (R) For each bridged wireless device, when the bridged wireless device receives the proxy response message, the bridged wireless device establishes a connection with the proxy wireless device according to the proxy wireless device network protocol address, and transmits the Another routing table to the proxy wireless device; (S) For each proxy wireless device, when the proxy wireless device receives the other routing table, for each disconnected wireless device corresponding to the proxy wireless device, the proxy wireless device transmits a routing table according to the other routing table A reconnection message containing the device identification code of the lost wireless device corresponding to the proxy wireless device to the lost wireless device corresponding to the proxy wireless device; (T) For each disconnected wireless device that is directly or indirectly connected to the disconnected master wireless device, when the disconnected wireless device receives a reconnection message containing its own device ID, the disconnection The wireless device sends a disconnection response message including the network protocol address of the lost wireless device corresponding to itself to the proxy wireless device; and (U) For each proxy wireless device, when the proxy wireless device receives the at least one missing connection response message, the proxy wireless device establishes a connection with the at least one missing wireless device according to the at least one missing wireless device network protocol address. Connect the connection of the wireless device, and transmit the other routing table to the at least one out of connection wireless device. 如請求項3所述的無線網路建構方法,其中,在該步驟(K)後還包含以下步驟: (i)該伺服端根據該連線回應訊息,判斷該至少一子無線裝置中是否存在一未連線至該至少一副無線裝置或該至少一主無線裝置的失聯子無線裝置; (ii)當該伺服端判斷存在該失聯子無線裝置時,該伺服端標註該失聯子無線裝置處於一斷線狀態,並傳送對應該失聯子無線裝置之裝置識別碼及定位資訊的一維修訊息至該管理端; (iii)該管理端傳送一相關於對應該失聯子無線裝置之一替代子無線裝置的設定訊息至該伺服端,其中,該設定訊息包含該失聯子無線裝置之裝置識別碼、該替代子無線裝置之裝置識別碼、連線位址,及定位資訊;及 (iv)該伺服端根據自該步驟(F)所建立的該路由表及該設定訊息,產生另一路由表,其中,在該另一路由表中,相關於該失聯子無線裝置之裝置識別碼、連線位址,及定位資訊被替代為該替代子無線裝置之裝置識別碼、連線位址,及定位資訊。 The wireless network construction method according to claim 3, wherein after step (K), the method further includes the following steps: (i) The server determines, according to the connection response message, whether there is a disconnected child wireless device that is not connected to the at least one secondary wireless device or the at least one primary wireless device among the at least one secondary wireless device; (ii) When the server determines that the missing child wireless device exists, the server will mark that the missing child wireless device is in a disconnected state, and send the device identification code and location information corresponding to the missing child wireless device A maintenance message to the management terminal; (iii) The management terminal sends a configuration message related to a replacement sub-wireless device corresponding to one of the disconnected sub-wireless devices to the server side, wherein the configuration message includes the device identification code of the disconnected sub-wireless device and the replacement The device identification code, connection address, and location information of the slave wireless device; and (iv) The server generates another routing table based on the routing table created in step (F) and the setting information, wherein, in the another routing table, the device related to the disconnected child wireless device The identification code, connection address, and location information are replaced with the device identification code, connection address, and location information of the replacement wireless device. 如請求項5所述的無線網路建構方法,其中,在該步驟(iv)後還包含以下步驟: (v)該伺服端傳送該另一路由表至該至少一主無線裝置、該至少一副無線裝置、及不屬於該替代子無線裝置之其他子無線裝置; (vi)對於在該至少一主無線裝置及該至少一副無線裝置中,與該替代子無線裝置存在有連結關係的一上級無線裝置,當該上級無線裝置接收到該另一路由表時,該上級無線裝置根據該另一路由表傳送一包含該替代子無線裝置之裝置識別碼的替代連線訊息至該替代子無線裝置; (vii)當該替代子無線裝置接收到該替代連線訊息時,該替代子無線裝置傳送一包含該替代子無線裝置連線位址的回應訊息至該上級無線裝置;及 (viii)當該上級無線裝置接收到該回應訊息時,該上級無線裝置根據該替代子無線裝置連線位址,建立與該替代子無線裝置的連線,並傳送該另一路由表至該替代子無線裝置。 The wireless network construction method according to claim 5, wherein after the step (iv), the method further includes the following steps: (v) The server sends the other routing table to the at least one primary wireless device, the at least one secondary wireless device, and other child wireless devices that are not the replacement child wireless device; (vi) For an upper-level wireless device that has a connection relationship with the replacement sub-wireless device among the at least one primary wireless device and the at least one secondary wireless device, when the upper-level wireless device receives the other routing table, The upper-level wireless device transmits a replacement connection message including the device identification code of the replacement sub-wireless device to the replacement sub-wireless device according to the another routing table; (vii) When the substitute wireless device receives the substitute connection message, the substitute sub wireless device transmits a response message including the connection address of the substitute sub wireless device to the superior wireless device; and (viii) When the upper-level wireless device receives the response message, the upper-level wireless device establishes a connection with the substitute sub-wireless device according to the connection address of the substitute sub-wireless device, and transmits the other routing table to the Replace the sub wireless device. 如請求項3所述的無線網路建構方法,其中,在該步驟(K)後還包含以下步驟: (ix) 該伺服端根據該連線回應訊息,判斷該至少一副無線裝置中是否存在一未連線至該至少一主無線裝置的失聯副無線裝置; (x)當該伺服端判斷存在該失聯副無線裝置時,對於該至少一子無線裝置中與該失聯副無線裝置存在連結關係的每一下級子無線裝置,該伺服端傳送一包含對應該下級子無線裝置之裝置識別碼的確認連線訊息至該下級子無線裝置; (xi)對於每一下級子無線裝置,當該下級子無線裝置接收到該確認連線訊息時,該下級子無線裝置傳送一包含該下級子無線裝置之裝置識別碼、連線位址的回應確認訊息至該伺服端; (xii)該伺服端根據所接收到的所有回應確認訊息,判斷對應所有回應確認訊息的一回應確認訊息數量是否大於一預設閥值; (xiii)當該伺服端判斷該回應確認訊息數量大於該預設閥值時,該伺服端將該失聯副無線裝置作為該斷線主無線裝置,且根據該路由表中未直接或間接連接至該斷線主無線裝置之該至少一主無線裝置、該至少一副無線裝置,及該至少一子無線裝置,選取一對應該斷線主無線裝置的橋接無線裝置; (xiv)對於每一斷線主無線裝置,該伺服端根據該路由表中連接至該斷線主無線裝置的該至少一子無線裝置,選取一對應該斷線主無線裝置的代理無線裝置,並將非作為代理無線裝置的其他子無線裝置作為至少一失聯無線裝置;及 (xv)該伺服端根據自該步驟(F)所建立的路由表,重新建立另一路由表,其中,在該另一路由表中,對於每一斷線主無線裝置,對應該斷線主無線裝置的該代理無線裝置被指定跟對應該斷線主無線裝置的該橋接無線裝置存在連結關係,對應該斷線主無線裝置且不屬於該代理無線裝置的該至少一失聯無線裝置被指定跟對應該斷線主無線裝置的該代理無線裝置存在連結關係。 The wireless network construction method according to claim 3, wherein after step (K), the method further includes the following steps: (ix) The server determines whether there is a disconnected secondary wireless device that is not connected to the at least one primary wireless device among the at least one secondary wireless device according to the connection response message; (x) When the server determines that there is the missing secondary wireless device, for each of the at least one secondary wireless device that has a connection relationship with the missing secondary wireless device, the server sends a pair of The confirmation connection message of the device ID of the subordinate wireless device should be sent to the subordinate wireless device; (xi) For each lower-level sub-wireless device, when the lower-level sub-wireless device receives the connection confirmation message, the lower-level sub-wireless device sends a response including the device identification code and connection address of the lower-level sub-wireless device Confirm the message to the server; (xii) The server determines whether the number of a response confirmation message corresponding to all the response confirmation messages is greater than a preset threshold according to all the response confirmation messages received; (xiii) When the server determines that the number of response confirmation messages is greater than the preset threshold, the server uses the disconnected secondary wireless device as the disconnected primary wireless device, and is not directly or indirectly connected according to the routing table To the at least one master wireless device, the at least one secondary wireless device, and the at least one sub wireless device to the disconnected primary wireless device, select a pair of bridge wireless devices that should be disconnected from the primary wireless device; (xiv) For each disconnected master wireless device, the server selects a pair of proxy wireless devices that should be disconnected from the master wireless device according to the at least one sub-wireless device connected to the disconnected master wireless device in the routing table, And use other sub-wireless devices that are not acting as proxy wireless devices as at least one disconnected wireless device; and (xv) The server re-creates another routing table based on the routing table established in step (F), wherein, in the other routing table, for each disconnected master wireless device, the disconnected master The proxy wireless device of the wireless device is designated to have a connection relationship with the bridge wireless device corresponding to the disconnected master wireless device, and the at least one disconnected wireless device corresponding to the disconnected master wireless device and not belonging to the proxy wireless device is designated There is a connection relationship with the proxy wireless device corresponding to the disconnected master wireless device. 如請求項7所述的無線網路建構方法,其中,在步驟(xv)後還包含以下步驟: (xvi)該伺服端傳送該另一路由表至非屬該斷線主無線裝置的該至少一主無線裝置,以及未直接或間接連線至任一斷線主無線裝置的該至少一副無線裝置、該至少一子無線裝置,及對應該斷線主無線裝置的該橋接無線裝置; (xvii)對於每一斷線主無線裝置,當對應該斷線主無線裝置的該橋接無線裝置接收到該另一路由表時,該橋接無線裝置傳送一包含對應相關於該斷線主無線裝置的該代理無線裝置之裝置識別碼的代理連線訊息至對應該斷線主無線裝置的該代理無線裝置; (xviii)對於每一代理無線裝置,當該代理無線裝置接收到該包含對應其自身之裝置識別碼的代理連線訊息時,該代理無線裝置傳送一包含該代理無線裝置網路協定位址的代理回應訊息至該橋接無線裝置; (xix)對於每一橋接無線裝置,當該橋接無線裝置接收到該代理回應訊息時,該橋接無線裝置根據該代理無線裝置網路協定位址建立與該代理無線裝置的連線,並傳送該另一路由表至該代理無線裝置; (xx)對於每一代理無線裝置,當該代理無線裝置接收該另一路由表時,對於每一對應該代理無線裝置的失聯無線裝置,該代理無線裝置根據該另一路由表,傳送一包含對應該代理無線裝置的該失聯無線裝置之裝置識別碼的重新連線訊息至該失聯無線裝置; (xxi)對於每一連線至該斷線主無線裝置的失聯無線裝置,當該失聯無線裝置接收到包含對應其自身之裝置識別碼的重新連線訊息時,該失聯無線裝置傳送一包含對應其自身之失聯無線裝置網路協定位址的失聯回應訊息至該代理無線裝置;及 (xxii)對於每一代理無線裝置,當該代理無線裝置接收到該至少一失聯回應訊息時,該代理無線裝置根據該至少一失聯無線裝置網路協定位址,建立與該至少一失聯無線裝置的連線,並傳送該另一路由表至該至少一失聯無線裝置。 The method for constructing a wireless network according to claim 7, wherein after step (xv), the following steps are further included: (xvi) The server sends the other routing table to the at least one primary wireless device that is not the disconnected primary wireless device, and the at least one secondary wireless device that is not directly or indirectly connected to any disconnected primary wireless device A device, the at least one sub-wireless device, and the bridged wireless device corresponding to the disconnected main wireless device; (xvii) For each disconnected master wireless device, when the bridged wireless device corresponding to the disconnected master wireless device receives the other routing table, the bridged wireless device transmits a message corresponding to the disconnected master wireless device The proxy connection message of the device identification code of the proxy wireless device to the proxy wireless device corresponding to the disconnected main wireless device; (xviii) For each proxy wireless device, when the proxy wireless device receives the proxy connection message containing the device ID corresponding to its own, the proxy wireless device sends a network protocol address containing the proxy wireless device The proxy responds to the bridged wireless device; (xix) For each bridged wireless device, when the bridged wireless device receives the proxy response message, the bridged wireless device establishes a connection with the proxy wireless device according to the proxy wireless device network protocol address, and transmits the Another 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 disconnected wireless device corresponding to the proxy wireless device, the proxy wireless device transmits a routing table according to the other routing table A reconnection message containing the device identification code of the lost wireless device corresponding to the proxy wireless device to the lost wireless device; (xxi) For each disconnected wireless device connected to the disconnected master wireless device, when the disconnected wireless device receives a reconnect message containing its own device ID, the disconnected wireless device sends A lost connection response message containing the network protocol address of the lost wireless device corresponding to its own to the proxy wireless device; and (xxii) For each proxy wireless device, when the proxy wireless device receives the at least one missing connection response message, the proxy wireless device establishes a connection with the at least one missing wireless device according to the at least one missing wireless device network protocol address Connect the connection of the wireless device, and transmit the other routing table to the at least one out of connection wireless device. 如請求項7所述的無線網路建構方法,其中,在該步驟(xii)後還包含以下步驟: (xxiii)當該伺服端判斷該回應確認訊息數量不大於該預設閥值時,該伺服端將該失聯副無線裝置作為該失聯子無線裝置; (xxiv)該伺服端標註該失聯子無線裝置處於一斷線狀態,並傳送對應該失聯子無線裝置之裝置識別碼及定位資訊的一維修訊息至該管理端; (xxv)該管理端傳送一相關於對應該失聯子無線裝置之一替代子無線裝置的設定訊息至該伺服端,其中,該設定訊息包含該失聯子無線裝置之裝置識別碼、該替代子無線裝置之裝置識別碼、連線位址,及定位資訊;及 (xxvi)該伺服端根據自該步驟(F)所建立的該路由表及該設定訊息,產生另一路由表,其中,在該另一路由表中,相關於該失聯子無線裝置之裝置識別碼、連線位址,及定位資訊被替代為該替代子無線裝置之裝置識別碼、連線位址,及定位資訊。 The method for constructing a wireless network according to claim 7, wherein, after the step (xii), the following steps are further included: (xxiii) When the server determines that the number of response confirmation messages is not greater than the preset threshold, the server uses the missing secondary wireless device as the missing child wireless device; (xxiv) The server terminal marks that the disconnected child wireless device is in a disconnected state, and sends a maintenance message corresponding to the device identification code and location information of the disconnected child wireless device to the management terminal; (xxv) The management terminal sends a configuration message related to a replacement sub-wireless device corresponding to one of the disconnected sub-wireless devices to the server, wherein the configuration message includes the device identification code of the disconnected sub-wireless device and the replacement The device identification code, connection address, and location information of the slave wireless device; and (xxvi) The server generates another routing table based on the routing table created from step (F) and the setting message, wherein, in the other routing table, the device related to the disconnected child wireless device The identification code, connection address, and location information are replaced with the device identification code, connection address, and location information of the replacement wireless device. 如請求項9所述的無線網路建構方法,其中,在步驟(xxvi)後還包含以下步驟: (xxvii)該伺服端傳送該另一路由表至該至少一主無線裝置、該至少一副無線裝置、及不屬於該替代子無線裝置之其他子無線裝置; (xxviii)對於在該至少一主無線裝置及該至少一副無線裝置中,與該替代子無線裝置存在有連結關係的一上級無線裝置,當該上級無線裝置接收到該另一路由表時,該上級無線裝置根據該另一路由表傳送一包含該替代子無線裝置之裝置識別碼的替代連線訊息至該替代子無線裝置; (xxix)當該替代子無線裝置接收到該替代連線訊息時,該替代子無線裝置傳送一包含該替代子無線裝置連線位址的回應訊息至該上級無線裝置;及 (xxx)當該上級無線裝置接收到該回應訊息時,該上級無線裝置根據該替代子無線裝置連線位址,建立與該替代子無線裝置的連線,並傳送該另一路由表至該替代子無線裝置。 The wireless network construction method according to claim 9, wherein, after step (xxvi), the following steps are further included: (xxvii) The server sends the other routing table to the at least one primary wireless device, the at least one secondary wireless device, and other sub-wireless devices that are not the replacement sub-wireless device; (xxviii) For the at least one primary wireless device and the at least one secondary wireless device, an upper-level wireless device that has a connection relationship with the replacement sub-wireless device, when the upper-level wireless device receives the other routing table, The upper-level wireless device transmits a replacement connection message including the device identification code of the replacement sub-wireless device to the replacement sub-wireless device according to the another routing table; (xxix) When the substitute wireless device receives the substitute connection message, the substitute sub wireless device transmits a response message including the connection address of the substitute sub wireless device to the superior wireless device; and (xxx) When the upper-level wireless device receives the response message, the upper-level wireless device establishes a connection with the substitute sub-wireless device according to the connection address of the substitute sub-wireless device, and sends the other routing table to the Replace the sub wireless device. 如請求項7或請求項10任一項所述的無線網路建構方法,其中, 該伺服端根據所接收到的所有回應確認訊息,判斷是否存在未傳送該回應確認訊息的該至少一下級子無線裝置,當該伺服端判斷存在未傳送該回應確認訊息的該至少一下級子無線裝置時,該伺服端將未傳送該回應確認訊息的每一下級子無線裝置作為該失聯子無線裝置,並進行以下步驟: (xxxi)該伺服端標註該失聯子無線裝置處於一斷線狀態,並傳送對應該失聯子無線裝置之裝置識別碼及定位資訊的一維修訊息至該管理端; (xxxii)該管理端傳送一相關於對應該失聯子無線裝置之一替代子無線裝置的設定訊息至該伺服端,其中,該設定訊息包含該失聯子無線裝置之裝置識別碼、該替代子無線裝置之裝置識別碼、連線位址,及定位資訊; (xxxiii)該伺服端根據自該步驟(F)所建立的該路由表及該設定訊息,產生另一路由表,其中,在該另一路由表中,相關於該失聯子無線裝置之裝置識別碼、連線位址,及定位資訊被替代為該替代子無線裝置之裝置識別碼、連線位址,及定位資訊; (xxxiv)該伺服端傳送該另一路由表至該至少一主無線裝置、該至少一副無線裝置、及不屬於該替代子無線裝置之其他子無線裝置; (xxxv)對於在該至少一主無線裝置及該至少一副無線裝置中,與該替代子無線裝置存在有連結關係的一上級無線裝置,當該上級無線裝置接收到該另一路由表時,該上級無線裝置根據該另一路由表傳送一包含該替代子無線裝置之裝置識別碼的替代連線訊息至該替代子無線裝置; (xxxvi)當該替代子無線裝置接收到該替代連線訊息時,該替代子無線裝置傳送一包含該替代子無線裝置連線位址的回應訊息至該上級無線裝置;及 (xxxvii)當該上級無線裝置接收到該回應訊息時,該上級無線裝置根據該替代子無線裝置連線位址,建立與該替代子無線裝置的連線,並傳送該另一路由表至該替代子無線裝置。 According to the method for constructing a wireless network according to any one of claim 7 or claim 10, the server determines whether there is the at least one subordinate that has not sent the response confirmation message based on all the received response confirmation messages For the wireless device, when the server determines that there is the at least subordinate wireless device that has not sent the response confirmation message, the server uses each subordinate wireless device that has not sent the response confirmation message as the disconnected sub wireless device, And perform the following steps: (xxxi) The server terminal marks that the disconnected child wireless device is in a disconnected state, and sends a maintenance message corresponding to the device identification code and location information of the disconnected child wireless device to the management terminal; (xxxii) The management terminal sends a configuration message related to a replacement sub-wireless device corresponding to one of the disconnected sub-wireless devices to the server side, wherein the configuration message includes the device identification code of the disconnected sub-wireless device, the replacement The device identification code, connection address, and location information of the slave wireless device; (xxxiii) The server generates another routing table based on the routing table created from step (F) and the setting message, wherein, in the other routing table, the device related to the disconnected child wireless device The identification code, connection address, and location information are replaced with the device identification code, connection address, and location information of the replacement wireless device; (xxxiv) The server sends the other routing table to the at least one primary wireless device, the at least one secondary wireless device, and other sub-wireless devices that are not the replacement sub-wireless device; (xxxv) For an upper-level wireless device that has a connection relationship with the replacement sub-wireless device among the at least one primary wireless device and the at least one secondary wireless device, when the upper-level wireless device receives the other routing table, The upper-level wireless device transmits a replacement connection message including the device identification code of the replacement sub-wireless device to the replacement sub-wireless device according to the another routing table; (xxxvi) When the substitute wireless device receives the substitute connection message, the substitute sub wireless device transmits a response message including the connection address of the substitute sub wireless device to the superior wireless device; and (xxxvii) When the upper-level wireless device receives the response message, the upper-level wireless device establishes a connection with the substitute sub-wireless device according to the connection address of the substitute sub-wireless device, and sends the other routing table to the Replace the sub wireless device.
TW109105284A 2020-02-19 2020-02-19 Wireless network construction method TWI710274B (en)

Priority Applications (18)

Application Number Priority Date Filing Date Title
TW109105284A TWI710274B (en) 2020-02-19 2020-02-19 Wireless network construction method
CN202011305606.8A CN113286347A (en) 2020-02-19 2020-11-20 Wireless network construction method
CA3108087A CA3108087C (en) 2020-02-19 2021-02-04 Method for monitoring apparatus
SG10202101296YA SG10202101296YA (en) 2020-02-19 2021-02-08 Method for monitoring apparatus
EP21155995.0A EP3869739B1 (en) 2020-02-19 2021-02-09 Method for monitoring apparatus
PL21155995.0T PL3869739T3 (en) 2020-02-19 2021-02-09 Method for monitoring apparatus
RS20230984A RS64737B1 (en) 2020-02-19 2021-02-09 Method for monitoring apparatus
JP2021019185A JP7236750B2 (en) 2020-02-19 2021-02-09 Method for monitoring equipment
ES21155995T ES2961298T3 (en) 2020-02-19 2021-02-09 Device monitoring method
HRP20231334TT HRP20231334T1 (en) 2020-02-19 2021-02-09 Method for monitoring apparatus
AU2021200805A AU2021200805B2 (en) 2020-02-19 2021-02-09 Method for monitoring apparatus
HUE21155995A HUE063397T2 (en) 2020-02-19 2021-02-09 Method for monitoring apparatus
US17/172,433 US11632682B2 (en) 2020-02-19 2021-02-10 Method for monitoring apparatus
IL280897A IL280897B2 (en) 2020-02-19 2021-02-15 Method for monitoring apparatus
KR1020210020838A KR102539597B1 (en) 2020-02-19 2021-02-17 Method for monitoring apparatus
SA121420480A SA121420480B1 (en) 2020-02-19 2021-02-18 Method for Monitoring Apparatus
RU2021104082A RU2754344C1 (en) 2020-02-19 2021-02-18 Device monitoring method
AU2022204679A AU2022204679B2 (en) 2020-02-19 2022-06-30 Method for monitoring apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109105284A TWI710274B (en) 2020-02-19 2020-02-19 Wireless network construction method

Publications (2)

Publication Number Publication Date
TWI710274B true TWI710274B (en) 2020-11-11
TW202133676A TW202133676A (en) 2021-09-01

Family

ID=74202412

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109105284A TWI710274B (en) 2020-02-19 2020-02-19 Wireless network construction method

Country Status (1)

Country Link
TW (1) TWI710274B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010090562A1 (en) * 2009-02-06 2010-08-12 Telefonaktiebolaget L M Ericsson (Publ) Network aware peer to peer
TW201532415A (en) * 2014-02-14 2015-08-16 Jsw Pacific Corp Peer-to-peer connecting system, peer-to-peer connecting method and computer application program thereof
US20160164923A1 (en) * 2008-08-25 2016-06-09 Paul J. Dawes Method for data routing in networks
JP5971488B2 (en) * 2010-10-15 2016-08-17 マーベル ワールド トレード リミテッド Network address assignment
KR101723453B1 (en) * 2011-02-21 2017-04-05 삼성전자주식회사 Apparatus and method for providing universal plug and play based on wi-fi direct connection in portable terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160164923A1 (en) * 2008-08-25 2016-06-09 Paul J. Dawes Method for data routing in networks
WO2010090562A1 (en) * 2009-02-06 2010-08-12 Telefonaktiebolaget L M Ericsson (Publ) Network aware peer to peer
JP5971488B2 (en) * 2010-10-15 2016-08-17 マーベル ワールド トレード リミテッド Network address assignment
KR101723453B1 (en) * 2011-02-21 2017-04-05 삼성전자주식회사 Apparatus and method for providing universal plug and play based on wi-fi direct connection in portable terminal
TW201532415A (en) * 2014-02-14 2015-08-16 Jsw Pacific Corp Peer-to-peer connecting system, peer-to-peer connecting method and computer application program thereof

Also Published As

Publication number Publication date
TW202133676A (en) 2021-09-01

Similar Documents

Publication Publication Date Title
CN101842710B (en) Scalable connectivity fault management in a bridged/virtual private LAN service environment
TWI534622B (en) Intelligent network management platform for ikvm servers
CN103312532B (en) The automatic method for removing of fault for things-internet gateway and system
CN105323310A (en) Network communication method, device and network attached storage device
CN109120726A (en) A kind of multi-router VPN automatic network-building method and system based on collection medium-long range control
JP2009194675A (en) Program, apparatus and method for managing network constitution
JP2022172168A (en) Point-to-point database synchronization over transport protocol
CN103428269B (en) A kind of resource rapid deployment method under distributed environment
CN116016164A (en) Virtual service network construction method based on software defined network
TWI536176B (en) User - side host redundancy system and its implementation
TWI710274B (en) Wireless network construction method
CN103534995B (en) A kind of interplate communication method of router cluster, router and router cluster
WO2019170085A1 (en) Fault diagnosis method and apparatus therefor
CN104580346A (en) Data transmission method and device
JP3785101B2 (en) Communication connection establishment method, communication control device, recording medium, and control program
US20150280998A1 (en) Communication system, communication control method, and control device
TWI725853B (en) Wireless device construction method for monitored device
CN113395740B (en) Wireless network construction method
CN107769964A (en) Special line check method and system
CN113286347A (en) Wireless network construction method
CN110417636B (en) Decentralized self-organizing instant messaging system and method thereof
CN104754762B (en) Automatically method, controller and the system of controller are found in the customized network of software
CN105376275A (en) Software-defined network (SDN)-based data management method and system
CN109391545A (en) The discovery system and discovery method of domain-to-domain link
JP5576497B2 (en) Communication network system, terminal, and configuration method