TWI780954B - Electronic device and method for determining checking strategy of network terminal - Google Patents

Electronic device and method for determining checking strategy of network terminal Download PDF

Info

Publication number
TWI780954B
TWI780954B TW110138610A TW110138610A TWI780954B TW I780954 B TWI780954 B TW I780954B TW 110138610 A TW110138610 A TW 110138610A TW 110138610 A TW110138610 A TW 110138610A TW I780954 B TWI780954 B TW I780954B
Authority
TW
Taiwan
Prior art keywords
traffic
network terminal
weight
circuit
processor
Prior art date
Application number
TW110138610A
Other languages
Chinese (zh)
Other versions
TW202318837A (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 TW110138610A priority Critical patent/TWI780954B/en
Application granted granted Critical
Publication of TWI780954B publication Critical patent/TWI780954B/en
Publication of TW202318837A publication Critical patent/TW202318837A/en

Links

Images

Landscapes

  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Monitoring And Testing Of Exchanges (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

An electronic device and a method for determining a checking strategy of a network terminal is provided. The method includes: receiving traffic information corresponding to an aggregation circuit through a transceiver, wherein the network terminal is accommodated in the aggregation circuit; utilizing the traffic information to obtain a weight corresponding to the network terminal; and utilizing the weight to determine the checking strategy corresponding to the network terminal, and outputting the checking strategy through the transceiver.

Description

決定網路終端的查測策略的電子裝置及方法Electronic device and method for determining detection strategy of network terminal

本發明是有關於一種決定網路終端的查測策略的電子裝置及方法。The present invention relates to an electronic device and method for determining a detection strategy of a network terminal.

在進行網路終端的訊務査測時,由於彙集電路收容的網路終端數量眾多,因此往往需花費長時間才能完成。另外,由於大部分的網路終端的訊務與過往相比並無明顯變化,將查測的時間和資源耗費在此些網路終端身上,是較無效益的方法。When performing traffic inspection of network terminals, it often takes a long time to complete due to the large number of network terminals accommodated by the aggregation circuit. In addition, since the traffic of most network terminals has no significant change compared with the past, it is not effective to spend time and resources on these network terminals.

除此之外,若無法即時完成訊務改善工程,也可能會導致尚未査測的網路終端重複被列入查測清單,因而浪費查測時間及資源。基此,需要提出一種改良的決定網路終端的查測策略的電子裝置及方法。In addition, if the traffic improvement project cannot be completed in time, network terminals that have not yet been inspected may also be repeatedly included in the inspection list, thus wasting inspection time and resources. Based on this, it is necessary to propose an improved electronic device and method for determining a detection strategy of a network terminal.

本發明提供一種決定網路終端的查測策略的電子裝置及方法,可提高查測網路終端的效率。The present invention provides an electronic device and method for determining the detection strategy of a network terminal, which can improve the efficiency of network terminal detection.

本發明的決定網路終端的查測策略的電子裝置包括收發器以及處理器。處理器耦接收發器,且經配置以:通過收發器接收對應於彙集電路的訊務資訊,其中網路終端收容於彙集電路;利用訊務資訊獲得對應於網路終端的權重;以及利用權重決定對應於網路終端的查測策略,並且通過收發器輸出查測策略。The electronic device for determining the detection strategy of the network terminal of the present invention includes a transceiver and a processor. The processor is coupled to the transceiver and configured to: receive traffic information corresponding to the collection circuit through the transceiver, wherein the network terminal is accommodated in the collection circuit; use the traffic information to obtain a weight corresponding to the network terminal; and use the weight A detection strategy corresponding to the network terminal is determined, and the detection strategy is output through the transceiver.

本發明的決定網路終端的查測策略的方法包括:通過收發器接收對應於彙集電路的訊務資訊,其中網路終端收容於彙集電路;利用訊務資訊獲得對應於網路終端的權重;以及利用權重決定對應於網路終端的查測策略,並且通過收發器輸出查測策略。The method for determining the detection strategy of the network terminal of the present invention includes: receiving traffic information corresponding to the collection circuit through the transceiver, wherein the network terminal is accommodated in the collection circuit; using the traffic information to obtain the weight corresponding to the network terminal; And use the weight to determine the detection strategy corresponding to the network terminal, and output the detection strategy through the transceiver.

基於上述,本發明的決定網路終端的查測策略的電子裝置及方法可在利用訊務資訊及門檻值獲得網路終端的權重之後,進一步利用權重來決定是否查測網路終端,同時也可利用權重決定多個網路終端的查測順序。除此之外,還可比較列管清單與查測清單以避免頻繁查測相同的網路終端,從而提高了查測網路終端的效率。Based on the above, the electronic device and method for determining the detection strategy of the network terminal of the present invention can further use the weight to determine whether to detect the network terminal after obtaining the weight of the network terminal by using the traffic information and the threshold value, and at the same time Weights can be used to determine the detection order of multiple network terminals. In addition, the management list and the detection list can be compared to avoid frequent detection of the same network terminal, thereby improving the efficiency of detection of the network terminal.

圖1是根據本發明的一實施例繪示的一種決定網路終端的查測策略的電子裝置的示意圖。電子裝置100可包括收發器110、處理器120以及儲存媒體130。FIG. 1 is a schematic diagram of an electronic device for determining a detection strategy of a network terminal according to an embodiment of the present invention. The electronic device 100 may include a transceiver 110 , a processor 120 and a storage medium 130 .

收發器110以無線或有線的方式傳送及接收訊號。收發器110還可以執行例如低噪聲放大、阻抗匹配、混頻、向上或向下頻率轉換、濾波、放大以及類似的操作。The transceiver 110 transmits and receives signals in a wireless or wired manner. The transceiver 110 may also perform operations such as low noise amplification, impedance matching, frequency mixing, up or down frequency conversion, filtering, amplification, and the like.

處理器120例如是中央處理單元(central processing unit,CPU),或是其他可程式化之一般用途或特殊用途的微控制單元(micro control unit,MCU)、微處理器(microprocessor)、數位信號處理器(digital signal processor,DSP)、可程式化控制器、特殊應用積體電路(application specific integrated circuit,ASIC)、圖形處理器(graphics processing unit,GPU)、影像訊號處理器(image signal processor,ISP)、影像處理單元(image processing unit,IPU)、算數邏輯單元(arithmetic logic unit,ALU)、複雜可程式邏輯裝置(complex programmable logic device,CPLD)、現場可程式化邏輯閘陣列(field programmable gate array,FPGA)或其他類似元件或上述元件的組合。處理器120可耦接至收發器110以及儲存媒體130。The processor 120 is, for example, a central processing unit (central processing unit, CPU), or other programmable general purpose or special purpose micro control unit (micro control unit, MCU), microprocessor (microprocessor), digital signal processing Digital signal processor (DSP), programmable controller, application specific integrated circuit (ASIC), graphics processing unit (graphics processing unit, GPU), image signal processor (image signal processor, ISP) ), image processing unit (image processing unit, IPU), arithmetic logic unit (arithmetic logic unit, ALU), complex programmable logic device (complex programmable logic device, CPLD), field programmable logic gate array (field programmable gate array , FPGA) or other similar components or combinations of the above components. The processor 120 can be coupled to the transceiver 110 and the storage medium 130 .

儲存媒體130例如是任何型態的固定式或可移動式的隨機存取記憶體(random access memory,RAM)、唯讀記憶體(read-only memory,ROM)、快閃記憶體(flash memory)、硬碟(hard disk drive,HDD)、固態硬碟(solid state drive,SSD)或類似元件或上述元件的組合,而用於儲存可由處理器120執行的多個模組或各種應用程式。The storage medium 130 is, for example, any type of fixed or removable random access memory (random access memory, RAM), read-only memory (read-only memory, ROM), flash memory (flash memory) , hard disk drive (hard disk drive, HDD), solid state drive (solid state drive, SSD) or similar elements or a combination of the above-mentioned elements for storing multiple modules or various application programs executable by the processor 120 .

圖2是根據本發明的一實施例繪示的一種決定網路終端的查測策略的方法的流程圖,其中所述方法可由電子裝置100實施。FIG. 2 is a flowchart of a method for determining a detection strategy of a network terminal according to an embodiment of the present invention, wherein the method can be implemented by the electronic device 100 .

在步驟S201中,處理器120可通過收發器110接收對應於彙集電路的訊務資訊,其中網路終端收容於彙集電路。In step S201, the processor 120 may receive traffic information corresponding to the aggregation circuit through the transceiver 110, wherein the network terminal is accommodated in the aggregation circuit.

進一步而言,處理器120可根據訊務資訊獲得對應於彙集電路的上鏈網路終端集合以及下鏈網路終端集合。在本實施例中,「上鏈網路終端集合」為將封包傳送至彙集電路的網路終端的集合。也就是說,上鏈網路終端集合中的網路終端輸入資料至彙集電路。另一方面,「下鏈網路終端集合」為經由彙集電路接收封包的網路終端的集合。也就是說,彙集電路輸出資料至下鏈網路終端集合中的網路終端。Further, the processor 120 can obtain the uplink network terminal set and the downlink network terminal set corresponding to the aggregation circuit according to the traffic information. In this embodiment, the "set of uplink network terminals" is a set of network terminals that transmit packets to the aggregation circuit. That is to say, the network terminals in the uplink network terminal set input data to the sink circuit. On the other hand, the "downlink network terminal set" is a set of network terminals receiving packets through the aggregation circuit. That is to say, the collection circuit outputs data to the network terminals in the downlink network terminal set.

響應於上鏈網路終端集合與下鏈網路終端集合的交集包括網路終端,處理器120可判斷網路終端收容於彙集電路。具體來說,由於彙集電路是採用多重協定標籤交換(multi-protocol label switching,MPLS)的方式處理訊務,故處理器120無法直接根據訊務的標籤判斷訊務的來源或目標。因此,處理器120需取得上鏈網路終端集合與下鏈網路終端集合的交集。若網路終端在所述交集中,則處理器120可判斷所述網路終端是由彙集電路所收容。 表1 彙集電路 收容網路終端 LAG電路1 網路終端0001 LAG電路1 網路終端1000 單一電路2 網路終端1001 單一電路2 網路終端1500 單一電路3 網路終端1501 單一電路3 網路終端2000 單一電路4 網路終端2001 單一電路4 網路終端2500 In response to the intersection of the uplink network terminal set and the downlink network terminal set including the network terminal, the processor 120 may determine that the network terminal is accommodated in the aggregation circuit. Specifically, since the aggregation circuit uses multi-protocol label switching (MPLS) to process the traffic, the processor 120 cannot directly determine the source or destination of the traffic according to the traffic label. Therefore, the processor 120 needs to obtain the intersection of the set of uplink network terminals and the set of downlink network terminals. If the network terminal is in the intersection, the processor 120 may determine that the network terminal is accommodated by the aggregation circuit. Table 1 sink circuit contain network terminals LAG circuit 1 Network Terminal 0001 LAG circuit 1 Network terminal 1000 single circuit 2 Internet terminal 1001 single circuit 2 Network terminal 1500 single circuit 3 Internet terminal 1501 single circuit 3 Network Terminal 2000 single circuit 4 Internet Terminal 2001 single circuit 4 Network terminal 2500

表1是處理器120判斷彙集電路所收容的網路終端的結果的一個實例。彙集電路可包含至少一鏈路聚合保護群組(link aggregation group,LAG)電路或至少一單一電路,其中LAG電路中包含多個單一電路。表1中的LAG電路1可收容網路終端0001、網路終端0002、…、網路終端1000等多個網路終端,單一電路2可收容網路終端1001、網路終端1002、…、網路終端1500等多個網路終端,依此類推。Table 1 is an example of the result of the processor 120 judging the network terminal accommodated by the collector circuit. The aggregation circuit may include at least one link aggregation group (LAG) circuit or at least one single circuit, wherein the LAG circuit includes multiple single circuits. LAG circuit 1 in Table 1 can accommodate multiple network terminals such as network terminal 0001, network terminal 0002, ..., network terminal 1000, and a single circuit 2 can accommodate network terminal 1001, network terminal 1002, ..., network Road terminal 1500 and other network terminals, and so on.

在步驟S202中,處理器120可利用訊務資訊獲得對應於網路終端的權重。In step S202, the processor 120 can use the traffic information to obtain the weight corresponding to the network terminal.

進一步而言,處理器120可響應於網路終端收容於彙集電路而利用對應於彙集電路的訊務資訊獲得對應於網路終端的權重。例如,由於表1中的網路終端0001收容於彙集電路「LAG電路1」,處理器120可利用對應於彙集電路「LAG電路1」的訊務資訊獲得網路終端0001的權重。Further, the processor 120 may use the traffic information corresponding to the aggregation circuit to obtain the weight corresponding to the network terminal in response to the network terminal being accommodated in the aggregation circuit. For example, since the network terminal 0001 in Table 1 is accommodated in the aggregation circuit "LAG circuit 1", the processor 120 can use the traffic information corresponding to the aggregation circuit "LAG circuit 1" to obtain the weight of the network terminal 0001.

在一實施例中,處理器120可根據固定週期接收彙集電路中的各個電路的相關訊務。表2~表4是訊務資訊的實例。在此些實例中,處理器120以5分鐘為週期收集彙集電路中的各個電路的訊務。 表2 日期2021/07/01的訊務資訊 彙集電路 電路頻寬(Mbps) 日尖峰訊務(Mbps) 5分鐘訊務(Mbps) 00:00 5分鐘訊務(Mbps) 00:05   … 5分鐘訊務(Mbps) 23:55 LAG電路1 2000 1800 1500 1400 1450 單一電路2 1000 800 750 700 750 單一電路3 1000 880 800 850 850 單一電路4 1000 350 250 220 300 表3 日期2021/06/30的訊務資訊 彙集電路 電路頻寬(Mbps) 日尖峰訊務(Mbps) 5分鐘訊務(Mbps) 00:00 5分鐘訊務(Mbps) 00:05   … 5分鐘訊務(Mbps) 23:55 LAG電路1 2000 1850 1550 1450 1500 單一電路2 1000 850 800 750 800 單一電路3 1000 900 850 870 870 單一電路4 1000 400 300 270 350 表4 日期2021/06/29的訊務資訊 彙集電路 電路頻寬(Mbps) 日尖峰訊務(Mbps) 5分鐘訊務(Mbps) 00:00 5分鐘訊務(Mbps) 00:05   … 5分鐘訊務(Mbps) 23:55 LAG電路1 2000 1750 1450 1350 1400 單一電路2 1000 750 700 650 700 單一電路3 1000 860 750 830 830 單一電路4 1000 300 200 170 250 In one embodiment, the processor 120 may receive related traffic of each circuit in the collection circuit according to a fixed cycle. Tables 2 to 4 are examples of service information. In these examples, the processor 120 collects the traffic of each circuit in the aggregation circuit in a period of 5 minutes. Table 2 Service Information on 2021/07/01 sink circuit Circuit Bandwidth (Mbps) Daily peak traffic (Mbps) 5 minutes traffic (Mbps) 00:00 5 minutes traffic (Mbps) 00:05 5 minutes traffic (Mbps) 23:55 LAG circuit 1 2000 1800 1500 1400 1450 single circuit 2 1000 800 750 700 750 single circuit 3 1000 880 800 850 850 single circuit 4 1000 350 250 220 300 Table 3 Service Information on 2021/06/30 sink circuit Circuit Bandwidth (Mbps) Daily peak traffic (Mbps) 5 minutes traffic (Mbps) 00:00 5 minutes traffic (Mbps) 00:05 5 minutes traffic (Mbps) 23:55 LAG circuit 1 2000 1850 1550 1450 1500 single circuit 2 1000 850 800 750 800 single circuit 3 1000 900 850 870 870 single circuit 4 1000 400 300 270 350 Table 4 Service information on the date 2021/06/29 sink circuit Circuit Bandwidth (Mbps) Daily peak traffic (Mbps) 5 minutes traffic (Mbps) 00:00 5 minutes traffic (Mbps) 00:05 5 minutes traffic (Mbps) 23:55 LAG circuit 1 2000 1750 1450 1350 1400 single circuit 2 1000 750 700 650 700 single circuit 3 1000 860 750 830 830 single circuit 4 1000 300 200 170 250

圖3是根據本發明的一實施例繪示的利用訊務資訊獲得對應於網路終端的權重的步驟的流程圖。圖3更具體地描述步驟S202的一部分細節。本實施例用於偵測電路訊務的型態變動。在本實施例中,處理器120通過收發器110所接收的訊務資訊可包括當前訊務集合以及關聯於歷史期間的歷史訊務集合。舉例來說,歷史訊務集合可以是過去2週(即,歷史期間)共4032個5分鐘訊務的集合,當前訊務集合則可以是當日(在此假設當日為2021/07/01)的288個5分鐘訊務的集合,然而本發明不限於此。FIG. 3 is a flow chart illustrating the steps of using traffic information to obtain weights corresponding to network terminals according to an embodiment of the present invention. FIG. 3 more specifically describes part of the details of step S202. This embodiment is used to detect the type change of the circuit traffic. In this embodiment, the traffic information received by the processor 120 through the transceiver 110 may include a current traffic set and a historical traffic set associated with a historical period. For example, the historical transaction collection can be a collection of 4032 5-minute transactions in the past 2 weeks (that is, the historical period), and the current transaction collection can be the current day (assuming that the current day is 2021/07/01) A set of 288 5-minute traffic, but the present invention is not limited thereto.

在一實施例中,當前訊務集合以及歷史訊務集合可對應於彙集電路中的多個電路(即:彙集電路中的LAG電路)。在一實施例中,當前訊務集合以及歷史訊務集合可對應於彙集電路中的單一電路。In an embodiment, the current traffic set and the historical traffic set may correspond to a plurality of circuits in the aggregation circuit (ie, LAG circuits in the aggregation circuit). In one embodiment, the current traffic set and the historical traffic set may correspond to a single circuit in the aggregation circuit.

處理器120可利用歷史訊務集合獲得關聯於歷史期間的多個訊務平均數以及多個訊務標準差。在本實施例中,訊務的數量可代表訊務所傳輸的位元數量。因此,訊務平均數可代表訊務所傳輸的平均位元數量。The processor 120 can use the historical traffic set to obtain a plurality of traffic averages and a plurality of traffic standard deviations associated with the historical period. In this embodiment, the number of traffic may represent the number of bits transmitted by the traffic. Therefore, the traffic average may represent the average number of bits transmitted by a traffic.

在步驟S301中,處理器120可獲得訊務資訊中的歷史訊務集合。In step S301, the processor 120 may obtain a historical transaction set in the transaction information.

在步驟S302中,處理器120可過濾歷史訊務集合的離群值。In step S302, the processor 120 may filter outliers in the historical traffic set.

在步驟S303中,處理器120可獲得關聯於歷史期間的多個訊務平均數以及多個訊務標準差。處理器120可利用過濾後的歷史訊務集合計算關聯於歷史期間的多個訊務平均數以及多個訊務標準差。例如,處理器120可利用歷史訊務集合中的過去2週(即,歷史期間為過去14天)共4032個5分鐘訊務,計算出關聯於歷史期間的24個訊務平均數及24個訊務標準差。換言之,處理器120可利用過去14天中每天的第1個小時(例如:24:00至01:00)的訊務的集合計算出第1個小時的訊務平均數及訊務標準差、利用過去14天中每天的第2個小時(例如:01:00至02:00)的訊務的集合計算出第2個小時的訊務平均數及訊務標準差、……直到利用過去14天中每天的第24個小時的訊務的集合計算出第24個小時(例如:23:00至24:00)的訊務平均數及訊務標準差。In step S303, the processor 120 may obtain a plurality of traffic averages and a plurality of traffic standard deviations associated with the historical period. The processor 120 can use the filtered historical traffic set to calculate traffic averages and traffic standard deviations associated with the historical period. For example, the processor 120 can use a total of 4032 5-minute transactions in the past 2 weeks (that is, the historical period is the past 14 days) in the historical transaction set to calculate 24 averages of traffic and 24 Communication standards are poor. In other words, the processor 120 can use the collection of the traffic of the first hour (for example: 24:00 to 01:00) of each day in the past 14 days to calculate the traffic average and the traffic standard deviation of the first hour, Use the collection of traffic in the second hour (for example: 01:00 to 02:00) of each day in the past 14 days to calculate the average traffic and standard deviation of the traffic in the second hour, ... until using the traffic in the past 14 days The collection of traffic in the 24th hour of each day calculates the traffic mean and traffic standard deviation of the 24th hour (for example: 23:00 to 24:00).

在步驟S304中,處理器120可利用多個訊務平均數以及多個訊務標準差獲得訊務平均數上限(upper bound limit,UBL)曲線以及訊務平均數下限(lower bound limit,LBL)曲線。例如,處理器120可將前述24個訊務平均數連成一條線,得到訊務平均數曲線。接著,針對每一個訊務平均數,處理器120可將訊務平均數加上相對應的訊務標準差的六倍以產生上限點。處理器120可將分別對應於24個訊務平均數的24個上限點相連以獲得訊務平均數上限曲線。另一方面,處理器120可將訊務平均數減去相對應的訊務標準差的六倍以產生下限點。處理器120可將分別對應於24個訊務平均數的24個下限點相連以獲得訊務平均數下限曲線。In step S304, the processor 120 can obtain an upper bound limit (UBL) curve and a lower bound limit (LBL) curve by using multiple traffic averages and multiple traffic standard deviations. curve. For example, the processor 120 may connect the aforementioned 24 traffic averages into a line to obtain a traffic average curve. Then, for each traffic mean, the processor 120 may add six times the corresponding traffic standard deviation to the traffic mean to generate an upper limit point. The processor 120 may connect the 24 upper limit points respectively corresponding to the 24 traffic averages to obtain a traffic average upper limit curve. On the other hand, the processor 120 may subtract six times the corresponding traffic standard deviation from the traffic mean to generate the lower bound point. The processor 120 may connect the 24 lower limit points respectively corresponding to the 24 traffic averages to obtain the traffic average lower limit curve.

處理器120可根據告警門檻值以及預警門檻值計算電路收容的網路終端的權重,其中預警門檻值小於告警門檻值。處理器120可取得對應於電路的當前訊務集合。響應於當前訊務集合中大於訊務平均數上限曲線或小於訊務平均數下限曲線的訊務的數量大於告警門檻值,處理器120可將第二權重值(例如:2)增加至權重,其中訊務對應於所述多個時段。響應於訊務的數量大於預警門檻值且小於或等於告警門檻值,處理器120可將第一權重值(例如:1)增加至權重。處理器120可從儲存媒體130中取得儲存在儲存媒體130中的預警門檻值以及告警門檻值。The processor 120 can calculate the weight of the network terminals accommodated by the circuit according to the alarm threshold and the warning threshold, wherein the warning threshold is smaller than the warning threshold. The processor 120 can obtain the current traffic set corresponding to the circuit. In response to the number of traffic in the current traffic set that is larger than the traffic average upper limit curve or smaller than the traffic average lower limit curve is greater than the alarm threshold value, the processor 120 may add a second weight value (for example: 2) to the weight, Wherein the traffic corresponds to the plurality of time periods. In response to the amount of traffic being greater than the warning threshold and less than or equal to the warning threshold, the processor 120 may add a first weight value (for example: 1) to the weight. The processor 120 can obtain the warning threshold and the warning threshold stored in the storage medium 130 from the storage medium 130 .

在步驟S305中,處理器120可獲得訊務資訊中的當前訊務集合。表5是當前訊務集合的一個實例。表5的當前訊務集合即為表2中當日2021/07/01的288個5分鐘訊務。 表5 日期2021/07/01的當前訊務集合 彙集電路 5分鐘訊務(Mbps) 00:00 5分鐘訊務(Mbps) 00:05   … 5分鐘訊務(Mbps) 23:55 LAG電路1 1500 1400 1450 單一電路2 750 700 750 單一電路3 800 850 850 單一電路4 250 220 300 In step S305, the processor 120 may obtain the current traffic set in the traffic information. Table 5 is an example of the current traffic set. The current transaction set in Table 5 is 288 5-minute transactions on the day 2021/07/01 in Table 2. Table 5 Current Service Set for Date 2021/07/01 sink circuit 5 minutes traffic (Mbps) 00:00 5 minutes traffic (Mbps) 00:05 5 minutes traffic (Mbps) 23:55 LAG circuit 1 1500 1400 1450 single circuit 2 750 700 750 single circuit 3 800 850 850 single circuit 4 250 220 300

在表5的實例中,日期2021/07/01的當前訊務集合(即:5分鐘訊務00:00、5分鐘訊務00:05、…5分鐘訊務23:55,共288個5分鐘訊務)可對應於彙集電路中的多個電路(即:LAG電路),且可對應於彙集電路中的單一電路。處理器120可根據表5的資訊計算出對應於日期2021/07/01的訊務平均數上限曲線和訊務平均數下限曲線。In the example of Table 5, the current traffic set of the date 2021/07/01 (ie: 5 minutes traffic 00:00, 5 minutes traffic 00:05, ... 5 minutes traffic 23:55, a total of 288 5 minute traffic) can correspond to multiple circuits in the collection circuit (ie: LAG circuit), and can correspond to a single circuit in the collection circuit. The processor 120 can calculate the traffic average upper limit curve and the traffic average lower limit curve corresponding to the date 2021/07/01 according to the information in Table 5.

表6是當前訊務集合、預警門檻值及告警門檻值的一個實例,其中當前訊務集合對應於日期2021/07/01的288個5分鐘訊務。 表6 彙集電路 當前訊務集合中大於訊務平均數上限曲線或小於訊務平均數下限曲線的訊務的數量 預警門檻值 告警門檻值 LAG電路1 0 20 144 單一電路2 0 20 144 單一電路3 32 20 144 單一電路4 6 20 144 Table 6 is an example of the current traffic set, the warning threshold and the warning threshold, wherein the current traffic set corresponds to 288 5-minute traffic on the date 2021/07/01. Table 6 sink circuit The number of transactions in the current transaction set that are greater than the upper limit curve of the average number of transactions or less than the lower limit curve of the average number of transactions Early warning threshold Alarm Threshold LAG circuit 1 0 20 144 single circuit 2 0 20 144 single circuit 3 32 20 144 single circuit 4 6 20 144

在步驟S306中,處理器120可判斷當前訊務集合中大於訊務平均數上限曲線或小於訊務平均數下限曲線的訊務的數量是否大於告警門檻值。In step S306, the processor 120 may determine whether the number of the traffic in the current traffic set is larger than the upper limit curve of the average traffic number or smaller than the lower limit curve of the average traffic number is greater than the alarm threshold.

若處理器120判斷當前訊務集合中大於訊務平均數上限曲線或小於訊務平均數下限曲線的訊務的數量大於告警門檻值(步驟S306的判斷結果為「是」),則在步驟S307中,處理器120可將第二權重值增加至權重。If the processor 120 judges that the number of traffic in the current traffic set that is greater than the upper limit curve of the average number of traffic or less than the lower limit curve of the average number of traffic is greater than the alarm threshold (the judgment result of step S306 is "Yes"), then in step S307 , the processor 120 may add the second weight value to the weight.

若處理器120判斷當前訊務集合中大於訊務平均數上限曲線或小於訊務平均數下限曲線的訊務的數量小於或等於告警門檻值(步驟S306的判斷結果為「否」),則在步驟S308中,處理器120可判斷當前訊務集合中大於訊務平均數上限曲線或小於訊務平均數下限曲線的訊務的數量是否大於預警門檻值。If the processor 120 determines that the number of traffic in the current traffic set that is greater than the upper limit curve of the average number of traffic or lower than the lower limit curve of the average number of traffic is less than or equal to the alarm threshold (the judgment result of step S306 is "No"), then in In step S308, the processor 120 may determine whether the number of the traffic in the current traffic set is larger than the upper limit curve of the average traffic number or smaller than the lower limit curve of the average traffic number is greater than the warning threshold.

若處理器120判斷當前訊務集合中大於訊務平均數上限曲線或小於訊務平均數下限曲線的訊務的數量大於預警門檻值,(步驟S308的判斷結果為「是」),則在步驟S309中,處理器120可將第一權重值增加至權重。If the processor 120 judges that the number of traffic in the current traffic set that is greater than the upper limit curve of the average number of traffic or less than the lower limit curve of the average number of traffic is greater than the warning threshold (the judgment result of step S308 is "yes"), then in step S308 In S309, the processor 120 may add the first weight value to the weight.

若處理器120判斷當前訊務集合中大於訊務平均數上限曲線或小於訊務平均數下限曲線的訊務的數量小於或等於預警門檻值,(步驟S308的判斷結果為「否」),則在步驟S310中,處理器120可不增加權重值至權重。If the processor 120 judges that the number of traffic in the current traffic set that is greater than the upper limit curve of the average traffic value or smaller than the lower limit curve of the average traffic value is less than or equal to the warning threshold (the judgment result of step S308 is "No"), then In step S310, the processor 120 may not add the weight value to the weight.

以表6為例,LAG電路1及單一電路2都沒有任何5分鐘訊務的數量(即:5分鐘內訊務所傳輸的位元數量)大於訊務平均數上限曲線或小於訊務平均數下限曲線。單一電路3有32筆5分鐘訊務的數量大於訊務平均數上限曲線或小於訊務平均數下限曲線的訊務,由於32大於預警門檻值20且小於告警門檻值144,處理器120可將第一權重值增加至單一電路3所收容的網路終端的權重。此外,處理器120可根據表1將單一電路3所收容的網路終端1501~網路終端2000加入至查測清單。處理器120可儲存查測清單於儲存媒體130。此外,單一電路4有6筆5分鐘訊務的數量大於訊務平均數上限曲線或小於訊務平均數下限曲線,由於6小於預警門檻值20,處理器120可不增加權重值至權重。Taking Table 6 as an example, neither LAG circuit 1 nor single circuit 2 has any 5-minute traffic volume (that is, the number of bits transmitted by traffic within 5 minutes) that is greater than the upper limit curve of the traffic average number or smaller than the traffic average number lower limit curve. A single circuit 3 has 32 5-minute traffic whose quantity is greater than the upper limit curve of the average number of traffic or smaller than the lower limit curve of the average number of traffic. The first weight value is added to the weight of the network terminals accommodated by the single circuit 3 . In addition, the processor 120 may add the network terminals 1501 - 2000 accommodated in the single circuit 3 to the check list according to Table 1. The processor 120 can store the check list in the storage medium 130 . In addition, the number of 6 5-minute traffic in the single circuit 4 is greater than the upper limit curve of the average traffic number or smaller than the lower limit curve of the average traffic number. Since 6 is smaller than the warning threshold value 20, the processor 120 may not increase the weight value to the weight value.

圖4是根據本發明的另一實施例繪示的利用訊務資訊獲得對應於網路終端的權重的步驟的流程圖。圖4更具體地描述步驟S202的一部分細節。本實施例用於偵測單一電路的重荷。在本實施例中,彙集電路可包括單一電路。處理器120通過收發器110接收的訊務資訊可包括分別對應於多個時段的多個尖峰訊務,其中多個尖峰訊務對應於單一電路。FIG. 4 is a flowchart illustrating the steps of obtaining weights corresponding to network terminals by using traffic information according to another embodiment of the present invention. FIG. 4 more specifically describes part of the details of step S202. This embodiment is used to detect the heavy load of a single circuit. In this embodiment, the collection circuit may include a single circuit. The traffic information received by the processor 120 through the transceiver 110 may include a plurality of peak traffic respectively corresponding to a plurality of time periods, wherein the plurality of peak traffic corresponds to a single circuit.

在步驟S401中,處理器120可獲得訊務資訊中分別對應於多個時段的多個尖峰訊務。請參照前述表2~表4,假設多個時段分別為日期2021/07/01、日期2021/06/30以及日期2021/06/29,處理器120可從如表2所示的訊務資訊中獲得單一電路2在日期2021/07/01的日尖峰訊務、單一電路3在日期2021/07/01的日尖峰訊務以及單一電路4在日期2021/07/01的日尖峰訊務等。接著,處理器120從表3獲得單一電路2在日期2021/06/30的日尖峰訊務、單一電路3在日期2021/06/30的日尖峰訊務、單一電路4在日期2021/06/30的日尖峰訊務…,並從表4獲得單一電路2在日期2021/06/29的日尖峰訊務、單一電路3在日期2021/06/29的日尖峰訊務、單一電路4在日期2021/06/29的日尖峰訊務。In step S401, the processor 120 may obtain a plurality of traffic peaks corresponding to a plurality of time periods in the traffic information. Please refer to the aforementioned Tables 2 to 4, assuming that the multiple time periods are the date 2021/07/01, the date 2021/06/30, and the date 2021/06/29, the processor 120 can obtain the communication information shown in Table 2 Get the daily peak traffic of single circuit 2 on 2021/07/01, the daily peak traffic of single circuit 3 on 2021/07/01, and the daily peak traffic of single circuit 4 on 2021/07/01, etc. . Next, the processor 120 obtains the daily peak traffic of the single circuit 2 on the date 2021/06/30, the daily peak traffic of the single circuit 3 on the date 2021/06/30, and the daily peak traffic of the single circuit 4 on the date 2021/06/30 from Table 3. The daily peak traffic of 30..., and obtain the daily peak traffic of single circuit 2 on date 2021/06/29, the daily peak traffic of single circuit 3 on date 2021/06/29, and the single circuit 4 on date from Table 4 Daily peak traffic on 2021/06/29.

在步驟S402中,處理器120可利用多個尖峰訊務獲得對應於多個時段的平均頻寬使用率。具體來說,針對一個時段,處理器120可計算電路的尖峰訊務以及電路的電路頻寬的比值以獲得電路的頻寬使用率。在取得分別對應於多個時段的多個頻寬使用率後,處理器120可計算多個頻寬使用率的平均以獲得平均頻寬使用率。In step S402, the processor 120 can use multiple peak traffic to obtain average bandwidth usage corresponding to multiple time periods. Specifically, for a period of time, the processor 120 can calculate the ratio of the peak traffic of the circuit to the circuit bandwidth of the circuit to obtain the bandwidth usage of the circuit. After obtaining a plurality of bandwidth utilization rates respectively corresponding to the plurality of time periods, the processor 120 may calculate an average of the plurality of bandwidth utilization rates to obtain an average bandwidth utilization rate.

在步驟S403中,處理器120可獲得預警門檻值以及告警門檻值。例如,處理器120可從儲存媒體130取得儲存在儲存媒體130中的預警門檻值以及告警門檻值。In step S403, the processor 120 may obtain the warning threshold and the warning threshold. For example, the processor 120 may obtain the warning threshold and the warning threshold stored in the storage medium 130 from the storage medium 130 .

表7是一個實例。 表7日期2021/06/29至2021/07/01(3日)的平均頻寬使用率、預警門檻值以及告警門檻值 彙集電路 電路頻寬(Mbps) 3日平均尖峰訊務(Mbps) 3日平均頻寬使用率(%) 預警門檻值(%) 告警門檻值(%) LAG電路1 單一電路2 1000 800 80 70 85 單一電路3 1000 880 88 70 85 單一電路4 1000 350 35 70 85 Table 7 is an example. Table 7 Average Bandwidth Usage Rate, Early Warning Threshold and Alarm Threshold from 2021/06/29 to 2021/07/01 (3 days) sink circuit Circuit Bandwidth (Mbps) 3-day average peak traffic (Mbps) 3-day average bandwidth usage (%) Early warning threshold (%) Alarm Threshold (%) LAG circuit 1 none none none none none single circuit 2 1000 800 80 70 85 single circuit 3 1000 880 88 70 85 single circuit 4 1000 350 35 70 85

處理器120可根據對應於單一電路的平均頻寬使用率、預警門檻值以及告警門檻值計算由單一電路所收容的網路終端的權重。響應於平均頻寬使用率大於告警門檻值,處理器120可將第二權重值增加至權重。響應於平均頻寬使用率大於預警門檻值且小於或等於告警門檻值,處理器120可將第一權重值增加至權重。The processor 120 can calculate the weight of the network terminals accommodated by the single circuit according to the average bandwidth usage, the warning threshold and the warning threshold corresponding to the single circuit. In response to the average bandwidth usage being greater than the alarm threshold, the processor 120 may add the second weight value to the weight. In response to the average bandwidth usage being greater than the warning threshold and less than or equal to the warning threshold, the processor 120 may add the first weight value to the weight.

具體來說,在步驟S404中,處理器120可判斷平均頻寬使用率是否大於告警門檻值。Specifically, in step S404, the processor 120 may determine whether the average bandwidth usage is greater than an alarm threshold.

若處理器120判斷平均頻寬使用率大於告警門檻值(步驟S404的判斷結果為「是」),則在步驟S405中,處理器120可將第二權重值增加至權重。If the processor 120 determines that the average bandwidth usage is greater than the alarm threshold (the determination result of step S404 is "Yes"), then in step S405, the processor 120 may add the second weight value to the weight.

若處理器120判斷平均頻寬使用率小於或等於告警門檻值(步驟S404的判斷結果為「否」),則在步驟S406中,處理器120可判斷平均頻寬使用率是否大於預警門檻值。If the processor 120 determines that the average bandwidth utilization is less than or equal to the warning threshold (the determination result of step S404 is "No"), then in step S406, the processor 120 may determine whether the average bandwidth utilization is greater than the warning threshold.

若處理器120判斷平均頻寬使用率大於預警門檻值(步驟S406的判斷結果為「是」),則在步驟S407中,處理器120可將第一權重值增加至權重。If the processor 120 determines that the average bandwidth utilization rate is greater than the warning threshold (the determination result of step S406 is "Yes"), then in step S407, the processor 120 may add the first weight value to the weight.

若處理器120判斷平均頻寬使用率小於或等於預警門檻值(步驟S406的判斷結果為「否」),則在步驟S408中,處理器120可不增加權重值至權重。If the processor 120 determines that the average bandwidth utilization rate is less than or equal to the warning threshold (the determination result of step S406 is "No"), then in step S408, the processor 120 may not add the weight value to the weight.

以表7為例,由於單一電路2的3日平均頻寬使用率80%大於預警門檻值70%且小於告警門檻85%,處理器120可將第一權重值增加至權重。此外,處理器120可根據表1將單一電路2所收容的網路終端1001~網路終端1500加入至查測清單。Taking Table 7 as an example, since the 3-day average bandwidth utilization rate of the single circuit 2 of 80% is greater than the warning threshold of 70% and less than the warning threshold of 85%, the processor 120 may add the first weight value to the weight. In addition, the processor 120 may add the network terminals 1001 - 1500 accommodated in the single circuit 2 to the checklist according to Table 1.

單一電路3的3日平均頻寬使用率88%大於告警門檻值85%,處理器120可將第二權重值增加至權重。此外,處理器120可根據表1將單一電路3所收容的網路終端1501~網路終端2000加入至查測清單。The 3-day average bandwidth utilization rate of the single circuit 3 is 88% greater than the alarm threshold value of 85%, and the processor 120 may add the second weight value to the weight. In addition, the processor 120 may add the network terminals 1501 - 2000 accommodated in the single circuit 3 to the check list according to Table 1.

單一電路4的3日平均頻寬使用率35%小於預警門檻值70%,處理器120可不增加權重值至權重。此外,處理器120可以不將單一電路4收容的網路終端加入查測清單。If the 3-day average bandwidth usage rate of the single circuit 4 is 35% less than the warning threshold 70%, the processor 120 may not increase the weight value to the weight. In addition, the processor 120 may not add the network terminal accommodated by the single circuit 4 into the detection list.

處理器120可儲存查測清單於儲存媒體130。The processor 120 can store the check list in the storage medium 130 .

圖5是根據本發明的又一實施例繪示的利用訊務資訊獲得對應於網路終端的權重的步驟的流程圖。圖5更具體地描述步驟S202的一部分細節。本實施例用於偵測LAG電路的負載失衡狀態。在本實施例中,彙集電路可包括多個電路(即:LAG電路)。處理器120通過收發器110接收的訊務資訊可包括分別對應於多個時段的多個尖峰訊務,其中多個尖峰訊務對應於多個電路。FIG. 5 is a flow chart illustrating the steps of using traffic information to obtain weights corresponding to network terminals according to yet another embodiment of the present invention. FIG. 5 more specifically describes part of the details of step S202. This embodiment is used for detecting the unbalanced state of the load of the LAG circuit. In this embodiment, the collection circuit may include multiple circuits (that is, LAG circuits). The traffic information received by the processor 120 through the transceiver 110 may include a plurality of peak traffic respectively corresponding to a plurality of time periods, wherein the plurality of peak traffic corresponds to a plurality of circuits.

在步驟S501中,處理器120可獲得訊務資訊中分別對應於多個時段的多個尖峰訊務。本步驟與前述的步驟S401相似,於此不再贅述。In step S501, the processor 120 may obtain a plurality of traffic peaks corresponding to a plurality of time periods in the traffic information. This step is similar to the aforementioned step S401, and will not be repeated here.

在步驟S502中,處理器120可利用多個尖峰訊務獲得分別對應於多個時段的多個頻寬使用率差值。具體來說,針對一個時段,處理器120可計算分別對應於多個電路的多個頻寬使用率,其中多個頻寬使用率包括最大頻寬使用率以及最小頻寬使用率。處理器120可計算最大頻寬使用率與最小頻寬使用率的差值以獲得頻寬使用率差值。In step S502 , the processor 120 can use a plurality of traffic spikes to obtain a plurality of bandwidth usage difference values corresponding to a plurality of time periods respectively. Specifically, for a period of time, the processor 120 may calculate a plurality of bandwidth utilization rates respectively corresponding to the plurality of circuits, wherein the plurality of bandwidth utilization rates include a maximum bandwidth utilization rate and a minimum bandwidth utilization rate. The processor 120 can calculate the difference between the maximum bandwidth usage and the minimum bandwidth usage to obtain the bandwidth usage difference.

在步驟S503中,處理器120可獲得預警門檻值以及告警門檻值。例如,處理器120可從儲存媒體130取得儲存在儲存媒體130中的預警門檻值以及告警門檻值。In step S503, the processor 120 may obtain an early warning threshold and an alarm threshold. For example, the processor 120 may obtain the warning threshold and the warning threshold stored in the storage medium 130 from the storage medium 130 .

表8是一個實例。 表8 2021/06/29至2021/07/01(3日)的平均頻寬使用率差值、預警門檻值以及告警門檻值 彙集電路 2021/07/01平均頻寬使用率差值(%) 2021/06/30平均頻寬使用率差值(%) 2021/06/29平均頻寬使用率差值(%) 預警門檻值(%) 告警門檻值(%) LAG電路1 75 85 80 50 70 單一電路2 單一電路3 單一電路4 Table 8 is an example. Table 8 Average Bandwidth Utilization Rate Difference, Early Warning Threshold and Alarm Threshold from 2021/06/29 to 2021/07/01 (3 days) sink circuit 2021/07/01 Difference in Average Bandwidth Utilization Rate (%) 2021/06/30 Difference in Average Bandwidth Utilization Rate (%) 2021/06/29 Difference in Average Bandwidth Utilization Rate (%) Early warning threshold (%) Alarm Threshold (%) LAG circuit 1 75 85 80 50 70 single circuit 2 none none none none none single circuit 3 none none none none none single circuit 4 none none none none none

處理器120可先利用表2~表4的內容,計算出如表8所示的LAG電路1連續三天(2021/06/29、2021/06/30、2021/07/01)的頻寬使用率差值。The processor 120 can first use the contents of Table 2 to Table 4 to calculate the bandwidth of LAG circuit 1 for three consecutive days (2021/06/29, 2021/06/30, 2021/07/01) as shown in Table 8 Utilization difference.

處理器120可根據多個頻寬使用率差值、告警門檻值以及預警門檻值來計算由LAG電路所收容的網路終端的權重。響應於多個頻寬使用率差值的平均值大於告警門檻值,處理器120可將第二權重值增加至權重。響應於多個頻寬使用率差值的平均值大於預警門檻值且小於或等於告警門檻值,處理器120可將第一權重值增加至權重。The processor 120 can calculate the weight of the network terminals accommodated by the LAG circuit according to the plurality of bandwidth usage difference values, the alarm threshold and the warning threshold. In response to the average value of the plurality of bandwidth usage difference values being greater than the alarm threshold, the processor 120 may add the second weight value to the weight. In response to the average value of the plurality of bandwidth usage difference values being greater than the warning threshold and less than or equal to the warning threshold, the processor 120 may add the first weight value to the weight.

具體來說,在步驟S504中,處理器120可判斷多個頻寬使用率差值的平均值是否大於告警門檻值。Specifically, in step S504, the processor 120 may determine whether an average value of a plurality of bandwidth usage difference values is greater than an alarm threshold.

若處理器120判斷多個頻寬使用率差值的平均值大於告警門檻值(步驟S504的判斷結果為「是」),則在步驟S505中,處理器120可將第二權重值增加至權重。If the processor 120 judges that the average value of the multiple bandwidth utilization rate differences is greater than the alarm threshold (the judgment result of step S504 is "Yes"), then in step S505, the processor 120 may increase the second weight value to the weight .

若處理器120判斷多個頻寬使用率差值的平均值小於或等於告警門檻值(步驟S504的判斷結果為「否」),則在步驟S506中,處理器120可判斷多個頻寬使用率差值的平均值是否大於預警門檻值。If the processor 120 judges that the average value of the multiple bandwidth usage differences is less than or equal to the alarm threshold (the judgment result of step S504 is "No"), then in step S506, the processor 120 can judge that multiple bandwidth usage Whether the average value of rate difference is greater than the early warning threshold.

若處理器120判斷多個頻寬使用率差值的平均值大於預警門檻值(步驟S506的判斷結果為「是」),則在步驟S507中,處理器120可將第一權重值增加至權重。If the processor 120 judges that the average value of the multiple bandwidth utilization rate differences is greater than the warning threshold (the judgment result of step S506 is "Yes"), then in step S507, the processor 120 may increase the first weight value to the weight .

若處理器120判斷多個頻寬使用率差值的平均值小於或等於預警門檻值(步驟S506的判斷結果為「否」),則在步驟S508中,處理器120可不增加權重值至權重。If the processor 120 determines that the average value of the plurality of bandwidth utilization rate differences is less than or equal to the warning threshold (the determination result of step S506 is "No"), then in step S508, the processor 120 may not add the weight to the weight.

以表8為例,LAG電路1連續三天的頻寬使用率差值(75%、85%、80%)的平均值(80%)大於告警門檻值70%。處理器120可將第二權重值增加至網路終端的權重,其中所述網路終端可為如表1所示由LAG電路1所收容的網路終端0001~網路終端1000。此外,處理器120可將網路終端0001~網路終端1000加入至查測清單。處理器120可儲存查測清單於儲存媒體130。Taking Table 8 as an example, the average value (80%) of the bandwidth usage difference (75%, 85%, 80%) of LAG circuit 1 for three consecutive days is greater than the alarm threshold of 70%. The processor 120 may add the second weight value to the weight of the network terminals, wherein the network terminals may be the network terminals 0001˜1000 accommodated by the LAG circuit 1 as shown in Table 1. In addition, the processor 120 may add the network terminals 0001 to 1000 into the detection list. The processor 120 can store the check list in the storage medium 130 .

第二權重值可大於第一權重值。圖3~圖5的實施例中的第一權重值可為1且第二權重值可為2,然而本發明不限於此。The second weight value may be greater than the first weight value. In the embodiments of FIGS. 3-5 , the first weight value may be 1 and the second weight value may be 2, but the present invention is not limited thereto.

在取得彙集電路及其所收容的網路終端的權重後,回到圖2,在步驟S203中,處理器120可利用權重決定對應於網路終端的查測策略,並且通過收發器110輸出查測策略以供使用者參考。After obtaining the weights of the converging circuit and the network terminals it accommodates, return to FIG. 2 , in step S203, the processor 120 can use the weights to determine the detection strategy corresponding to the network terminals, and output the detection strategy through the transceiver 110. test strategy for user reference.

圖6是根據本發明的一實施例繪示的決定對應於網路終端的查測策略的流程圖。FIG. 6 is a flow chart of determining a detection strategy corresponding to a network terminal according to an embodiment of the present invention.

在步驟S601中,處理器120可獲得查測清單。詳細來說,在前述圖3~圖5的實施例中,儲存媒體130所儲存的查測清單可包括具有權重的各網路終端。處理器120可從儲存媒體130中獲得包括此些網路終端的查測清單。In step S601, the processor 120 may obtain a lookup list. In detail, in the aforementioned embodiments of FIG. 3 to FIG. 5 , the search list stored in the storage medium 130 may include network terminals with weights. The processor 120 can obtain a search list including these network terminals from the storage medium 130 .

假設圖3~圖5的實施例中的第一權重值為1且第二權重值為2。表9是經過前述圖3~圖5的實施例之後,各網路終端的權重增加的總和。 表9 彙集電路 收容網路終端 圖3實施例之後的權重 圖4實施例之後的權重 圖5實施例之後的權重 權重增加的總和 LAG電路1 網路終端0001 未增加 未增加 增加2 增加2 LAG電路1 網路終端1000 未增加 未增加 增加2 增加2 單一電路2 網路終端1001 未增加 增加1 未增加 增加1 單一電路2 網路終端1500 未增加 增加1 未增加 增加1 單一電路3 網路終端1501 增加1 增加2 未增加 增加3 單一電路3 網路終端2000 增加1 增加2 未增加 增加3 單一電路4 網路終端2001 未增加 未增加 未增加 未增加 單一電路4 網路終端2500 未增加 未增加 未增加 未增加 Assume that the first weight value is 1 and the second weight value is 2 in the embodiments shown in FIGS. 3-5 . Table 9 is the sum of the weight increase of each network terminal after going through the aforementioned embodiments in FIG. 3 to FIG. 5 . Table 9 sink circuit contain network terminals Weights after Figure 3 Example Weights after Figure 4 Example Weights after Figure 5 Example sum of weight increases LAG circuit 1 Network Terminal 0001 not increased not increased increase by 2 increase by 2 LAG circuit 1 Network terminal 1000 not increased not increased increase by 2 increase by 2 single circuit 2 Internet terminal 1001 not increased increase by 1 not increased increase by 1 single circuit 2 Network terminal 1500 not increased increase by 1 not increased increase by 1 single circuit 3 Internet terminal 1501 increase by 1 increase by 2 not increased increase by 3 single circuit 3 Network Terminal 2000 increase by 1 increase by 2 not increased increase by 3 single circuit 4 Internet Terminal 2001 not increased not increased not increased not increased single circuit 4 Network terminal 2500 not increased not increased not increased not increased

在本實施例中,儲存媒體130可儲存列管清單。列管清單可儲存已完成查測的網路終端的名單。In this embodiment, the storage medium 130 can store the management list. The management list can store the list of network terminals that have been checked.

在步驟S602中,處理器120可獲得列管清單。初始的列管清單可不包含任何的網路終端。In step S602, the processor 120 may obtain a management list. The initial management list may not contain any network terminals.

在步驟S603中,處理器120可從查測清單中移除同時列在列管清單以及查測清單中的網路終端。如此,可避免查測清單中包含已經完成查測的網路終端。In step S603, the processor 120 may remove the network terminals listed in both the management list and the detection list from the detection list. In this way, it is possible to prevent the network terminals that have completed the detection from being included in the detection list.

在步驟S604中,處理器120可根據權重值排序查測清單中的網路終端。若網路終端的權重值越大,則所述網路終端的查測優先度越高。若網路終端的權重值越小,則所述網路終端的查測優先度越低。處理器120可將權重值越大的網路終端排序在查測清單的越前端,並可將權重值越小的網路終端排序在查測清單的越尾端。In step S604, the processor 120 sorts the network terminals in the search list according to the weight values. If the weight value of the network terminal is greater, the detection priority of the network terminal is higher. If the weight value of the network terminal is smaller, the detection priority of the network terminal is lower. The processor 120 may sort the network terminals with larger weights at the front of the detection list, and may sort the network terminals with smaller weights at the bottom of the detection list.

在此假設在步驟S603中,初始的列管清單並未包括任何一個網路終端。表10是步驟S604執行完成後的查測清單。 表10 查測清單 網路終端 權重 網路終端1501 3 網路終端2000 3 網路終端0001 2 網路終端1000 2 網路終端1001 1 網路終端1500 1 It is assumed that in step S603, the initial management list does not include any network terminal. Table 10 is the search list after step S604 is executed. Table 10 check list network terminal Weights Internet terminal 1501 3 Network Terminal 2000 3 Network Terminal 0001 2 Network terminal 1000 2 Internet terminal 1001 1 Network terminal 1500 1

在步驟S605中,處理器120可通過收發器110輸出查測清單。電子裝置100的使用者可根據查測清單派遣人力資源來為清單中的網路終端進行查測。In step S605 , the processor 120 may output a check list through the transceiver 110 . The user of the electronic device 100 can dispatch manpower resources to perform detection for the network terminals in the list according to the detection list.

在步驟S606中,處理器120可通過收發器110接收查測結果。查測結果可指示已經完成查測的網路終端。In step S606 , the processor 120 may receive the detection result through the transceiver 110 . The detection result may indicate the network terminals that have completed the detection.

在步驟S607中,處理器120可利用查測結果判斷查測清單中的各網路終端是否已被查測。In step S607, the processor 120 may use the detection result to determine whether each network terminal in the detection list has been detected.

若處理器120判斷特定網路終端的已被查測(步驟S607的判斷結果為「是」),處理器120可將此特定網路終端加入列管清單。此外,查測結果可指示此網路終端的查測時間點,並且列管清單可包含完成查測的網路終端的查測時間點。處理器120可從列管清單中,刪除查測時間點已超過列管時間門檻值(例如,2週)的網路終端。換句話說,在完成電路的查測且經過一段時間後,處理器120可將所述電路自列管清單移除以將所述電路視為尚未完成查測的電路。If the processor 120 determines that the specific network terminal has been checked (the determination result of step S607 is “Yes”), the processor 120 may add the specific network terminal into the management list. In addition, the detection result can indicate the detection time point of the network terminal, and the management list can include the detection time point of the network terminal that has completed the detection. The processor 120 may delete network terminals whose detection time exceeds a management time threshold (for example, 2 weeks) from the management list. In other words, after a period of time has elapsed after the detection of the circuit is completed, the processor 120 may remove the circuit from the pipe list so as to regard the circuit as a circuit that has not completed the detection.

若處理器120判斷特定網路終端尚未被查測(步驟S607的判斷結果為「否」),處理器120可回到步驟S601。If the processor 120 determines that the specific network terminal has not been detected (the determination result of step S607 is "No"), the processor 120 may return to step S601.

綜上所述,本發明的決定網路終端的查測策略的電子裝置及方法可在利用訊務資訊及門檻值獲得網路終端的權重之後,進一步利用權重來決定是否查測網路終端,同時也可利用權重決定多個網路終端的查測順序。除此之外,還可比較列管清單與查測清單以避免頻繁查測相同的網路終端,從而提高了查測網路終端的效率。To sum up, the electronic device and method for determining the detection strategy of the network terminal of the present invention can further use the weight to determine whether to detect the network terminal after obtaining the weight of the network terminal by using the traffic information and the threshold value. At the same time, weights can also be used to determine the detection order of multiple network terminals. In addition, the management list and the detection list can be compared to avoid frequent detection of the same network terminal, thereby improving the efficiency of detection of the network terminal.

100:電子裝置 110:收發器 120:處理器 130:儲存媒體 S201、S202、S203、S301、S302、S303、S304、S305、S306、S307、S308、S309、S310、S401、S402、S403、S404、S405、S406、S407、S408、S501、S502、S503、S504、S505、S506、S507、S508、S601、S602、S603、S604、S605、S606、S607:步驟 100: Electronic device 110: Transceiver 120: Processor 130: storage media S201, S202, S203, S301, S302, S303, S304, S305, S306, S307, S308, S309, S310, S401, S402, S403, S404, S405, S406, S407, S408, S501, S502, S503, S504, S505, S506, S507, S508, S601, S602, S603, S604, S605, S606, S607: steps

圖1是根據本發明的一實施例繪示的一種決定網路終端的查測策略的電子裝置的示意圖。 圖2是根據本發明的一實施例繪示的一種決定網路終端的查測策略的方法的流程圖。 圖3是根據本發明的一實施例繪示的利用訊務資訊獲得對應於網路終端的權重的步驟的流程圖。 圖4是根據本發明的另一實施例繪示的利用訊務資訊獲得對應於網路終端的權重的步驟的流程圖。 圖5是根據本發明的又一實施例繪示的利用訊務資訊獲得對應於網路終端的權重的步驟的流程圖。 圖6是根據本發明的一實施例繪示的決定對應於網路終端的查測策略的流程圖。 FIG. 1 is a schematic diagram of an electronic device for determining a detection strategy of a network terminal according to an embodiment of the present invention. FIG. 2 is a flowchart of a method for determining a detection strategy of a network terminal according to an embodiment of the present invention. FIG. 3 is a flow chart illustrating the steps of using traffic information to obtain weights corresponding to network terminals according to an embodiment of the present invention. FIG. 4 is a flowchart illustrating the steps of obtaining weights corresponding to network terminals by using traffic information according to another embodiment of the present invention. FIG. 5 is a flow chart illustrating the steps of using traffic information to obtain weights corresponding to network terminals according to yet another embodiment of the present invention. FIG. 6 is a flow chart of determining a detection strategy corresponding to a network terminal according to an embodiment of the present invention.

S201、S202、S203:步驟 S201, S202, S203: steps

Claims (7)

一種決定網路終端的查測策略的電子裝置,包括:收發器;以及處理器,耦接所述收發器,且經配置以:通過所述收發器接收對應於彙集電路的訊務資訊,其中所述網路終端收容於所述彙集電路,其中所述彙集電路包括單一電路,其中所述訊務資訊包括分別對應於多個時段的多個尖峰訊務,其中所述多個尖峰訊務對應於所述單一電路;利用所述訊務資訊獲得對應於所述網路終端的權重,包括:利用所述多個尖峰訊務獲得對應於所述多個時段的平均頻寬使用率;響應於所述平均頻寬使用率大於預警門檻值且小於或等於告警門檻值,將第一權重值增加至所述權重;以及響應於所述平均頻寬使用率大於所述告警門檻值,將第二權重值增加至所述權重;以及利用所述權重決定對應於所述網路終端的優先度以產生查測策略,並且通過所述收發器輸出所述查測策略。 An electronic device for determining a detection strategy of a network terminal, comprising: a transceiver; and a processor, coupled to the transceiver, and configured to: receive traffic information corresponding to a collection circuit through the transceiver, wherein The network terminal is accommodated in the collection circuit, wherein the collection circuit includes a single circuit, wherein the traffic information includes a plurality of peak traffic corresponding to a plurality of time periods, wherein the plurality of peak traffic corresponds to In the single circuit; using the traffic information to obtain the weight corresponding to the network terminal includes: using the multiple peak traffic to obtain the average bandwidth utilization rate corresponding to the multiple time periods; in response The average bandwidth utilization is greater than the warning threshold and less than or equal to the warning threshold, adding a first weight value to the weight; and in response to the average bandwidth utilization being greater than the warning threshold, adding a second adding a weight value to the weight; and using the weight to determine a priority corresponding to the network terminal to generate a detection strategy, and outputting the detection strategy through the transceiver. 如請求項1所述的電子裝置,其中所述處理器更經配置以:根據所述訊務資訊獲得對應於所述彙集電路的上鏈網路終端集合以及下鏈網路終端集合; 響應於所述上鏈網路終端集合與所述下鏈網路終端集合的交集包括所述網路終端,判斷所述網路終端收容於所述彙集電路;以及響應於所述網路終端收容於所述彙集電路而利用對應於所述彙集電路的所述訊務資訊獲得所述權重。 The electronic device as claimed in claim 1, wherein the processor is further configured to: obtain an uplink network terminal set and a downlink network terminal set corresponding to the aggregation circuit according to the traffic information; In response to the intersection of the uplink network terminal set and the downlink network terminal set including the network terminal, judging that the network terminal is accommodated in the converging circuit; and in response to the network terminal being accommodated The weights are obtained at the aggregation circuit using the traffic information corresponding to the aggregation circuit. 如請求項1所述的電子裝置,其中所述訊務資訊更包括當前訊務集合以及關聯於歷史期間的歷史訊務集合,其中所述處理器更經配置以:利用所述歷史訊務集合獲得關聯於所述歷史期間的多個訊務平均數以及多個訊務標準差;利用所述多個訊務平均數以及所述多個訊務標準差獲得訊務平均數上限曲線以及訊務平均數下限曲線;響應於所述當前訊務集合中大於所述訊務平均數上限曲線或小於所述訊務平均數下限曲線的訊務的數量大於所述告警門檻值,將所述第二權重值增加至所述權重,其中所述訊務對應於所述多個時段;以及響應於訊務的所述數量大於所述預警門檻值且小於或等於所述告警門檻值,將所述第一權重值增加至所述權重。 The electronic device of claim 1, wherein the traffic information further includes a current traffic set and a historical traffic set associated with a historical period, wherein the processor is further configured to: utilize the historical traffic set Obtaining a plurality of traffic averages and a plurality of traffic standard deviations associated with the historical period; using the plurality of traffic averages and the plurality of traffic standard deviations to obtain a traffic mean upper limit curve and a traffic Average lower limit curve; in response to the number of traffic in the current traffic set that is greater than the traffic average upper limit curve or smaller than the traffic average lower limit curve is greater than the alarm threshold value, the second adding a weight value to the weight, wherein the traffic corresponds to the plurality of time periods; and in response to the number of traffic being greater than the alert threshold and less than or equal to the alert threshold, adding the second A weight value is added to the weight. 如請求項3所述的電子裝置,其中所述當前訊務集合以及所述歷史訊務集合對應於所述彙集電路中的多個電路。 The electronic device according to claim 3, wherein the current traffic set and the historical traffic set correspond to a plurality of circuits in the collection circuit. 如請求項3所述的電子裝置,其中所述當前訊務集合以及所述歷史訊務集合對應於所述彙集電路中的單一電路。 The electronic device according to claim 3, wherein the current traffic set and the historical traffic set correspond to a single circuit in the collection circuit. 如請求項1所述電子裝置,其中所述彙集電路更包括多個電路,其中所述訊務資訊包括分別對應於多個第二時段的多個第二尖峰訊務,其中所述多個第二尖峰訊務對應於所述多個電路,其中所述處理器更經配置以:利用所述多個第二尖峰訊務獲得分別對應於所述多個第二時段的多個頻寬使用率差值;響應於所述多個頻寬使用率差值的平均值大於第二告警門檻值,將所述第二權重值增加至所述權重;響應於所述平均值大於第二預警門檻值且小於或等於所述第二告警門檻值,將所述第一權重值增加至所述權重。 The electronic device according to claim 1, wherein the collection circuit further includes a plurality of circuits, wherein the traffic information includes a plurality of second peak traffic respectively corresponding to a plurality of second time periods, wherein the plurality of second peak traffic Two spikes of traffic correspond to the plurality of circuits, wherein the processor is further configured to: utilize the plurality of second spikes of traffic to obtain a plurality of bandwidth utilizations respectively corresponding to the plurality of second time periods difference; in response to the average value of the plurality of bandwidth usage differences being greater than a second alarm threshold, adding the second weight value to the weight; in response to the average being greater than a second early warning threshold and is less than or equal to the second alarm threshold value, adding the first weight value to the weight. 一種決定網路終端的查測策略的方法,適用於包括收發器以及處理器的電子裝置,所述方法包括:通過所述收發器接收對應於彙集電路的訊務資訊,其中所述網路終端收容於所述彙集電路,其中所述彙集電路包括單一電路,其中所述訊務資訊包括分別對應於多個時段的多個尖峰訊務,其中所述多個尖峰訊務對應於所述單一電路;利用所述訊務資訊獲得對應於所述網路終端的權重,包括:利用所述多個尖峰訊務獲得對應於所述多個時段的平均頻寬使用率;響應於所述平均頻寬使用率大於預警門檻值且小於或等於告警門檻值,將第一權重值增加至所述權重;以及響應於所述平均頻寬使用率大於所述告警門檻值, 將第二權重值增加至所述權重;以及利用所述權重決定對應於所述網路終端的優先度以產生查測策略,並且通過所述收發器輸出所述查測策略。 A method for determining a detection strategy for a network terminal, applicable to an electronic device including a transceiver and a processor, the method comprising: receiving traffic information corresponding to a collection circuit through the transceiver, wherein the network terminal housed in the collection circuit, wherein the collection circuit includes a single circuit, wherein the traffic information includes a plurality of peak traffic respectively corresponding to a plurality of time periods, wherein the plurality of peak traffic corresponds to the single circuit ; using the traffic information to obtain the weight corresponding to the network terminal, including: using the multiple peak traffic to obtain the average bandwidth utilization rate corresponding to the multiple time periods; responding to the average bandwidth a usage rate greater than the warning threshold and less than or equal to the warning threshold, adding a first weight value to the weight; and in response to the average bandwidth usage being greater than the warning threshold, adding a second weight value to the weight; and using the weight to determine a priority corresponding to the network terminal to generate a probing policy, and outputting the probing policy through the transceiver.
TW110138610A 2021-10-18 2021-10-18 Electronic device and method for determining checking strategy of network terminal TWI780954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110138610A TWI780954B (en) 2021-10-18 2021-10-18 Electronic device and method for determining checking strategy of network terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110138610A TWI780954B (en) 2021-10-18 2021-10-18 Electronic device and method for determining checking strategy of network terminal

Publications (2)

Publication Number Publication Date
TWI780954B true TWI780954B (en) 2022-10-11
TW202318837A TW202318837A (en) 2023-05-01

Family

ID=85462729

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110138610A TWI780954B (en) 2021-10-18 2021-10-18 Electronic device and method for determining checking strategy of network terminal

Country Status (1)

Country Link
TW (1) TWI780954B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272290A (en) * 2008-05-12 2008-09-24 中国电信股份有限公司 Measuring method, measuring apparatus and forwarding device for route congestion state in IP network
TW201110614A (en) * 2009-09-04 2011-03-16 Chunghwa Telecom Co Ltd Broadband network information service topology analysis method
US10728121B1 (en) * 2018-05-23 2020-07-28 Juniper Networks, Inc. Dashboard for graphic display of computer network topology
TWI739616B (en) * 2020-09-30 2021-09-11 中華電信股份有限公司 Method and electronic system for configuring route path

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272290A (en) * 2008-05-12 2008-09-24 中国电信股份有限公司 Measuring method, measuring apparatus and forwarding device for route congestion state in IP network
TW201110614A (en) * 2009-09-04 2011-03-16 Chunghwa Telecom Co Ltd Broadband network information service topology analysis method
US10728121B1 (en) * 2018-05-23 2020-07-28 Juniper Networks, Inc. Dashboard for graphic display of computer network topology
TWI739616B (en) * 2020-09-30 2021-09-11 中華電信股份有限公司 Method and electronic system for configuring route path

Also Published As

Publication number Publication date
TW202318837A (en) 2023-05-01

Similar Documents

Publication Publication Date Title
US8068417B1 (en) System, method, and computer program product for processing flow requests based on an associated preference using a single computation
WO2015192627A1 (en) Service scheduling method, apparatus, and system
CN102415059A (en) Bus control device
CN108574970A (en) Father node selection method and network node
CN104901898A (en) Load balancing method and device
CN105917632A (en) A method for scalable distributed network traffic analytics in telco
CN110012044A (en) Dynamic duty transfer method and server
CN106130913A (en) A kind of multi-operator is the route selecting method of many WAN mouth router based on strategy in the case of accessing
CN111629046B (en) Edge computing cooperation method, edge computing equipment and terminal
CN109067664A (en) A kind of load-balancing method and device
CN101656653B (en) Method and device for configuring receive buffer applied to multi-path transmission
CN104038418A (en) Routing method for hybrid topologic structure data center, path detection mechanism and message processing mechanism
CN110378121A (en) A kind of edge calculations terminal security appraisal procedure, device, equipment and storage medium
US10873532B2 (en) Flow control visibility
CN107707612A (en) A kind of appraisal procedure and device of the resource utilization of load balancing cluster
CN107547430A (en) A kind of file transmitting method and device
TWI780954B (en) Electronic device and method for determining checking strategy of network terminal
CN107251600B (en) Radio characteristics display device, radio characteristics display methods and storage device
CN107959642B (en) Method, device and system for measuring network path
CN108259375B (en) Method and device for realizing dynamic load sharing of queue level
JPWO2015182629A1 (en) Monitoring system, monitoring device and monitoring program
US11456959B2 (en) Sampling node and a method performed thereby for handling flows through a SDN between client(s) and origin server(s) of a communication network
US10104571B1 (en) System for distributing data using a designated device
US7756160B2 (en) Packet consolidation
CN107920279A (en) The method and apparatus for assessing video quality

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent