CN109104391B - Triangular signaling analysis method, device and system and computer readable storage medium - Google Patents

Triangular signaling analysis method, device and system and computer readable storage medium Download PDF

Info

Publication number
CN109104391B
CN109104391B CN201710467474.0A CN201710467474A CN109104391B CN 109104391 B CN109104391 B CN 109104391B CN 201710467474 A CN201710467474 A CN 201710467474A CN 109104391 B CN109104391 B CN 109104391B
Authority
CN
China
Prior art keywords
signaling
session
session record
sip
complete
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710467474.0A
Other languages
Chinese (zh)
Other versions
CN109104391A (en
Inventor
高志森
燕晓
高锦花
阚长江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710467474.0A priority Critical patent/CN109104391B/en
Priority to PCT/CN2018/092039 priority patent/WO2018233641A1/en
Publication of CN109104391A publication Critical patent/CN109104391A/en
Application granted granted Critical
Publication of CN109104391B publication Critical patent/CN109104391B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method, a device and a system for analyzing triangular signaling and a computer readable storage medium, belonging to the technical field of communication, wherein the method comprises the following steps: receiving a session establishment protocol (SIP) signaling, and establishing a call flow table; judging whether the SIP signaling is SIP triangular signaling or not, if so, creating a left session record, a right session record and a bottom edge virtual session record under a call flow table; merging the bottom edge virtual session record and the left session record or the right session record into a complete session record, and setting the complete session record as a complete triangular signaling session identifier; the SIP triangular signaling is analyzed and processed through the complete triangular signaling session identification and the half triangular signaling session identification, the triangular signaling is divided into the complete session record and the half session record, the complete session record and the half session record cooperate with each other and are informed mutually, the triangular signaling is analyzed and processed together, the accuracy and the reasonability of analysis and processing are improved, and the full-flow management is realized.

Description

Triangular signaling analysis method, device and system and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a system, and a computer-readable storage medium for triangle signaling analysis.
Background
The LTE network has been deployed and experimented in various operators, so that people's lives are in the 4G era, and the multimedia service implementation scheme of LTE network evolution is an IP Multimedia Subsystem (IMS), i.e., a 4G UE (terminal) is accessed to the IMS through an EPS (evolved packet system), so as to implement media services such as voice, short message, etc., i.e., a VOLTE network. The VOLTE network signaling detection system is used for maintaining and monitoring the quality of the VOLTE network, SIP signaling in the VOLTE network needs to be collected, processing, conversation and call analysis are carried out, SIP signaling indexes and voice media indexes of the VOLTE are obtained, discovery of network abnormity and network optimization suggestion are realized through comparison of the indexes, and finally the overall quality of the VOLTE network is improved.
A common signaling analysis system performs a flow analysis of request and response association on signaling of an interface between two network elements to obtain a service index of the interface flow; that is, all messages of a flow of a common protocol are interacted between the same two network elements, and the correlation analysis of all messages of a flow can be realized by using the addresses of the two network elements as keywords during the analysis.
In a VOLTE network, a triangular signaling flow appears in SIP (Session Initiation Protocol) signaling, that is, three network elements participate in one flow, and a part of messages in the flow pass through some network elements and a part of messages do not pass through, so that a common method for associating the whole flow by using network element addresses at two ends as keywords cannot be used.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, a system and a computer readable storage medium for analyzing triangle signaling, in which the triangle signaling is divided into a complete session record and a half session record, and the complete session record and the half session record cooperate with each other and notify each other to analyze and process the triangle signaling together, so as to improve the accuracy and the rationality of the analysis and processing, and implement the full-flow management.
The technical scheme adopted by the invention for solving the technical problems is as follows:
according to an aspect of the present invention, a method for triangular signaling analysis is provided, which includes:
receiving session creation protocol (SIP) signaling, and establishing a call flow table according to the SIP signaling;
judging whether the SIP signaling is SIP triangular signaling or not, if so, creating a left session record, a right session record and a bottom edge virtual session record under the call flow table;
merging the bottom edge virtual session record and the left session record or the right session record into a complete session record, and setting the complete session record as a complete triangular signaling session identifier; setting the right session record or the left session record which does not form the complete session record as a half triangular signaling session identifier;
and analyzing and processing the SIP triangular signaling through the complete triangular signaling session identifier and the half triangular signaling session identifier.
Optionally, the receiving a session creation protocol SIP signaling, and establishing a call flow table according to the SIP signaling includes:
collecting an accessed signaling, and identifying an interface and a protocol of the signaling;
packaging the signaling fragments to form a complete SIP signaling;
performing first decoding on the key field of the SIP signaling, and performing signaling distribution according to a session;
performing second decoding on the distributed SIP signaling to acquire field information of the SIP signaling;
and carrying out session service logic analysis processing on the distributed SIP signaling according to the field information, and establishing a call flow chart.
Optionally, the bottom virtual session record and the left session record or the right session record are merged into a complete session record, which is set as a complete triangle signaling session identifier; setting the right session record or the left session record, which does not form a complete session record, as a half-triangle signaling session identifier includes:
merging the bottom edge virtual session record and the left edge session record into a complete session record, and setting the complete session record as a complete triangular signaling session identifier; setting the right session record as a half-side triangular signaling session identifier; or
The bottom edge virtual session record and the right edge session record are combined into a complete session record which is set as a complete triangular signaling session identifier; and setting the left session record as a half triangular signaling session identifier.
Optionally, the analyzing and processing the SIP triangle signaling through the complete triangle signaling session identifier and the half triangle signaling session identifier includes:
judging whether the signaling in the SIP triangular signaling is an initial request or not, if so, analyzing and processing the signaling through a half-side triangular signaling session identifier;
otherwise, if the signaling in the SIP triangular signaling is a subsequent request or a response corresponding to the subsequent request, analyzing and processing the signaling through a complete triangular signaling session identifier.
Optionally, in the call flow, the SIP triangle signaling includes: the system comprises a calling service network element, a called service network element and an inquiry network element, wherein correspondingly, a left session record is created by a signaling between the calling service network element and the inquiry network element; establishing a right session record by the signaling between the called service network element and the inquiry network element; and creating a bottom edge virtual session record by the signaling between the calling service network element and the called service network element.
According to another aspect of the present invention, there is provided a triangle signaling analysis apparatus, including:
the signaling receiving module is used for receiving session creation protocol (SIP) signaling and establishing a call flow table according to the SIP signaling;
the judging module is used for judging whether the SIP signaling is the SIP triangular signaling or not, and if so, creating a left session record, a right session record and a bottom edge virtual session record under the call flow table;
the setting module is used for combining the bottom edge virtual session record and the left side session record or the right side session record into a complete session record and setting the complete session record as a complete triangular signaling session identifier; setting the right session record or the left session record which does not form the complete session record as a half triangular signaling session identifier;
and the analysis processing module is used for analyzing and processing the SIP triangular signaling through the complete triangular signaling session identifier and the half triangular signaling session identifier.
Optionally, the signaling receiving module includes:
the data access unit is used for acquiring an accessed signaling and identifying an interface and a protocol of the signaling;
the group packaging unit is used for grouping the signaling fragments to form a complete SIP signaling;
a distribution unit, configured to perform first decoding on the key field of the SIP signaling, and perform signaling distribution according to a session;
the encoding and decoding unit is used for carrying out second decoding on the distributed SIP signaling to acquire field information of the SIP signaling;
and the call management unit is used for carrying out session service logic analysis processing on the distributed SIP signaling according to the field information and establishing a call flow chart.
Optionally, the setting module includes:
the first setting unit is used for combining the bottom edge virtual session record and the left edge session record into a complete session record and setting the complete session record as a complete triangular signaling session identifier; setting the right session record as a half-side triangular signaling session identifier;
the second setting unit is used for combining the bottom edge virtual session record and the right edge session record into a complete session record and setting the complete session record as a complete triangular signaling session identifier; and setting the left session record as a half triangular signaling session identifier.
Optionally, the analysis processing module comprises:
the half-side triangular processing unit is used for judging whether the signaling in the SIP triangular signaling is an initial request or not, and if so, analyzing and processing the signaling through a half-side triangular signaling session identifier;
and the complete triangle processing unit is used for analyzing and processing the signaling through the complete triangle signaling session identifier when the signaling in the SIP triangle signaling is a subsequent request or a response corresponding to the subsequent request.
According to yet another aspect of the present invention, there is provided a triangle signaling analysis system, comprising a memory, a processor and at least one application program stored in the memory and configured to be executed by the processor, the application program being configured to perform the triangle signaling analysis method described above.
The embodiment of the invention discloses a method, a device and a system for analyzing triangular signaling and a computer readable storage medium, wherein the method comprises the following steps: receiving session creation protocol (SIP) signaling, and establishing a call flow table according to the SIP signaling; judging whether the SIP signaling is SIP triangular signaling or not, if so, creating a left session record, a right session record and a bottom edge virtual session record under the call flow table; merging the bottom edge virtual session record and the left session record or the right session record into a complete session record, and setting the complete session record as a complete triangular signaling session identifier; setting the right session record or the left session record which does not form the complete session record as a half triangular signaling session identifier; through complete triangle signaling session sign with half triangle signaling session sign is right SIP triangle signaling carries out analysis processes, through divide into complete conversation record and half conversation record with triangle signaling, and both cooperate each other, and mutual notice analyzes and handles triangle signaling jointly, has improved analysis processes's rate of accuracy and rationality, has realized the management of full process.
Drawings
Fig. 1 is a flowchart of a triangle signaling analysis method according to an embodiment of the present invention;
fig. 2 is a signaling flow diagram of triangular signaling in an SIP call flow in the prior art;
FIG. 3 is a signaling flow diagram of a defective triangle process in the prior art;
FIG. 4 is a flowchart of the method of step S10 in FIG. 1;
fig. 5 is a schematic diagram of a triangle signaling analysis method according to an embodiment of the present invention;
fig. 6 is a block diagram illustrating an exemplary structure of a triangle signaling analysis apparatus according to a second embodiment of the present invention;
fig. 7 is a block diagram illustrating an exemplary structure of a signaling receiving module in fig. 6;
fig. 8 is a general architecture diagram of a triangle signaling analysis apparatus according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
As shown in fig. 1, in this embodiment, a method for triangular signaling analysis includes:
s10, receiving a session creation protocol (SIP) signaling, and establishing a call flow chart according to the SIP signaling;
s20, judging whether the SIP signaling is SIP triangular signaling or not, if so, S30 creating a left session record, a right session record and a bottom edge virtual session record under the call flow chart;
s40, merging the bottom edge virtual session record and the left side session record or the right side session record into a complete session record, and setting the complete session record as a complete triangular signaling session identifier; setting the right session record or the left session record which does not form the complete session record as a half triangular signaling session identifier;
s50, analyzing and processing the SIP triangular signaling through the complete triangular signaling session identification and the half triangular signaling session identification;
if the SIP signaling is not the SIP triangle signaling, step S60 is entered, and it is not necessary to set a complete triangle signaling session identifier.
In the embodiment, the triangular signaling is divided into the complete session record and the half-side session record, and the complete session record and the half-side session record are mutually cooperated and mutually informed to jointly analyze and process the triangular signaling, so that the accuracy and the reasonability of analysis and processing are improved, and the full-process management is realized.
Taking a call flow as an example, as shown in fig. 2, it is a signaling flow diagram of a triangle signaling in an SIP call flow in the prior art, where the SIP triangle signaling includes: a calling service network element SCSCF, a called service network element SCSCF and an inquiry network element ICSCF; the calling SCF, the ICSCF and the called SCSCF are called from the calling UE to the called SCSCF through the triangular network elements, the initial request invite, the 180 response and the 200 response of the initial request invite, the ICSCF and the called SCSCF are all processed through the triangular network elements, but the 200 response of the new message prack and the prack is not processed through the ICSCF, because the ICSCF is a proxy network element, the protocol provides that only the initial request invite and the response thereof can be processed through the ICSCF, and the subsequent request and the response are not processed through the ICSCF. If only SIP signaling analysis is carried out on the interface between the calling SCSCF and the ICSCF, or only SIP signaling analysis is carried out on the interface between the ICSCF and the called SCSCF, only invite and the response thereof can be analyzed, and the flow is incomplete; if only SIP signaling analysis is carried out on an interface between a calling SCSCF and a called SCSCF, only partial information in the flow can be acquired, and the complete flow cannot be analyzed; there is therefore a need for a method of integrated binding assays.
As shown in fig. 3, the signaling flow diagram is a "incomplete triangle flow" in the prior art, that is, the signaling analysis system may only collect signaling of half of the network elements, for example, in fig. 3, the signaling analysis system may only collect incomplete signaling between the calling SCSCF and the ICSCF, incomplete signaling between the calling SCSCF and the called SCSCF, and signaling between the missing ICSCF and the called SCSCF, and this scenario cannot be analyzed and processed by the prior art.
In this embodiment, when the triangle call signaling processing is performed, the signaling flow performs association processing according to a two-layer structure of a call flow and a session record. Table 1 is an example of a call flow table:
call flow chart
Callid
From-tag
To-tag
Sessionnum
Session[1]
Session[2]
Session[3]
Session[4]
TABLE 1
In table 1, a session [4] message is added to the call flow record, and the session is a virtual session record.
Session record table Contents of the table
Session[1] Sip1
Dip1
Direct1
Triangleflag=NULL
Session[2]/Session[4] Sip2
Dip2
Direct2
Triangleflag=fulltriangle
TriangleIndex=0x1
RelatedSession=3
Session[3] Sip3
Dip3
Direct3
Triangleflag=halftriangle
TriangleIndex=0x1
RelatedSession=2
TABLE 2
Correspondingly, table 2 is an example of a session record table, a virtual session record session [4] is added, an entity session record is shared with the session record session [2], a triangle identifier is set to "full triangle," that is, a full triangle signaling identifier, a triangle identifier 0x1 is set to identify triangle calls 0x1 times, and an associated half session record index RelatedSession is set to "3. And sets an identifier of triangle signaling to half triangle identifier in the associated half session record session [3], sets a identifier of triangle signaling to 0x1 to identify triangle calls 0x1 times, and sets an associated full session record index RelatedSession to 2.
In this embodiment, a call signaling is received, a call flow table record is created according to the callled + from-tag + to-tag, and multiple session signaling of a call of the same callled + from-tag + to-tag are registered under the flow table; the call flow of the multi-section session creates a plurality of session record tables according to sip + dip + direct (sip is source IP source IP, and dip is destination), and the session record tables are all hung under a flow table of callid + from-tag + to-tag. When an initial request invite request signaling from a calling SCSCF to an ICSCF is encountered, a session record is created, and sip-master SCSCF + dip-ICSCF is used as a keyword, which is a left half session record; when the subsequent response signaling from the calling SCSCF to the ICSCF is encountered, the sip-SCSCF + dip-ICSCF can be used for inquiring the session record and carrying out request and response processing. When an initial invite signaling from an ICSCF to a called SCSCF is encountered, a session record is created, and sip-ICSCF + dip-SCSCF is used as a key word, which is a right half-edge session record; when the subsequent response signaling from the ICSCF to the called SCSCF is encountered, the session record can be inquired by using sip-ICSCF + dip-SCSCF to perform request and response processing. When the triangular signaling occurs, namely the subsequent request signaling from the calling SCSCF to the called SCSCF, the sip-master SCSCF + dip-slave SCSCF can not inquire the session record; but the left half session record, namely the sip-master scscf + dip-icscf record, can be inquired by using the half sip-master scscf + from-tag; the right half session record, sip-icscf + dip-scscf record, can be queried using half dip-scscf + to-tag. The method can presume that a triangular signaling scene is encountered currently, a bottom edge session record is created, sip-master scscf + dip-slave scscf is used as a keyword, subsequent requests and corresponding responses are carried out, the session record can be inquired by using the sip-master scscf + dip-slave scscf, and subsequent request and corresponding response processing is carried out. If a call flow message is split into three session records of the left side, the right side and the bottom side, and each record can only obtain part of signaling in the record, the information is seriously lost. Therefore, the bottom side session record is used as a virtual session record, and the left side (if the left side does not exist, the left side and the right side) are combined to share one entity session record, namely the complete session record, and the complete session record can acquire all signaling of the flow, and the processing information is complete and accurate. Meanwhile, the complete conversation record is marked as a complete triangular conversation record, and a corresponding right conversation record index is registered; the right session record mark is a half session record, and a complete session record index of the right session record mark is also registered; the two session information are associated with each other when the upper layer system processes the session information, and the two session information are associated with each other when the upper layer system processes the session information; they notify each other and cooperate with statistics in data processing. For example, the full session record may receive a session release BYE message, notifying the right session record release (the right session record cannot receive subsequent requests and corresponding responses). When the number of calls is counted, the complete session record is counted as a triangular call, the right session record is counted as a half triangular call, the reported calls carry the same triangular call number and represent two records of the same triangular call, and the reported calls are calculated by the service system according to the requirement and are calculated as 2 calls or one call. After the call is established, receiving the ACK message, enabling the complete session record to enter a stable call state, and continuing to process subsequent requests and corresponding responses; the right session record can be released as required, and the session record is reported once and a half, because no subsequent message is recorded through the right session record; the session record can be hung continuously, the right half-side session record is informed to be released when the complete session record is released, and the process can be carried out according to the service requirement. At this point, the triangular signaling flow is successfully processed, and data statistics and analysis are normally performed.
As shown in fig. 4, in the present embodiment, the step S10 includes:
s11, collecting the accessed signaling, and identifying the interface and protocol of the signaling;
s12, packaging the signaling fragments to form a complete SIP signaling;
s13, carrying out first decoding on the key field of the SIP signaling, and carrying out signaling distribution according to the session;
s14, carrying out second decoding on the distributed SIP signaling to obtain the field information of the SIP signaling;
s15, according to the field information, carrying out session service logic analysis processing on the distributed SIP signaling, and establishing a call flow chart.
In this embodiment, the first decoding is fast decoding, and only the key field is decoded to facilitate signaling distribution; the second decoding is a detailed decoding to acquire field information.
In this embodiment, the step S40 includes the following two cases:
merging the bottom edge virtual session record and the left edge session record into a complete session record, and setting the complete session record as a complete triangular signaling session identifier; setting the right session record as a half-side triangular signaling session identifier; or
The bottom edge virtual session record and the right edge session record are combined into a complete session record which is set as a complete triangular signaling session identifier; and setting the left session record as a half triangular signaling session identifier.
That is, the bottom virtual session record may be merged with the left session record to form a complete session record, or merged with the right session record to form a complete session record, with the left session record being preferred.
In this embodiment, the step S50 includes:
judging whether the signaling in the SIP triangular signaling is an initial request or not, if so, analyzing and processing the signaling through a half-side triangular signaling session identifier;
otherwise, if the signaling in the SIP triangular signaling is a subsequent request or a response corresponding to the subsequent request, analyzing and processing the signaling through a complete triangular signaling session identifier.
In this embodiment, in the call flow, the SIP triangle signaling includes: the system comprises a calling service network element, a called service network element and an inquiry network element, wherein a left session record is created by signaling between the calling service network element and the inquiry network element; establishing a right session record by the signaling between the called service network element and the inquiry network element; and creating a bottom edge virtual session record by the signaling between the calling service network element and the called service network element.
Still taking the call flow as an example, as shown in fig. 5, the flow of the SIP triangle signaling in the call flow of the present application is described in detail, where the calling UE initiates an SIP call and sends Invite signaling to the pcsccf network element to indicate that a call is performed. PCSCF forwards the call, and sends (SM1) Invite signaling to the calling SCSCF network element; the calling SCSCF network element sends (SM2) Invite signaling to the ICSCF network element, the ICSCF network element inquires about the called home SCSCSCF, sends (SM3) Invite to the called SCSCF network element, and the called SCSCF forwards the call Invite to the called side related network element. The called side returns 180 response to the called SCSCF, the called SCSCF forwards (SM6)180 response to the ICSCF, the ICSCF forwards (SM7)180 response to the calling SCSCF, and the calling SCSCF forwards (SM8)180 response to the calling side network element. The calling side network element returns a Prack request (the Provisional Response ACKnowledgement for reliable temporary Response message), the request (SM9) Prack is forwarded to the calling SCSCF, and the calling SCSCF directly forwards the subsequent request (SM10) Prack to the called SCF without passing through the called ICSCF. The called SCSCF forwards the request (SM11) Prack to the called side network element. The called side returns (SM12) the Prack-200 response, and the called SCF forwards (SM13) the Prack-200 to the calling SCSCF directly without passing through the ICSCF. The called side returns (SM15) the Invite-200 response, the called SCF forwards (SM16) the Invite-200 to the ISSCF, and the ICSCF forwards (SM17) the Invite-200 to the calling SCSCSCF, via the ICSCF. Subsequent requests and responses do not go through the ICSCF after the session is established.
In this embodiment, the PCSCF is a proxy network element, and during a session, the calling side is an IMS primary access point serving as a calling UE, and the called side can forward a message to the called UE through the called PCSCF; SCSCF is a service network element, and the calling and called sides are all used to complete the call session control and service triggering of the side; the ICSCF is a query network element, is used by only the called side and is a preliminary entry point of the called network.
As another embodiment, the triangle signaling analysis apparatus is also applicable to other flows including a call flow, for example, a triangle signaling scenario also exists in a subscribe flow in a registration flow, and the same process may be performed.
Example two
As shown in fig. 6, in this embodiment, a triangular signaling analysis apparatus includes:
a signaling receiving module 10, configured to receive a session initiation protocol SIP signaling, and establish a call flow table according to the SIP signaling;
a judging module 20, configured to judge whether the SIP signaling is an SIP triangle signaling, and if so, create a left session record, a right session record, and a bottom virtual session record under the call flow table; otherwise, the complete triangular signaling session identification is not required to be set;
a setting module 30, configured to combine the bottom edge virtual session record and the left side session record or the right side session record into a complete session record, and set the complete session record as a complete triangle signaling session identifier; setting the right session record or the left session record which does not form the complete session record as a half triangular signaling session identifier;
and the analysis processing module 40 is configured to analyze and process the SIP triangular signaling through the complete triangular signaling session identifier and the half triangular signaling session identifier.
In the embodiment, the triangular signaling is divided into the complete session record and the half-side session record, and the complete session record and the half-side session record are mutually cooperated and mutually informed to jointly analyze and process the triangular signaling, so that the accuracy and the reasonability of analysis and processing are improved, and the full-process management is realized.
In this embodiment, when the triangle call signaling processing is performed, the signaling flow performs association processing according to a two-layer structure of a call flow and a session record. Receiving a call signaling, creating a call flow table record according to the callled + from-tag + to-tag, and registering multiple sections of session signaling of a call of the same callled + from-tag + to-tag under the flow table; the call flow of the multi-section session creates a plurality of session record tables according to sip + dip + direct (sip is source IP source IP, and dip is destination), and the session record tables are all hung under a flow table of callid + from-tag + to-tag. When an initial request invite request signaling from a calling SCSCF to an ICSCF is encountered, a session record is created, and sip-master SCSCF + dip-ICSCF is used as a keyword, which is a left half session record; when the subsequent response signaling from the calling SCSCF to the ICSCF is encountered, the sip-SCSCF + dip-ICSCF can be used for inquiring the session record and carrying out request and response processing. When an initial invite signaling from an ICSCF to a called SCSCF is encountered, a session record is created, and sip-ICSCF + dip-SCSCF is used as a key word, which is a right half-edge session record; upon encountering subsequent response signaling from ICSCF to called SCSCF, sip-ICSCF + is used
The dip-scscf can query the session record to perform request and response processing. When the triangular signaling occurs, namely the subsequent request signaling from the calling SCSCF to the called SCSCF, the sip-master SCSCF + dip-slave SCSCF can not inquire the session record; but the left half session record, namely the sip-master scscf + dip-icscf record, can be inquired by using the half sip-master scscf + from-tag; the right half session record, sip-icscf + dip-scscf record, can be queried using half dip-scscf + to-tag. The method can presume that a triangular signaling scene is encountered currently, a bottom edge session record is created, sip-master scscf + dip-slave scscf is used as a keyword, subsequent requests and corresponding responses are carried out, the session record can be inquired by using the sip-master scscf + dip-slave scscf, and subsequent request and corresponding response processing is carried out. If a call flow message is split into three session records of the left side, the right side and the bottom side, and each record can only obtain part of signaling in the record, the information is seriously lost. Therefore, the bottom side session record is used as a virtual session record, and the left side (if the left side does not exist, the left side and the right side) are combined to share one entity session record, namely the complete session record, and the complete session record can acquire all signaling of the flow, and the processing information is complete and accurate. Meanwhile, the complete conversation record is marked as a complete triangular conversation record, and a corresponding right conversation record index is registered; the right session record mark is a half session record, and a complete session record index of the right session record mark is also registered; the two session information are associated with each other when the upper layer system processes the session information, and the two session information are associated with each other when the upper layer system processes the session information; they notify each other and cooperate with statistics in data processing. For example, the full session record may receive a session release BYE message, notifying the right session record release (the right session record cannot receive subsequent requests and corresponding responses). When the number of calls is counted, the complete session record is counted as a triangular call, the right session record is counted as a half triangular call, the reported calls carry the same triangular call number and represent two records of the same triangular call, and the reported calls are calculated by the service system according to the requirement and are calculated as 2 calls or one call. After the call is established, receiving the ACK message, enabling the complete session record to enter a stable call state, and continuing to process subsequent requests and corresponding responses; the right session record can be released as required, and the session record is reported once and a half, because no subsequent message is recorded through the right session record; the session record can be hung continuously, the right half-side session record is informed to be released when the complete session record is released, and the process can be carried out according to the service requirement. At this point, the triangular signaling flow is successfully processed, and data statistics and analysis are normally performed.
As shown in fig. 7, in this embodiment, the signaling receiving module includes:
the data access unit 11 is used for acquiring an accessed signaling and identifying an interface and a protocol of the signaling;
the group packaging unit 12 is used for grouping the signaling fragments to form a complete SIP signaling and transmitting the complete SIP signaling to the distribution unit;
a distributing unit 13, configured to perform first decoding on the key field of the SIP signaling, perform signaling distribution according to a session, acquire the callld information, perform session distribution according to the callld, and distribute the same session signaling to the same processing module;
the encoding and decoding unit 14 is configured to perform second decoding on the distributed SIP signaling, acquire field information of the SIP signaling, and transmit the field information to the service analysis unit;
a service analysis unit 15, configured to perform session service logic analysis processing on the SIP signaling, and transmit information to the call management unit to perform call session context management processing; the call context can be managed according to the call management unit, logic processing and data statistics required by services are realized, and correct, reasonable and flexible SIP call analysis processing is realized;
and the call management unit 16 is configured to perform session service logic analysis processing on the distributed SIP signaling according to the field information, and establish a call flow table.
In this embodiment, the setting module includes:
the first setting unit is used for combining the bottom edge virtual session record and the left edge session record into a complete session record and setting the complete session record as a complete triangular signaling session identifier; setting the right session record as a half-side triangular signaling session identifier;
the second setting unit is used for combining the bottom edge virtual session record and the right edge session record into a complete session record and setting the complete session record as a complete triangular signaling session identifier; and setting the left session record as a half triangular signaling session identifier.
That is, the bottom virtual session record may be merged with the left session record to form a complete session record, or merged with the right session record to form a complete session record, with the left session record being preferred.
In this embodiment, the analysis processing module includes:
the half-side triangular processing unit is used for judging whether the signaling in the SIP triangular signaling is an initial request or not, and if so, analyzing and processing the signaling through a half-side triangular signaling session identifier;
and the complete triangle processing unit is used for analyzing and processing the signaling through the complete triangle signaling session identifier when the signaling in the SIP triangle signaling is a subsequent request or a response corresponding to the subsequent request.
Still taking the call flow as an example, as shown in fig. 5, the flow of the SIP triangle signaling in the call flow of the present application is described in detail, where the calling UE initiates an SIP call and sends Invite signaling to the pcsccf network element to indicate that a call is performed. PCSCF forwards the call, and sends (SM1) Invite signaling to the calling SCSCF network element; the calling SCSCF network element sends (SM2) Invite signaling to the ICSCF network element, the ICSCF network element inquires about the called home SCSCSCF, sends (SM3) Invite to the called SCSCF network element, and the called SCSCF forwards the call Invite to the called side related network element. The called side returns 180 response to the called SCSCF, the called SCSCF forwards (SM6)180 response to the ICSCF, the ICSCF forwards (SM7)180 response to the calling SCSCF, and the calling SCSCF forwards (SM8)180 response to the calling side network element. The calling side network element returns a Prack request (the Provisional Response ACKnowledgement for reliable temporary Response message), the request (SM9) Prack is forwarded to the calling SCSCF, and the calling SCSCF directly forwards the subsequent request (SM10) Prack to the called SCF without passing through the called ICSCF. The called SCSCF forwards the request (SM11) Prack to the called side network element. The called side returns (SM12) the Prack-200 response, and the called SCF forwards (SM13) the Prack-200 to the calling SCSCF directly without passing through the ICSCF. The called side returns (SM15) the Invite-200 response, the called SCF forwards (SM16) the Invite-200 to the ISSCF, and the ICSCF forwards (SM17) the Invite-200 to the calling SCSCSCF, via the ICSCF. Subsequent requests and responses do not go through the ICSCF after the session is established.
In this embodiment, the PCSCF is a proxy network element, and during a session, the calling side is an IMS primary access point serving as a calling UE, and the called side can forward a message to the called UE through the called PCSCF; SCSCF is a service network element, and the calling and called sides are all used to complete the call session control and service triggering of the side; the ICSCF is a query network element, is used by only the called side and is a preliminary entry point of the called network.
As shown in fig. 8, for the overall architecture diagram of the SIP triangle signaling analysis apparatus in the VoLTE network, the flow relationships of the units in the SIP triangle signaling analysis apparatus can be better understood according to fig. 8, wherein there may be a plurality of codec units, service analysis units, and call management units.
As another embodiment, the triangle signaling analysis apparatus is also applicable to other flows including a call flow, for example, a triangle signaling scenario also exists in a subscribe flow in a registration flow, and the same process may be performed.
EXAMPLE III
In this embodiment, a triangle signaling analysis system includes a memory, a processor, and at least one application program stored in the memory and configured to be executed by the processor, where the application program is configured to perform the triangle signaling analysis method of the first embodiment.
Example four
Embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the method embodiments as described in any of the above virtual machine migration method embodiments.
It should be noted that the above device, system, and computer-readable storage medium embodiments and method embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments, and technical features in the method embodiments are correspondingly applicable in the device embodiments, and are not described herein again.
The embodiment of the invention discloses a method, a device and a system for analyzing triangular signaling and a computer readable storage medium, wherein the method comprises the following steps: receiving session creation protocol (SIP) signaling, and establishing a call flow table according to the SIP signaling; judging whether the SIP signaling is SIP triangular signaling or not, if so, creating a left session record, a right session record and a bottom edge virtual session record under the call flow table; merging the bottom edge virtual session record and the left session record or the right session record into a complete session record, and setting the complete session record as a complete triangular signaling session identifier; setting the right session record or the left session record which does not form the complete session record as a half triangular signaling session identifier; through complete triangle signaling session sign with half triangle signaling session sign is right SIP triangle signaling carries out analysis processes, through divide into complete conversation record and half conversation record with triangle signaling, and both cooperate each other, and mutual notice analyzes and handles triangle signaling jointly, has improved analysis processes's rate of accuracy and rationality, has realized the management of full process.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, and are not to be construed as limiting the scope of the invention. Any modifications, equivalents and improvements which may occur to those skilled in the art without departing from the scope and spirit of the present invention are intended to be within the scope of the claims.

Claims (10)

1. A method for triangular signaling analysis, comprising:
receiving session creation protocol (SIP) signaling, and establishing a call flow table according to the SIP signaling;
judging whether the SIP signaling is SIP triangular signaling or not, if so, creating a left session record, a right session record and a bottom edge virtual session record under the call flow table;
wherein the SIP triangle signaling comprises: the left side conversation record is created through signaling between the calling service network element and the inquiring network element; the right session record is created by the signaling between the called service network element and the inquiring network element; the signaling between the calling service network element and the called service network element creates the bottom edge virtual session record;
merging the bottom edge virtual session record and the left session record or the right session record into a complete session record, and setting the complete session record as a complete triangular signaling session identifier; setting the right session record or the left session record which does not form the complete session record as a half triangular signaling session identifier;
and analyzing and processing the SIP triangular signaling through the complete triangular signaling session identifier and the half triangular signaling session identifier.
2. The method of claim 1, wherein the receiving session creation protocol (SIP) signaling, and establishing a call flow table according to the SIP signaling comprises:
collecting an accessed signaling, and identifying an interface and a protocol of the signaling;
packaging the signaling fragments to form a complete SIP signaling;
performing first decoding on the key field of the SIP signaling, and performing signaling distribution according to a session;
performing second decoding on the distributed SIP signaling to acquire field information of the SIP signaling;
and carrying out session service logic analysis processing on the distributed SIP signaling according to the field information, and establishing a call flow chart.
3. The triangle signaling analysis method according to claim 1, wherein said combining said bottom edge virtual session record and left or right session record into a complete session record is set as a complete triangle signaling session identifier; setting the right session record or the left session record, which does not form a complete session record, as a half-triangle signaling session identifier includes:
merging the bottom edge virtual session record and the left edge session record into a complete session record, and setting the complete session record as a complete triangular signaling session identifier; correspondingly, the right session record is set as a half triangular signaling session identifier; or
The bottom edge virtual session record and the right edge session record are combined into a complete session record which is set as a complete triangular signaling session identifier; accordingly, the left session record is set as the half-triangle signaling session identifier.
4. The method according to claim 1, wherein the analyzing the SIP triangle signaling by the full triangle signaling session identifier and the half triangle signaling session identifier comprises:
judging whether the signaling in the SIP triangular signaling is an initial request or not, if so, analyzing and processing the signaling through a half-side triangular signaling session identifier;
otherwise, if the signaling in the SIP triangular signaling is a subsequent request or a response corresponding to the subsequent request, analyzing and processing the signaling through a complete triangular signaling session identifier.
5. A triangular signaling analysis apparatus, comprising:
the signaling receiving module is used for receiving session creation protocol (SIP) signaling and establishing a call flow table according to the SIP signaling;
the judging module is used for judging whether the SIP signaling is the SIP triangular signaling or not, and if so, creating a left session record, a right session record and a bottom edge virtual session record under the call flow table;
wherein the SIP triangle signaling comprises: the left side conversation record is created through signaling between the calling service network element and the inquiring network element; the right session record is created by the signaling between the called service network element and the inquiring network element; the signaling between the calling service network element and the called service network element creates the bottom edge virtual session record;
the setting module is used for combining the bottom edge virtual session record and the left side session record or the right side session record into a complete session record and setting the complete session record as a complete triangular signaling session identifier; setting the right session record or the left session record which does not form the complete session record as a half triangular signaling session identifier;
and the analysis processing module is used for analyzing and processing the SIP triangular signaling through the complete triangular signaling session identifier and the half triangular signaling session identifier.
6. The apparatus of claim 5, wherein the signaling receiving module comprises:
the data access unit is used for acquiring an accessed signaling and identifying an interface and a protocol of the signaling;
the group packaging unit is used for grouping the signaling fragments to form a complete SIP signaling;
a distribution unit, configured to perform first decoding on the key field of the SIP signaling, and perform signaling distribution according to a session;
the encoding and decoding unit is used for carrying out second decoding on the distributed SIP signaling to acquire field information of the SIP signaling;
and the call management unit is used for carrying out session service logic analysis processing on the distributed SIP signaling according to the field information and establishing a call flow chart.
7. The triangle signaling analysis device according to claim 5, wherein said setting module comprises:
the first setting unit is used for combining the bottom edge virtual session record and the left edge session record into a complete session record and setting the complete session record as a complete triangular signaling session identifier; setting the right session record as a half-side triangular signaling session identifier;
the second setting unit is used for combining the bottom edge virtual session record and the right edge session record into a complete session record and setting the complete session record as a complete triangular signaling session identifier; and setting the left session record as a half triangular signaling session identifier.
8. The triangular signaling analysis device according to claim 5, wherein the analysis processing module comprises:
the half-side triangular processing unit is used for judging whether the signaling in the SIP triangular signaling is an initial request or not, and if so, analyzing and processing the signaling through a half-side triangular signaling session identifier;
and the complete triangle processing unit is used for analyzing and processing the signaling through the complete triangle signaling session identifier when the signaling in the SIP triangle signaling is a subsequent request or a response corresponding to the subsequent request.
9. A triangle signaling analysis system comprising a memory, a processor, and at least one application stored in the memory and configured to be executed by the processor, wherein the application is configured to perform the triangle signaling analysis method of any of claims 1-4.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the triangle signaling analysis method according to any one of claims 1 to 4.
CN201710467474.0A 2017-06-20 2017-06-20 Triangular signaling analysis method, device and system and computer readable storage medium Active CN109104391B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710467474.0A CN109104391B (en) 2017-06-20 2017-06-20 Triangular signaling analysis method, device and system and computer readable storage medium
PCT/CN2018/092039 WO2018233641A1 (en) 2017-06-20 2018-06-20 Method, device, system, and computer readable storage medium for analyzing triangular signaling message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710467474.0A CN109104391B (en) 2017-06-20 2017-06-20 Triangular signaling analysis method, device and system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109104391A CN109104391A (en) 2018-12-28
CN109104391B true CN109104391B (en) 2022-04-12

Family

ID=64737561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710467474.0A Active CN109104391B (en) 2017-06-20 2017-06-20 Triangular signaling analysis method, device and system and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN109104391B (en)
WO (1) WO2018233641A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988199B (en) * 2020-08-04 2022-03-08 国网山东省电力公司信息通信公司 IMS (IP multimedia subsystem) signaling analysis system and method for power switching network
CN112559283A (en) * 2020-12-08 2021-03-26 中国联合网络通信集团有限公司 Signaling record processing method, device and equipment
CN114979992B (en) * 2021-09-17 2023-07-21 中移互联网有限公司 Call state determining method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404651A (en) * 2011-12-27 2012-04-04 中国电信股份有限公司 Method and system for realizing INAP (Intelligent Network Application Protocol) intelligent service on IMS (IP Multimedia Subsystem) network
CN103269334A (en) * 2013-04-24 2013-08-28 华为技术有限公司 Session association method, session association device and session association system
CN103581112A (en) * 2012-07-20 2014-02-12 中国移动通信集团浙江有限公司 Authentication method and device for PBX having access to IMS
WO2015193608A1 (en) * 2014-06-17 2015-12-23 Orange Processing of signalling messages in a system comprising several core networks
CN105357700A (en) * 2014-08-20 2016-02-24 王改利 Signaling association method for VoLTF service

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8769076B2 (en) * 2011-02-14 2014-07-01 Telefonaktiebolaget L M Ericsson (Publ) Methods and systems for presence publication using SIP register feature tags
US9148359B2 (en) * 2011-12-22 2015-09-29 Voipfuture Gmbh Correlation of media plane and signaling plane of media services in a packet-switched network
EP2845359B1 (en) * 2012-05-03 2016-04-27 Telefonaktiebolaget LM Ericsson (publ) Call routing for ip multimedia subsystem users
US9161302B2 (en) * 2013-04-09 2015-10-13 Broadcom Corporation SIP signaling cut-through
ES2627270T3 (en) * 2013-06-17 2017-07-27 Leonardo S.P.A. SIP extension for DMR networks adapted to PMR features
CN103648125A (en) * 2013-12-25 2014-03-19 北京炎强通信技术有限公司 Method for monitoring long term evolution (LTE) network voice services
EP3251400A1 (en) * 2015-01-26 2017-12-06 Nokia Solutions and Networks Oy Analyzing and classifying signaling sets or calls
CN106612248A (en) * 2015-10-21 2017-05-03 深圳市中兴微电子技术有限公司 Terminal session method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404651A (en) * 2011-12-27 2012-04-04 中国电信股份有限公司 Method and system for realizing INAP (Intelligent Network Application Protocol) intelligent service on IMS (IP Multimedia Subsystem) network
CN103581112A (en) * 2012-07-20 2014-02-12 中国移动通信集团浙江有限公司 Authentication method and device for PBX having access to IMS
CN103269334A (en) * 2013-04-24 2013-08-28 华为技术有限公司 Session association method, session association device and session association system
WO2015193608A1 (en) * 2014-06-17 2015-12-23 Orange Processing of signalling messages in a system comprising several core networks
CN105357700A (en) * 2014-08-20 2016-02-24 王改利 Signaling association method for VoLTF service

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Performance Measurements and Analysis of M/M/c Queuing Model Based SIP Proxy Servers in Local and Wide Area Networks;Sureshkumar V.Subramanian等;《2010 International Conference on Advanced in Recent Technologies in Communication and Computing》;20101203;全文 *
基于SIP的VoIP语音系统的设计与实现;冯刚;《中国优秀硕士学位论文全文数据库(电子期刊)》;20060415;全文 *
基于SIP的中心信令控制服务器的实现与应用;王爽;《中国优秀硕士学位论文全文数据库(电子期刊)》;20150115;全文 *

Also Published As

Publication number Publication date
CN109104391A (en) 2018-12-28
WO2018233641A1 (en) 2018-12-27

Similar Documents

Publication Publication Date Title
JP4567752B2 (en) Method and apparatus for handling emergency calls
US8867526B2 (en) Method and apparatus for providing mobility for a voice over internet protocol service
CN109818816B (en) VoLTE calling time delay analysis method and device
CN108712516B (en) Method, device, equipment and storage medium for acquiring SIP server address
US8266299B2 (en) Method for establishing a local media connection in a communication system
US9609505B2 (en) Method and apparatus for processing unstructured supplementary service data service
CN109104391B (en) Triangular signaling analysis method, device and system and computer readable storage medium
RU2550517C2 (en) Method of routing session from calling party in serving communication network of calling party to called party
EP1906638A1 (en) A geographic location information inquiry method and system in packet domain
US8009585B2 (en) Method and system for topology discovery in an SIP network
EP3545660B1 (en) Correlating and load balancing ims traffic in a visibility network
EP3769485A1 (en) Network slicing awareness in ip multimedia subsystem
CN110035040B (en) Method and device for signaling addressing
CN107211008A (en) Support double registration of the user equipment to IP multimedia subsystem
US10148702B2 (en) Session association method, apparatus, and system
US8908665B2 (en) Methods for routing of calls in internet protocol multimedia subsystem centralized services networks and related gateway mobile switching centres (GMSC) and home location registers (HLR)
CN102752879A (en) Method and device for session access
CN102177699A (en) Method for managing a user in a telecommunication network, and associated device
CN114845350A (en) Routing method and device
CN110351159B (en) Cross-intranet network performance testing method and device
CN108882184A (en) Supplementary service configuration method, device and terminal
CN105830412B (en) Session initiation handling
CN107302485B (en) Method, equipment and device for interconnecting equipment in different networks
CN103428894B (en) Bearer path method for building up, Apparatus and system
CN104581629B (en) Realize the shared method in the geographical locations GIS and user equipment, server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant