TW202232985A - A method of network device locating - Google Patents

A method of network device locating Download PDF

Info

Publication number
TW202232985A
TW202232985A TW110104312A TW110104312A TW202232985A TW 202232985 A TW202232985 A TW 202232985A TW 110104312 A TW110104312 A TW 110104312A TW 110104312 A TW110104312 A TW 110104312A TW 202232985 A TW202232985 A TW 202232985A
Authority
TW
Taiwan
Prior art keywords
network
new
layer
management controller
switch
Prior art date
Application number
TW110104312A
Other languages
Chinese (zh)
Other versions
TWI804814B (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 TW110104312A priority Critical patent/TWI804814B/en
Publication of TW202232985A publication Critical patent/TW202232985A/en
Application granted granted Critical
Publication of TWI804814B publication Critical patent/TWI804814B/en

Links

Images

Abstract

A system for locating a network device comprises a network management controller and at least one controlled network. Multiple devices in the controlled network include a first-layer network switch, a wireless base station or a second-layer network switch connected to the first-layer network switch, and a wired device or a wireless device connected to the second-layer network switch or wireless base station. The network management controller uses continuous multiple broadcast packets to collect the statuses of all devices in the controlled network and obtain the logic and related locations of the devices and store the same, and reads the information of a new device when a new device is found, so as to rebuild the network topology. When an abnormality is found in a device, the network management controller can confirm the line status of the upper-layer device of the device that has an abnormal state, and determine the location and cause of the device that has the abnormal state.

Description

網路設備定位找尋系統Network equipment location and search system

本發明係有關一種網路系統,特別是指一種網路設備定位找尋系統。The present invention relates to a network system, in particular to a network equipment positioning and searching system.

先前網路設備之管理主要透過一種簡易網路管理通訊協定(Simple Network Management Protocol, SNMP)軟體,所有受管控設備會將其狀態透過SNMP的管理資訊資料庫(Management Information Base, MIB)回報給SNMP軟體,而若是受管控設備出現問題時,SNMP軟體無法知道該設備或該設備相關連線的狀況,因此在處理上管理者需耗時了解,從各不同設備去找尋,同樣,也需依靠管理者經驗來找尋有故障的網路終端設備、節點、中繼連結網路設備以進行後續處理。In the past, the management of network devices was mainly through a Simple Network Management Protocol (SNMP) software, and all controlled devices would report their status to SNMP through the Management Information Base (MIB) of SNMP If there is a problem with the managed device, the SNMP software cannot know the status of the device or the related connections of the device. Therefore, it takes time for the administrator to understand and search from different devices. Similarly, it also needs to rely on the management The user experience is used to find the faulty network terminal equipment, nodes, and relay connection network equipment for subsequent processing.

舉例而言,在第1A圖所示之網路架構中,網路工作站11連接部門乙太網路交換器12,部門乙太網路交換器12再連接骨幹交換器13。當SNMP 網路管理者發現網路工作站11失去連線,或是收到使用者電話回報失去連線時,網路管理者便需到部門乙太網路交換器12處或是網路工作站11處了解斷線或故障原因。又如第1B圖所示之網路架構,無線使用者或筆記型電腦14與部門無線基地台15無線連接,部門無線基地台15又與網路交換器16連接。區域內無線使用者無法正常使用該區域無線。因而向SNMP 網路管理者反應無法使用。或是SNMP管理者欲找尋該無線使用者位置。網路管理亦親自到無線現場了解故障點的實際狀況。For example, in the network architecture shown in FIG. 1A , the network workstation 11 is connected to the departmental Ethernet switch 12 , and the departmental Ethernet switch 12 is further connected to the backbone switch 13 . When the SNMP network manager finds that the network workstation 11 has lost the connection, or receives a report from the user that the connection is lost, the network manager needs to go to the departmental Ethernet switch 12 or the network workstation 11 to find out the cause of the disconnection or failure. In another example of the network architecture shown in FIG. 1B , the wireless user or the notebook computer 14 is wirelessly connected to the departmental wireless base station 15 , and the departmental wireless base station 15 is in turn connected to the network switch 16 . Wireless users in the area cannot use the area wireless normally. Therefore, the response to the SNMP network manager cannot be used. Or the SNMP manager wants to find the wireless user location. Network management also personally went to the wireless site to understand the actual situation of the point of failure.

因此,本發明針對上述習知技術之缺失及未來之需求,提出一種網路設備定位找尋系統,網路管理者不需到現場即可透過網路管理控制器找到網路異常的位置。具體架構及其實施方式將詳述於下:Therefore, the present invention proposes a network device positioning and searching system in view of the above-mentioned deficiencies of the prior art and future needs. The network administrator can find the abnormal location of the network through the network management controller without going to the site. The specific architecture and its implementation will be described in detail below:

本發明之主要目的在提供一種網路設備定位找尋系統,其將分散的網路設備的狀態集中回報給網路管理控制器,以供網路管理者可即時了解設備狀態,當新增設備時可立即得知新設備的拓樸及相關資訊。The main purpose of the present invention is to provide a network equipment location and search system, which reports the status of the scattered network equipment to the network management controller in a centralized manner, so that the network administrator can know the equipment status in real time. The topology and related information of the new equipment can be immediately known.

本發明之另一目的在提供一種網路設備定位找尋系統,其在設備發生異常時,不但可得知異常設備的異常狀態為何、定位出異常設備的位置,更可得知異常點的位置,例如是網路線斷點或是無線異常點。Another object of the present invention is to provide a network device positioning and searching system, which can not only know the abnormal state of the abnormal device, locate the location of the abnormal device, but also know the location of the abnormal point when the device is abnormal. For example, a network line breakpoint or a wireless anomaly point.

為達上述目的,本發明提供一種網路設備定位找尋系統,包括:至少一受控管網路,包括複數設備,該等設備包括:至少一第一層網路交換器;至少一第二層網路交換器或至少一無線基地台,連接第一層網路交換器;以及至少一有線設備或無線設備,連接第二層網路交換器或無線基地台;以及一網路管理控制器,連接受控管網路中之第一層網路交換器,網路管理控制器利用不間斷的複數廣播封包蒐集受控管網路中的所有設備之狀況,取得設備之邏輯及相關位置並儲存於一資料庫中,包括設備之網路地址(MAC Address)、IP位址、實體連線或無線連線等資訊。當發現一新設備時讀取新設備之資訊,以重建網路拓樸,當設備中發現一狀態異常設備時,網路管理控制器確認狀態異常設備的上一層設備之線路狀況,判斷狀態異常設備的位置及原因。In order to achieve the above object, the present invention provides a system for locating and finding network equipment, including: at least one controlled network, including a plurality of devices, the devices include: at least one layer 1 network switch; at least one layer 2 network A network switch or at least one wireless base station, connected to the first-layer network switch; and at least one wired device or wireless device, connected to the second-layer network switch or wireless base station; and a network management controller, Connected to the first-layer network switch in the managed network, the network management controller uses continuous multiple broadcast packets to collect the status of all devices in the managed network, obtain the logic and related positions of the devices and store them In a database, it includes information such as the network address (MAC Address), IP address, physical connection or wireless connection of the device. When a new device is found, the information of the new device is read to rebuild the network topology. When a device with an abnormal state is found in the device, the network management controller confirms the line status of the upper-layer device of the abnormal state device, and judges that the state is abnormal. The location of the device and why.

依據本發明之實施例,網路管理控制器係利用一智慧發現協議(Smart Discovery)偵測到該新設備。According to an embodiment of the present invention, the network management controller detects the new device using a smart discovery protocol (Smart Discovery).

依據本發明之實施例,網路管理控制器係利用一簡易網路管理通訊協定(Simple Network Management Protocol, SNMP)查看受控管網路中各設備之狀態,及確認新設備之連線狀態。According to an embodiment of the present invention, the network management controller uses a Simple Network Management Protocol (SNMP) to check the status of each device in the managed network, and to confirm the connection status of the new device.

依據本發明之實施例,當新設備為一新網路交換器時,網路管理控制器使用一實體線路偵測(Cable Diagnose)進行網路連線掃描,以確認新網路交換器上所有實體網路線的狀況後,再遠端下令給新網路交換器進行一光纖介面的數位偵測監控(Digital Diagnose Monitoring)以讀取資料,接著從遠端下令以一鏈接層發現協議(Link Layer Discovery Protocol, LLDP)進行新網路交換器的資料讀取及新網路交換器上至少一已連結設備的資料讀取。According to an embodiment of the present invention, when the new device is a new network switch, the network management controller uses a physical line detection (Cable Diagnose) to scan the network connection to confirm all the network switches on the new network switch. After the status of the physical network line, remotely order the new network switch to perform a digital detection monitoring (Digital Diagnose Monitoring) of an optical fiber interface to read data, and then order a link layer discovery protocol (Link Layer Discovery Protocol) from the remote end. Discovery Protocol, LLDP) for data reading of the new network switch and data reading of at least one connected device on the new network switch.

