TW202232985A - A method of network device locating - Google Patents
A method of network device locating Download PDFInfo
- 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
Links
Images
Abstract
Description
本發明係有關一種網路系統,特別是指一種網路設備定位找尋系統。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
因此,本發明針對上述習知技術之缺失及未來之需求,提出一種網路設備定位找尋系統,網路管理者不需到現場即可透過網路管理控制器找到網路異常的位置。具體架構及其實施方式將詳述於下: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
網路管理控制器22會不間斷的發出複數廣播封包,以蒐集受控管網路30中的所有設備之狀況,取得設備之邏輯及相關位置後,儲存於一資料庫(圖中未示)中,此資料庫可設在網路管理控制器22中或是與網路管理控制器22連接。設備之邏輯及相關位置包含設備的邏輯位置和實體位置。邏輯位置為網路管理控制器22以協議(如下段所提到的數種通訊協定和協議中的至少任一種)找到的位置,為邏輯上的相對位置,例如「交換器A的第9埠」。而相關位置為管理者自行輸入的位置說明,例如「九樓印表機」。當網路管理控制器22利用廣播封包發現一新設備時,讀取新設備之資訊,以重建網路拓樸。而當受控管網路30的設備中發現有一狀態異常設備時,則網路管理控制器22會確認此狀態異常設備的上一層設備之線路狀況,判斷出狀態異常設備的位置及原因。The
本發明中,網路管理控制器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
請同時參考第2圖及第3圖,以下詳細說明發現的新設備為不同設備時網路管理控制器22之做動。Please refer to FIG. 2 and FIG. 3 at the same time, the following describes in detail the actions of the
如步驟S10~S12所述,當網路管理控制器22利用PLANET智慧發現協議發現受控管網路30中有新設備時,先判斷此設備是否為終端設備,若否,則其可能是新的第二層網路交換器304、新的無線基地台306或新的第二層無線基地台312或316。若新設備為新的網路交換器,則如步驟S14~S18所述,使用一實體線路偵測(Cable Diagnose)做第一次所有實體網路線路掃瞄並記錄,用以確認新網路交換器上所有實體連結的網路線的狀況,舉例而言,若新網路交換器為具備8埠UTP埠、2埠光纖的網路交換器,則網路管理控制器從遠端下令新網路交換器進行整機實體線路偵測,因此將取得如下表一之資訊:
當網路管理控制器22取得所有雙絞線埠的實體線路資訊後,再遠端下令給新網路交換器進行一光纖介面的數位偵測監控(Digital Diagnose Monitoring)以讀取資料,接著,網路管理控制器22從遠端下令以鏈接層發現協議(LLDP)進行新網路交換器的資料讀取及新網路交換器上至少一已連結設備的資料讀取,如此一來可得到下表二之資訊:
其中,LLDP-9’及LLDP-10’ 為鏈接層發現協議所讀取到之對接端設備資訊。因此,由上二表中,網路管理控制器22可得知新發現的新網路交換器初始上下連結的資訊如下表3:
其中,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
若新設備為新的無線基地台時,如步驟S20~S24所述,網路管理控制器22同樣使用實體線路偵測進行實體網路線路掃瞄並記錄,用以確認新無線基地台上所有實體連結的網路線的狀況。然而,由於新無線基地台可能直接連接第一層網路交換器302,也有可能是位於第二層網路交換器312或316的位置,因此還需要判斷此新無線基地台處於哪一層,亦即確認實體連線的路由。網路管理控制器22先以RFC1213確認新無線基地台的基本資訊,包括其埠CN屬性為何,若記錄不是PN,代表新無線基地台和網路管理控制器22之間不存在其他的無線設備,則以實體線路偵測記錄實體線路位置和拓樸屬性,例如將其記錄為無線基地台,如上表三的第2埠。接下來再進行一次實體線路偵測以再次確認實體線路狀況,同時記錄該資訊於發現該新無線基地台的交換器資料表內。網路管理控制器22依據新無線基地台的無線通道數進行遠端控制及讀取新無線基地台的週邊,包括無線連線或無線詢問設備資訊,以於網路管理控制器22建立相關資料表,如下表四:
在上表四中,實體建置地理位置代表當網路設備有裝衛星定位裝置(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
接著,當在步驟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
如此一來,當網路管理控制器22確認過實體路由,並在資料庫中記錄新有線設備的相關屬性後,例如更新交換器C 46的資料表後,網路管理控制器22下令命交換器C 46對新有線設備48的埠進行實體線路偵測,以最後確認新有線設備48的實體線路的長度,例如發現新電腦主機距離交換器C 46之實體網路線距離為83米,將之寫入交換器C 46的資料表中,以做為未來設備偵測及回報使用。In this way, after the
當步驟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
此外,網路管理控制器22還會依據新無線設備所依附之無線網路名稱(SSID),將其填入SSID欄位的資料,若為電腦主機,以上表四為例,假設發現的新無線設備為IPHONE_A,則在其所依附的SSID欄位,即SSID:QQQQQ寫入該IPHONE_A的網路地址、訊號的強度、新無線設備IPPONE_A與其上層無線基地台的連結屬性。若新無線設備亦為另一個無線基地台,則如上表四之AP11,則在該無線基地台所同使用的SSID內,將新無線設備的基地台資訊寫入資料表中。In addition, the
由於網路管理控制器22藉由不斷在其所廣播封包可觸及範圍進行設備的搜尋及資料庫的維護,包括網路管理控制器22到設備的實體連線位置,如此一來,若相關設備有離線、斷線的情形發生時,網路管理控制器22將依所蒐集的資料進行設備狀況的回報,解決先前網路管理者需自行到各設備或各實體地點進行設備偵錯的問題。Since the
當發生異常的設備為有線設備,例如第二層網路交換器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
另外,當狀態異常設備為無線基地台或無線設備時,網路管理控制器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
因此,藉由本發明所提供之網路設備定位找尋系統,將遠端網路設備集中管理,尤其是當複數網路設備散居於各處時,例如網路設備、物聯網路連結設備建置於各處,設備狀態管理不易的情形下,各網路設備的狀態及位置能回報給中央管理者,以供管理者即時了解設備現況,並可快速定位出異常設備的位置。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)
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)
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 |
-
2021
- 2021-02-04 TW TW110104312A patent/TWI804814B/en active
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 |