CN112787876A - Performance evaluation method and device of session initiation protocol server - Google Patents

Performance evaluation method and device of session initiation protocol server Download PDF

Info

Publication number
CN112787876A
CN112787876A CN201911081144.3A CN201911081144A CN112787876A CN 112787876 A CN112787876 A CN 112787876A CN 201911081144 A CN201911081144 A CN 201911081144A CN 112787876 A CN112787876 A CN 112787876A
Authority
CN
China
Prior art keywords
sip
request
server
response
type
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.)
Granted
Application number
CN201911081144.3A
Other languages
Chinese (zh)
Other versions
CN112787876B (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.)
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech Ltd
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 Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN201911081144.3A priority Critical patent/CN112787876B/en
Publication of CN112787876A publication Critical patent/CN112787876A/en
Application granted granted Critical
Publication of CN112787876B publication Critical patent/CN112787876B/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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • 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]

Abstract

The embodiment of the invention provides a method and a device for evaluating the performance of an SIP server. The method comprises the following steps: enabling a SIP signaling transceiving process in a SIP server to serve as a unique SIP signaling inlet of the SIP server to receive a SIP request from the outside of the SIP server; enabling the SIP signaling transceiving process to analyze a call sign from the SIP request, recording the first time when the SIP request reaches the SIP server, and sending the SIP request to an SIP protocol stack in the SIP server; enabling the SIP signaling transceiving process to receive a SIP response containing the call mark from the SIP protocol stack, serving as a unique SIP signaling outlet of the SIP server to send the SIP response to the outside of the SIP server, and recording a second time for sending the SIP response; determining a processing delay of the SIP request based on a difference between the second time and the first time. The accuracy of processing time delay can be improved, and the transaction comprehensiveness of performance dotting can also be improved.

Description

Performance evaluation method and device of session initiation protocol server
Technical Field
The invention belongs to the technical field of Session Initiation Protocol (SIP), and particularly relates to a method and a device for evaluating the performance of an SIP server.
Background
The SIP protocol is a multimedia communication protocol established by the Internet Engineering Task Force (IETF). It is a text-based application-layer control protocol for creating, modifying and releasing sessions of one or more participants. The SIP is an IP voice session control protocol originated from the Internet, and has the characteristics of flexibility, easiness in implementation, convenience in expansion and the like. SIP is an application-layer signaling control protocol. For creating, modifying and releasing sessions of one or more participants. These sessions may be Internet multimedia conferences, IP telephony or multimedia distribution. The participants of the session may communicate by multicast (multicast), mesh unicast (unicast), or a mixture of both. SIP interoperates with the resource reservation protocol (RSVP) responsible for voice quality. It also cooperates with several other protocols, including multiple protocols such as Lightweight Directory Access Protocol (LDAP) which is responsible for location, remote authentication dial-in user service (RADIUS) which is responsible for authentication, and RTP which is responsible for real-time transport.
The SIP server is used to handle various SIP signaling. The performance of the SIP server is generally measured by the indexes such as the success rate of SIP transactions or the processing delay of SIP. Currently, the number of SIP critical signaling requests, the number of successes, the number of failures, and the processing delay of SIP critical signaling are generally used as performance points to evaluate the performance of the SIP server.
In the prior art, regarding SIP server performance dotting, generally, only several key SIP transactions are selected to dotte, such as a point call success rate and a group call success rate, which has the disadvantage of incomplete transactions. Moreover, the SIP server is divided into an upper service control module and a lower SIP protocol stack processing module from the architecture, the dotting position is generally located in the upper service control module, the lower SIP protocol stack module is often third-party software and is difficult to enter, and the processing capability of the lower SIP protocol stack processing module is also a part of the system performance of the SIP server. Therefore, for the time delay of the SIP signaling processing at present, the performance dotting is difficult to include the time delay of the SIP protocol stack processing, so that the time delay test is inaccurate.
Disclosure of Invention
The embodiment of the invention provides a method and a device for evaluating the performance of an SIP server.
The technical scheme of the embodiment of the invention is as follows:
a method for performance evaluation of a SIP server, the method comprising:
enabling a SIP signaling transceiving process in a Session Initiation Protocol (SIP) server to serve as a unique SIP signaling inlet of the SIP server to receive a SIP request from the outside of the SIP server;
enabling the SIP signaling transceiving process to analyze a call sign from the SIP request, recording the first time when the SIP request reaches the SIP server, and sending the SIP request to an SIP protocol stack in the SIP server;
enabling the SIP signaling transceiving process to receive a SIP response containing the call mark from the SIP protocol stack, serving as a unique SIP signaling outlet of the SIP server to send the SIP response to the outside of the SIP server, and recording a second time for sending the SIP response;
determining a processing delay of the SIP request based on a difference between the second time and the first time.
In one embodiment, the method further comprises:
enabling the SIP signaling transceiving process to analyze a type mark from the SIP request, and classifying the SIP request based on the type mark;
for each type of SIP request, the average processing delay is calculated based on the sum of the processing delays of the SIP requests in the type and the number of the SIP requests in the type.
In one embodiment, the method further comprises:
enabling the SIP signaling transceiving process to record the number of attempts of the SIP request;
enabling the SIP signaling transceiving process to analyze a type mark from the SIP request, and classifying the SIP request based on the type mark;
for each type of SIP request, the sum of the number of attempts for each SIP request in the type is determined.
In one embodiment, the method further comprises:
enabling the SIP signaling transceiving process to record a success failure code contained in the SIP response;
enabling the SIP signaling transceiving process to analyze a type mark from the SIP request, and classifying the SIP request based on the type mark;
for the SIP response of each type of SIP request, the success response percentage, the failure response percentage and the no response percentage of each SIP request in the type are determined based on the success failure code of each SIP response.
In one embodiment, the SIP request includes at least one of:
a registration (Register) request; an Invite (Invite) request; optional (Options) requests; a Subscribe (Subscribe) request; an information (Info) request; a Refer (Refer) request; message (Message) request.
A performance evaluation apparatus of a session initiation protocol server, comprising:
a receiving module, configured to enable a SIP signaling transceiving process in a session initiation protocol SIP server to serve as a unique SIP signaling entry of the SIP server to receive a SIP request from outside the SIP server;
the first recording module is used for enabling the SIP signaling transceiving process to analyze a call sign from the SIP request, recording the first time when the SIP request reaches the SIP server, and sending the SIP request to an SIP protocol stack in the SIP server;
a second recording module, configured to enable the SIP signaling transceiving process to receive, from the SIP protocol stack, an SIP response including the call identifier, send, as a unique SIP signaling exit of the SIP server, the SIP response to the outside of the SIP server, and record a second time for sending the SIP response;
a determining module, configured to determine a processing delay of the SIP request based on a difference between the second time and the first time.
In one embodiment, the first recording module is further configured to enable the SIP signaling transceiving process to parse a type flag from the SIP request, and classify the SIP request based on the type flag;
and the determining module is further used for respectively calculating the average processing time delay for each type of SIP request based on the sum of the processing time delays of the SIP requests in the type and the number of the SIP requests in the type.
In one embodiment, the first recording module is further configured to enable the SIP signaling transceiving process to record the number of attempts of the SIP request; enabling the SIP signaling transceiving process to analyze a type mark from the SIP request, and classifying the SIP request based on the type mark;
and the determining module is also used for determining the sum of the number of attempts of each SIP request in each type aiming at each type of SIP request.
In one embodiment, the second recording module is further configured to enable the SIP signaling transceiving process to record a success failure code included in the SIP response;
the first recording module is further used for enabling the SIP signaling transceiving process to analyze a type mark from the SIP request and classifying the SIP request based on the type mark;
and the determining module is also used for determining the successful response percentage, the failed response percentage and the no response percentage of each SIP request in each type according to the successful and failed codes of each SIP response aiming at the SIP response of each type of SIP request.
In one embodiment, the SIP request includes at least one of: a Register request; an Invite request; an Options request; a Subscribe request; an Info request; refer request; a Message request.
A performance evaluation apparatus of a SIP server includes a processor and a memory;
the memory stores an application program executable by the processor, and is used for causing the processor to execute the performance evaluation method of the SIP server.
A computer-readable storage medium having stored therein computer-readable instructions for performing the method of performance evaluation of a SIP server as described in any one of the above.
As can be seen from the above technical solutions, the embodiments of the present invention include: enabling a SIP signaling transceiving process in a SIP server to serve as a unique SIP signaling inlet of the SIP server to receive a SIP request from the outside of the SIP server; enabling the SIP signaling transceiving process to analyze a call sign from the SIP request, recording the first time when the SIP request reaches the SIP server, and sending the SIP request to an SIP protocol stack in the SIP server; enabling the SIP signaling transceiving process to receive a SIP response containing the call mark from the SIP protocol stack, serving as a unique SIP signaling outlet of the SIP server to send the SIP response to the outside of the SIP server, and recording a second time for sending the SIP response; determining a processing delay of the SIP request based on a difference between the second time and the first time. Therefore, by setting the SIP signaling transceiving process as the unique SIP signaling inlet and the unique SIP signaling outlet, the embodiment of the invention can ensure that the performance dotting can cover the SIP protocol stack, thereby improving the accuracy of the time delay test.
Furthermore, since the SIP instruction includes instructions such as Register, Invite, Options, script, Info, Refer, and Message, the transaction comprehensiveness of performance dotting can be improved.
Drawings
Fig. 1 is a flowchart of a performance evaluation method of an SIP server according to an embodiment of the present invention.
Fig. 2 is an exemplary diagram illustrating a performance evaluation procedure of a SIP server according to an embodiment of the present invention.
Fig. 3 is a structural diagram of a performance evaluation apparatus of an SIP server according to an embodiment of the present invention.
Fig. 4 is a block diagram of a performance evaluation apparatus of an SIP server having a memory-processor architecture according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the accompanying drawings.
For simplicity and clarity of description, the invention will be described below by describing several representative embodiments. Numerous details of the embodiments are set forth to provide an understanding of the principles of the invention. It will be apparent, however, that the invention may be practiced without these specific details. Some embodiments are not described in detail, but rather are merely provided as frameworks, in order to avoid unnecessarily obscuring aspects of the invention. Hereinafter, "including" means "including but not limited to", "according to … …" means "at least according to … …, but not limited to … … only". In view of the language convention of chinese, the following description, when it does not specifically state the number of a component, means that the component may be one or more, or may be understood as at least one.
Aiming at the defect that the SIP signaling processing delay test range in the prior art difficultly covers the processing delay of an SIP protocol stack, the embodiment of the invention adds an SIP signaling receiving and sending process which is used as a unique SIP signaling inlet and a unique SIP signaling outlet of the SIP server in the SIP server, and forwards the received SIP signaling of an external network element to the SIP protocol stack in the SIP server; after receiving SIP signaling sent by SIP protocol stack of SIP server, it forwards it to external network element. In the process of receiving and sending the SIP signaling, the method points the SIP request from the external network element and the SIP response time delay of the SIP server, and comprehensively counts the signaling processing time delay of the SIP server.
Therefore, by setting the SIP signaling transceiving process as the unique SIP signaling inlet and the unique SIP signaling outlet, the embodiment of the invention can ensure that the performance dotting can cover the SIP protocol stack, thereby improving the accuracy of the time delay test.
Fig. 1 is a flowchart of a performance evaluation method of an SIP server according to an embodiment of the present invention.
As shown in fig. 1, the method includes:
step 101: enabling a SIP signaling transceiving process in a SIP server to receive a SIP request from outside the SIP server as a unique SIP signaling entry of the SIP server.
Preferably, the SIP request includes at least one of: registering a Register request; invite request; optional Options requests; subscribing to a Subscribe request; an Info request; refer to the Refer request; message request, etc.
The above exemplary description describes a typical example of a SIP request, and those skilled in the art will appreciate that this description is merely exemplary and is not intended to limit the scope of embodiments of the present invention.
Step 102: enabling the SIP signaling transceiving process to analyze a call identifier (call ID) from the SIP request, recording the first time when the SIP request reaches the SIP server, and sending the SIP request to a SIP protocol stack in the SIP server.
Wherein the call flags of the same session are the same. Accordingly, a SIP request and a SIP response corresponding to the SIP request can be correlated based on the session call. Wherein: the SIP response corresponding to the SIP request including a certain session call flag includes the same session call flag.
The SIP signaling transceiving process records the first time when the SIP request reaches the SIP server, and the first time is used as the starting time point for testing the processing delay of the SIP request.
Step 103: enabling the SIP signaling transceiving process to receive the SIP response containing the call mark from the SIP protocol stack, serving as the only SIP signaling outlet of the SIP server to send the SIP response to the outside of the SIP server, and recording the second time for sending the SIP response.
And the SIP signaling transceiving process records the second time for sending the SIP response as the termination time point for testing the processing delay of the SIP request.
The second time minus the first time is processing time delay from the SIP server receiving the SIP request to the SIP server sending the SIP response corresponding to the SIP request, and it is seen that the processing time delay covers the processing time of the SIP protocol stack, thereby improving accuracy of the time delay test.
Step 104: determining a processing delay of the SIP request based on a difference between the second time and the first time.
In the process of sending and receiving the SIP signaling, for all SIP requests from external network elements, such as Register, Invite, Options, Subscribe, Info, Refer, Message, etc., the respective number of attempts of the SIP request is respectively counted, the Call id of each SIP request is recorded, and the first time of each SIP request is recorded. And in the process of SIP signaling transceiving, separately counting all 2XX, 3XX, 4XX, 5XX and 6XX responses of each SIP request, recording the second time of the SIP response, and calculating the processing delay of the SIP request at the SIP server according to the corresponding Call id.
For example, the number of SIP signaling requests that do not respond back, the number of successful responses (2XX), the number of failed responses 3XX, the number of failed responses 4XX, the number of failed responses 5XX, the number of failed responses 6XX (which may also be more specifically counted, such as the number of failed responses 403, the number of failed responses 404, and the like), and the SIP signaling processing delay may be separately counted for all SIP requests (including Register, Invite, Options, Subscribe, Info, Refer, Message, and the like) in a fixed period (such as 5 minutes). And after counting is finished, clearing all SIP signaling request and response records in the period, and starting the next round of counting.
In one embodiment, the method further comprises:
enabling the SIP signaling transceiving process to analyze a type mark from the SIP request, and classifying the SIP request based on the type mark;
for each type of SIP request, the average processing delay is calculated based on the sum of the processing delays of the SIP requests in the type and the number of the SIP requests in the type.
In one embodiment, the method further comprises:
enabling the SIP signaling transceiving process to record the number of attempts of the SIP request;
enabling the SIP signaling transceiving process to analyze a type mark from the SIP request, and classifying the SIP request based on the type mark;
for each type of SIP request, the sum of the number of attempts for each SIP request in the type is determined.
In one embodiment, the method further comprises:
enabling the SIP signaling transceiving process to record a success failure code contained in the SIP response;
enabling the SIP signaling transceiving process to analyze a type mark from the SIP request, and classifying the SIP request based on the type mark;
for the SIP response of each type of SIP request, the success response percentage, the failure response percentage and the no response percentage of each SIP request in the type are determined based on the success failure code of each SIP response. The SIP signaling transceiving process may determine that the SIP response is a successful response, a failed response, or no response based on the successful-failed code.
Fig. 2 is an exemplary diagram illustrating a performance evaluation procedure of a SIP server according to an embodiment of the present invention.
As can be seen from fig. 2, the SIP signaling transceiving process in the SIP server serves as the only SIP signaling entry of the SIP server, and receives a SIP request from outside the SIP server. Wherein, the SIP request may include: register REQ (registration request); invite REQ (registration request); REQ Options (optional requests); subscribe REQ (subscription request); info REQ (information request); refer REQ (Refer request); message REQ (Message request), etc.
And the SIP signaling transceiving process records the call sign of each SIP request and the first time when the SIP request reaches the SIP server, and then sends the SIP request to the SIP protocol stack in the SIP server.
The SIP protocol stack may then perform the following processing based on the SIP request: (1) and analyzing and generating the datagram conforming to the SIP protocol and the format of the extension protocol thereof: (2) the state machine can be applied to control the sending and receiving of messages and the starting and intermediating of multimedia communication; (3) the independent data space is used for storing the analyzed SIP/SDP parameters; (4) and the function interface with simple and convenient boundaries is beneficial to developing application programs. The SIP protocol stack may further interact with a service control process based on the functional interface, and so on.
The SIP protocol stack then returns a SIP response corresponding to the SIP request to the SIP signaling process, such as may be implemented as a 2XX response, a 3XX response, a 4XX response, a 5XX response, or a 6XX response, among others. Wherein the response of the Register REQ is Register RSP; the Invite REQ response is Invite; RSP; the response of REQ Options is REQ RSP; the response of the Subscribe REQ is a Subscribe RSP; the response of the Info REQ is Info RSP; the response of the Refer REQ is Refer RSP; the Message REQ response is a Message RSP.
The SIP signaling transceiving process is used as the only SIP signaling outlet of the SIP server to send the SIP response to the outside of the SIP server. The SIP signaling process records the call flag of each SIP response and the time of sending the response, i.e., the second time. And then finding out the SIP request corresponding to the SIP response based on the call sign, namely determining the processing delay of the SIP request based on the difference between the second time of the SIP response and the first time of the SIP request.
Fig. 3 is a structural diagram of a performance evaluation apparatus of an SIP server according to an embodiment of the present invention.
As shown in fig. 3, the apparatus includes:
a receiving module 301, configured to enable a SIP signaling transceiving process in a session initiation protocol SIP server to serve as a unique SIP signaling entry of the SIP server to receive a SIP request from outside the SIP server;
a first recording module 302, configured to enable the SIP signaling transceiving process to parse a call flag from the SIP request, record a first time when the SIP request reaches the SIP server, and send the SIP request to a SIP protocol stack in the SIP server;
a second recording module 303, configured to enable the SIP signaling transceiving process to receive, from the SIP protocol stack, a SIP response including the call identifier, send, as a unique SIP signaling exit of the SIP server, the SIP response to the outside of the SIP server, and record a second time when the SIP response is sent;
a determining module 304, configured to determine a processing delay of the SIP request based on a difference between the second time and the first time.
In an embodiment, the first recording module 302 is further configured to enable the SIP signaling transceiving process to parse a type flag from the SIP request, and classify the SIP request based on the type flag; the determining module 304 is further configured to calculate, for each type of SIP request, an average processing delay based on the sum of the processing delays of the SIP requests in the type and the number of SIP requests in the type.
In one embodiment, the first recording module 302 is further configured to enable the SIP signaling transceiving process to record the number of attempts of the SIP request; enabling the SIP signaling transceiving process to analyze a type mark from the SIP request, and classifying the SIP request based on the type mark; the determining module 304 is further configured to determine, for each type of SIP request, a sum of the number of attempts of the respective SIP requests in the type.
In one embodiment, the second recording module 303 is further configured to enable the SIP signaling transceiving process to record a success failure code included in the SIP response; the first recording module 302 is further configured to enable the SIP signaling transceiving process to parse a type flag from the SIP request, and classify the SIP request based on the type flag; the determining module 304 is further configured to determine, for the SIP responses of each type of SIP request, a successful response percentage, a failed response percentage, and a no response percentage of the respective SIP requests in the type based on the successful-failure code of each SIP response.
In one embodiment, the SIP request includes at least one of: registering a Register request; invite request; optional Options requests; subscribing to a Subscribe request; an Info request; refer to the Refer request; message request, etc.
In particular, the embodiment of the invention can be applied to a broadband multimedia dispatcher. In the broadband multimedia dispatcher, an SIP transceiving process is stripped from an SIP protocol stack to form an independent process, in the independent process, the number of attempts of an uplink request, Call id, time, downlink response time and a success and failure code of downlink response are recorded, and the number of attempts of various SIP requests, the success and failure response, the percentage of no response and average signaling processing delay are output at regular time.
Fig. 4 is a block diagram of a performance evaluation apparatus of an SIP server having a memory-processor architecture according to an embodiment of the present invention.
As shown in fig. 4, the performance evaluation apparatus of the SIP server having the memory-processor architecture includes: a processor 401 and a memory 402; in which a memory 402 stores an application program executable by the processor 401 for causing the processor 401 to execute the method of evaluating the performance of the SIP server as described in any one of the above.
The memory 402 may be embodied as various storage media such as an Electrically Erasable Programmable Read Only Memory (EEPROM), a Flash memory (Flash memory), and a Programmable Read Only Memory (PROM). Processor 401 may be implemented to include one or more central processors or one or more field programmable gate arrays that integrate one or more central processor cores. In particular, the central processor or central processor core may be implemented as a CPU or MCU.
It should be noted that not all steps and modules in the above flows and structures are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The division of each module is only for convenience of describing adopted functional division, and in actual implementation, one module may be divided into multiple modules, and the functions of multiple modules may also be implemented by the same module, and these modules may be located in the same device or in different devices.
The hardware modules in the various embodiments may be implemented mechanically or electronically. For example, a hardware module may include a specially designed permanent circuit or logic device (e.g., a special purpose processor such as an FPGA or ASIC) for performing specific operations. A hardware module may also include programmable logic devices or circuits (e.g., including a general-purpose processor or other programmable processor) that are temporarily configured by software to perform certain operations. The implementation of the hardware module in a mechanical manner, or in a dedicated permanent circuit, or in a temporarily configured circuit (e.g., configured by software), may be determined based on cost and time considerations.
The present invention also provides a machine-readable storage medium storing instructions for causing a machine to perform a method as described herein. Specifically, a system or an apparatus equipped with a storage medium on which a software program code that realizes the functions of any of the embodiments described above is stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program code stored in the storage medium. Further, part or all of the actual operations may be performed by an operating system or the like operating on the computer by instructions based on the program code. The functions of any of the above-described embodiments may also be implemented by writing the program code read out from the storage medium to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causing a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on the instructions of the program code.
Examples of the storage medium for supplying the program code include floppy disks, hard disks, magneto-optical disks, optical disks (e.g., CD-ROMs, CD-R, CD-RWs, DVD-ROMs, DVD-RAMs, DVD-RWs, DVD + RWs), magnetic tapes, nonvolatile memory cards, and ROMs. Alternatively, the program code may be downloaded from a server computer or the cloud by a communication network.
"exemplary" means "serving as an example, instance, or illustration" herein, and any illustration, embodiment, or steps described as "exemplary" herein should not be construed as a preferred or advantageous alternative. For the sake of simplicity, the drawings are only schematic representations of the parts relevant to the invention, and do not represent the actual structure of the product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "a" does not mean that the number of the relevant portions of the present invention is limited to "only one", and "a" does not mean that the number of the relevant portions of the present invention "more than one" is excluded. In this document, "upper", "lower", "front", "rear", "left", "right", "inner", "outer", and the like are used only to indicate relative positional relationships between relevant portions, and do not limit absolute positions of the relevant portions.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