依據本發明之實施例,當新設備為一新無線基地台時,網路管理控制器判斷新無線基地台是否直接連接第一層網路交換器,若是,則使用一實體線路偵測(Cable Diagnose)進行網路連線掃描,以確認受控管網路中所有實體線路的狀況並記錄在一交換器資料表內,再依據新無線基地台的通道數進行遠端控制及存取周邊設備。According to an embodiment of the present invention, when the new device is a new wireless base station, the network management controller determines whether the new wireless base station is directly connected to the Layer 1 network switch, and if so, uses a physical line detection (Cable Diagnose) to scan the network connection to confirm the status of all physical lines in the managed network and record it in a switch data table, and then perform remote control and access peripheral equipment according to the number of channels of the new wireless base station .

依據本發明之實施例,當新設備為一新有線設備時,網路管理控制器以複數測試封包確認新有線設備之拓樸屬性,並使用一實體線路偵測(Cable Diagnose)進行網路連線掃描,以記錄新有線設備之實體線路位置,再將拓樸屬性寫入資料庫中。According to an embodiment of the present invention, when the new device is a new wired device, the network management controller confirms the topology attribute of the new wired device with a plurality of test packets, and uses a physical line detection (Cable Diagnose) for network connection. Line scan to record the physical line location of new wired equipment, and then write the topology attributes into the database.

依據本發明之實施例,新有線設備之拓樸屬性包括末端節點或終端設備,終端設備為相機或電話。According to an embodiment of the present invention, the topology attribute of the new wired device includes an end node or a terminal device, and the terminal device is a camera or a phone.

依據本發明之實施例,當新設備為一新無線設備時,網路管理控制器確認新無線設備之實體路由,並以複數測試封包確認新無線設備之屬性,判斷新無線設備為新路由或新無線基地台,並將新無線設備寫入相對應之一資料表中。According to an embodiment of the present invention, when the new device is a new wireless device, the network management controller confirms the physical route of the new wireless device, and confirms the attributes of the new wireless device with a plurality of test packets, and determines that the new wireless device is a new route or new wireless base station, and write the new wireless equipment into one of the corresponding data tables.

依據本發明之實施例,測試封包包括RFC1213、PLANET智慧發現協議(PLANET Smart Discovery)封包、ONVIF Discover封包、鏈接層發現協議(LLDP)封包及/或通用命名慣例(universal naming convention, UNC)封包。According to an embodiment of the present invention, the test packets include RFC1213, PLANET Smart Discovery (PLANET Smart Discovery) packets, ONVIF Discover packets, Link Layer Discovery Protocol (LLDP) packets and/or Universal Naming Convention (UNC) packets.

依據本發明之實施例,第一層網路交換器、第二層網路交換器及無線基地台位於受控管網路之一網路設備層,而有線設備及無線設備位於受控管網路之一終端設備層。According to the embodiment of the present invention, the first layer network switch, the second layer network switch and the wireless base station are located in a network equipment layer of the managed network, and the wired equipment and the wireless equipment are located in the controlled management network. One of the paths is the terminal device layer.

依據本發明之實施例,網路管理控制器儲存設備之網路地址(MAC Address)、IP位址、實體連線或無線連線之資訊。According to an embodiment of the present invention, the network management controller stores the information of the network address (MAC Address), IP address, physical connection or wireless connection of the device.

依據本發明之實施例,有線設備或無線設備包括無線基地台、網路攝影機、網路電話或路由器。According to an embodiment of the present invention, the wired device or the wireless device includes a wireless base station, a network camera, a network phone, or a router.

依據本發明之實施例,網路管理控制器之該資料庫中更儲存設備之實體線路長度,當狀態異常設備為第二層網路交換器或有線設備時,狀態異常設備之上一層設備利用簡易網路管理通訊協定(SNMP)設定自動回報訊息給網路管理控制器,網路管理控制器利用一實體線路偵測(Cable Diagnose)確定實體線路狀態,比對異常設備之線路長度是否與資料庫之實體線路長度一致,以判斷狀態異常設備之異常原因。According to an embodiment of the present invention, the database of the network management controller further stores the physical line length of the device. When the abnormal state device is a layer 2 network switch or a wired device, the device on the upper layer of the abnormal state device uses the Simple Network Management Protocol (SNMP) is set to automatically report messages to the network management controller. The network management controller uses a physical circuit detection (Cable Diagnose) to determine the status of the physical circuit, and compares the circuit length of the abnormal device with the data. The physical lines of the library have the same length to determine the abnormal cause of the abnormal state equipment.

依據本發明之實施例,當狀態異常設備為無線基地台或無線設備時,網路管理控制器從資料庫中找出該狀態異常設備所依附的上一層設備及其無線網路名稱,再依據該上一層設備先前接收到狀態異常設備的一訊號強弱值以判斷狀態異常設備的初始位置,並讀取狀態異常設備及其週邊的無線基地台的一訊號強弱值,依據該些訊號強弱值定位出狀態異常設備之位置。According to an embodiment of the present invention, when the abnormal state device is a wireless base station or a wireless device, the network management controller finds out from the database the upper-layer device and its wireless network name that the abnormal state device is attached to, and then according to The upper-layer device previously received a signal strength value of the abnormal state device to determine the initial position of the abnormal state device, and read a signal strength value of the abnormal state device and its surrounding wireless base stations, and locates according to the signal strength values. The location of the abnormal state equipment.

依據本發明之實施例,無線設備中之每一者更分別透過一第二層無線基地台連接該無線基地台。According to an embodiment of the present invention, each of the wireless devices is further connected to the wireless base station through a second layer wireless base station, respectively.

依據本發明之實施例,網路管理控制器具有簡易網路管理通訊協定(Simple Network Management Protocol, SNMP)、開放式網路視訊介面論壇(Open Network Video Interface Forum, ONVIF)、鏈接層發現協議(Link Layer Discovery Protocol, LLDP)及PLANET智慧發現協議(PLANET Smart Discovery)。According to an embodiment of the present invention, the network management controller has Simple Network Management Protocol (SNMP), Open Network Video Interface Forum (ONVIF), Link Layer Discovery Protocol ( Link Layer Discovery Protocol, LLDP) and PLANET Smart Discovery.

本發明提供一種網路設備定位找尋系統,用以管理受控管網路中的複數設備,並在發生異常狀態時定位出異常設備。The present invention provides a network equipment positioning and searching system, which is used for managing a plurality of equipments in a managed network and locating the abnormal equipment when an abnormal state occurs.

