Device, system and method for abnormal monitoring and alarm of voice routing
By designing a voice routing abnormal monitoring and alarm system, the problem of lack of effective monitoring and alarm in the existing technology is solved, and the timely handling of voice routing abnormal situations is realized, which improves processing efficiency and reduces economic losses.
Patent Information
- Application Number
- CN202310121901.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-16
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2043-02-16
AI Technical Summary
The existing voice communication system lacks effective monitoring and alarm mechanisms when encountering abnormal situations, resulting in layer-by-layer transmission of abnormal messages, which is inefficient and may cause economic losses to the underlying users.
A voice routing abnormal monitoring and alarm system is designed, including a acquisition unit, a signaling report file generation unit, a statistics unit and a judgment alarm unit. The system collects SIP signaling, generates signaling record files by monitoring the SIP service port, and generates signaling report files based on the abnormal response set set set set set set set set set set set or the SIP response code returned by the upstream terminal. The system classifies and counts the signaling report files, and issues a warning when the number of abnormal call signaling reaches the alarm threshold set by the user.
It realizes timely monitoring and alarming of voice routing abnormalities, improves the efficiency of exception handling, and reduces economic losses to underlying users.
Smart Images

Figure CN116074189B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of voice cloud communications, and in particular to a device, system and method for voice routing anomaly monitoring and alarming. Background Art
[0002] Voice communication is an important means of commercial marketing and message notification. With the rapid development of corporate business, enterprises' demand for voice communication resources is increasing.
[0003] At present, voice communication mainly distributes communication resources in the form of soft switching. When users encounter abnormal situations when using voice communication platforms, they often need the assistance of upstream terminals to troubleshoot the problems. This is because the received abnormal codes have low reference value due to the inconsistency of soft switching tools or incorrect settings. For example, if no one answers the call within a certain timeout setting period at the SIP user end, a 487 message will be returned. Sometimes, a 408 timeout error may occur due to problems with the local settings of the SIP terminal. At the same time, voice routing lacks an abnormal alarm mechanism in the application. Few users will monitor the operation status at all times. Generally, the downstream terminal will feedback to the upstream terminal after discovering the problem. The abnormal message layer-by-layer transmission mechanism is not only inefficient, but also causes direct economic losses to the bottom users. Summary of the invention
[0004] The present invention aims to at least solve the technical problems existing in the prior art, and in particular innovatively proposes a device, system and method for voice routing anomaly monitoring and alarming.
[0005] In order to achieve the above-mentioned object of the present invention, the present invention provides a voice routing abnormality monitoring and alarm system, including an acquisition unit, a signaling report file generation unit, a statistics unit and a judgment alarm unit;
[0006] An acquisition unit, used for monitoring a SIP service port to collect SIP signaling, and generating a signaling record file according to key information in the SIP signaling;
[0007] Signaling report file generation unit: determines whether there is an abnormal response set set by the user. If so, the signaling report file is generated by analyzing the parameters in the signaling record file according to the abnormal response set; if not, the signaling report file is generated by using the SIP response code returned by the upstream terminal;
[0008] Statistics unit: classifies and counts the generated signaling report files according to the routing information;
[0009] Alarm judgment unit: judges whether the number of abnormal call signaling of a certain route reaches the alarm threshold set by the user, and issues a warning if it reaches it.
[0010] The present invention also provides a voice routing anomaly monitoring and alarm method, comprising the following steps:
[0011] S1, real-time monitoring of the SIP service port, listening to the SIP service port to collect SIP signaling;
[0012] S2, obtain and record the key information in the SIP signaling, and generate a signaling record file;
[0013] S3, determine whether there is an abnormal response set set by the user. If so, analyze the parameters in the signaling record file according to the abnormal response set to generate a signaling report file; if not, use the SIP response code returned by the upstream terminal to generate a signaling report file;
[0014] S4, classify and count the signaling report files according to the routing information of the signaling report files; when the number of abnormal call signaling counted by a certain route in the signaling report file reaches the alarm threshold set by the user, the system outputs alarm information to the user.
[0015] Furthermore, the key information includes one or any combination of invite request information, available routing information, via routing information, ringing packet, 200OK, ACK, and BYE.
[0016] Furthermore, the signaling report file includes: one or any combination of the calling and called numbers, the route, the call duration, the party that hangs up, and the abnormal reason.
[0017] Further, the generating of the signaling report file by analyzing the parameters in the signaling record file according to the abnormal response set includes:
[0018] First, read the key information in the signaling record file to determine whether the number of digits of the key information is greater than the set digit threshold. If it is greater than the set digit threshold, it means that there is no data loss during the transmission process. If it is less than the set digit threshold, the SIP response code returned by the upstream terminal is used to generate a signaling report file.
[0019] Furthermore, the classification and statistics of the signaling report files include:
[0020] S01, obtaining a semantic feature vector of the report file to be classified through a classification coding model;
[0021] S02, encoding the semantic feature vector of the report file to be classified;
[0022] S03, using a classification model to classify the signaling report file to obtain a classification result.
[0023] Further, step S4 is to classify and count the signaling report files according to the routing information of the signaling report files; the method for classifying and counting the signaling report files includes:
[0024] The classification judgment score formula for each signaling report file is calculated as follows:
[0025]
[0026] where λ R Indicates the weight of routing information;
[0027] v R A value vector representing routing information;
[0028] λ i Represents the weight value of the i-th information;
[0029] v i represents the i-th information value vector;
[0030] λ i+1 Represents the weight value of the i+1th information;
[0031] v i+1 represents the i+1th information value vector;
[0032] K represents the total number of information, K≤5;
[0033] max(λ i ×|v i |,λ i+1 ×|v i+1 |) indicates the selection of λ i ×|v i |,λ i+1 ×|v i+1 |The larger value in;
[0034] Adjust parameters for the model;
[0035] If the obtained score is in the first score range, it means that the abnormal call signaling of the current route exceeds the alarm threshold, and the current route is determined to be faulty, and the system outputs an alarm message to the user;
[0036] If the obtained score is in the second score range, the current route is set as an alternative route.
[0037] Furthermore, abnormal call signaling is used to generate a fault signaling feature information library:
[0038] Marking the routing feature identification information and timestamp of abnormal call signaling;
[0039] According to the feature identification information and the timestamp, the signaling interaction information is associated and linked to obtain a set of signaling interaction information corresponding to each historical service process within a set time period, and a signaling feature information library is generated.
[0040] The present invention also provides a voice routing anomaly monitoring and alarm device, comprising: a client server, a proxy server, the server comprising a processor, a memory and a bus;
[0041] The processor and the memory communicate with each other via a bus;
[0042] The processor may call a computer program in the memory to execute the steps of the method according to any one of claims 2 to 7.
[0043] In summary, due to the adoption of the above technical solution, the present invention can monitor the SIP service port in real time and perform judgment and analysis, thereby realizing timely alarm when abnormal situations occur in voice routing.
[0044] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0046] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0047] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0048] The present invention tracks the signaling in the SIP protocol, records the key information therein, generates a report file and performs classification statistics. When the value of the signaling of an abnormal call reaches the alarm parameter set by the user, an alarm message is immediately output to the user.
[0049] The present invention proposes a voice routing abnormality monitoring and alarm method, such as Figure 1 As shown, the following steps are included:
[0050] S1, real-time monitoring of the SIP service port, listening to the SIP service port to collect SIP signaling;
[0051] S2, obtain and record the key information in the SIP signaling to generate a signaling record file; the key information includes invite request information, available routing information, via routing information, ringing packet, 200OK, ACK, BYE, etc.
[0052] S3, determine whether there is an abnormal response set set by the user. If so, analyze the parameters in the signaling record file according to the abnormal response set to generate a signaling report file; if not, use the SIP response code returned by the upstream terminal to generate a signaling report file;
[0053] The signaling report file includes: calling and called numbers, routes, call duration, hanging-up party, abnormal reasons and other related information.
[0054] S4, classifying and counting the signaling report files according to the routing information of the signaling report files;
[0055] S5, when the number of abnormal call signaling counted by a certain route in the signaling report file reaches the alarm threshold set by the user, the system outputs alarm information to the user.
[0056] The specific embodiments are as follows:
[0057] Step S101: Real-time monitoring of the SIP service port;
[0058] Step S102: When SIP signaling is collected, the number of occurrences and values of key information are recorded.
[0059] Step S103: Generate a signaling record file. For the convenience of detailed description, a group of signaling files of normal communication will be used as an example below:
[0060] find gateway=1; / / how many gateways are found
[0061] Available gateway = 1; / / How many gateways are available
[0062] send to gateway = "test"; / / Which gateway to send to
[0063] INVITE(SDP)=2; / / Request information
[0064] 100Trying=2; / / Processing
[0065] 180Ringing=2; / / Ringing
[0066] RingTime = 12s; / / Ringing duration
[0067] RTP(Audio)=2; / / Streaming media transmission
[0068] RTPTime = 117s; / / streaming media transmission duration
[0069] 200OK(SDP)=2; / / The request has been processed successfully.
[0070] ACK=2; / / Response to other requests besides INVITE
[0071] BYE=2; / / Release the call
[0072] 200OK=2; / / indicates the end of the conversation
[0073] CANCEL = 0; / / Call terminated
[0074] Not Found = 0; / / No route found
[0075] user busy=0; / / the called party is busy
[0076] system blacklist=0; / / system blacklist interception
[0077] Server Internal Error = 0; / / The server encountered an unknown situation and cannot continue to process the request.
[0078] Request Terminated = 0; / / The request is terminated by BYE or CANCEL.
[0079] Request Timeout = 0; / / Request timeout
[0080] Temporarily Unavailable = 0; / / The request successfully reaches the called party's terminal system, but the called party is currently unavailable ......
[0082] Step S104: Analyze the parameters in the record file according to the abnormal response set set by the user. For the convenience of detailed description, an abnormal response set of a normal streaming media transmission is used as an example for specific description: {find gateway≥1; available gateway≥1; INVITE(SDP)≥2; 100Trying≥2; 180Ringing≥2; RingTime>0; RTP(Audio)≥2; RTPTime>0; 200OK(SDP)≥2; ACK≥2; BYE≥2; 200OK≥2; Request Timeout=0}
[0083] Step S105: From the example of step S104, it can be seen that the signaling example file of step S103 is a set of abnormal response sets that conform to normal streaming media transmission, and then a signaling report file is generated. The signaling report file contains: the calling and called numbers, the route, the call duration, the hanging party, the abnormal reason and other related information.
[0084] If the user does not set an exception response set or the exception response set set by the user cannot perform detailed analysis on the signaling record file, the SIP response code returned by the upstream terminal will be used to generate a signaling report file.
[0085] Step S106: classify and count the signaling report files according to the routing information of the signaling report files.
[0086] Step S107: The user sets one or more abnormal alarm parameters.
[0087] Step S108: When one or more anomalies reach the alarm threshold, the system will automatically send an alarm to the user to remind the user to check.
[0088] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
Claims
1. A voice routing anomaly monitoring and alarm system, characterized in that: It includes an acquisition unit, a signaling report file generation unit, a statistics unit and an alarm judgment unit; An acquisition unit, used for monitoring a SIP service port to collect SIP signaling, and generating a signaling record file according to key information in the SIP signaling; Signaling report file generating unit: determines whether there is an abnormal response set set by the user, and if so, generates a signaling report file by analyzing the parameters in the signaling record file according to the abnormal response set; If it does not exist, the SIP response code returned by the upstream terminal will be used to generate a signaling report file; The generating of the signaling report file by analyzing the parameters in the signaling record file according to the abnormal response set includes: First, read the key information in the signaling record file to determine whether the number of digits of the key information is greater than the set digit threshold. If it is greater than the set digit threshold, it means that no data is lost during the transmission process. If it is less than the set digit threshold, the SIP response code returned by the upstream terminal is used to generate a signaling report file. Statistics unit: classifies and counts the generated signaling report files according to the routing information; Alarm judgment unit: judges whether the number of abnormal call signaling of a certain route reaches the alarm threshold set by the user, and issues a warning if it reaches it.
2. A voice routing anomaly monitoring and alarm method, characterized in that: The following steps are involved: S1, real-time monitoring of the SIP service port, listening to the SIP service port to collect SIP signaling; S2, obtain and record the key information in the SIP signaling, and generate a signaling record file; S3, determining whether there is an abnormal response set set by the user, and if so, analyzing the parameters in the signaling record file according to the abnormal response set to generate a signaling report file; If it does not exist, the SIP response code returned by the upstream terminal will be used to generate a signaling report file; S4, classifying and counting the signaling report files according to the routing information of the signaling report files; When the number of abnormal call signaling counted by a certain route in the signaling report file reaches the alarm threshold set by the user, the system outputs an alarm message to the user; The generating of the signaling report file by analyzing the parameters in the signaling record file according to the abnormal response set includes: First, read the key information in the signaling record file to determine whether the number of digits of the key information is greater than the set digit threshold. If it is greater than the set digit threshold, it means that there is no data loss during the transmission process. If it is less than the set digit threshold, the SIP response code returned by the upstream terminal is used to generate a signaling report file.
3. A voice routing anomaly monitoring and alarm method according to claim 2, characterized in that: The key information includes one or any combination of invite request information, available routing information, via routing information, ringing packet, 200OK, ACK, and BYE.
4. A voice routing anomaly monitoring and alarm method according to claim 2, characterized in that: The signaling report file includes: the calling and called numbers, the route, the call duration, the hanging-up party, one of the abnormal reasons or any combination of information.
5. A voice routing anomaly monitoring and alarm method according to claim 2, characterized in that: Generate fault signaling feature information base from abnormal call signaling: Will There is routing mark feature identification information and timestamp of abnormal call signaling; According to the feature identification information and the timestamp, the signaling interaction information is associated and linked to obtain a set of signaling interaction information corresponding to each historical service process within a set time period, and a signaling feature information library is generated.
Citation Information
Patent Citations
Method for monitoring SIP (Session Initiation Protocol) equipment in local area network
CN102098191A
IMS (Internet Protocol Multimedia Subsystem)-based video monitoring system and method
CN102377987A