1. A performance evaluation method of a session initiation protocol server is characterized by comprising the following steps:
enabling a SIP signaling transceiving process in a Session Initiation Protocol (SIP) server to serve as a unique SIP signaling inlet of the SIP server to receive a SIP request from the outside of the SIP server;
enabling the SIP signaling transceiving process to analyze a call sign from the SIP request, recording the first time when the SIP request reaches the SIP server, and sending the SIP request to an SIP protocol stack in the SIP server;
enabling the SIP signaling transceiving process to receive a SIP response containing the call mark from the SIP protocol stack, serving as a unique SIP signaling outlet of the SIP server to send the SIP response to the outside of the SIP server, and recording a second time for sending the SIP response;
determining a processing delay of the SIP request based on a difference between the second time and the first time.
2. The method of claim 1, further comprising:
enabling the SIP signaling transceiving process to analyze a type mark from the SIP request, and classifying the SIP request based on the type mark;
for each type of SIP request, the average processing delay is calculated based on the sum of the processing delays of the SIP requests in the type and the number of the SIP requests in the type.
3. The method of claim 1, further comprising:
enabling the SIP signaling transceiving process to record the number of attempts of the SIP request;
enabling the SIP signaling transceiving process to analyze a type mark from the SIP request, and classifying the SIP request based on the type mark;
for each type of SIP request, the sum of the number of attempts for each SIP request in the type is determined.
4. The method of claim 1, further comprising:
enabling the SIP signaling transceiving process to record a success failure code contained in the SIP response;
enabling the SIP signaling transceiving process to analyze a type mark from the SIP request, and classifying the SIP request based on the type mark;
for the SIP response of each type of SIP request, the success response percentage, the failure response percentage and the no response percentage of each SIP request in the type are determined based on the success failure code of each SIP response.
5. The method for performance evaluation of a session initiation protocol server according to any of claims 1-4, wherein the SIP request comprises at least one of the following:
registering a Register request; invite request; optional Options requests; subscribing to a Subscribe request; an Info request; refer to the Refer request; message request.
6. A performance evaluation apparatus of a session initiation protocol server, comprising:
a receiving module, configured to enable a SIP signaling transceiving process in a session initiation protocol SIP server to serve as a unique SIP signaling entry of the SIP server to receive a SIP request from outside the SIP server;
the first recording module is used for enabling the SIP signaling transceiving process to analyze a call sign from the SIP request, recording the first time when the SIP request reaches the SIP server, and sending the SIP request to an SIP protocol stack in the SIP server;
a second recording module, configured to enable the SIP signaling transceiving process to receive, from the SIP protocol stack, an SIP response including the call identifier, send, as a unique SIP signaling exit of the SIP server, the SIP response to the outside of the SIP server, and record a second time for sending the SIP response;
a determining module, configured to determine a processing delay of the SIP request based on a difference between the second time and the first time.
7. The performance evaluation apparatus of the session initiation protocol server according to claim 6,
the first recording module is further used for enabling the SIP signaling transceiving process to analyze a type mark from the SIP request and classifying the SIP request based on the type mark;
and the determining module is further used for respectively calculating the average processing time delay for each type of SIP request based on the sum of the processing time delays of the SIP requests in the type and the number of the SIP requests in the type.
8. The performance evaluation apparatus of the session initiation protocol server according to claim 6,
the first recording module is further used for enabling the SIP signaling transceiving process to record the number of attempts of the SIP request; enabling the SIP signaling transceiving process to analyze a type mark from the SIP request, and classifying the SIP request based on the type mark;
and the determining module is also used for determining the sum of the number of attempts of each SIP request in each type aiming at each type of SIP request.
9. The performance evaluation apparatus of the session initiation protocol server according to claim 6,
the second recording module is also used for enabling the SIP signaling transceiving process to record the success failure code contained in the SIP response;
the first recording module is further used for enabling the SIP signaling transceiving process to analyze a type mark from the SIP request and classifying the SIP request based on the type mark;
and the determining module is also used for determining the successful response percentage, the failed response percentage and the no response percentage of each SIP request in each type according to the successful and failed codes of each SIP response aiming at the SIP response of each type of SIP request.
10. The performance evaluation apparatus of the session initiation protocol server according to claim 6,
the SIP request includes at least one of: registering a Register request; invite request; optional Options requests; subscribing to a Subscribe request; an Info request; refer to the Refer request; message request.
11. The performance evaluation device of the session initiation protocol server is characterized by comprising a processor and a memory;
the memory stores an application program executable by the processor for causing the processor to perform the performance evaluation method of the session initiation protocol server according to any one of claims 1 to 5.
12. A computer-readable storage medium having stored therein computer-readable instructions for executing the method for performance evaluation of a session initiation protocol server according to any one of claims 1 to 5.
CN201911081144.3A 2019-11-07 2019-11-07 Performance evaluation method and device of session initiation protocol server Active CN112787876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911081144.3A CN112787876B (en) 2019-11-07 2019-11-07 Performance evaluation method and device of session initiation protocol server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911081144.3A CN112787876B (en) 2019-11-07 2019-11-07 Performance evaluation method and device of session initiation protocol server

Publications (2)

Publication Number Publication Date
CN112787876A true CN112787876A (en) 2021-05-11
CN112787876B CN112787876B (en) 2022-10-18

Family

ID=75748222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911081144.3A Active CN112787876B (en) 2019-11-07 2019-11-07 Performance evaluation method and device of session initiation protocol server

Country Status (1)

Country Link
CN (1) CN112787876B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1499804A (en) * 2002-11-12 2004-05-26 ���ǵ�����ʽ���� Method of processing session information of session initiating agreement system, and its recording medium
JP2006345407A (en) * 2005-06-10 2006-12-21 Ntt Docomo Inc Communication control server, communication terminal, communication control method
JP2007312277A (en) * 2006-05-22 2007-11-29 Nippon Telegr & Teleph Corp <Ntt> CONGESTION CONTROL METHOD OF CALL CONTROL SIGNAL IN VoIP NETWORK, VoIP GATEWAY APPARATUS, AND PROGRAM
CN101945085A (en) * 2009-07-07 2011-01-12 中兴通讯股份有限公司 Detection method and device of soft-switch server based on session initial protocol
CN103139718A (en) * 2013-03-25 2013-06-05 中国人民解放军重庆通信学院 Push to talk over cellular (PoC) time delay optimizing processing method and device
WO2015127813A1 (en) * 2014-02-27 2015-09-03 华为技术有限公司 Recording control method, sip server, and recording servers

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1499804A (en) * 2002-11-12 2004-05-26 ���ǵ�����ʽ���� Method of processing session information of session initiating agreement system, and its recording medium
JP2006345407A (en) * 2005-06-10 2006-12-21 Ntt Docomo Inc Communication control server, communication terminal, communication control method
JP2007312277A (en) * 2006-05-22 2007-11-29 Nippon Telegr & Teleph Corp <Ntt> CONGESTION CONTROL METHOD OF CALL CONTROL SIGNAL IN VoIP NETWORK, VoIP GATEWAY APPARATUS, AND PROGRAM
CN101945085A (en) * 2009-07-07 2011-01-12 中兴通讯股份有限公司 Detection method and device of soft-switch server based on session initial protocol
CN103139718A (en) * 2013-03-25 2013-06-05 中国人民解放军重庆通信学院 Push to talk over cellular (PoC) time delay optimizing processing method and device
WO2015127813A1 (en) * 2014-02-27 2015-09-03 华为技术有限公司 Recording control method, sip server, and recording servers

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
余翔等: "基于强占优先M/M/1模型的应急通信***呼叫性能分析方法", 《广东通信技术》 *
杨川等: "基于下一代网络的SIP信令服务器设计", 《厦门大学学报(自然科学版)》 *
杨碧川等: "嵌入式SIP服务器的研究与设计", 《计算机应用与软件》 *
田丰: "基于Android的SIP软电话的设计与实现", 《科学技术与工程》 *
贾宏等: "IMS中SIP会话建立时延的研究", 《计算机工程与设计》 *
黄永峰等: "SIP ALG面向事务过程的队列调度算法及性能分析", 《电子学报》 *

Also Published As

Publication number Publication date
CN112787876B (en) 2022-10-18

Similar Documents

Publication Publication Date Title
US9853867B2 (en) Method and apparatus to determine network quality
US11025782B2 (en) End-to-end session-related call detail record
EP3189635B1 (en) Location identifiers in mobile messaging
US8010081B1 (en) Auditing system for wireless networks
JP5855268B2 (en) Generating network statistics using a policy controller
AU2013354727B2 (en) Method and apparatus for processing unstructured supplementary service data service
US8612568B2 (en) Method, system and network server for recording use of network service capability by applications
KR101110600B1 (en) User equipment timestamps for offline charging in ims networks
CN108737339B (en) Activity sign-in method, user terminal, server and system
EP2211521A1 (en) Method and device for implementing test
JP2008535333A (en) Large-scale analysis of push-to-talk traffic
CN110602763B (en) Method, system and storage medium for dual-card terminal to select SIM card to access VoWiFi network
CN112787876B (en) Performance evaluation method and device of session initiation protocol server
US11503442B2 (en) Methods of enabling flexible charging in M2M IoT service layer
US9883052B2 (en) Systems and methods for avoiding double accounting upon session failover
WO2023134312A1 (en) Content charging test method, management device, terminal device and storage medium
WO2017181808A1 (en) Network element data playback method and apparatus
CN110781034B (en) Distributed supervision method and system
CN107317786B (en) Method, device and network element for forwarding session initiation protocol message
CN113038453B (en) Terminal capability determining method, device and storage medium
US20090041014A1 (en) Obtaining Information From Tunnel Layers Of A Packet At A Midpoint
US9184985B2 (en) Investigating a communication aspect of a data flow
CN110247785B (en) Registration delay analysis method and device
CN117336687A (en) 5G SA mobile network flow calculation accuracy testing method and system
CN109996169A (en) Obtain the method and device of called subscriber&#39;s location information

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