請參考第1圖,其為本發明網路設備定位找尋系統20之系統架構圖。本發明之網路設備定位找尋系統20包括一網路管理控制器22及與其相連之至少一受控管網路30,網路管理控制器22用以監控及管理受控管網路30中的複數設備。受控管網路30中的設備包括至少一第一層網路交換器302、至少一第二層網路交換器304或至少一無線基地台306及複數終端設備。第一層網路交換器302連接網路管理控制器22,第一層網路交換器302具有複數連接埠,分別連接第二層網路交換器304或無線基地台306。複數終端設備包括有線使用者308、有線設備310、無線設備314或318,這些有線設備或無線設備可包括無線基地台、網路攝影機、網路電話或路由器。其中,當終端設備為有線使用者308或有線設備310時,終端設備直接與第二層網路交換器304連接。當終端設備為無線設備314或318時,則有二種可能的連接方式,如圖所示,其一是無線設備314透過一第二層無線基地台312與第二層網路交換器304連接,無線設備314與第二層無線基地台312之間為無線傳輸,而第二層無線基地台312與第二層網路交換器304之間則為實體線路;而另一種連接方式則是無線設備318透過一第二層無線基地台316與無線基地台306連接,無線設備318、第二層無線基地台316及無線基地台306之間皆為無線傳輸。本發明之一實施例中,第一層網路交換器302、第二層網路交換器304、無線基地台306及第二層無線基地台312、316位於受控管網路30之一網路設備層,而有線使用者308、有線設備310及無線設備314、318位於受控管網路30之一終端設備層。Please refer to FIG. 1 , which is a system architecture diagram of the network device location and search system 20 of the present invention. The network device locating and searching system 20 of the present invention includes a network management controller 22 and at least one managed network 30 connected thereto. The network management controller 22 is used to monitor and manage the managed network 30 . plural devices. The devices in the managed network 30 include at least one layer 1 network switch 302, at least one layer 2 network switch 304 or at least one wireless base station 306 and a plurality of terminal devices. The first layer network switch 302 is connected to the network management controller 22 , and the first layer network switch 302 has a plurality of connection ports, which are respectively connected to the second layer network switch 304 or the wireless base station 306 . The plurality of terminal devices include wired users 308, wired devices 310, wireless devices 314 or 318, and these wired or wireless devices may include wireless base stations, network cameras, Internet phones, or routers. Wherein, when the terminal device is the wired user 308 or the wired device 310 , the terminal device is directly connected to the layer 2 network switch 304 . When the terminal device is the wireless device 314 or 318, there are two possible connection methods. As shown in the figure, one is that the wireless device 314 is connected to the second-layer network switch 304 through a second-layer wireless base station 312. , between the wireless device 314 and the second-layer wireless base station 312 is wireless transmission, while the second-layer wireless base station 312 and the second-layer network switch 304 are physical lines; and another connection method is wireless The device 318 is connected to the wireless base station 306 through a second-layer wireless base station 316 , and wireless transmission is performed between the wireless device 318 , the second-layer wireless base station 316 and the wireless base station 306 . In an embodiment of the present invention, the first layer network switch 302 , the second layer network switch 304 , the wireless base station 306 and the second layer wireless base stations 312 , 316 are located in one network of the managed network 30 The wired user 308 , the wired device 310 and the wireless devices 314 , 318 are located at a terminal device layer of the managed network 30 .

網路管理控制器22會不間斷的發出複數廣播封包,以蒐集受控管網路30中的所有設備之狀況,取得設備之邏輯及相關位置後,儲存於一資料庫(圖中未示)中,此資料庫可設在網路管理控制器22中或是與網路管理控制器22連接。設備之邏輯及相關位置包含設備的邏輯位置和實體位置。邏輯位置為網路管理控制器22以協議(如下段所提到的數種通訊協定和協議中的至少任一種)找到的位置,為邏輯上的相對位置,例如「交換器A的第9埠」。而相關位置為管理者自行輸入的位置說明,例如「九樓印表機」。當網路管理控制器22利用廣播封包發現一新設備時,讀取新設備之資訊,以重建網路拓樸。而當受控管網路30的設備中發現有一狀態異常設備時,則網路管理控制器22會確認此狀態異常設備的上一層設備之線路狀況,判斷出狀態異常設備的位置及原因。The network management controller 22 will continuously send out multiple broadcast packets to collect the status of all the devices in the managed network 30, obtain the logic and related positions of the devices, and store them in a database (not shown in the figure). , the database may be located in the network management controller 22 or connected to the network management controller 22 . The logical and related location of the device includes the logical location and the physical location of the device. The logical location is the location that the network management controller 22 finds with a protocol (at least any one of the several communication protocols and protocols mentioned in the following paragraph), which is a logically relative location, such as "port 9 of switch A. ". The relevant location is the location description entered by the administrator, such as "printer on the ninth floor". When the network management controller 22 discovers a new device using the broadcast packet, it reads the information of the new device to reconstruct the network topology. When a device in the managed network 30 is found to have an abnormal state, the network management controller 22 will confirm the line status of the device on the upper layer of the abnormal state device, and determine the location and cause of the abnormal state device.

本發明中,網路管理控制器22具有簡易網路管理通訊協定(Simple Network Management Protocol, SNMP)、開放式網路視訊介面論壇(Open Network Video Interface Forum, ONVIF)、鏈接層發現協議(Link Layer Discovery Protocol, LLDP)及PLANET智慧發現協議(PLANET Smart Discovery)之能力。例如網路管理控制器22利用智慧發現協議偵測到新設備;又例如網路管理控制器係利用簡易網路管理通訊協定(SNMP)查看受控管網路30中各設備之狀態,及確認新設備之連線狀態。In the present invention, the network management controller 22 has Simple Network Management Protocol (SNMP), Open Network Video Interface Forum (ONVIF), Link Layer Discovery Protocol (Link Layer) Discovery Protocol, LLDP) and PLANET Smart Discovery (PLANET Smart Discovery) capabilities. For example, the network management controller 22 uses the smart discovery protocol to detect new devices; for example, the network management controller uses the Simple Network Management Protocol (SNMP) to check the status of each device in the managed network 30, and confirm The connection status of the new device.

請同時參考第2圖及第3圖,以下詳細說明發現的新設備為不同設備時網路管理控制器22之做動。Please refer to FIG. 2 and FIG. 3 at the same time, the following describes in detail the actions of the network management controller 22 when the discovered new devices are different devices.

如步驟S10~S12所述,當網路管理控制器22利用PLANET智慧發現協議發現受控管網路30中有新設備時,先判斷此設備是否為終端設備,若否,則其可能是新的第二層網路交換器304、新的無線基地台306或新的第二層無線基地台312或316。若新設備為新的網路交換器,則如步驟S14~S18所述,使用一實體線路偵測(Cable Diagnose)做第一次所有實體網路線路掃瞄並記錄,用以確認新網路交換器上所有實體連結的網路線的狀況,舉例而言,若新網路交換器為具備8埠UTP埠、2埠光纖的網路交換器,則網路管理控制器從遠端下令新網路交換器進行整機實體線路偵測,因此將取得如下表一之資訊: UTP 埠 線長- Pair A 線長- Pair B 線-Pair C 線-Pair D 1 43m – open 43m – open 43m – open 43m – open 2 15m – close 14m – close 15m – open 15m – open 3 83m – close 82.5m – close 83m – close 82.6m—close 4 Open Open Open Open 5 Open Open Open Open 6 Open Open Open Open 7 80m – close 81m – close 80m – close 79m – short 8 Open Open Open Open 表一 As described in steps S10 to S12, when the network management controller 22 uses the PLANET smart discovery protocol to discover that there is a new device in the managed network 30, it first determines whether the device is a terminal device, and if not, it may be a new device The second layer network switch 304, the new wireless base station 306, or the new second layer wireless base station 312 or 316. If the new device is a new network switch, use a physical line detection (Cable Diagnose) to scan and record all physical network lines for the first time as described in steps S14-S18 to confirm the new network The status of all physically connected network lines on the switch. For example, if the new network switch is a network switch with 8 UTP ports and 2 fiber ports, the network management controller commands the new network from the remote The circuit switch will detect the physical circuit of the whole machine, so the information in the following table 1 will be obtained: UTP port Cord Length - Pair A Cord Length - Pair B Line - Pair C Line - Pair D 1 43m – open 43m – open 43m – open 43m – open 2 15m – close 14m – close 15m – open 15m – open 3 83m – close 82.5m – close 83m – close 82.6m—close 4 Open Open Open Open 5 Open Open Open Open 6 Open Open Open Open 7 80m – close 81m – close 80m – close 79m – short 8 Open Open Open Open Table I

當網路管理控制器22取得所有雙絞線埠的實體線路資訊後,再遠端下令給新網路交換器進行一光纖介面的數位偵測監控(Digital Diagnose Monitoring)以讀取資料,接著,網路管理控制器22從遠端下令以鏈接層發現協議(LLDP)進行新網路交換器的資料讀取及新網路交換器上至少一已連結設備的資料讀取,如此一來可得到下表二之資訊: SFP 埠 模組 距離 波長 TX DB RX DB 9 SFP-XXX多模 20KM 1330nm -9dbm -30dbm LLDP-9’ SFP-XXX多模 20KM 1330nm -9dbm -27dbm 10 - - - - - LLDP-10’ - - - - - 表二 After the network management controller 22 obtains the physical line information of all twisted-pair ports, it remotely commands the new network switch to perform a digital detection monitoring (Digital Diagnose Monitoring) of the optical fiber interface to read the data, and then, The network management controller 22 commands from the remote end to perform data reading of the new network switch and data reading of at least one connected device on the new network switch using the Link Layer Discovery Protocol (LLDP), so as to obtain Information in Table 2 below: SFP port module distance wavelength TX DB RX DB 9 SFP-XXX Multimode 20KM 1330nm -9dbm -30dbm LLDP-9' SFP-XXX Multimode 20KM 1330nm -9dbm -27dbm 10 - - - - - LLDP-10' - - - - - Table II

其中,LLDP-9’及LLDP-10’ 為鏈接層發現協議所讀取到之對接端設備資訊。因此,由上二表中,網路管理控制器22可得知新發現的新網路交換器初始上下連結的資訊如下表3: 設備屬性 交換器 設備IPv4地址 NNN.NNN.NNN.NNN   設備MAC A8F7E0-XXXXXX 設備IPv6地址 FF.FF.FF.FF.FF.FF   設備埠型式TP 8x 1000BASE-T 設備埠型式 光纖 2x SFP 1000BASE-X   設備埠型式 無線 設備埠型式 其他   拓樸父節點 Port 9       實體連線狀態 實體距離 拓樸子節點 型式 1 無連結設備 43m NA 2 15m 無線基地台 3 83m EN 4…..6, 8 NA 9 20KM 拓樸PN 10 NA Wherein, LLDP-9' and LLDP-10' are the peer device information read by the link layer discovery protocol. Therefore, from the above two tables, the network management controller 22 can learn the information of the initial up-down link of the newly discovered new network switch as shown in Table 3: Device properties switch Device IPv4 address NNN.NNN.NNN.NNN Device MAC A8F7E0-XXXXXX Device IPv6 address FF.FF.FF.FF.FF.FF Device port type TP 8x 1000BASE-T Device port type fiber 2x SFP 1000BASE-X Device port type wireless none Device port type other none topology parent node Port 9 port Physical connection status physical distance Topology Child Node Type 1 no connected device 43m NA 2 Have 15m wireless base station 3 Have 83m EN 4…..6, 8 none none NA 9 Have 20KM Topology PN 10 none none NA

其中,NA代表沒有子節點,EN代表其為末端節點,PN代表父節點(Parent Node),為網路管理控制器22發現的新網路交換器的上連接埠,亦即新網路交換器回應智慧發現協議給網路管理控制器22的埠。網路管理控制器22將這些資訊儲存在資料庫中,以備之後當設備發生異常時之處理決策。Among them, NA represents no child node, EN represents that it is an end node, PN represents a parent node (Parent Node), which is the upper connection port of the new network switch discovered by the network management controller 22, that is, the new network switch. A port that responds to the smart discovery protocol to the network management controller 22 . The network management controller 22 stores the information in the database for later processing decisions when the device is abnormal.

若新設備為新的無線基地台時,如步驟S20~S24所述,網路管理控制器22同樣使用實體線路偵測進行實體網路線路掃瞄並記錄,用以確認新無線基地台上所有實體連結的網路線的狀況。然而,由於新無線基地台可能直接連接第一層網路交換器302,也有可能是位於第二層網路交換器312或316的位置,因此還需要判斷此新無線基地台處於哪一層,亦即確認實體連線的路由。網路管理控制器22先以RFC1213確認新無線基地台的基本資訊,包括其埠CN屬性為何,若記錄不是PN,代表新無線基地台和網路管理控制器22之間不存在其他的無線設備,則以實體線路偵測記錄實體線路位置和拓樸屬性,例如將其記錄為無線基地台,如上表三的第2埠。接下來再進行一次實體線路偵測以再次確認實體線路狀況,同時記錄該資訊於發現該新無線基地台的交換器資料表內。網路管理控制器22依據新無線基地台的無線通道數進行遠端控制及讀取新無線基地台的週邊,包括無線連線或無線詢問設備資訊,以於網路管理控制器22建立相關資料表,如下表四: 設備屬性 無線基地台 設備IPv4地址 NNN.NNN.NNN.NNN 設備MAC A8F7E0-XXXXXX 設備IPv6地址 FF.FF.FF.FF.FF.FF 無線通道A 啟用 無線通道A屬性 2.4GHz 無線通道B 啟用 無線通道B屬性 5GHz ….. ….. ….. ….. 實體建置地理位置 Nxxx°- Exxx°   位置描述 - 通道A資訊   週邊基地台資訊 基地台名稱 使用SSID 訊號強度(RSSI) MAC位址 連結屬性 AP11 CCCCC -76db A8F7E0-ABABAB CN AP13 DDDDD -85db A8F7E0-CFCFCF NA ……         連結終端設備 設備名 使用SSID 訊號強度 MAC地址 連結屬性 IPHONE_A QQQQQ -65db A8F7E0-234567 CN XP_PC QQQQQ -72db 00C002-224466 NA ……         通道B資訊   週邊基地台資訊 基地台名稱 使用SSID 訊號強度(RSSI) MAC地址 連結屬性 5G_AP7 ABABA -82db A8F7E0-334455 NA 5G_AP9 CDCDC -86db A8F7E0-445566 NA ……         連結終端設備 設備名稱 使用SSID 訊號強度 MAC地址 連結屬性 IPHONE_A PPPPP -53db A8F7E0-777777 NA …..         表四 If the new device is a new wireless base station, as described in steps S20-S24, the network management controller 22 also uses the physical circuit detection to scan and record the physical network lines, so as to confirm all the new wireless base stations. The status of the physically connected network line. However, since the new wireless base station may be directly connected to the first-layer network switch 302, or may be located at the position of the second-layer network switch 312 or 316, it is also necessary to determine which layer the new wireless base station is at, and also That is, the routing of the physical connection is confirmed. The network management controller 22 first confirms the basic information of the new wireless base station according to RFC1213, including the attribute of its port CN. If the record is not PN, it means that there is no other wireless device between the new wireless base station and the network management controller 22. , then use the physical line detection to record the physical line location and topology attributes, for example, record it as a wireless base station, such as the second port in Table 3 above. Next, a physical line detection is performed to confirm the physical line status again, and the information is recorded in the data table of the switch that found the new wireless base station. The network management controller 22 performs remote control according to the number of wireless channels of the new wireless base station and reads the periphery of the new wireless base station, including wireless connection or wireless inquiry equipment information, so as to establish relevant data in the network management controller 22 Table, as shown in Table 4 below: Device properties wireless base station Device IPv4 address NNN.NNN.NNN.NNN Device MAC A8F7E0-XXXXXX Device IPv6 address FF.FF.FF.FF.FF.FF Wireless channel A enable Wireless Channel A Properties 2.4GHz Wireless channel B enable Wireless Channel B Properties 5GHz  …  …  …  … physical location Nxxx°- Exxx° Location description - Channel A Information Peripheral base station information base station name Use SSID Signal Strength (RSSI) MAC address link attribute AP11 CCCCC -76db A8F7E0-ABABAB EN AP13 DDDDD -85db A8F7E0-CFCFCF NA ... link terminal equipment Equipment name Use SSID signal strength MAC address link attribute IPHONE_A QQQQQ -65db A8F7E0-234567 EN XP_PC QQQQQ -72db 00C002-224466 NA ... Channel B information Peripheral base station information base station name Use SSID Signal Strength (RSSI) MAC address link attribute 5G_AP7 ABABA -82db A8F7E0-334455 NA 5G_AP9 CDCDC -86db A8F7E0-445566 NA ... link terminal equipment device name Use SSID signal strength MAC address link attribute IPHONE_A PPPPP -53db A8F7E0-777777 NA  … Table 4

在上表四中,實體建置地理位置代表當網路設備有裝衛星定位裝置(GPS)或設定設備時有填地理資訊到該欄位資料。週邊基地台資訊中的基地台的連結屬性為CN時,代表有連結,且為此新無線基地台的下連設備;若為NA,代表未連接週邊基地台。In the above table 4, the physical location location means that when the network device is equipped with GPS or the device is configured, the geographic information is filled in the field data. When the connection attribute of the base station in the peripheral base station information is CN, it means that there is a connection, and it is the down-connected device of the new wireless base station; if it is NA, it means that the peripheral base station is not connected.

經過上述步驟S14~S24資料蒐集的步驟後,網路管理控制器22便可先建立出在受控管網路30中網路設備層的基本資訊,並可在網路管理控制器22中建立一個表格化描述或階層化、圖型化展示的網路架構圖。After the above steps of data collection in steps S14 to S24, the network management controller 22 can first establish the basic information of the network device layer in the managed network 30, and can also establish in the network management controller 22 A tabular description or hierarchical, graphical representation of the network architecture diagram.

接著,當在步驟S12中判斷新設備是終端設備時,再於步驟S26判斷此新設備是有線設備還是無線設備,若是有線設備,包括有線的終端設備或有線使用者,則如步驟S28~S32所述,網路管理控制器22先以複數測試封包確認新有線設備之拓樸屬性,測試封包包括RFC1213、PLANET智慧發現協議(PLANET Smart Discovery)封包、ONVIF Discover封包、鏈接層發現協議(LLDP)封包及/或通用命名慣例(universal naming convention, UNC)封包等。若發現新有線設備的上層交換器之有線埠的埠位屬性為空白,則依有回應的設備填入該屬性。以第4A圖及第4B圖為例,假設網路管理控制器40後依序連接交換器A 42、交換器B 44、交換器C 46及新有線設備48,交換器A 42具有一上連接埠422及一下連接埠424,交換器B 44具有一上連接埠442及一下連接埠444,交換器C 46具有一上連接埠462及一下連接埠464,換言之,新有線設備48的上一層交換器為交換器C 46。圖中,上、下連接埠中的屬性為其所連接的設備的關係,例如交換器A 42的上連接埠422中填入的屬性是root,代表其連接至網路管理控制器22,為第一層網路交換器;交換器A 42的下連接埠424中填入的屬性是B的PN,代表交換器A 42是交換器B 44的父節點;交換器B 44的上連接埠442中填入的屬性是A的CN,代表交換器B 44是交換器A 42的子節點,以此類推。當如第4A圖中發現新有線設備48的上一層的交換器C 46之下連接埠464為空白時,則如第4B圖所示,在交換器C 46之下連接埠464中填入屬性為EN,代表新有線設備48為末端節點,例如電腦主機。若新有線設備48為攝影機或相機(ONVIF)則設為Camera屬性,電話機、路由器等亦同,分別在交換器C 46的下連接埠464中填入不同的屬性。Next, when it is determined in step S12 that the new device is a terminal device, then in step S26 it is determined whether the new device is a wired device or a wireless device, if it is a wired device, including a wired terminal device or a wired user, the steps S28-S32 As mentioned above, the network management controller 22 first confirms the topology attributes of the new wired equipment with a plurality of test packets, the test packets include RFC1213, PLANET Smart Discovery (PLANET Smart Discovery) packets, ONVIF Discover packets, Link Layer Discovery Protocol (LLDP) packets and/or universal naming convention (UNC) packets, etc. If the port attribute of the wired port of the upper-layer switch of the new wired device is found to be blank, fill in the attribute according to the responding device. Taking FIG. 4A and FIG. 4B as an example, it is assumed that the network management controller 40 is connected to the switch A 42, the switch B 44, the switch C 46 and the new wired device 48 in sequence, and the switch A 42 has an upper connection port 422 and lower port 424, switch B 44 has an upper port 442 and a lower port 444, switch C 46 has an upper port 462 and a lower port 464, in other words, the upper layer switching of the new wired device 48 The switch is switch C 46. In the figure, the attributes in the upper and lower ports are the relationship of the connected devices. For example, the attribute filled in the upper port 422 of the switch A 42 is root, which means it is connected to the network management controller 22, which is The first layer network switch; the attribute filled in the lower port 424 of the switch A 42 is the PN of B, which means that the switch A 42 is the parent node of the switch B 44; the upper port 442 of the switch B 44 The attribute filled in is the CN of A, which means that switch B 44 is a child node of switch A 42, and so on. When it is found that the port 464 under the switch C 46 of the upper layer of the new wired device 48 is blank as shown in FIG. 4A, then as shown in FIG. 4B, the attribute is filled in the port 464 under the switch C 46 is EN, representing the new wired device 48 as an end node, such as a computer host. If the new wired device 48 is a camera or a camera (ONVIF), it is set to the Camera attribute, and the same is true for a telephone set, a router, etc., and different attributes are filled in the lower port 464 of the switch C 46 respectively.

如此一來,當網路管理控制器22確認過實體路由,並在資料庫中記錄新有線設備的相關屬性後,例如更新交換器C 46的資料表後,網路管理控制器22下令命交換器C 46對新有線設備48的埠進行實體線路偵測,以最後確認新有線設備48的實體線路的長度,例如發現新電腦主機距離交換器C 46之實體網路線距離為83米,將之寫入交換器C 46的資料表中,以做為未來設備偵測及回報使用。In this way, after the network management controller 22 confirms the physical route and records the relevant attributes of the new wired equipment in the database, for example, after updating the data table of the switch C 46, the network management controller 22 instructs the switching The switch C 46 performs physical line detection on the port of the new wired device 48 to finally confirm the length of the physical line of the new wired device 48. For example, it is found that the distance between the new computer host and the physical network line of the switch C 46 is 83 meters. Write to the data table of switch C 46 for future equipment detection and reporting.

當步驟S26判斷新設備是無線設備時,如步驟S34~S38所述,網路管理控制器22確認新無線設備之實體路由,並以複數測試封包確認新有線設備之屬性,此測試封包同樣包括RFC1213、PLANET智慧發現協議(PLANET Smart Discovery)封包、ONVIF Discover封包、鏈接層發現協議(LLDP)封包及/或通用命名慣例(universal naming convention, UNC)封包等。接著,網路管理控制器22使用智慧發現協議或戀階層發現協議確認新無線設備的設備資訊,判斷新無線設備為新路由或新無線基地台,並將該新無線設備寫入相對應之一資料表中。以第5A圖及第5B圖為例,假設網路管理控制器40後依序連接交換器A 42、交換器B 44、無線基地台C 50及新無線設備52,交換器A 42具有一上連接埠422及一下連接埠424,交換器B 44具有一上連接埠442及一下連接埠444,無線基地台C 50具有一下連接埠504,換言之,新無線設備52的上一層設備為無線基地台C 50。圖中,上、下連接埠中的屬性為其所連接的設備的關係,例如交換器A 42的上連接埠422中填入的屬性是root,代表其連接至網路管理控制器22,為第一層網路交換器;交換器A 42的下連接埠424中填入的屬性是B的PN,代表交換器A 42是交換器B 44的父節點;交換器B 44的上連接埠442中填入的屬性是A的CN,代表交換器B 44是交換器A 42的子節點,交換器B 44的下連接埠444中填入的屬性是AP,代表交換器B 44的下一層設備是無線基地台,以此類推。當如第5A圖中發現無線基地台C 50後端連接了一個新無線設備52,接著,則如第5B圖所示,在無線基地台C 50之下連接埠504中填入屬性為D的PN,代表無線基地台C 50為新無線設備52的父節點,而新無線設備52的上連接埠522則填入C的CN,代表其為無線基地台C 50的子節點。若新無線設備52為攝影機或相機(ONVIF)則設為Camera 屬性,電話機、路由器等亦同,分別在無線基地台C 50的下連接埠504中填入不同的屬性。When it is determined in step S26 that the new device is a wireless device, as described in steps S34 to S38, the network management controller 22 confirms the physical route of the new wireless device, and confirms the properties of the new wired device with a plurality of test packets. The test packets also include RFC1213, PLANET Smart Discovery (PLANET Smart Discovery) packets, ONVIF Discover packets, Link Layer Discovery Protocol (LLDP) packets and/or Universal Naming Convention (UNC) packets, etc. Next, the network management controller 22 confirms the device information of the new wireless device using the smart discovery protocol or the hierarchical discovery protocol, determines that the new wireless device is a new route or a new wireless base station, and writes the new wireless device into one of the corresponding ones in the data sheet. Taking FIG. 5A and FIG. 5B as an example, it is assumed that the network management controller 40 is connected to the switch A 42, the switch B 44, the wireless base station C 50 and the new wireless device 52 in sequence, and the switch A 42 has an upper The connection port 422 and the lower connection port 424, the switch B 44 has an upper connection port 442 and a lower connection port 444, the wireless base station C 50 has a lower connection port 504, in other words, the upper layer device of the new wireless device 52 is a wireless base station C 50. In the figure, the attributes in the upper and lower ports are the relationship of the connected devices. For example, the attribute filled in the upper port 422 of the switch A 42 is root, which means it is connected to the network management controller 22, which is The first layer network switch; the attribute filled in the lower port 424 of the switch A 42 is the PN of B, which means that the switch A 42 is the parent node of the switch B 44; the upper port 442 of the switch B 44 The attribute filled in is the CN of A, which means that the switch B 44 is a child node of the switch A 42, and the attribute filled in the lower port 444 of the switch B 44 is AP, which represents the next layer device of the switch B 44 is a wireless base station, and so on. When it is found that a new wireless device 52 is connected to the back end of the wireless base station C 50 as shown in FIG. 5A, then, as shown in FIG. 5B, the connection port 504 under the wireless base station C 50 is filled with the attribute D. PN indicates that the wireless base station C 50 is the parent node of the new wireless device 52 , and the upper port 522 of the new wireless device 52 is filled with CN of C, indicating that it is the child node of the wireless base station C 50 . If the new wireless device 52 is a video camera or a camera (ONVIF), it is set to the Camera attribute, and the same is true for a telephone set, a router, etc., and different attributes are filled in the lower port 504 of the wireless base station C 50 respectively.

