TWI821058B - System and method for root cause analysis of abnormal phone number - Google Patents

System and method for root cause analysis of abnormal phone number Download PDF

Info

Publication number
TWI821058B
TWI821058B TW111146227A TW111146227A TWI821058B TW I821058 B TWI821058 B TW I821058B TW 111146227 A TW111146227 A TW 111146227A TW 111146227 A TW111146227 A TW 111146227A TW I821058 B TWI821058 B TW I821058B
Authority
TW
Taiwan
Prior art keywords
signaling
historical
real
cluster
abnormal
Prior art date
Application number
TW111146227A
Other languages
Chinese (zh)
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 TW111146227A priority Critical patent/TWI821058B/en
Application granted granted Critical
Publication of TWI821058B publication Critical patent/TWI821058B/en

Links

Images

Abstract

A system and a method for root cause analysis of an abnormal phone number are provided. The method includes: obtaining a abnormal event database, a historical signaling set, and a statistic model corresponding to the historical signaling set; obtaining an instant signaling set and determining weather a first instant signaling of the instant signaling set matches the statistical model; performing a dial test for a phone number corresponding to the first instant signaling in response to first instant signaling not matching the statistical model; receiving a dial test signaling set corresponding to the dial test; clustering the historical signaling set, the instant signaling set, and the dial test signaling set to obtain a first clustering result including an abnormal cluster; and searching the abnormal event database according to the abnormal cluster to obtain a root cause corresponding to the abnormal cluster and outputting an abnormal state data structure including the root cause.

Description

用於異常門號的根因分析的系統和方法System and method for root cause analysis of abnormal door numbers

本發明是有關於一種電信技術,且特別是有關於一種用於異常門號的根因分析的系統和方法。The present invention relates to a telecommunications technology, and in particular to a system and method for root cause analysis of abnormal door numbers.

經過數十年的電信網路發展與轉變,目前,新世代網路NGN(next generation network)已被廣泛地應用。NGN網路以網際網路協定多媒體子系統(IP multimedia subsystem,IMS)為核心,並融合Internet與通信(telecommunication)領域之技術,以建構現代化電信網路,進而將網路與服務整合以增加營收。用戶從傳統電話設備改為使用網際網路設備為主。因此,如何在傳統設備與新世代設備共存的網路環境中迅速分析異常並排除障礙,避免影響重要電信門號的話務運作,是電信營運商最為關注的課題之一。此外,隨著網路架構的轉型,訊務複雜度也隨之增加,使得NGN或IMS網路的異常分析十分困難,難以快速找出障礙根因。After decades of development and transformation of telecommunications networks, NGN (next generation network) has now been widely used. The NGN network takes the Internet Protocol multimedia subsystem (IMS) as the core and integrates technologies in the Internet and telecommunication fields to build a modern telecommunications network, and then integrates the network and services to increase business receive. Users mainly switch from traditional telephone equipment to Internet equipment. Therefore, how to quickly analyze anomalies and eliminate obstacles in a network environment where traditional equipment and new generation equipment coexist, so as to avoid affecting the traffic operation of important telecommunication numbers, is one of the topics that telecom operators are most concerned about. In addition, with the transformation of network architecture, the complexity of traffic has also increased, making it very difficult to analyze anomalies in NGN or IMS networks and quickly find the root cause of the obstacle.

在IMS網路中,會話發起協定(session initiation protocol,SIP)協定提供了數種請求(request)或回應(response)的方法和回應代碼,以用於完成呼叫控制。SIP協定訊息的標頭欄位和封包內容可用來偵錯,但是仍難以直接用於實務上的障礙排除。例如:電信網路的維運人員可從狀態行(status line)的回應內容獲得障礙資訊,但是如何監測電信網路,獲取對應異常封包以便分析電信網路的障礙仍是實務上必須克服的問題。In the IMS network, the session initiation protocol (SIP) protocol provides several request (request) or response (response) methods and response codes to complete call control. The header fields and packet contents of SIP protocol messages can be used for debugging, but they are still difficult to directly use for practical troubleshooting. For example, maintenance personnel of a telecommunications network can obtain obstacle information from the response content of the status line. However, how to monitor the telecommunications network and obtain corresponding abnormal packets in order to analyze the obstacles of the telecommunications network is still a problem that must be overcome in practice. .

本發明提供一種用於異常門號的根因分析的系統和方法,可監測電信網路中的異常信令,並分析造成異常的根因。The present invention provides a system and method for root cause analysis of abnormal door numbers, which can monitor abnormal signaling in a telecommunications network and analyze the root cause of the abnormality.

本發明的一種用於異常門號的根因分析的系統,包含處理器、儲存媒體以及收發器。儲存媒體儲存多個模組、異常事件資料庫、歷史信令集合以及對應於歷史信令集合的常態模型。處理器耦接儲存媒體以及收發器,並且存取和執行多個模組,其中多個模組包含信令匯集模組、即時分析模組以及自動撥測模組。信令匯集模組通過收發器接收即時信令集合。即時分析模組判斷即時信令集合中的第一即時信令是否與常態模型匹配。自動撥測模組響應於第一即時信令與常態模型不匹配而為對應於第一即時信令的門號執行撥打測試。信令匯集模組通過收發器接收對應於撥打測試的撥測信令集合。即時分析模組對歷史信令集合、即時信令集合以及撥測信令集合執行分群以取得包含異常群集的第一分群結果。即時分析模組根據異常群集搜尋異常事件資料庫以取得對應於異常群集的根因,並且通過收發器輸出包含根因的異常狀態資料結構。The present invention is a system for root cause analysis of abnormal door numbers, including a processor, a storage medium and a transceiver. The storage medium stores multiple modules, an abnormal event database, a historical signaling set, and a normal model corresponding to the historical signaling set. The processor is coupled to the storage medium and the transceiver, and accesses and executes a plurality of modules, wherein the plurality of modules include a signaling collection module, a real-time analysis module and an automatic dialing test module. The signaling aggregation module receives the instant signaling aggregation through the transceiver. The real-time analysis module determines whether the first real-time signaling in the real-time signaling set matches the normal model. The automatic dial test module performs a dial test for the door number corresponding to the first instant signaling in response to the mismatch between the first instant signaling and the normal model. The signaling aggregation module receives the dial test signaling set corresponding to the dial test through the transceiver. The real-time analysis module performs clustering on the historical signaling set, the real-time signaling set and the dial test signaling set to obtain the first clustering result including abnormal clusters. The real-time analysis module searches the abnormal event database according to the abnormal cluster to obtain the root cause corresponding to the abnormal cluster, and outputs the abnormal status data structure containing the root cause through the transceiver.

在本發明的一實施例中,上述的第一分群結果包含第一群集以及第二群集,其中即時分析模組自第一群集取得第一參考信令,自第二群集取得第二參考信令,並且自常態模型取得至少一歷史參考信令,其中即時分析模組計算第一參考信令與至少一歷史參考信令之間的第一最大相似度,並且計算第二參考信令與至少一歷史參考信令之間的第二最大相似度,其中響應於第二最大相似度大於第一最大相似度,即時分析模組從第一群集和第二群集中選擇第一群集以作為異常群集。In an embodiment of the present invention, the above-mentioned first clustering result includes a first cluster and a second cluster, wherein the real-time analysis module obtains the first reference signaling from the first cluster and obtains the second reference signaling from the second cluster. , and obtain at least one historical reference signaling from the normal model, wherein the real-time analysis module calculates the first maximum similarity between the first reference signaling and at least one historical reference signaling, and calculates the second reference signaling and at least one historical reference signaling. A second maximum similarity between the historical reference signaling, wherein in response to the second maximum similarity being greater than the first maximum similarity, the instant analysis module selects the first cluster from the first cluster and the second cluster as the anomaly cluster.

在本發明的一實施例中,上述的至少一歷史參考信令包含第一歷史參考信令和第二歷史參考信令,其中即時分析模組計算第一參考信令與第一歷史參考信令之間的第一相似度,並且計算第一參考信令與第二歷史參考信令之間的第二相似度,其中響應於第一相似度大於第二相似度,即時分析模組比較第一參考信令與第一歷史參考信令之間的第一差異,並且根據第一差異搜尋異常事件資料庫以取得根因。In an embodiment of the present invention, the above-mentioned at least one historical reference signaling includes a first historical reference signaling and a second historical reference signaling, wherein the real-time analysis module calculates the first reference signaling and the first historical reference signaling. The first similarity between the first reference signaling and the second historical reference signaling is calculated, wherein in response to the first similarity being greater than the second similarity, the real-time analysis module compares the first A first difference between the reference signaling and the first historical reference signaling, and searching the abnormal event database according to the first difference to obtain the root cause.

在本發明的一實施例中,上述的即時分析模組對歷史信令集合以及即時信令集合執行分群以取得第二分群結果,並且判斷第二分群結果的第一群集數量是否大於常態模型的第二群集數量,其中響應於第一群集數量大於第二群集數量,即時分析模組判斷第二分群結果包含非常態群集,其中即時分析模組基於第一即時信令包含於非常態群集而判斷第一即時信令與常態模型不匹配。In an embodiment of the present invention, the above-mentioned real-time analysis module performs grouping on the historical signaling set and the real-time signaling set to obtain the second grouping result, and determines whether the number of the first cluster in the second grouping result is greater than the normal state. The second number of clusters of the model, wherein in response to the first number of clusters being greater than the second number of clusters, the real-time analysis module determines that the second clustering result contains non-normal clusters, wherein the real-time analysis module includes the non-normal cluster based on the first real-time signaling The cluster determines that the first instant signaling does not match the normal model.

在本發明的一實施例中,上述的多個模組更包含離線建模模組。離線建模模組對歷史信令集合執行分群以產生常態模型。In an embodiment of the present invention, the above-mentioned plurality of modules further include an offline modeling module. The offline modeling module performs clustering on the historical signaling set to generate a normality model.

在本發明的一實施例中,上述的離線建模模組根據密度式分群演算法對歷史信令集合執行分群。In an embodiment of the present invention, the above-mentioned offline modeling module performs grouping on the historical signaling set according to a density grouping algorithm.

在本發明的一實施例中,上述的儲存媒體更儲存關鍵欄位清單,其中在對歷史信令集合執行分群之前,離線建模模組根據關鍵欄位清單過濾歷史信令集合。In an embodiment of the present invention, the above-mentioned storage medium further stores a key field list, wherein before performing grouping on the historical signaling set, the offline modeling module filters the historical signaling set according to the key field list.

在本發明的一實施例中,上述的歷史信令集合中的歷史信令包含至少一欄位,其中離線建模模組判斷至少一欄位是否包含關鍵欄位清單中的第一關鍵欄位,其中響應於至少一欄位不包含第一關鍵欄位,離線建模模組過濾歷史信令。In an embodiment of the present invention, the historical signaling in the above-mentioned historical signaling set includes at least one field, and the offline modeling module determines whether the at least one field includes the first key field in the key field list. , wherein in response to at least one field not containing the first key field, the offline modeling module filters historical signaling.

在本發明的一實施例中,上述的歷史信令集合中的歷史信令包含欄位以及欄位的內容,其中離線建模模組判斷內容的格式是否與關鍵欄位清單匹配,其中響應於格式與關鍵欄位清單不匹配,離線建模模組過濾歷史信令。In an embodiment of the present invention, the historical signaling in the above-mentioned historical signaling set includes fields and the contents of the fields, wherein the offline modeling module determines whether the format of the content matches the key field list, wherein in response to The format does not match the key field list, and the offline modeling module filters historical signaling.

在本發明的一實施例中,上述的歷史信令集合中的歷史信令包含欄位以及欄位的內容,其中在對歷史信令集合執行分群之前,離線建模模組根據欄位決定內容的編碼方法,並且根據編碼方法對內容執行編碼。In an embodiment of the present invention, the historical signaling in the above-mentioned historical signaling set includes a field and the content of the field. Before performing grouping on the historical signaling set, the offline modeling module determines the content according to the field. encoding method, and perform encoding on the content according to the encoding method.

在本發明的一實施例中,上述的儲存媒體更儲存重要門號清單,其中信令匯集模組通過收發器接收多個歷史信令,其中響應於多個歷史信令中的第一歷史信令的門號與重要門號清單匹配,離線建模模組根據第一歷史信令取得歷史信令集合。In an embodiment of the present invention, the above-mentioned storage medium further stores a list of important door numbers, wherein the signaling aggregation module receives a plurality of historical signalings through the transceiver, and in response to the first historical signaling among the plurality of historical signalings The ordered door number matches the list of important door numbers, and the offline modeling module obtains the historical signaling set based on the first historical signaling.

在本發明的一實施例中,上述的儲存媒體更儲存重要門號清單,其中即時分析模組響應於第一即時信令的門號與重要門號清單匹配而判斷第一即時信令是否與常態模型匹配。In an embodiment of the present invention, the above-mentioned storage medium further stores a list of important door numbers, wherein the real-time analysis module determines whether the first real-time signaling matches the key number list in response to the door number of the first real-time signaling matching the important door number list. Normal model matching.

在本發明的一實施例中,上述的儲存媒體儲存包含常態模型的多個常態模型,其中信令匯集模組在第一時段期間接收即時信令集合,其中即時分析模組從多個常態模型中選出對應於第一時段的常態模型,藉以判斷第一即時信令是否與常態模型匹配。In an embodiment of the present invention, the above-mentioned storage medium stores multiple normality models including normality models, wherein the signaling collection module receives a real-time signaling set during the first period, and the real-time analysis module collects data from the multiple normality models. A normal model corresponding to the first period is selected to determine whether the first instant signaling matches the normal model.

在本發明的一實施例中,上述的離線建模模組根據預設周期更新常態模型。In an embodiment of the present invention, the above-mentioned offline modeling module updates the normal model according to a preset period.

本發明的一種用於異常門號的根因分析的方法,包含:取得異常事件資料庫、歷史信令集合以及對應於歷史信令集合的常態模型;接收即時信令集合,並且判斷即時信令集合中的第一即時信令是否與常態模型匹配;響應於第一即時信令與常態模型不匹配而為對應於第一即時信令的門號執行撥打測試;接收對應於撥打測試的撥測信令集合;對歷史信令集合、即時信令集合以及撥測信令集合執行分群以取得包含異常群集的第一分群結果;以及根據異常群集搜尋異常事件資料庫以取得對應於異常群集的根因,並且輸出包含根因的異常狀態資料結構。The present invention is a method for root cause analysis of abnormal door numbers, including: obtaining an abnormal event database, a historical signaling set and a normality model corresponding to the historical signaling set; receiving an instant signaling set, and judging the instant signaling Whether the first instant signaling in the set matches the normal model; performing a dial test for the door number corresponding to the first instant signaling in response to the first instant signaling not matching the normal model; receiving a dial test corresponding to the dial test Signaling set; perform clustering on the historical signaling set, real-time signaling set and dial test signaling set to obtain the first clustering result including the abnormal cluster; and search the abnormal event database according to the abnormal cluster to obtain the root corresponding to the abnormal cluster Cause, and output the abnormal status data structure containing the root cause.

基於上述,本發明的信令匯集模組可全面地蒐集電信網路中重要門號之信令,以供離線建模模組根據信令為該重要門號建立常態模型。即時分析模組可基於常態模型即時偵測門號是否正發生異常,並由自動撥測模組對異常門號執行撥打測試,以增加異常門號之信令的樣本數量。即時分析模組可根據藉由撥打測試取得的撥測信令來分析異常的根因。根因可用於異常告警、障礙排除或建檔統計等延伸應用。Based on the above, the signaling collection module of the present invention can comprehensively collect the signaling of important door numbers in the telecommunications network, so that the offline modeling module can establish a normal model for the important door numbers based on the signaling. The real-time analysis module can instantly detect whether an abnormal door number is occurring based on the normal model, and the automatic dialing test module performs a dialing test on the abnormal door number to increase the number of signaling samples for abnormal door numbers. The real-time analysis module can analyze the root cause of the anomaly based on the dial test signaling obtained through the dial test. Root causes can be used for extended applications such as abnormal alarms, troubleshooting, or filing statistics.

本發明可透過蒐集電信網路內重要門號的信令資料,進行篩選、編碼與分析,藉以監測重要電信門號的信令資料。本發明應用了自動撥測、信令蒐集與彙整等技術,藉以獲得電信網路中的各式信令(或封包)。在對信令執行篩選與編碼處理後,本發明可基於分群演算法對信令進行離群值分析,找出不合常態模式的異常信令及欄位內容,藉以進行後續之障礙判讀及根因分析。The present invention can monitor the signaling data of important telecom gates by collecting, screening, encoding and analyzing the signaling data of important telecom gates in the telecommunications network. The invention applies technologies such as automatic dialing and testing, signaling collection and aggregation to obtain various signaling (or packets) in the telecommunications network. After filtering and encoding the signaling, the present invention can perform outlier analysis on the signaling based on the grouping algorithm to find abnormal signaling and field content that do not conform to the normal pattern, so as to conduct subsequent obstacle interpretation and root causes. analyze.

圖1根據本發明的一實施例繪示一種用於異常門號的根因分析的系統10的示意圖。系統10可包含處理器110、儲存媒體120以及收發器130。FIG. 1 is a schematic diagram of a system 10 for root cause analysis of abnormal door numbers according to an embodiment of the present invention. System 10 may include processor 110, storage media 120, and transceiver 130.

處理器110例如是中央處理單元(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)或其他類似元件或上述元件的組合。處理器110可耦接至儲存媒體120以及收發器130,並且存取和執行儲存於儲存媒體120中的多個模組和各種應用程式。The processor 110 is, for example, a central processing unit (CPU), or other programmable general-purpose or special-purpose micro control unit (MCU), microprocessor, or digital signal processing unit. Digital signal processor (DSP), programmable controller, 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 (field programmable gate array) , FPGA) or other similar components or a combination of the above components. The processor 110 can be coupled to the storage medium 120 and the transceiver 130, and access and execute multiple modules and various applications stored in the storage medium 120.

儲存媒體120例如是任何型態的固定式或可移動式的隨機存取記憶體(random access memory,RAM)、唯讀記憶體(read-only memory,ROM)、快閃記憶體(flash memory)、硬碟(hard disk drive,HDD)、固態硬碟(solid state drive,SSD)或類似元件或上述元件的組合,而用於儲存可由處理器110執行的多個模組或各種應用程式。在本實施例中,儲存媒體120可儲存包含一或多個信令匯集模組121、離線建模模組122、即時分析模組123、自動撥測模組124、信令資料庫20、異常事件資料庫30以及一或多個常態模型40等多個模組,其功能將於後續說明。多個常態模型40可分別對應於不同的時段。舉例來說,多個常態模型40可包含適用於時段10:00~12:00的常態模型和適用於時段19:00~20:00的常態模型。The storage medium 120 is, for example, any type of fixed or removable random access memory (RAM), read-only memory (ROM), or flash memory. , hard disk drive (HDD), solid state drive (SSD) or similar components or a combination of the above components, used to store multiple modules or various application programs that can be executed by the processor 110 . In this embodiment, the storage medium 120 can store one or more signaling aggregation modules 121, offline modeling modules 122, real-time analysis modules 123, automatic dialing modules 124, signaling database 20, exceptions, etc. The functions of the event database 30 and one or more normality models 40 and other modules will be described later. Multiple normality models 40 may respectively correspond to different time periods. For example, the multiple normality models 40 may include a normality model suitable for the period 10:00~12:00 and a normality model suitable for the period 19:00~20:00.

收發器130以無線或有線的方式傳送及接收訊號。收發器130還可以執行例如低噪聲放大、阻抗匹配、混頻、向上或向下頻率轉換、濾波、放大以及類似的操作。系統10可通過收發器130存取如圖2所示的電信網路200。The transceiver 130 transmits and receives signals in a wireless or wired manner. Transceiver 130 may also perform, for example, low noise amplification, impedance matching, mixing, up or down frequency conversion, filtering, amplification, and similar operations. System 10 may access telecommunications network 200 as shown in FIG. 2 via transceiver 130.

圖2根據本發明的一實施例繪示信令匯集模組121之佈建的示意圖。多個信令匯集模組121可分別佈建在電信網路200中的不同區域(例如:區域210、220或230),以從各個區域蒐集與重要門號相關聯的信令。在本實施例中,需要被監視的門號可被定義為重要門號。舉例來說,若某門號向服務供應商申請了用於異常門號的根因分析的服務,則服務供應商可將該門號設為重要門號。電信網路200可包含NGN網路、公用陸上行動網路(public land mobile network,PLMN)或公用交換電話網路(public switched telephone network,PSTN)等不同的電信網路及其混合架構。FIG. 2 shows a schematic diagram of the deployment of the signaling aggregation module 121 according to an embodiment of the present invention. Multiple signaling aggregation modules 121 can be deployed in different areas (for example, areas 210, 220, or 230) of the telecommunications network 200 to collect signaling associated with important door numbers from each area. In this embodiment, door numbers that need to be monitored can be defined as important door numbers. For example, if a certain phone number applies to the service provider for root cause analysis of abnormal door numbers, the service provider can set the phone number as an important phone number. The telecommunications network 200 may include different telecommunications networks such as NGN network, public land mobile network (PLMN) or public switched telephone network (PSTN), and their hybrid architectures.

圖3根據本發明的一實施例繪示用於異常門號的根因分析的方法的流程圖,其中所述方法可由如圖1所示的系統10實施。FIG. 3 illustrates a flow chart of a method for root cause analysis of abnormal door numbers according to an embodiment of the present invention, wherein the method can be implemented by the system 10 shown in FIG. 1 .

在步驟S310中,信令匯集模組121可通過收發器130自電信網路200接收多筆歷史信令。歷史信令可包含在先前時段於電信網路200中傳輸的信令。歷史信令可包含諸如SIP信令、Diameter協定信令或E.164數字映射(E.164 number mapping,ENUM)域名系統(domain name system,DNS)信令等IP封包的信令,或可包含諸如整合服務數位網路(integrated services digital network,ISDN)用戶部分(user part)信令、智慧網路應用協定(intelligent network application part,INAP)信令等非IP封包的信令。信令匯集模組121可根據信令的時間戳記為各個歷史信令進行排序,並將歷史信令儲存在信令資料庫20以供後續使用。表1為本實施例之信令的資料結構的範例。 表1 信令識別符 時間戳記 來源門號 目的門號 客戶識別符 欄位名稱#1 原始內容#1 特徵編碼#1 欄位名稱#2 原始內容#2 特徵編碼#2 欄位名稱#N 原始內容#N 特徵編碼#N In step S310, the signaling aggregation module 121 may receive a plurality of historical signalings from the telecommunications network 200 through the transceiver 130. Historical signaling may include signaling transmitted in the telecommunications network 200 during previous periods. Historical signaling may include signaling of IP packets such as SIP signaling, Diameter protocol signaling, or E.164 number mapping (ENUM) domain name system (DNS) signaling, or may include Non-IP packet signaling such as integrated services digital network (ISDN) user part signaling and intelligent network application part (INAP) signaling. The signaling aggregation module 121 can sort each historical signaling according to the time stamp of the signaling, and store the historical signaling in the signaling database 20 for subsequent use. Table 1 is an example of the data structure of signaling in this embodiment. Table 1 signaling identifier Timestamp Source number Destination door number customer identifier Field Name #1 Original Content #1 Feature Encoding #1 Field name #2 Original content #2 Feature Encoding #2 Field name #N Original content #N Feature encoding #N

在步驟S320中,離線建模模組122可判斷未建立或更新常態模型40的時間是否大於預設周期。若所述時間大於預設周期,則進入步驟S330。若所述時間小於或等於預設周期,則進入步驟S340。通過步驟S320的執行,離線建模模組122可根據預設周期建立或更新常態模型40,以使常態模型40適應門號使用者當前的使用習慣。預設周期可由使用者自定義。例如,使用者可將預設周期設為1個月、3個月或1年。In step S320, the offline modeling module 122 may determine whether the time during which the normality model 40 has not been established or updated is greater than a preset period. If the time is greater than the preset period, step S330 is entered. If the time is less than or equal to the preset period, step S340 is entered. Through the execution of step S320, the offline modeling module 122 can establish or update the normality model 40 according to a preset period, so that the normality model 40 adapts to the current usage habits of the door number user. The default period can be customized by the user. For example, users can set the default period to 1 month, 3 months or 1 year.

在步驟S330中,離線建模模組122可對歷史信令集合執行分群以產生常態模型40。圖4根據本發明的一實施例繪示步驟S330的詳細流程圖。在步驟S401中,信令匯集模組121可根據時間戳記將蒐集到的多個歷史信令依序匯入離線建模模組122。In step S330 , the offline modeling module 122 may perform clustering on the historical signaling set to generate the normality model 40 . FIG. 4 illustrates a detailed flowchart of step S330 according to an embodiment of the present invention. In step S401, the signaling aggregation module 121 can sequentially import the collected multiple historical signalings into the offline modeling module 122 according to the time stamp.

在步驟S402中,離線建模模組122可判斷接收到的歷史信令是否對應於重要門號。若歷史信令對應於重要門號,則進入步驟S403。若歷史信令並未對應於重要門號,則進入步驟S404。In step S402, the offline modeling module 122 may determine whether the received historical signaling corresponds to an important door number. If the historical signaling corresponds to an important door number, step S403 is entered. If the historical signaling does not correspond to the important door number, step S404 is entered.

具體來說,儲存媒體120可儲存記載一或多筆重要門號的重要門號清單。在信令匯集模組121傳送歷史信令給離線建模模組122後,離線建模模組122可比較歷史信令對應的門號與重要門號清單是否匹配。若歷史信令對應的門號記載在重要門號清單中,離線建模模組122可判斷所述門號與重要門號清單匹配,進而將所述歷史信令分配至用於訓練常態模型40的歷史信令集合。若歷史信令對應的門號並未記載在重要門號清單中,離線建模模組122可判斷所述門號與重要門號清單不匹配,進而過濾或丟棄所述歷史信令。Specifically, the storage medium 120 may store an important phone number list recording one or more important phone numbers. After the signaling aggregation module 121 transmits the historical signaling to the offline modeling module 122, the offline modeling module 122 can compare whether the door number corresponding to the historical signaling matches the list of important door numbers. If the door number corresponding to the historical signaling is recorded in the important door number list, the offline modeling module 122 can determine that the door number matches the important door number list, and then allocate the historical signaling to the normal door number for training the normal model 40 A collection of historical signaling. If the door number corresponding to the historical signaling is not recorded in the important door number list, the offline modeling module 122 may determine that the door number does not match the important door number list, and then filter or discard the historical signaling.

以SIP信令為例,SIP信令可包含來源門號(SIP-from-address)或目的門號(SIP-to-address)等欄位。若來源門號或目的門號記載了重要門號清單中的門號,則離線建模模組122可判斷SIP信令與重要門號清單匹配。若來源門號和目的門號都未記載重要門號清單中的門號,則離線建模模組122可判斷SIP信令與重要門號清單不匹配。Taking SIP signaling as an example, SIP signaling can include fields such as source door number (SIP-from-address) or destination door number (SIP-to-address). If the source door number or the destination door number records a door number in the important door number list, the offline modeling module 122 can determine that the SIP signaling matches the important door number list. If neither the source door number nor the destination door number records the door number in the important door number list, the offline modeling module 122 may determine that the SIP signaling does not match the important door number list.

以Diameter協定信令為例,Diameter協定信令可包含用戶名稱(user name)等欄位。若用戶名稱記載了重要門號清單中的門號,則離線建模模組122可判斷Diameter協定信令與重要門號清單匹配。若用戶名稱並未記載重要門號清單中的門號,則離線建模模組122可判斷Diameter協定信令與重要門號清單不匹配。Taking Diameter protocol signaling as an example, Diameter protocol signaling can include fields such as user name. If the user name records a door number in the list of important door numbers, the offline modeling module 122 can determine that the Diameter protocol signaling matches the list of important door numbers. If the user name does not record the door number in the important door number list, the offline modeling module 122 may determine that the Diameter protocol signaling does not match the important door number list.

在步驟S403中,離線建模模組122可根據歷史信令的時間戳記為歷史信令標記對應的時間段。舉例來說,若歷史信令的時間戳為11:00,則離線建模模組122可將歷史信令標記為對應於時段10:00~12:00的歷史信令集合,其中時段10:00~12:00的歷史信令集合用於訓練適用於建立時段10:00~12:00之信令的常態模型。In step S403, the offline modeling module 122 may mark the corresponding time period for the historical signaling according to the time stamp of the historical signaling. For example, if the timestamp of historical signaling is 11:00, the offline modeling module 122 can mark the historical signaling as a historical signaling set corresponding to the time period 10:00~12:00, where the time period 10: The historical signaling set from 00 to 12:00 is used to train a normal model suitable for establishing the signaling period from 10:00 to 12:00.

在步驟S404中,離線建模模組122可判斷信令匯集模組121是否已經停止匯入歷史信令。若信令匯集模組121已經停止匯入歷史信令,則進入步驟S405。若信令匯集模組121尚未停止匯入歷史信令,則重新執行步驟S401。In step S404, the offline modeling module 122 may determine whether the signaling aggregation module 121 has stopped importing historical signaling. If the signaling aggregation module 121 has stopped importing historical signaling, step S405 is entered. If the signaling aggregation module 121 has not stopped importing historical signaling, step S401 is executed again.

在步驟S405中,離線建模模組122可對歷史信令集合中的歷史信令執行關鍵欄位的篩選。儲存媒體120可儲存記載了一或多個關鍵欄位的關鍵欄位清單。離線建模模組122可根據關鍵欄位清單將歷史信令中的關鍵欄位的資料擷取出來,並將非為關鍵欄位的欄位資料刪除。如此,可刪除不必要的資料,從而節省執行後續步驟所需使用的運算資源。In step S405, the offline modeling module 122 may perform key field filtering on the historical signaling in the historical signaling set. The storage medium 120 may store a key field list recording one or more key fields. The offline modeling module 122 can extract the data of key fields in historical signaling according to the key field list, and delete the data of fields that are not key fields. In this way, unnecessary data can be deleted, thereby saving computing resources required to perform subsequent steps.

SIP信令的關鍵欄位可包含但不限於時間戳記(例如:起始時間的時間戳記)、來源門號(SIP-from-address)、目的門號(SIP-to-address)、客戶識別符(例如:call-ID)、Cseq(command sequence)命令序列、標籤(tag)或回應碼等。SS7信令的關鍵欄位可包含但不限於電路識別碼(circuit identification code,CIC)、主叫號碼(calling party number)或被叫號碼(called party number)等。The key fields of SIP signaling may include but are not limited to timestamp (for example: timestamp of starting time), source door number (SIP-from-address), destination door number (SIP-to-address), customer identifier (For example: call-ID), Cseq (command sequence) command sequence, tag (tag) or response code, etc. Key fields of SS7 signaling may include but are not limited to circuit identification code (CIC), calling party number or called party number, etc.

在步驟S406中,離線建模模組122可對歷史信令集合中的歷史信令執行過濾和編碼。離線建模模組122可根據關鍵欄位清單來過濾歷史信令集合。In step S406, the offline modeling module 122 may perform filtering and coding on the historical signaling in the historical signaling set. The offline modeling module 122 can filter the historical signaling set according to the key field list.

在一實施例中,離線建模模組122可將缺失值的歷史信令過濾。具體來說,歷史信令集合中的歷史信令可包含一或多個欄位。若歷史信令的一或多個欄位中包含了關鍵欄位清單記載的所有關鍵欄位的資訊,代表所述歷史信令包含了訓練常態模型40所需的必要資料。據此,離線建模模組122可不過濾所述歷史信令。相對來說,若歷史信令的一或多個欄位中不包含關鍵欄位清單記載的某個關鍵欄位的資訊,代表所述歷史信令缺乏了訓練常態模型40所需的必要資料。據此,離線建模模組122可過濾所述歷史信令。In one embodiment, the offline modeling module 122 can filter historical signaling with missing values. Specifically, the historical signaling in the historical signaling set may include one or more fields. If one or more fields of the historical signaling contains information on all key fields recorded in the key field list, it means that the historical signaling contains necessary data required for training the normality model 40 . Accordingly, the offline modeling module 122 may not filter the historical signaling. Relatively speaking, if one or more fields of the historical signaling does not contain the information of a key field recorded in the key field list, it means that the historical signaling lacks necessary data required for training the normality model 40 . Accordingly, the offline modeling module 122 can filter the historical signaling.

在一實施例中,離線建模模組122可將包含型態錯誤之資料的歷史信令過濾。具體來說,關鍵欄位清單可進一步記載關鍵欄位的內容所對應的格式。歷史信令集合中的歷史信令可包含欄位以及與欄位相對應的內容(例如:表1所載的欄位名稱#1和對應的原始內容#1)。離線建模模組122可判斷歷史信令的欄位內容的格式與關鍵欄位清單是否匹配。若格式與關鍵欄位清單匹配,則離線建模模組122可不過濾歷史信令。若格式與關鍵欄位清單不匹配,則離線建模模組122可過濾歷史信令。In one embodiment, the offline modeling module 122 may filter historical signaling that contains data with type errors. Specifically, the key field list may further record the format corresponding to the content of the key field. The historical signaling in the historical signaling set may include fields and content corresponding to the fields (for example: field name #1 and corresponding original content #1 shown in Table 1). The offline modeling module 122 can determine whether the format of the field content of the historical signaling matches the key field list. If the format matches the key field list, the offline modeling module 122 may not filter historical signaling. If the format does not match the key field list, the offline modeling module 122 can filter historical signaling.

以SIP信令為例,SIP信令可包含邀請(invite)信令,其中邀請信令可包含來源門號欄位或目的門號欄位,且該些欄位的內容格式應符合記錄地址(address-of-record,AOR)格式,即內容須包含「SIP:user@domain」字串。若SIP信令不包含「SIP:user@domain」字串,則離線建模模組122可判斷格式與關鍵欄位清單不匹配,進而將歷史信令過濾。Taking SIP signaling as an example, SIP signaling can include invitation signaling, in which the invitation signaling can include the source door number field or the destination door number field, and the content format of these fields should conform to the record address ( address-of-record (AOR) format, that is, the content must contain the string "SIP:user@domain". If the SIP signaling does not contain the string "SIP:user@domain", the offline modeling module 122 can determine that the format does not match the key field list, and then filter the historical signaling.

離線建模模組122可根據歷史信令中的欄位決定對應的內容的編碼方法,並且根據編碼方法對所述內容執行編碼。在完成編碼後,離線建模模組122可對編碼完的內容執行最小值最大值正規化(min-max normalization),將內容的數值線性轉換至[0,1]區間,以統一資料數值的範圍。The offline modeling module 122 may determine the encoding method of the corresponding content according to the fields in the historical signaling, and perform encoding on the content according to the encoding method. After completing the encoding, the offline modeling module 122 can perform min-max normalization on the encoded content, linearly converting the value of the content to the [0,1] interval to unify the data value. Scope.

舉例來說,離線建模模組122可使用一位有效編碼(one-hot encoding)對SIP信令的方法(method)欄位執行編碼,將原本代表方法類別的字串內容值轉換為0或1的數值,並維持方法欄位無序特性,例如將方法欄位中的「REGISTER」字串轉換為數值為1的「Is_Register」欄位。離線建模模組122可使用標籤編碼(labeling encoding)對SIP信令中記載了門號的欄位執行編碼,將原始字串內容轉換為自定義的數值標籤,如將使用者門號「+886123456789」轉換為「123456789」的數值標籤。SIP信令中的結果碼(result-code)欄位的數值代表不同類別的回應結果。由於各種回應碼之間沒有邏輯上的順序關係,故離線建模模組122可使用一位有效編碼對結果碼欄位執行編碼。For example, the offline modeling module 122 can use one-hot encoding to encode the method field of SIP signaling, converting the string content value originally representing the method category into 0 or The value of 1, and maintain the unordered characteristics of the method field, for example, convert the "REGISTER" string in the method field to the "Is_Register" field with a value of 1. The offline modeling module 122 can use labeling encoding to encode the field containing the door number in the SIP signaling, and convert the original string content into a customized numerical label, such as the user's door number "+ 886123456789" is converted into a numerical label of "123456789". The value of the result-code field in SIP signaling represents different types of response results. Since there is no logical sequential relationship between various response codes, the offline modeling module 122 can use a one-bit valid encoding to encode the result code field.

在步驟S407中,離線建模模組122可對歷史信令集合執行分群以產生常態模型40。在一實施例中,離線建模模組122可根據諸如共享最近鄰居(shared nearest neighbor,SNN)演算法的密度式分群(density-based clustering)演算法對歷史信令集合執行分群。共享最近鄰居演算法改善了多維資料可能遭遇維度災難(curse of dimensionality)的問題。表2為常態模型40的範例。常態模型40可包含M個群集,其中M為正整數。在一實施例中,離線建模模組122可根據非監督式機器學習演算法執行分群。 表2 群集#1-1 群集#1-2 群集#1-M In step S407, the offline modeling module 122 may perform clustering on the historical signaling set to generate the normality model 40. In one embodiment, the offline modeling module 122 may perform clustering on the historical signaling set according to a density-based clustering algorithm such as a shared nearest neighbor (SNN) algorithm. The shared nearest neighbor algorithm improves the problem that multi-dimensional data may suffer from the curse of dimensionality. Table 2 is an example of normality model 40. Normality model 40 may contain M clusters, where M is a positive integer. In one embodiment, the offline modeling module 122 may perform clustering according to an unsupervised machine learning algorithm. Table 2 Cluster #1-1 Cluster #1-2 Cluster #1-M

在步驟S408中,離線建模模組122可將屬於離群值(outlier)的歷史信令(即:雜訊)自常態模型40排除。步驟S407所使用的密度式分群演算法可自動找出不屬於表2中的M個群集的歷史信令,並且該些歷史信令排除。未被排除的歷史信令即為相似度高的常態信令。據此,表2中的M個群集可被稱為常態群集。In step S408 , the offline modeling module 122 may exclude historical signaling (ie, noise) belonging to outliers from the normal model 40 . The density grouping algorithm used in step S407 can automatically find historical signaling that does not belong to the M clusters in Table 2, and exclude these historical signalings. Historical signaling that has not been excluded is normal signaling with high similarity. Accordingly, the M clusters in Table 2 can be called normal clusters.

在步驟S409中,離線建模模組122可將常態模型40儲存至儲存媒體120中,以供後續步驟使用。In step S409, the offline modeling module 122 may store the normality model 40 into the storage medium 120 for use in subsequent steps.

回到圖3,在步驟S340中,即時分析模組123可根據常態模型40分析門號的即時信令以判斷門號是否異常,並輸出異常的根因。Returning to FIG. 3 , in step S340 , the real-time analysis module 123 can analyze the real-time signaling of the door number according to the normality model 40 to determine whether the door number is abnormal, and output the root cause of the abnormality.

圖5根據本發明的一實施例繪示步驟S340的詳細流程圖。在步驟S501中,信令匯集模組121可通過收發器130自電信網路200接收多筆即時信令。即時信令可包含在當前時段於電信網路200中傳輸的信令。即時信令可包含諸如SIP信令、Diameter協定信令或ENUM DNS信令等IP封包的信令,或可包含諸如ISDN用戶部分信令、INAP信令等非IP封包的信令。信令匯集模組121可根據信令的時間戳記為各個即時信令進行排序,並將即時信令儲存在信令資料庫20以供後續使用。即時信令的資料結構可以表1為例。FIG. 5 illustrates a detailed flowchart of step S340 according to an embodiment of the present invention. In step S501, the signaling aggregation module 121 may receive multiple instant signalings from the telecommunications network 200 through the transceiver 130. Immediate signaling may include signaling transmitted in the telecommunications network 200 during the current period. Immediate signaling may include signaling in IP packets such as SIP signaling, Diameter protocol signaling or ENUM DNS signaling, or may include signaling in non-IP packets such as ISDN User Part signaling, INAP signaling. The signaling aggregation module 121 can sort each instant signaling according to the time stamp of the signaling, and store the instant signaling in the signaling database 20 for subsequent use. The data structure of instant signaling can be shown in Table 1 as an example.

在步驟S502中,信令匯集模組121可根據時間戳記將蒐集到的多個即時信令依序匯入即時分析模組123。In step S502, the signaling aggregation module 121 can sequentially import the collected multiple real-time signalings into the real-time analysis module 123 according to the time stamp.

在步驟S503中,即時分析模組123可判斷接收到的即時信令是否對應於重要門號。若即時信令對應於重要門號,則進入步驟S504。若即時信令並未對應於重要門號,則進入步驟S505。In step S503, the real-time analysis module 123 may determine whether the received real-time signaling corresponds to an important door number. If the instant signaling corresponds to an important door number, step S504 is entered. If the instant signaling does not correspond to the important door number, step S505 is entered.

具體來說,儲存媒體120可儲存記載一或多筆重要門號的重要門號清單。在信令匯集模組121傳送即時信令給即時分析模組123後,即時分析模組123可比較即時信令對應的門號與重要門號清單是否匹配。若即時信令對應的門號記載在重要門號清單中,即時分析模組123可判斷所述門號與重要門號清單匹配,進而將所述即時信令分配至即時信令集合。若即時信令對應的門號並未記載在重要門號清單中,即時分析模組123可判斷所述門號與重要門號清單不匹配,進而過濾或丟棄所述即時信令。Specifically, the storage medium 120 may store an important phone number list recording one or more important phone numbers. After the signaling aggregation module 121 transmits the real-time signaling to the real-time analysis module 123, the real-time analysis module 123 can compare whether the door number corresponding to the real-time signaling matches the list of important door numbers. If the door number corresponding to the instant signaling is recorded in the important door number list, the real-time analysis module 123 can determine that the door number matches the important door number list, and then allocate the instant signaling to the instant signaling set. If the door number corresponding to the instant signaling is not recorded in the important door number list, the real-time analysis module 123 may determine that the door number does not match the important door number list, and then filter or discard the instant signaling.

在步驟S504中,即時分析模組123可根據即時信令的時間戳記為即時信令標記對應的時間段。舉例來說,若即時信令的時間戳為11:00,則即時分析模組123可將即時信令標記為對應於時段10:00~12:00的即時信令集合。In step S504, the real-time analysis module 123 may mark a corresponding time period for the real-time signaling according to the time stamp of the real-time signaling. For example, if the timestamp of the instant signaling is 11:00, the instant analysis module 123 can mark the instant signaling as a set of instant signaling corresponding to the time period 10:00~12:00.

在步驟S505中,即時分析模組123可判斷信令匯集模組121是否已經停止匯入即時信令。若信令匯集模組121已經停止匯入即時信令,則進入步驟S506。若信令匯集模組121尚未停止匯入即時信令,則重新執行步驟S502。In step S505, the real-time analysis module 123 may determine whether the signaling aggregation module 121 has stopped importing real-time signaling. If the signaling aggregation module 121 has stopped importing real-time signaling, step S506 is entered. If the signaling aggregation module 121 has not stopped importing real-time signaling, step S502 is executed again.

在步驟S506中,即時分析模組123可對即時信令集合中的即時信令執行關鍵欄位的篩選。儲存媒體120可儲存記載了一或多個關鍵欄位的關鍵欄位清單。即時分析模組123可根據關鍵欄位清單將即時信令中的關鍵欄位的資料擷取出來,並將非為關鍵欄位的欄位資料刪除。In step S506, the real-time analysis module 123 may perform key field screening on the real-time signaling in the real-time signaling set. The storage medium 120 may store a key field list recording one or more key fields. The real-time analysis module 123 can extract the data of the key fields in the real-time signaling according to the key field list, and delete the data of the fields that are not key fields.

在步驟S507中,即時分析模組123可對即時信令集合中的即時信令執行過濾和編碼。即時分析模組123可根據關鍵欄位清單來過濾即時信令集合。In step S507, the real-time analysis module 123 may perform filtering and coding on the real-time signaling in the real-time signaling set. The real-time analysis module 123 can filter the real-time signaling set according to the key field list.

在一實施例中,即時分析模組123可將缺失值的即時信令過濾。具體來說,即時信令集合中的即時信令可包含一或多個欄位。若即時信令的一或多個欄位中包含了關鍵欄位清單記載的所有關鍵欄位的資訊,代表所述即時信令包含了必要資料。據此,即時分析模組123可不過濾所述即時信令。相對來說,若即時信令的一或多個欄位中不包含關鍵欄位清單記載的某個關鍵欄位的資訊,代表所述即時信令缺乏了必要資料。據此,即時分析模組123可過濾所述即時信令。In one embodiment, the real-time analysis module 123 can filter real-time signaling with missing values. Specifically, the instant signaling in the instant signaling set may include one or more fields. If one or more fields of the real-time signaling contains the information of all key fields recorded in the key field list, it means that the real-time signaling contains necessary data. Accordingly, the real-time analysis module 123 may not filter the real-time signaling. Relatively speaking, if one or more fields of the real-time signaling does not contain the information of a certain key field recorded in the key field list, it means that the real-time signaling lacks necessary data. Accordingly, the real-time analysis module 123 can filter the real-time signaling.

在一實施例中,即時分析模組123可將包含型態錯誤之資料的即時信令過濾。具體來說,關鍵欄位清單可進一步記載關鍵欄位的內容所對應的格式。即時信令集合中的即時信令可包含欄位以及與欄位相對應的內容。即時分析模組123可判斷即時信令的欄位內容的格式與關鍵欄位清單是否匹配。若格式與關鍵欄位清單匹配,則即時分析模組123可不過濾即時信令。若格式與關鍵欄位清單不匹配,則即時分析模組123可過濾即時信令。In one embodiment, the real-time analysis module 123 can filter real-time signaling that contains data of the wrong type. Specifically, the key field list may further record the format corresponding to the content of the key field. The instant signaling in the instant signaling set may include fields and content corresponding to the fields. The real-time analysis module 123 can determine whether the format of the field content of the real-time signaling matches the key field list. If the format matches the key field list, the real-time analysis module 123 may not filter the real-time signaling. If the format does not match the key field list, the real-time analysis module 123 can filter the real-time signaling.

即時分析模組123可根據即時信令中的欄位決定對應的內容的編碼方法,並且根據編碼方法對所述內容執行編碼。在完成編碼後,即時分析模組123可對編碼完的內容執行最小值最大值正規化,將內容的數值線性轉換至[0,1]區間,以統一資料數值的範圍。The real-time analysis module 123 can determine the encoding method of the corresponding content according to the fields in the real-time signaling, and perform encoding on the content according to the encoding method. After completing the encoding, the real-time analysis module 123 can perform minimum and maximum normalization on the encoded content, linearly converting the value of the content to the [0,1] interval to unify the range of data values.

在步驟S508中,即時分析模組123可判斷即時信令集合中的即時信令是否與常態模型40匹配,其中常態模型40與即時信令集合對應於相同的時段。舉例來說,若信令匯集模組121是在特定時段(例如:10:00~12:00)期間接收到即時信令集合,則即時分析模組123從儲存媒體120中的多個常態模型40中,選出對應於所述特定時段(例如:10:00~12:00)的常態模型40來與即時信令集合進行比較,以決定兩者是否匹配。若即時信令與常態模型40匹配,則進入步驟S512。若即時信令與常態模型40不匹配,則進入步驟S509。In step S508, the real-time analysis module 123 may determine whether the real-time signaling in the real-time signaling set matches the normality model 40, where the normality model 40 and the real-time signaling set correspond to the same time period. For example, if the signaling aggregation module 121 receives a real-time signaling aggregation during a specific period (for example: 10:00~12:00), the real-time analysis module 123 obtains a real-time signal from multiple normal models in the storage medium 120 In 40, a normal model 40 corresponding to the specific time period (for example: 10:00~12:00) is selected for comparison with the instant signaling set to determine whether the two match. If the immediate signaling matches the normality model 40, step S512 is entered. If the immediate signaling does not match the normal model 40, step S509 is entered.

具體來說,即時分析模組123可對用於訓練常態模型40的歷史信令集合以及即時信令集合執行分群(例如:使用密度式分群演算法或非監督式機器學習演算法)以取得分群結果,其中歷史信令集合以及即時信令集合需對應於相同的時段(例如:10:00~12:00)。接著,即時分析模組123可判斷分群結果是否包含非常態群集。若分群結果所包含的群集數量大於常態模型40的群集數量,則即時分析模組123可判斷上述的分群結果包含非常態群集。非常態群集中的群集數量可等於分群結果的群集數量減去常態模型40的群集數量。Specifically, the real-time analysis module 123 can perform grouping (for example, using a density grouping algorithm or an unsupervised machine learning algorithm) on the historical signaling set and the real-time signaling set used to train the normality model 40 to obtain the grouping. As a result, the historical signaling set and the instant signaling set need to correspond to the same time period (for example: 10:00~12:00). Then, the real-time analysis module 123 can determine whether the clustering results include abnormal clusters. If the number of clusters included in the clustering results is greater than the number of clusters in the normal model 40, the real-time analysis module 123 may determine that the above-mentioned clustering results include non-normal clusters. The number of clusters in the non-normal clusters may be equal to the number of clusters of the clustering results minus the number of clusters of the normal model 40 .

表3為歷史信令集合以及即時信令集合的分群結果的範例。以表2和表3為例,由於分群結果包含的群集數量(即:M+1個群集)大於常態模型40的群集數量(即:M個群集),故即時分析模組123可判斷分群結果包含1個非常態群集。在一實施例中,即時分析模組123可根據分群結果中的群集與常態模型40中的所有群集之間的最短距離判斷分群結果中的哪些群集為非常態群集。舉例來說,即時分析模組123可計算分群結果中的群集#2-(M+1)與常態模型40中的各個群集之間的距離,進而取得對應於群集#2-(M+1)的最短距離。若對應於群集#2-(M+1)的最短距離大於對應於分群結果中的其他群集(例如:群集#2-1、#2-2或#2-M)的最短距離,則即時分析模組123可判斷群集#2-(M+1)為非常態群集。 表3 群集#2-1 群集#2-2 群集#2-M 群集#2-(M+1) (非常態) Table 3 is an example of the grouping results of the historical signaling set and the immediate signaling set. Taking Tables 2 and 3 as examples, since the number of clusters included in the clustering results (i.e., M+1 clusters) is greater than the number of clusters in the normal model 40 (i.e., M clusters), the real-time analysis module 123 can determine the clustering results. Contains 1 non-normal cluster. In one embodiment, the real-time analysis module 123 may determine which clusters in the clustering results are non-normal clusters based on the shortest distance between the clusters in the clustering results and all clusters in the normality model 40 . For example, the real-time analysis module 123 can calculate the distance between cluster #2-(M+1) in the clustering result and each cluster in the normal model 40, and then obtain the corresponding cluster #2-(M+1) the shortest distance. If the shortest distance corresponding to cluster #2-(M+1) is greater than the shortest distance corresponding to other clusters in the clustering results (for example: cluster #2-1, #2-2 or #2-M), then analyze immediately Module 123 can determine that cluster #2-(M+1) is an abnormal cluster. table 3 Cluster #2-1 Cluster #2-2 Cluster #2-M Cluster #2-(M+1) (non-normal)

在步驟S509中,即時分析模組123可判斷非常態群集中的即時信令與常態模型40不匹配。接著,自動撥測模組124可對與非常態群集中的即時信令相對應的門號執行撥打測試。自動撥測模組124可控制不同區域(例如:區域210、220或220)的電話或交換機撥打所述門號,以在電信網路200中產生大量與所述門號相關的信令。信令匯集模組121可通過收發器130將與所述門號相關的信令自電信網路200蒐集起來以作為撥測信令集合。系統10可通過執行步驟S509來增加屬於非常態群集之門號的信令樣本數,以根據更豐富的資料來判斷門號是否異常。In step S509, the real-time analysis module 123 may determine that the real-time signaling in the non-normal cluster does not match the normal model 40. Then, the automatic dial test module 124 can perform a dial test on the door number corresponding to the instant signaling in the non-normal cluster. The automatic dialing module 124 can control telephones or switches in different areas (for example, areas 210, 220, or 220) to dial the door number, so as to generate a large amount of signaling related to the door number in the telecommunications network 200. The signaling collection module 121 can collect the signaling related to the door number from the telecommunications network 200 through the transceiver 130 as a dial test signaling set. The system 10 can increase the number of signaling samples of door numbers belonging to the non-normal cluster by executing step S509, so as to determine whether the door number is abnormal based on richer data.

在步驟S510中,即時分析模組123可對撥測信令集合中的撥測信令執行關鍵欄位的篩選、過濾和編碼。執行關鍵欄位的篩選、過濾和編碼的方法與步驟S506或步驟S507所記載的方法相似,故不再贅述於此。In step S510, the real-time analysis module 123 may perform screening, filtering and encoding of key fields on the dial-test signaling in the dial-test signaling set. The method of performing filtering, filtering and encoding of key fields is similar to the method recorded in step S506 or step S507, and therefore will not be described again here.

在步驟S511中,即時分析模組123可根據門號的歷史信令集合、即時信令集合以及撥測信令集合判斷門號是否異常。即時分析模組123可對歷史信令集合、即時信令集合以及撥測信令集合執行分群(例如:使用密度式分群演算法或非監督式機器學習演算法)以取得分群結果,並可判斷分群結果中的哪些群集為異常群集。In step S511, the real-time analysis module 123 may determine whether the door number is abnormal based on the door number's historical signaling set, real-time signaling set, and dial test signaling set. The real-time analysis module 123 can perform grouping (for example, using a density grouping algorithm or an unsupervised machine learning algorithm) on the historical signaling set, the real-time signaling set, and the dial test signaling set to obtain the grouping results, and can determine Which clusters in the clustering results are abnormal clusters.

即時分析模組123可從分群結果的各個群集中取得參考信令。表4為歷史信令集合、即時信令集合以及撥測信令集合的分群結果的範例。在本實施例中,假設分群結果包含M+2個群集。分群結果可包含異常群集。異常群集中的群集數量可等於分群結果的群集數量減去常態模型40的群集數量(即:(M+2)-M=2)。 表4 群集#3-1 群集#3-2 群集#3-M 群集#3-(M+1) (異常) 群集#3-(M+2) (異常) The real-time analysis module 123 can obtain reference signaling from each cluster of the grouping result. Table 4 is an example of the grouping results of the historical signaling set, the immediate signaling set and the dial test signaling set. In this embodiment, it is assumed that the clustering result contains M+2 clusters. Clustering results can contain unusual clusters. The number of clusters in the abnormal cluster may be equal to the number of clusters of the clustering result minus the number of clusters of the normal model 40 (i.e.: (M+2)-M=2). Table 4 Cluster #3-1 Cluster #3-2 Cluster #3-M Cluster #3-(M+1) (Exception) Cluster #3-(M+2) (Exception)

具體來說,即時分析模組123可分別從M+2個群集中隨機地選出參考信令,亦即,即時分析模組123可取得共M+2個參考信令。另一方面,即時分析模組123可從常態模型40的M個群集中隨機地選出歷史參考信令,亦即,即時分析模組123可取得共M個歷史參考信令。Specifically, the real-time analysis module 123 can randomly select reference signaling from M+2 clusters, that is, the real-time analysis module 123 can obtain a total of M+2 reference signaling. On the other hand, the real-time analysis module 123 can randomly select historical reference signaling from the M clusters of the normal model 40 , that is, the real-time analysis module 123 can obtain a total of M historical reference signaling.

即時分析模組123可計算各個參考信令與所有歷史參考信令之間的最大相似度,並可根據最大相似度從分群結果中選出異常群集。以從群集#3-(M+1)與群集#3-1選出異常群集為例,即時分析模組123可計算群集#3-(M+1)與常態模型40的M個群集(例如:群集#1-1、#1-2或#1-M)之間的M個相似度,並從M個相似度中選出最大相似度。另一方面,即時分析模組123可計算群集#3-1與常態模型40的M個群集之間的M個相似度,並從M個相似度中選出最大相似度。若對應於群集#3-1的最大相似度大於對應於群集#3-(M+1),則即時分析模組123可從群集#3-1和群集#3-(M+1)中選擇群集#3-(M+1)以作為異常群集。即時分析模組123可針對分群結果中的剩餘的群集(即:尚未被判定為異常群集的其他群集)執行上述的步驟,以選出另一個異常群集。即時分析模組123可重複地執行上述的步驟直到從分群結果的M+2個群集中選出2個異常群集為止,其中所述2個異常群集例如是表4所示的群集#3-(M+1)或群集#3-(M+2)。The real-time analysis module 123 can calculate the maximum similarity between each reference signaling and all historical reference signaling, and can select abnormal clusters from the grouping results based on the maximum similarity. Taking the selection of abnormal clusters from cluster #3-(M+1) and cluster #3-1 as an example, the real-time analysis module 123 can calculate M clusters of cluster #3-(M+1) and the normal model 40 (for example: M similarities between clusters #1-1, #1-2, or #1-M) and select the maximum similarity from the M similarities. On the other hand, the real-time analysis module 123 can calculate M similarities between cluster #3-1 and the M clusters of the normal model 40, and select the maximum similarity from the M similarities. If the maximum similarity corresponding to cluster #3-1 is greater than that corresponding to cluster #3-(M+1), the real-time analysis module 123 may select from cluster #3-1 and cluster #3-(M+1) Cluster #3-(M+1) serves as the abnormal cluster. The real-time analysis module 123 may perform the above steps for the remaining clusters in the clustering results (that is, other clusters that have not been determined to be abnormal clusters) to select another abnormal cluster. The real-time analysis module 123 can repeatedly perform the above steps until 2 abnormal clusters are selected from the M+2 clusters of the clustering results, where the 2 abnormal clusters are, for example, cluster #3-(M shown in Table 4 +1) or cluster #3-(M+2).

在找出異常群集後,即時分析模組123可為異常群集找出發生異常的根因。具體來說,即時分析模組123可計算異常群集的參考信令與常態模型40的所有歷史參考信令之間的相似度,並從取得的所有相似度中找出最大相似度。即時分析模組123可比較對應於最大相似度的歷史參考信令與異常群集的參考信令之間的差異,並且根據差異搜尋異常事件資料庫30以取得發生異常的根因。After finding the abnormal cluster, the real-time analysis module 123 can find the root cause of the abnormality for the abnormal cluster. Specifically, the real-time analysis module 123 can calculate the similarity between the reference signaling of the abnormal cluster and all historical reference signaling of the normal model 40, and find the maximum similarity from all the obtained similarities. The real-time analysis module 123 can compare the difference between the historical reference signaling corresponding to the maximum similarity and the reference signaling of the abnormal cluster, and search the abnormal event database 30 based on the difference to obtain the root cause of the abnormality.

以群集#3-(M+1)為例,即時分析模組123可計算群集#3-(M+1)的參考信令與常態模型40的群集#1-1、群集#1-2、…、群集#1-M等M個歷史參考信令之間的相似度以取得M個相似度。若群集#3-(M+1)的參考信令與群集#1-M的歷史參考信令之間的相似度為M個相似度之間的最大相似度,則即時分析模組123可根據比較群集#3-(M+1)的參考信令與群集#1-M的歷史參考信令(即:具有最大相似度的參考信令與歷史參考信令)之間的差異。例如,即時分析模組123可比較參考信令與歷史參考信令之間而發現兩者的一或多個欄位記載不同的內容。即時分析模組123可將群集#3-(M+1)的參考信令定義為異常信令,並將記載不同內容的一或多個欄位定義為異常欄位。舉例來說,若參考信令的客戶識別符欄位與歷史參考信令的客戶識別符欄位記載了不同的內容,則即時分析模組123可將參考信令的客戶識別符欄位定義為異常欄位。基於與上述相似的步驟,即時分析模組123可取得對應於群集#3-(M+2)的異常信令以及異常欄位。Taking cluster #3-(M+1) as an example, the real-time analysis module 123 can calculate the reference signaling of cluster #3-(M+1) and the cluster #1-1, cluster #1-2, ..., cluster #1-M and other M historical reference signalings to obtain M similarities. If the similarity between the reference signaling of cluster #3-(M+1) and the historical reference signaling of cluster #1-M is the maximum similarity between M similarities, then the real-time analysis module 123 can Compare the difference between the reference signaling of cluster #3-(M+1) and the historical reference signaling of cluster #1-M (ie: the reference signaling with the greatest similarity and the historical reference signaling). For example, the real-time analysis module 123 can compare the reference signaling and the historical reference signaling and find that one or more fields of the two records different contents. The real-time analysis module 123 may define the reference signaling of cluster #3-(M+1) as abnormal signaling, and define one or more fields recording different contents as abnormal fields. For example, if the customer identifier field of the reference signaling and the customer identifier field of the historical reference signaling record different contents, the real-time analysis module 123 can define the customer identifier field of the reference signaling as Exception field. Based on steps similar to the above, the real-time analysis module 123 can obtain the abnormal signaling and abnormal fields corresponding to cluster #3-(M+2).

異常事件資料庫30可記載了一或多個異常信令的一或多個異常欄位與異常門號之根因的映射關係。即時分析模組123可根據取得的異常信令及其異常欄位查找異常事件資料庫30,藉以取得對應於異常信令及其異常欄位的根因。而後,即時分析模組123可通過收發器130輸出包含異常門號之根因的異常狀態資料結構。表5為異常狀態資料結構的範例。表5的範例假設異常群集的數量為K個(K可為正整數),故即時分析模組123可分別從K個異常群集中取得異常信令,以取得K個異常信令。異常狀態摘要欄位可記載異常門號的根因。 表5 異常狀態識別符 起始時間 結束時間 客戶識別符 異常門號 異常信令#1 一或多個異常欄位#1 一或多個異常內容#1 異常狀態摘要 異常信令#2 一或多個異常欄位#2 一或多個異常內容#2 異常信令#K 一或多個異常欄位#K 一或多個異常內容#K The abnormal event database 30 may record a mapping relationship between one or more abnormal fields of one or more abnormal signaling and the root cause of the abnormal door number. The real-time analysis module 123 can search the abnormal event database 30 according to the obtained abnormal signaling and its abnormal fields, so as to obtain the root cause corresponding to the abnormal signaling and its abnormal fields. Then, the real-time analysis module 123 can output the abnormal status data structure including the root cause of the abnormal door number through the transceiver 130 . Table 5 is an example of the abnormal status data structure. The example in Table 5 assumes that the number of abnormal clusters is K (K can be a positive integer), so the real-time analysis module 123 can obtain abnormal signaling from K abnormal clusters respectively to obtain K abnormal signaling. The abnormal status summary field can record the root cause of the abnormal door number. table 5 Exception status identifier start time end time customer identifier Abnormal door number Exception Signaling #1 One or more exception fields #1 One or more anomalous content #1 Exception status summary Exception signaling #2 One or more exception fields #2 One or more anomalous content #2 Abnormal signaling #K One or more exception fields#K One or more anomalous content#K

在步驟S512中,系統10可完成步驟S340的流程。In step S512, the system 10 may complete the process of step S340.

圖6根據本發明的一實施例繪示一種用於異常門號的根因分析的方法的流程圖,其中所述方法可由如圖1所示的系統10實施。在步驟S601中,取得異常事件資料庫、歷史信令集合以及對應於歷史信令集合的常態模型。在步驟S602中,接收即時信令集合,並且判斷即時信令集合中的第一即時信令是否與常態模型匹配。在步驟S603中,響應於第一即時信令與常態模型不匹配而為對應於第一即時信令的門號執行撥打測試。在步驟S604中,接收對應於撥打測試的撥測信令集合。在步驟S605中,對歷史信令集合、即時信令集合以及撥測信令集合執行分群以取得包含異常群集的第一分群結果。在步驟S606中,根據異常群集搜尋異常事件資料庫以取得對應於異常群集的根因,並且輸出包含根因的異常狀態資料結構。FIG. 6 illustrates a flow chart of a method for root cause analysis of abnormal door numbers according to an embodiment of the present invention, wherein the method can be implemented by the system 10 shown in FIG. 1 . In step S601, an abnormal event database, a historical signaling set, and a normality model corresponding to the historical signaling set are obtained. In step S602, receive the instant signaling set, and determine whether the first instant signaling in the instant signaling set matches the normal model. In step S603, in response to the first instant signaling not matching the normal model, a dial test is performed for the door number corresponding to the first instant signaling. In step S604, a dial test signaling set corresponding to the dial test is received. In step S605, clustering is performed on the historical signaling set, the immediate signaling set and the dial test signaling set to obtain a first clustering result including abnormal clusters. In step S606, the abnormal event database is searched according to the abnormal cluster to obtain the root cause corresponding to the abnormal cluster, and an abnormal status data structure including the root cause is output.

本發明所提供之用於異常門號的根因分析的系統和方法,主要透過監測電信網路封包以發現重要電信門號的非常態信令,並分析其異常根因。根因的分析結果可作為電信網路維運與障礙排除的關鍵技術,還能連動告警通知、自動修復及建檔統計等其他系統。與其他習用技術相互比較時,本發明更具有下列之效益與優點。The system and method for root cause analysis of abnormal door numbers provided by the present invention mainly detect abnormal signaling of important telecommunication door numbers by monitoring telecommunications network packets, and analyze their abnormal root causes. The root cause analysis results can be used as a key technology for telecommunications network maintenance and troubleshooting, and can also be linked to other systems such as alarm notifications, automatic repairs, and archiving statistics. When compared with other conventional technologies, the present invention has the following benefits and advantages.

(1)本發明採用非監督式機器學習演算法建模與分析,無須事先人工標記龐大信令資料,即可判斷異常事件的發生與原因。因此,本發明可將事前人工作業量降至最低,並提供另一個面向的監測分析來協助網管人員維運網路。(1) The present invention adopts unsupervised machine learning algorithm modeling and analysis, and can determine the occurrence and cause of abnormal events without manually labeling huge signaling data in advance. Therefore, the present invention can reduce the amount of manual work in advance to a minimum and provide another aspect of monitoring and analysis to assist network administrators in maintaining and operating the network.

(2)    本發明可在異常狀態發生之前,對歷史信令的重要欄位如門號號碼、封包類型與回應碼等,進行篩選、清理及編碼等處理,進而提升機器學習的有效性。本發明可根據歷史資料建立常態模型,讓常態模型學習網路應有之信令常態。當偵測到非常態的信令時,本發明的系統可即時通知維運人員,讓維運人員更快速地掌握異常事件的全貌。(2) This invention can filter, clean, and encode important fields of historical signaling such as door numbers, packet types, and response codes before an abnormal state occurs, thereby improving the effectiveness of machine learning. The present invention can establish a normal model based on historical data and allow the normal model to learn the signaling normality that the network should have. When abnormal signaling is detected, the system of the present invention can immediately notify maintenance and operation personnel, allowing maintenance and operation personnel to grasp the full picture of abnormal events more quickly.

(3)本發明可在異常狀態發生的同時,分析出電信網路中的非常態信令以提示異常的發生,並提供門號號碼、客戶名稱、信令類型、回應碼或來源設備等重要資訊,提升障礙通報的時效性與準確性。(3) When an abnormal state occurs, the present invention can analyze the abnormal signaling in the telecommunications network to prompt the occurrence of the abnormality, and provide important information such as door number, customer name, signaling type, response code or source equipment. information to improve the timeliness and accuracy of obstacle notifications.

(4)本發明可在異常狀態發生後,針對發生異常的重要門號進行撥入測試,再根據即時信令與歷史信令分析異常的封包、欄位及內容,並從異常事件資料庫中查詢障礙根因,協助維運人員判斷障礙,減少排除障礙所需的時間。(4) After an abnormal state occurs, the present invention can perform a dial-in test on the important door number where the abnormality occurred, and then analyze the abnormal packets, fields and contents based on real-time signaling and historical signaling, and extract the data from the abnormal event database. Query the root cause of obstacles, assist maintenance personnel in determining obstacles, and reduce the time required to eliminate obstacles.

綜上所述,本發明可應用於障礙查測領域,例如:本發明可透過偵測出的異常信令及封包,可以掌握障礙的發生,進而自動對發生異常的門號進行撥測、查詢異常欄位及內容。本發明可根據異常事件資料庫中的資料進一步分析障礙的根因,以提升障礙排除的時效性與準確性。另一方面,本發明亦可用於加值服務,例如:本發明可學習出某重要門號的信令常態模式,藉以避開尖峰時段維護電路或根據信令常態模式為客戶推薦專屬話費方案等。To sum up, the present invention can be applied in the field of obstacle detection. For example, the present invention can grasp the occurrence of obstacles through detected abnormal signaling and packets, and then automatically dial and query the door number where the abnormality occurs. Exception fields and contents. The present invention can further analyze the root causes of obstacles based on the data in the abnormal event database to improve the timeliness and accuracy of obstacle elimination. On the other hand, the present invention can also be used for value-added services. For example, the present invention can learn the normal signaling pattern of an important phone number to avoid peak hours and maintain circuits or recommend exclusive phone bill plans to customers based on the normal signaling pattern. .

10:系統 110:處理器 120:儲存媒體 121:信令匯集模組 122:離線建模模組 123:即時分析模組 124:自動撥測模組 130:收發器 20:信令資料庫 200:電信網路 210、220、230:區域 30:異常事件資料庫 40:常態模型 S310、S320、S330、S340、S401、S402、S403、S404、S405、S406、S407、S408、S409、S501、S502、S503、S504、S505、S506、S507、S508、S509、S510、S511、S512、S601、S602、S603、S604、S605、S606:步驟 10:System 110: Processor 120:Storage media 121: Signaling aggregation module 122:Offline modeling module 123:Real-time analysis module 124: Automatic dial test module 130:Transceiver 20:Signaling database 200:Telecom network 210, 220, 230: Area 30: Abnormal event database 40:Normal model S310, S320, S330, S340, S401, S402, S403, S404, S405, S406, S407, S408, S409, S501, S502, S503, S504, S505, S506, S507, S508, S509, S510, S511, S5 12. S601, S602, S603, S604, S605, S606: steps

圖1根據本發明的一實施例繪示一種用於異常門號的根因分析的系統的示意圖。 圖2根據本發明的一實施例繪示信令匯集模組之佈建的示意圖。 圖3根據本發明的一實施例繪示用於異常門號的根因分析的方法的流程圖。 圖4根據本發明的一實施例繪示步驟S330的詳細流程圖。 圖5根據本發明的一實施例繪示步驟S340的詳細流程圖。 圖6根據本發明的一實施例繪示一種用於異常門號的根因分析的方法的流程圖。 FIG. 1 is a schematic diagram of a system for root cause analysis of abnormal door numbers according to an embodiment of the present invention. FIG. 2 is a schematic diagram illustrating the deployment of a signaling aggregation module according to an embodiment of the present invention. FIG. 3 illustrates a flow chart of a method for root cause analysis of abnormal door numbers according to an embodiment of the present invention. FIG. 4 illustrates a detailed flowchart of step S330 according to an embodiment of the present invention. FIG. 5 illustrates a detailed flowchart of step S340 according to an embodiment of the present invention. FIG. 6 illustrates a flow chart of a method for root cause analysis of abnormal door numbers according to an embodiment of the present invention.

S601、S602、S603、S604、S605、S606:步驟 S601, S602, S603, S604, S605, S606: steps

Claims (14)

一種用於異常門號的根因分析的系統,包括:收發器;儲存媒體,儲存多個模組、異常事件資料庫、歷史信令集合以及對應於所述歷史信令集合的常態模型;以及處理器,耦接所述儲存媒體以及所述收發器,並且存取和執行所述多個模組,其中所述多個模組包括:信令匯集模組,通過所述收發器接收即時信令集合;即時分析模組,判斷所述即時信令集合中的第一即時信令是否與所述常態模型匹配;以及自動撥測模組,響應於所述第一即時信令與所述常態模型不匹配而為對應於所述第一即時信令的門號執行撥打測試,其中所述信令匯集模組通過所述收發器接收對應於所述撥打測試的撥測信令集合,其中所述即時分析模組對所述歷史信令集合、所述即時信令集合以及所述撥測信令集合執行分群以取得包括異常群集的第一分群結果,其中所述即時分析模組根據所述異常群集搜尋所述異常事件資料庫以取得對應於所述異常群集的根因,並且通過所述收發器輸出包括所述根因的異常狀態資料結構;其中所述第一分群結果包括第一群集以及第二群集, 其中所述即時分析模組自所述第一群集取得第一參考信令,自所述第二群集取得第二參考信令,並且自所述常態模型取得至少一歷史參考信令,其中所述即時分析模組計算所述第一參考信令與所述至少一歷史參考信令之間的第一最大相似度,並且計算所述第二參考信令與所述至少一歷史參考信令之間的第二最大相似度,其中響應於所述第二最大相似度大於所述第一最大相似度,所述即時分析模組從所述第一群集和所述第二群集中選擇所述第一群集以作為所述異常群集。 A system for root cause analysis of abnormal door numbers, including: a transceiver; a storage medium that stores multiple modules, an abnormal event database, a historical signaling set, and a normal model corresponding to the historical signaling set; and A processor is coupled to the storage medium and the transceiver, and accesses and executes the plurality of modules, wherein the plurality of modules includes: a signaling aggregation module, which receives instant messages through the transceiver. command set; a real-time analysis module to determine whether the first real-time signaling in the real-time signaling set matches the normal model; and an automatic dialing test module to respond to the first real-time signaling and the normal The model does not match and a dialing test is performed for the door number corresponding to the first instant signaling, wherein the signaling collection module receives a dialing test signaling set corresponding to the dialing test through the transceiver, wherein the The real-time analysis module performs grouping on the historical signaling set, the real-time signaling set and the dial test signaling set to obtain a first grouping result including abnormal clusters, wherein the real-time analysis module performs grouping according to the The anomaly cluster searches the anomaly event database to obtain a root cause corresponding to the anomaly cluster, and outputs an anomaly status data structure including the root cause through the transceiver; wherein the first grouping result includes a first cluster and the second cluster, The real-time analysis module obtains first reference signaling from the first cluster, obtains second reference signaling from the second cluster, and obtains at least one historical reference signaling from the normal model, wherein the The real-time analysis module calculates a first maximum similarity between the first reference signaling and the at least one historical reference signaling, and calculates a first maximum similarity between the second reference signaling and the at least one historical reference signaling. a second maximum similarity, wherein in response to the second maximum similarity being greater than the first maximum similarity, the real-time analysis module selects the first first cluster from the first cluster and the second cluster. cluster as the anomaly cluster. 如請求項1所述的系統,其中所述至少一歷史參考信令包括第一歷史參考信令和第二歷史參考信令,其中所述即時分析模組計算所述第一參考信令與所述第一歷史參考信令之間的第一相似度,並且計算所述第一參考信令與所述第二歷史參考信令之間的第二相似度,其中響應於所述第一相似度大於所述第二相似度,所述即時分析模組比較所述第一參考信令與所述第一歷史參考信令之間的第一差異,並且根據所述第一差異搜尋所述異常事件資料庫以取得所述根因。 The system according to claim 1, wherein the at least one historical reference signaling includes a first historical reference signaling and a second historical reference signaling, wherein the real-time analysis module calculates the relationship between the first reference signaling and the a first similarity between the first historical reference signaling, and calculating a second similarity between the first reference signaling and the second historical reference signaling, wherein in response to the first similarity Greater than the second similarity, the real-time analysis module compares the first difference between the first reference signaling and the first historical reference signaling, and searches for the abnormal event based on the first difference database to obtain the root cause. 如請求項1所述的系統,其中所述即時分析模組對所述歷史信令集合以及所述即時信令集合執行分群以取得第二分群結果,並且判斷所述第二分群結果的 第一群集數量是否大於所述常態模型的第二群集數量,其中響應於所述第一群集數量大於所述第二群集數量,所述即時分析模組判斷所述第二分群結果包括非常態群集,其中所述即時分析模組基於所述第一即時信令包含於所述非常態群集而判斷所述第一即時信令與所述常態模型不匹配。 The system according to claim 1, wherein the real-time analysis module performs grouping on the historical signaling set and the real-time signaling set to obtain a second grouping result, and determines the degree of the second grouping result. Whether the first cluster number is greater than the second cluster number of the normal model, wherein in response to the first cluster number being greater than the second cluster number, the real-time analysis module determines that the second clustering result includes non-normal Cluster, wherein the real-time analysis module determines that the first real-time signaling does not match the normal model based on the first real-time signaling being included in the abnormal cluster. 如請求項1所述的系統,其中所述多個模組更包括:離線建模模組,對所述歷史信令集合執行分群以產生所述常態模型。 The system of claim 1, wherein the plurality of modules further includes: an offline modeling module that performs grouping on the historical signaling set to generate the normality model. 如請求項4所述的系統,其中所述離線建模模組根據密度式分群演算法對所述歷史信令集合執行分群。 The system according to claim 4, wherein the offline modeling module performs grouping on the historical signaling set according to a density grouping algorithm. 如請求項4所述的系統,其中所述儲存媒體更儲存關鍵欄位清單,其中在對所述歷史信令集合執行分群之前,所述離線建模模組根據所述關鍵欄位清單過濾所述歷史信令集合。 The system of claim 4, wherein the storage medium further stores a key field list, and before performing grouping on the historical signaling set, the offline modeling module filters all the key fields based on the key field list. Described historical signaling collection. 如請求項6所述的系統,其中所述歷史信令集合中的歷史信令包括至少一欄位,其中所述離線建模模組判斷所述至少一欄位是否包括所述關鍵欄位清單中的第一關鍵欄位,其中響應於所述至少一欄位不包括所述第一關鍵欄位,所述離線建模模組過濾所述歷史信令。 The system of claim 6, wherein the historical signaling in the historical signaling set includes at least one field, and the offline modeling module determines whether the at least one field includes the key field list The first key field in , wherein in response to the at least one field not including the first key field, the offline modeling module filters the historical signaling. 如請求項6所述的系統,其中所述歷史信令集合中的歷史信令包括欄位以及所述欄位的內容,其中 所述離線建模模組判斷所述內容的格式是否與所述關鍵欄位清單匹配,其中響應於所述格式與所述關鍵欄位清單不匹配,所述離線建模模組過濾所述歷史信令。 The system according to claim 6, wherein the historical signaling in the historical signaling set includes a field and the content of the field, wherein The offline modeling module determines whether the format of the content matches the key field list, wherein in response to the format not matching the key field list, the offline modeling module filters the history signaling. 如請求項4所述的系統,其中所述歷史信令集合中的歷史信令包括欄位以及所述欄位的內容,其中在對所述歷史信令集合執行分群之前,所述離線建模模組根據所述欄位決定所述內容的編碼方法,並且根據所述編碼方法對所述內容執行編碼。 The system of claim 4, wherein the historical signaling in the historical signaling set includes a field and the content of the field, wherein the offline modeling before performing grouping on the historical signaling set The module determines the encoding method of the content according to the field, and performs encoding on the content according to the encoding method. 如請求項6所述的系統,其中所述儲存媒體更儲存重要門號清單,其中所述信令匯集模組通過所述收發器接收多個歷史信令,其中響應於所述多個歷史信令中的第一歷史信令的門號與所述重要門號清單匹配,所述離線建模模組根據所述第一歷史信令取得所述歷史信令集合。 The system of claim 6, wherein the storage medium further stores a list of important door numbers, wherein the signaling aggregation module receives a plurality of historical signalings through the transceiver, and in response to the plurality of historical signaling The door number of the first historical signaling in the order matches the important door number list, and the offline modeling module obtains the historical signaling set according to the first historical signaling. 如請求項1所述的系統,其中所述儲存媒體更儲存重要門號清單,其中所述即時分析模組響應於所述第一即時信令的所述門號與所述重要門號清單匹配而判斷所述第一即時信令是否與所述常態模型匹配。 The system of claim 1, wherein the storage medium further stores a list of important door numbers, and the door number of the real-time analysis module in response to the first real-time signaling matches the list of important door numbers. And determine whether the first instant signaling matches the normal model. 如請求項1所述的系統,其中所述儲存媒體儲存包括所述常態模型的多個常態模型,其中所述信令匯集模組在第一時段期間接收所述即時信令集合, 其中所述即時分析模組從所述多個常態模型中選出對應於所述第一時段的所述常態模型,藉以判斷所述第一即時信令是否與所述常態模型匹配。 The system of claim 1, wherein the storage medium stores a plurality of normality models including the normality model, and wherein the signaling aggregation module receives the real-time signaling set during the first period, The real-time analysis module selects the normal model corresponding to the first period from the plurality of normal models to determine whether the first real-time signaling matches the normal model. 如請求項4所述的系統,其中所述離線建模模組根據預設周期更新所述常態模型。 The system according to claim 4, wherein the offline modeling module updates the normality model according to a preset period. 一種用於異常門號的根因分析的方法,包括:取得異常事件資料庫、歷史信令集合以及對應於所述歷史信令集合的常態模型;接收即時信令集合,並且判斷所述即時信令集合中的第一即時信令是否與所述常態模型匹配;響應於所述第一即時信令與所述常態模型不匹配而為對應於所述第一即時信令的門號執行撥打測試;接收對應於所述撥打測試的撥測信令集合;對所述歷史信令集合、所述即時信令集合以及所述撥測信令集合執行分群以取得包括異常群集的第一分群結果,其中所述第一分群結果包括第一群集以及第二群集,自所述第一群集取得第一參考信令,自所述第二群集取得第二參考信令,並且自所述常態模型取得至少一歷史參考信令,計算所述第一參考信令與所述至少一歷史參考信令之間的第一最大相似度,並且計算所述第二參考信令與所述至少一歷史參考信令之間的第二最大相似度,響應於所述第二最大相似度大於所述第一最大相似度,從所述第一群 集和所述第二群集中選擇所述第一群集以作為所述異常群集;以及根據所述異常群集搜尋所述異常事件資料庫以取得對應於所述異常群集的根因,並且輸出包括所述根因的異常狀態資料結構。 A method for root cause analysis of abnormal door numbers, including: obtaining an abnormal event database, a historical signaling set, and a normality model corresponding to the historical signaling set; receiving an instant signaling set, and judging the instant signaling set. Whether the first instant signaling in the command set matches the normal model; in response to the first instant signaling not matching the normal model, performing a dial test for the door number corresponding to the first instant signaling ; Receive a dial test signaling set corresponding to the dial test; perform grouping on the historical signaling set, the immediate signaling set and the dial test signaling set to obtain a first grouping result including an abnormal cluster, The first grouping result includes a first cluster and a second cluster, first reference signaling is obtained from the first cluster, second reference signaling is obtained from the second cluster, and at least one is obtained from the normal model. A historical reference signaling, calculating the first maximum similarity between the first reference signaling and the at least one historical reference signaling, and calculating the second reference signaling and the at least one historical reference signaling. a second maximum similarity between them, in response to the second maximum similarity being greater than the first maximum similarity, from the first group Select the first cluster from the set and the second cluster as the anomaly cluster; and search the anomaly event database according to the anomaly cluster to obtain the root cause corresponding to the anomaly cluster, and output including the anomaly cluster. The abnormal status data structure describing the root cause.
TW111146227A 2022-12-01 2022-12-01 System and method for root cause analysis of abnormal phone number TWI821058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111146227A TWI821058B (en) 2022-12-01 2022-12-01 System and method for root cause analysis of abnormal phone number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111146227A TWI821058B (en) 2022-12-01 2022-12-01 System and method for root cause analysis of abnormal phone number

Publications (1)

Publication Number Publication Date
TWI821058B true TWI821058B (en) 2023-11-01

Family

ID=89722239

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111146227A TWI821058B (en) 2022-12-01 2022-12-01 System and method for root cause analysis of abnormal phone number

Country Status (1)

Country Link
TW (1) TWI821058B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201039610A (en) * 2009-04-16 2010-11-01 Chunghwa Telecom Co Ltd Automated remote voice quality measurement system and method of mobile network
TW202123654A (en) * 2019-12-09 2021-06-16 中華電信股份有限公司 Network behavior anomaly detection system and method based on mobile internet of things
TWI777829B (en) * 2021-10-25 2022-09-11 中華電信股份有限公司 Detection system and detection method for cable quality deterioration based on abnormal signaling

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201039610A (en) * 2009-04-16 2010-11-01 Chunghwa Telecom Co Ltd Automated remote voice quality measurement system and method of mobile network
TW202123654A (en) * 2019-12-09 2021-06-16 中華電信股份有限公司 Network behavior anomaly detection system and method based on mobile internet of things
TWI777829B (en) * 2021-10-25 2022-09-11 中華電信股份有限公司 Detection system and detection method for cable quality deterioration based on abnormal signaling

Similar Documents

Publication Publication Date Title
EP1889461B1 (en) Network assurance analytic system
US7231024B2 (en) Methods, systems, and computer program products for selecting or generating a single call detail record (CDR) from a plurality of CDRs associated with a call having a plurality of legs
US7752297B2 (en) Systems and methods for flow signature formation and use
US9007919B2 (en) Systems and methods for network monitoring and testing using dimension value based KPIs
US7933392B1 (en) Method and system for measuring market-share for an entire telecommunication market
WO2023045829A1 (en) Service abnormality prediction method and device, storage medium, and electronic device
US8713190B1 (en) Method and apparatus for performing real time anomaly detection
CN107634848A (en) A kind of system and method for collection analysis network equipment information
CA2697701A1 (en) Automated network condition identification
CN111176953B (en) Abnormality detection and model training method, computer equipment and storage medium
US9722881B2 (en) Method and apparatus for managing a network
EP1466465A4 (en) Database driven methods and systems for real time call tracing
KR100835654B1 (en) Query processing system and methods for a database with packet information by dividing a table and query
CN103475532B (en) Hardware detection method and system
TWI821058B (en) System and method for root cause analysis of abnormal phone number
CN111371575B (en) Method and device for delimiting call problem
TWI760887B (en) Method and server for abnormal status detection of voice signaling
US20220286263A1 (en) Signaling analysis method and related apparatus
US8824459B2 (en) Methods and apparatus to measure market share for voice over internet protocol carriers
KR100835647B1 (en) Statistical data managing system and methods of mirrored packets for realtime monitoring and performance trend analysis by separating realtime statistical data and transition analysis data
TWI781874B (en) Electronic device and method for detecting anomaly of telecommunication network based on autoencoder neural network model
TWI478530B (en) The method and system for ngn traffic monitoring
TW202318027A (en) Detection system and detection method for cable quality deterioration based on abnormal signaling
EP3504843A1 (en) A method for determining a sequence of events, a determination device for determining a sequence of events, and a providing device
TWI802413B (en) Electronic device and method of detecting abnormal equipment in telecommunication network