此外,網路管理控制器22還會依據新無線設備所依附之無線網路名稱(SSID),將其填入SSID欄位的資料,若為電腦主機,以上表四為例,假設發現的新無線設備為IPHONE_A,則在其所依附的SSID欄位,即SSID:QQQQQ寫入該IPHONE_A的網路地址、訊號的強度、新無線設備IPPONE_A與其上層無線基地台的連結屬性。若新無線設備亦為另一個無線基地台,則如上表四之AP11,則在該無線基地台所同使用的SSID內,將新無線設備的基地台資訊寫入資料表中。In addition, the network management controller 22 will also fill in the information in the SSID field according to the wireless network name (SSID) that the new wireless device is attached to. If the wireless device is IPHONE_A, write the network address of the IPHONE_A, the signal strength, and the connection attribute between the new wireless device IPPONE_A and its upper wireless base station in the SSID field it is attached to, namely SSID:QQQQQ. If the new wireless device is also another wireless base station, as shown in AP11 in Table 4 above, the base station information of the new wireless device is written into the data table in the same SSID used by the wireless base station.

由於網路管理控制器22藉由不斷在其所廣播封包可觸及範圍進行設備的搜尋及資料庫的維護,包括網路管理控制器22到設備的實體連線位置,如此一來,若相關設備有離線、斷線的情形發生時,網路管理控制器22將依所蒐集的資料進行設備狀況的回報,解決先前網路管理者需自行到各設備或各實體地點進行設備偵錯的問題。Since the network management controller 22 continuously searches for devices and maintains the database within the reach of the broadcast packets, including the physical connection location between the network management controller 22 and the device, if the relevant device When offline or disconnection occurs, the network management controller 22 will report the device status according to the collected data, so as to solve the problem that the network administrator needs to go to each device or each physical location to debug the device by himself.

當發生異常的設備為有線設備,例如第二層網路交換器304、有線使用者308或有線設備310時,有線設備發生斷線的原因有多種,包括接頭鬆脫、實體線路受到外力破壞造成斷裂損毀等,異常設備的上一層設備會利用簡易網路管理通訊協定(SNMP)設定自動回報訊息給網路管理控制器22。以第4A圖為例,假設交換器B 44和交換器C 46之間的網路線斷裂,則交換器B 44的簡易網路管理通訊協定會自動回報訊息給網路管理控制器22。接著,網路管理控制器22利用實體線路偵測確定實體線路狀態,特別是指交換器B 44和交換器C 46之間的實體線路狀態及實體線路長度。由於網路管理控制器22之資料庫中儲存有各設備之實體線路長度,因此,網路管理控制器22可比對異常設備之線路長度是否與資料庫之實體線路長度一致,以判斷異常設備之異常原因。若取得的實體線路長度與資料庫內長度為相同,則認定為線路端點異常,包括可能的線路鬆脫或是交換器C 46遭到斷電之終點端異常。然而,若發現取得之實體線路長度為部份開路部份斷路、或是任一路的網路線路長度異於資料庫內的應有長度,則視為實體線路異常。於歸納後,網路管理控制器22依相關分析資料,回報狀況給預先設定之管理者通訊方式給網路管理者,回報交換器C 46及其下相關設備有斷線狀況發生,同時亦提供取得資訊,例如實體線路發生斷路、斷路點位置於該線路某公尺處、亦或相關線路鬆脫且需確認交換器C 46之連線情形等資訊。若上一層交換器B 44有記錄到交換器C 46的地理位置,亦會將此資訊同時提供給網路管理控制器22,以便於定位。When the abnormal device is a wired device, such as the Layer 2 network switch 304, the wired user 308, or the wired device 310, there are many reasons for the disconnection of the wired device, including loose connectors and physical lines damaged by external forces. If the device is broken or damaged, the upper-layer device of the abnormal device will automatically report a message to the network management controller 22 by using the Simple Network Management Protocol (SNMP). Taking FIG. 4A as an example, if the network line between the switch B 44 and the switch C 46 is broken, the simple network management protocol of the switch B 44 will automatically report a message to the network management controller 22 . Next, the network management controller 22 uses the physical line detection to determine the physical line status, particularly the physical line status and the physical line length between the switch B 44 and the switch C 46 . Since the physical line length of each device is stored in the database of the network management controller 22, the network management controller 22 can compare whether the line length of the abnormal device is consistent with the physical line length of the database, so as to determine whether the abnormal device has the same physical line length. Abnormal. If the obtained physical line length is the same as the length in the database, it is determined that the line end is abnormal, including the possible line loose or the end abnormality of the switch C 46 being powered off. However, if it is found that the obtained physical line length is partially open and partially open, or the length of any network line is different from the expected length in the database, it will be deemed that the physical line is abnormal. After summarizing, the network management controller 22 reports the status to the network manager according to the relevant analysis data, and reports the disconnection of the switch C 46 and its related equipment to the network manager. Obtain information, such as the physical line is disconnected, the disconnection point is located at a certain meter of the line, or the related line is loose and the connection status of the switch C 46 needs to be confirmed. If the upper-layer switch B 44 has recorded the geographic location of the switch C 46, this information will also be provided to the network management controller 22 for easy positioning.

另外,當狀態異常設備為無線基地台或無線設備時,網路管理控制器22從資料庫中找出狀態異常設備所依附的上一層設備及其無線網路名稱(SSID),再依據上一層設備先前接收到狀態異常設備的一訊號強弱值,以判斷狀態異常設備的初始位置。同時,因無線基地台內部亦持續不斷地更新所有無線設備的連結,因此網路管理控制器22亦於查詢時進行該狀態異常設備及其週邊(或附屬)的無線基地台的資料讀取,讀取的資訊包含一訊號強弱值(RSSI),依據這些訊號強弱值定位出狀態異常設備之位置,例如利用至少三個訊號強弱值以三角定位法進行定位。以上表四為例,若IPHONE_A於網路管理控制器22最後的紀錄為AP_C,而於AP_C週邊發現的關連無線基地台中並未發現IPHONE_A,則可確認IPHONE_A最後離線位置為在AP_C之處。當管理者要找尋IPHONE_A時,若AP_C的資料庫(即網路管理控制器22)及AP_C設備資訊仍存在,或是同時於AP_C週邊的無線基地台亦有相關資料且有訊號強弱值,則網路管理控制器22將依這些取得之訊號強弱值進行IPHONE_A位置的計算(例如三點定位法),並於計算後將可能的預測結果回報給管理者。In addition, when the abnormal state device is a wireless base station or a wireless device, the network management controller 22 finds the upper layer device and its wireless network name (SSID) attached to the abnormal state device from the database, and then according to the upper layer device The device previously received a signal strength value of the device in abnormal state to determine the initial position of the device in abnormal state. At the same time, because the wireless base station also continuously updates the connections of all wireless devices, the network management controller 22 also reads the data of the abnormal state device and its surrounding (or affiliated) wireless base stations when inquiring. The read information includes a signal strength value (RSSI), and the position of the abnormal state equipment is located according to these signal strength values, for example, at least three signal strength values are used for positioning by triangulation. Table 4 above is an example, if the last record of IPHONE_A in the network management controller 22 is AP_C, and IPHONE_A is not found in the associated wireless base stations found around AP_C, it can be confirmed that the last offline location of IPHONE_A is at AP_C. When the administrator wants to search for IPHONE_A, if the database of AP_C (ie, the network management controller 22 ) and AP_C device information still exist, or the wireless base stations around AP_C also have relevant data and signal strength values, then The network management controller 22 will calculate the position of the IPHONE_A (for example, the three-point positioning method) according to the obtained signal strength values, and report the possible prediction results to the administrator after the calculation.

因此,藉由本發明所提供之網路設備定位找尋系統,將遠端網路設備集中管理,尤其是當複數網路設備散居於各處時,例如網路設備、物聯網路連結設備建置於各處,設備狀態管理不易的情形下,各網路設備的狀態及位置能回報給中央管理者,以供管理者即時了解設備現況,並可快速定位出異常設備的位置。Therefore, by means of the network device location and search system provided by the present invention, the remote network devices can be centrally managed, especially when a plurality of network devices are scattered everywhere, such as network devices and IoT network connection devices built in Everywhere, in the situation that the management of equipment status is difficult, the status and location of each network equipment can be reported to the central administrator, so that the administrator can know the current status of the equipment in real time, and can quickly locate the location of abnormal equipment.

唯以上所述者,僅為本發明之較佳實施例而已,並非用來限定本發明實施之範圍。故即凡依本發明申請範圍所述之特徵及精神所為之均等變化或修飾,均應包括於本發明之申請專利範圍內。Only the above descriptions are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Therefore, all equivalent changes or modifications made according to the features and spirits described in the scope of the application of the present invention shall be included in the scope of the application for patent of the present invention.

11:網路工作站 12:部門乙太網路交換器 13:骨幹交換器 14:無線使用者或筆記型電腦 15:部門無線基地台 16:網路交換器 20:網路設備定位找尋系統 22:網路管理控制器 30:受控管網路 302:第一層網路交換器 304:第二層網路交換器 306:無線基地台 308:有線使用者 310:有線設備 312:第二層無線基地台 314:無線設備 316:第二層無線基地台 318:無線設備 40:網路管理控制器 42:交換器A 422:上連接埠 424:下連接埠 44:交換器B 442:上連接埠 444:下連接埠 46:交換器C 462:上連接埠 464:下連接埠 48:新有線設備 50:無線基地台C 504:下連接埠 52:新無線設備D 522:上連接埠 11: Network workstation 12: Departmental Ethernet Switch 13: Backbone switch 14: Wireless users or laptops 15: Departmental wireless base station 16: Network switch 20: Network equipment location and search system 22: Network Management Controller 30: Managed network 302: Layer 1 Network Switch 304: Layer 2 Network Switch 306: Wireless Base Station 308: Wired user 310: Wired Devices 312: Layer 2 wireless base station 314: Wireless Devices 316: Second floor wireless base station 318: Wireless Devices 40: Network Management Controller 42: Switch A 422: upper port 424: lower port 44: Switch B 442: upper port 444: lower port 46: Switch C 462: upper port 464: lower port 48: New Wired Equipment 50: Wireless base station C 504: Down port 52: New Wireless Device D 522: upper port

第1A圖及第1B圖分別為有線網路及無線網路發生異常之示意圖。 第2圖為本發明網路設備定位找尋系統之系統架構圖。 第3圖為本發明網路設備定位找尋系統發現新設備時之流程圖。 第4A圖及第4B圖為新設備為有線設備時,於上一層設備填入屬性之示意圖。 第5A圖及第5B圖為新設備為無線設備時,於上一層設備及新設備中填入屬性之示意圖。 FIG. 1A and FIG. 1B are schematic diagrams of abnormality in the wired network and the wireless network, respectively. FIG. 2 is a system architecture diagram of the network device location and search system of the present invention. FIG. 3 is a flow chart of the network device location and search system of the present invention when a new device is discovered. Figures 4A and 4B are schematic diagrams of filling in attributes in the upper-layer device when the new device is a wired device. Figures 5A and 5B are schematic diagrams of filling in attributes in the upper-layer device and the new device when the new device is a wireless device.

20:網路設備定位找尋系統 20: Network equipment location and search system

22:網路管理控制器 22: Network Management Controller

30:受控管網路 30: Managed network

302:第一層網路交換器 302: Layer 1 Network Switch

304:第二層網路交換器 304: Layer 2 Network Switch

306:無線基地台 306: Wireless Base Station

308:有線使用者 308: Wired user

310:有線設備 310: Wired Devices

312:第二層無線基地台 312: Layer 2 wireless base station

314:無線設備 314: Wireless Devices

316:第二層無線基地台 316: Second floor wireless base station

318:無線設備 318: Wireless Devices

Claims (16)

一種網路設備定位找尋系統,包括: 至少一受控管網路,包括複數設備,該等設備包括: 至少一第一層網路交換器; 至少一第二層網路交換器或至少一無線基地台,連接該第一層網路交換器;以及 至少一有線設備或無線設備,連接該第二層網路交換器或該無線基地台;以及 一網路管理控制器,連接該受控管網路中之該第一層網路交換器,該網路管理控制器利用不間斷的複數廣播封包蒐集該受控管網路中的所有該等設備之狀況,取得該等設備之邏輯及相關位置並儲存於一資料庫中,當發現一新設備時讀取該新設備之資訊,以重建網路拓樸,當該等設備中發現一狀態異常設備時,該網路管理控制器確認該狀態異常設備的上一層設備之線路狀況,判斷該狀態異常設備的位置及原因。 A network device positioning and searching system, comprising: At least one managed network, including a plurality of devices, including: at least one layer 1 network switch; at least one layer 2 network switch or at least one wireless base station connected to the layer 1 network switch; and at least one wired device or wireless device connected to the layer 2 network switch or the wireless base station; and a network management controller connected to the layer 1 network switch in the managed network, the network management controller collects all the The status of the devices, the logical and relative positions of the devices are obtained and stored in a database, when a new device is found, the information of the new device is read to reconstruct the network topology, when a state is found in the devices When there is an abnormal device, the network management controller confirms the line status of the upper-layer device of the abnormal state device, and judges the location and reason of the abnormal state device. 如請求項1所述之網路設備定位找尋系統,其中該網路管理控制器係利用一智慧發現協議(Smart Discovery)偵測到該新設備。The network device location finding system of claim 1, wherein the network management controller detects the new device using a smart discovery protocol (Smart Discovery). 如請求項1所述之網路設備定位找尋系統,其中該網路管理控制器係利用一簡易網路管理通訊協定(Simple Network Management Protocol, SNMP)查看該受控管網路中該等設備之狀態,及確認該新設備之連線狀態。The system for locating and finding network equipment according to claim 1, wherein the network management controller uses a Simple Network Management Protocol (SNMP) to check the information about the equipment in the managed network. status, and confirm the connection status of the new device. 如請求項1所述之網路設備定位找尋系統,其中該新設備為一新網路交換器時,該網路管理控制器使用一實體線路偵測(Cable Diagnose)進行網路連線掃描,以確認該新網路交換器上所有實體網路線的狀況後,再遠端下令給該新網路交換器進行一光纖介面的數位偵測監控(Digital Diagnose Monitoring)以讀取資料,接著從遠端下令以一鏈接層發現協議(Link Layer Discovery Protocol, LLDP)進行該新網路交換器的資料讀取及該新網路交換器上至少一已連結設備的資料讀取。The network device locating and finding system according to claim 1, wherein when the new device is a new network switch, the network management controller uses a physical line detection (Cable Diagnose) to scan the network connection, After confirming the status of all physical network lines on the new network switch, remotely order the new network switch to perform a digital detection monitoring (Digital Diagnose Monitoring) of a fiber interface to read the data, and then remotely The terminal instructs a Link Layer Discovery Protocol (LLDP) to perform data reading of the new network switch and data reading of at least one connected device on the new network switch. 如請求項1所述之網路設備定位找尋系統,其中該新設備為一新無線基地台時,該網路管理控制器判斷該新無線基地台是否直接連接該第一層網路交換器,若是,則使用一實體線路偵測(Cable Diagnose)進行網路連線掃描,以確認該受控管網路中所有實體線路的狀況並記錄在一交換器資料表內,再依據該新無線基地台的通道數進行遠端控制及存取周邊設備。The network device location and search system according to claim 1, wherein when the new device is a new wireless base station, the network management controller determines whether the new wireless base station is directly connected to the first-layer network switch, If so, use a physical line detection (Cable Diagnose) to scan the network connection to confirm the status of all physical lines in the managed network and record it in a switch data table, and then based on the new wireless base The number of channels of the station can be used for remote control and access to peripheral devices. 如請求項1所述之網路設備定位找尋系統,其中該新設備為一新有線設備時,該網路管理控制器以複數測試封包確認該新有線設備之拓樸屬性,並使用一實體線路偵測(Cable Diagnose)進行網路連線掃描,以記錄該新有線設備之實體線路位置,再將該拓樸屬性寫入該資料庫中。The network device location finding system according to claim 1, wherein when the new device is a new wired device, the network management controller confirms the topology attribute of the new wired device with a plurality of test packets, and uses a physical circuit Detect (Cable Diagnose) to scan the network connection to record the physical line position of the new wired device, and then write the topology attribute into the database. 如請求項6所述之網路設備定位找尋系統,其中該新有線設備之拓樸屬性包括末端節點或終端設備,該終端設備為相機或電話。The network device location and search system according to claim 6, wherein the topology attribute of the new wired device includes an end node or a terminal device, and the end device is a camera or a telephone. 如請求項1所述之網路設備定位找尋系統,其中該新設備為一新無線設備時,該網路管理控制器確認該新無線設備之實體路由,並以複數測試封包確認該新無線設備之屬性,判斷該新無線設備為新路由或新無線基地台,並將該新無線設備寫入相對應之一資料表中。The network device location finding system according to claim 1, wherein when the new device is a new wireless device, the network management controller confirms the physical route of the new wireless device, and confirms the new wireless device with a plurality of test packets attribute, determine that the new wireless device is a new route or a new wireless base station, and write the new wireless device into a corresponding data table. 如請求項6或8所述之網路設備定位找尋系統,其中該等測試封包包括RFC1213、PLANET智慧發現協議(PLANET Smart Discovery)封包、ONVIF Discover封包、鏈接層發現協議(LLDP)封包及/或通用命名慣例(universal naming convention, UNC)封包。The network device location finding system as described in claim 6 or 8, wherein the test packets include RFC1213, PLANET Smart Discovery (PLANET Smart Discovery) packets, ONVIF Discover packets, Link Layer Discovery Protocol (LLDP) packets and/or Universal naming convention (UNC) package. 如請求項1所述之網路設備定位找尋系統,其中該第一層網路交換器、該第二層網路交換器及該無線基地台位於該受控管網路之一網路設備層,而該有線設備及該無線設備位於該受控管網路之一終端設備層。The network equipment location and search system as claimed in claim 1, wherein the first-layer network switch, the second-layer network switch and the wireless base station are located at a network equipment layer of the managed network , and the wired device and the wireless device are located at a terminal device layer of the managed network. 如請求項1所述之網路設備定位找尋系統,其中該網路管理控制器儲存該等設備之網路地址(MAC Address)、IP位址、實體連線或無線連線之資訊。The network device location and search system as claimed in claim 1, wherein the network management controller stores the information of the network addresses (MAC Address), IP addresses, physical connections or wireless connections of the devices. 如請求項1所述之網路設備定位找尋系統,其中該有線設備或該無線設備包括無線基地台、網路攝影機、網路電話或路由器。The network device location and search system according to claim 1, wherein the wired device or the wireless device includes a wireless base station, a network camera, an Internet phone or a router. 如請求項1所述之網路設備定位找尋系統,其中該網路管理控制器之該資料庫中更儲存該等設備之實體線路長度,當該狀態異常設備為該第二層網路交換器或該有線設備時,該狀態異常設備之上一層設備利用簡易網路管理通訊協定(SNMP)設定自動回報訊息給該網路管理控制器,該網路管理控制器利用一實體線路偵測(Cable Diagnose)確定實體線路狀態,比對該異常設備之線路長度是否與該資料庫之實體線路長度一致,以判斷該狀態異常設備之異常原因。The network device location and search system as claimed in claim 1, wherein the database of the network management controller further stores the physical line lengths of the devices, when the abnormal state device is the layer 2 network switch Or when the wired device is used, the device on the upper layer of the abnormal state device uses the Simple Network Management Protocol (SNMP) to set an automatic report message to the network management controller. The network management controller uses a physical line detection (Cable Diagnose) to determine the state of the physical line, and compare whether the line length of the abnormal device is consistent with the physical line length of the database to determine the abnormal cause of the abnormal device. 如請求項1所述之網路設備定位找尋系統,其中該狀態異常設備為該無線基地台或該無線設備時,該網路管理控制器從該資料庫中找出該狀態異常設備所依附的上一層設備及其無線網路名稱,再依據該上一層設備先前所接收到該狀態異常設備的一訊號強弱值以判斷該狀態異常設備的初始位置,並讀取該狀態異常設備及其週邊的該無線基地台的一訊號強弱值,依據該些訊號強弱值定位出該狀態異常設備之位置。The network device location and search system according to claim 1, wherein when the abnormal state device is the wireless base station or the wireless device, the network management controller finds out from the database the device attached to the abnormal state device. The upper-layer device and its wireless network name, and then according to a signal strength value of the abnormal state device previously received by the upper-layer device to determine the initial position of the abnormal state device, and read the abnormal state device and its surrounding. A signal strength value of the wireless base station is used to locate the position of the abnormal state equipment according to the signal strength values. 如請求項1所述之網路設備定位找尋系統,其中該無線設備中之每一者更分別透過一第二層無線基地台連接該無線基地台。The network device location and search system of claim 1, wherein each of the wireless devices is further connected to the wireless base station through a second-layer wireless base station, respectively. 如請求項1所述之網路設備定位找尋系統,其中該網路管理控制器具有簡易網路管理通訊協定(Simple Network Management Protocol, SNMP)、開放式網路視訊介面論壇(Open Network Video Interface Forum, ONVIF)、鏈接層發現協議(Link Layer Discovery Protocol, LLDP)及PLANET智慧發現協議(PLANET Smart Discovery)。The network device location and search system according to claim 1, wherein the network management controller has Simple Network Management Protocol (SNMP), Open Network Video Interface Forum (Open Network Video Interface Forum) , ONVIF), Link Layer Discovery Protocol (LLDP) and PLANET Smart Discovery.
TW110104312A 2021-02-04 2021-02-04 A method of network device locating TWI804814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110104312A TWI804814B (en) 2021-02-04 2021-02-04 A method of network device locating

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110104312A TWI804814B (en) 2021-02-04 2021-02-04 A method of network device locating

Publications (2)

Publication Number Publication Date
TW202232985A true TW202232985A (en) 2022-08-16
TWI804814B TWI804814B (en) 2023-06-11

Family

ID=83782522

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110104312A TWI804814B (en) 2021-02-04 2021-02-04 A method of network device locating

Country Status (1)

Country Link
TW (1) TWI804814B (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10778561B2 (en) * 2017-09-08 2020-09-15 Avago Technologies International Sales Pte. Limited Diagnostic port for inter-switch and node link testing in electrical, optical and remote loopback modes

Also Published As

Publication number Publication date
TWI804814B (en) 2023-06-11

Similar Documents

Publication Publication Date Title
CN106416136B (en) Method and apparatus for monitoring performance of wireless local area network
US7881230B2 (en) Facilitating self configuring link aggregation using link aggregation control protocol
US8085695B2 (en) Bootstrapping devices using automatic configuration services
US7392046B2 (en) Method and apparatus for automatic diagnosis and resolution of wireless network malfunctions
US7742426B2 (en) System, method, and computer-readable medium for determining a layer 2 path trace in a heterogeneous network system
EP2477358B1 (en) Generating a network map
CN109067633B (en) Power management system and method based on Ethernet daisy chain communication network topology
CN103138978A (en) Network management method and network management system
US20110096728A1 (en) Method and device for association between equipment and gateway
US20060029087A1 (en) Information processing device and method and program
US20130042020A1 (en) Quick Network Path Discovery
CN205622762U (en) Internet protocol camera and monitored control system thereof
EP2975811A1 (en) Interface switching method and device
CN103108347B (en) The associated alarm method and device of cable network and wireless network
WO2017215383A1 (en) Network element configuration method and device, and network element management method and device
CN108293207A (en) Method and apparatus for the connection that access point arrives at a station
TW202232985A (en) A method of network device locating
JP6156002B2 (en) Information processing apparatus, communication method, and communication program
CN110620693A (en) Railway station route remote restart control system and method based on Internet of things
US20230198860A1 (en) Systems and methods for the temporal monitoring and visualization of network health of direct interconnect networks
US20220007452A1 (en) Method for configuring at least one radio resource of a communication network, node device, and communication network
CN104468234A (en) High-robustness communication network for dual backup of optical network and wireless Mesh network
Mihara et al. Designing HTIP: home network topology identifying protocol
CN113300880A (en) Ethernet switch topology generation and drawing method based on Tarjan algorithm
Zhou et al. Discovery algorithm for network topology based on SNMP