CN114979006B - Session Initiation Protocol (SIP) message processing method and system - Google Patents

Session Initiation Protocol (SIP) message processing method and system Download PDF

Info

Publication number
CN114979006B
CN114979006B CN202111198859.4A CN202111198859A CN114979006B CN 114979006 B CN114979006 B CN 114979006B CN 202111198859 A CN202111198859 A CN 202111198859A CN 114979006 B CN114979006 B CN 114979006B
Authority
CN
China
Prior art keywords
message
network element
sip message
target service
service application
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
CN202111198859.4A
Other languages
Chinese (zh)
Other versions
CN114979006A (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.)
China Mobile Communications Group Co Ltd
China Mobile Internet Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Internet Co 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 China Mobile Communications Group Co Ltd, China Mobile Internet Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202111198859.4A priority Critical patent/CN114979006B/en
Publication of CN114979006A publication Critical patent/CN114979006A/en
Application granted granted Critical
Publication of CN114979006B publication Critical patent/CN114979006B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the application provides a SIP message processing method and a message processing system, wherein the method is applied to a Network Function Virtualization (NFV) network architecture and comprises the following steps: receiving a first SIP message sent by a message entry network element, wherein the first SIP message carries the number information of the message entry network element; determining an address of a first target service application indicated by the first SIP message according to the number information; and sending a second SIP message to the first target service application according to the address of the first target service application, wherein the address information carried in the second SIP message is the address information of the message entry network element, and the second SIP message is used for indicating the first target service application to establish a session with the message entry network element. The method provided by the application can improve the efficiency of message processing and the performance of the server.

Description

Session Initiation Protocol (SIP) message processing method and system
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a method and a system for processing a session initiation protocol SIP message.
Background
Network function virtualization (Network Functions Virtualization, abbreviated as NFV), a concept of network architecture (network architecture, english), refers to dividing a function of a network node hierarchy into several functional blocks by using a virtualization technology, and is implemented in a software manner, and is not limited to a hardware architecture.
The core of NFV is a virtual network function that provides network functions that can only be found in hardware, including many applications such as routing, mobile cores, ornaments, security, policies, etc., but virtualized network functions require a combination of applications, business processes, and infrastructure software that can be integrated and tuned.
The goal of NFV is to provide network functionality on standard servers, rather than on custom devices. While both suppliers and network operators are striving to deploy NFV, early NFV deployments will have to take advantage of broader principles that will be deployed gradually as more detailed information emerges from the surface.
Session initiation protocol (english: session Initiation Protocol, abbreviated: SIP message processing system) is an application-layer signaling control protocol for creating, modifying and releasing sessions for one or more participants. These sessions may be Internet multimedia conferences, IP telephony or multimedia distribution, but the current distribution and processing methods of SIP message processing system messages are not applicable to the current NFV network architecture.
Therefore, there is a need for a method for processing SIP message processing system messages based on NFV network architecture.
Disclosure of Invention
The embodiment of the application aims to provide a SIP message processing method and a message processing system thereof, which can improve the efficiency of message processing and the performance of a server.
In order to solve the technical problems, the embodiment of the application is realized as follows:
in a first aspect, a session initiation protocol SIP message processing method, the method being applied to a network function virtualization NFV network architecture, comprising: receiving a first SIP message sent by a message entry network element, wherein the first SIP message carries the number information of the message entry network element; determining an address of a first target service application indicated by the first SIP message according to the number information; and sending a second SIP message to the first target service application according to the address of the first target service application, wherein the address information carried in the second SIP message is the address information of the message entry network element, and the second SIP message is used for indicating the first target service application to establish a session with the message entry network element.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the address information carried in the first SIP message includes IP address information and port information of the message entry network element.
With reference to the first aspect and the foregoing implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the method further includes: receiving a first feedback message sent by the first target service application, wherein the first feedback message carries a parameter a, and the parameter a represents the total duration of N messages sent by the message entry network element to the first target service application; and receiving a second feedback message sent by the first target service application, wherein the second feedback message carries a parameter b, and the parameter b represents the total duration of the response of the target service application to the N messages, wherein N is a positive integer.
With reference to the first aspect and the foregoing implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the method further includes: and indicating whether the message entry network element continues to communicate with the first target service application according to the parameter a and the parameter b.
With reference to the first aspect and the foregoing implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the indicating, according to the parameter a and the parameter b, whether the message entry network element continues to communicate with the first target service application includes: stopping replying the message entry network element with the option heartbeat response message when delta is more than or equal to max, and stopping communication with the first target application when the option heartbeat response message is not received in a preset time period of the message entry network element; and when the min is less than or equal to delta, replying an option heartbeat response message to the message entry network element, wherein the message entry network element continues to communicate with the first target application according to the option heartbeat response message.
In a second aspect, a session initiation protocol SIP message processing method is provided, where the communication method is applied to a network function virtualization NFV network architecture, and includes: receiving a second SIP message sent by an SIP message distribution system, wherein address information carried in the second SIP message is address information of a message entry network element; and establishing a session with the entry network element according to the second SIP message.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the communication method further includes: and sending a first feedback message and a second feedback message to the SIP message distribution system, wherein the first feedback message carries a parameter a, the parameter a represents total duration of N messages sent by the network element receiving the message entry, and the second feedback message carries a parameter b, and the parameter b represents total duration of N messages responded, wherein N is a positive integer.
In a third aspect, a session initiation protocol, SIP, message processing system is provided, the processing system comprising: the receiving unit is used for receiving a first SIP message sent by the message entry network element, wherein the first SIP message carries the number information of the message entry network element; the processing unit is used for determining the address of the first target service application indicated by the first SIP message according to the number information; and the sending unit is used for sending a second SIP message to the first target service application according to the address of the first target service application, wherein the address information carried in the second SIP message is the address information of the message entry network element, and the second SIP message is used for indicating the first target service application to establish a session with the message entry network element.
It will be appreciated that the processing system provided by the third aspect is for performing the first aspect or any one of the possible implementations of the first aspect.
In a fourth aspect, an application processing system is provided, the application processing system comprising: the receiving unit is used for receiving a second SIP message sent by the SIP message distribution system, wherein the address information carried in the second SIP message is the address information of the message entry network element; and the processing unit is used for establishing a session with the entry network element according to the second SIP message.
With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the application processing system further includes: the sending unit is configured to send a first feedback message and a second feedback message to the SIP message distribution system, where the first feedback message carries a parameter a, where the parameter a represents a total duration of sending N messages by the network element receiving the message entry, and the second feedback message carries a parameter b, where the parameter b represents a total duration of responding to the N messages, and N is a positive integer.
In a fifth aspect, an embodiment of the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete communication with each other through a bus; the memory is used for storing a computer program; the processor is configured to execute a program stored in the memory, to implement the method steps of the first aspect or the second aspect.
In a sixth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method steps as in the first or second aspects.
The technical scheme provided by the embodiment of the application can be seen that the address information of the SIP message processing system is replaced by the address of the message entry network element, so that the address of the intermediate SIP message processing system is hidden, the efficiency of message processing is improved, the performance of a server is improved, and the SIP message communication under the NFV network architecture is realized.
Furthermore, the SIP message processing method and processing system of the application are easy to realize, can be written in a high-level language, are applicable to all the existing mainstream servers, do not depend on proprietary hardware, meet the thought of one-time compiling and running everywhere, have the characteristics of strong application and the like, can meet more requirements by small quantity of customized development, and have very strong robustness.
The technical scheme of the application not only can realize the message distribution scene of the number level, but also can instruct the SIP message processing system and the message entry network element to regulate and control the communication through the condition of service application feedback message processing, thereby realizing load balancing and effectively improving the processing efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a method for processing a session initiation protocol SIP message according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of a method of one embodiment of the application.
Fig. 3 shows a schematic flow chart of a method of another embodiment of the application.
Fig. 4 shows a schematic block diagram of a message processing system of the present application.
FIG. 5 shows a schematic block diagram of an application processing system of the present application.
Fig. 6 is a schematic structural diagram of an electronic device implementing various embodiments of the present application.
Detailed Description
The embodiment of the application provides a Session Initiation Protocol (SIP) message processing method and a processing system thereof.
In order to make the technical solution of the present application better understood by those skilled in the art, the technical solution of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, shall fall within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
As shown in fig. 1, an embodiment of the present application provides a session initiation protocol SIP message processing method, where an execution body of the method may be a SIP message processing system, which may also be referred to as a SIP message distribution system, where the SIP message processing system is deployed in a server of an NFV network architecture. The method specifically comprises the following steps:
step S101, a first SIP message sent by a message entry network element is received, wherein the first SIP message carries the number information of the message entry network element;
step S102, according to the number information, determining the address of the first target service application indicated by the first SIP message;
step S103, according to the address of the first target service application, a second SIP message is sent to the first target service application, wherein the address information carried in the second SIP message is the address information of the message entry network element, and the second SIP message is used for indicating the first target service application to establish a session with the message entry network element.
Specifically, in step S101, the message entry network element refers to a network element that sends the first SIP message, and may be, for example, a call session control function (english: call Session Control Function, abbreviated: CSCF); the message entry network element will establish communication with the first target application via the first SIP message.
Specifically, the first SIP message may be an invite message in the SIP protocol, where the invite message carries number information of a network element of the message entry, and after the SIP message processing system receives the invite message, it is considered that the message content of the invite message needs to be forwarded to the first target application.
It should be understood that the number information of the message entry network element may be a calling number or a called number, which is not limited by the present application.
In step S102, the SIP message processing system extracts the number information carried by the first SIP message, and obtains the address of the first target service application associated with the number information from the database, that is, the SIP message processing system will obtain the service processing address of the next hop according to the number information.
In step S103, the SIP message processing system sends a second SIP message to the first target service application according to the address of the first target service application.
Specifically, the address information carried in the second SIP message is address information of the message entry network element, where the second SIP message is used to instruct the first target service application to establish a session with the message entry network element.
Optionally, as an embodiment of the present application, the address information carried in the first SIP message includes IP address information and port information of the message entry network element.
Specifically, the ip packet is encapsulated and packetized at the transport layer of the first SIP message, and when the ip packet is assembled, the ip and port (port) information of the previous node (of the message entry network element) is filled in, so as to disguise the ip and port to which the SIP message processing system belongs, so that the ip and port to which the SIP message processing system belongs do not exist in the network message.
Further, after the first target service application receives the first SIP message sent by the SIP message processing system, the via field in the first SIP message is extracted according to the SIP message processing system protocol, where the via field carries the address information of the message entry network element, and since the SIP message processing system does not make any modification to the via field, the target service application considers that the message is a message sent from the message entry network element from the SIP message processing system level. Specifically, the socket in the java language network packet cannot realize ip counterfeiting, so that the native socket in the c language can be used for realizing ip counterfeiting, and then the library is called by using the jni technology, so that the ip counterfeiting is realized in the java environment. Because the original socket is adopted to disguise the ip packet in the SIP message processing system message distribution system, the ip address and port in the ip packet are also the ip packet and port of the message inlet, so that the ip and port extracted from the udp packet in the target service application are still the ip address and port of the message inlet network element.
When a first target service application establishes a session of an SIP message processing system with a message entry network element and needs to respond to a response message, no address trace of the SIP message processing system exists at all, and the system is not sensitive, so that the response message is directly sent to the message entry network element, and meanwhile, a complete path recordroute is recorded according to an SIP message processing system protocol; the request message sent by the subsequent message entry network element will be addressed according to the recordsetup, and the message will not pass through the message handling system in the subsequent signaling of the session.
The technical scheme provided by the embodiment of the application can be seen that the SIP message processing system conceals the address information of the SIP message processing system and disguises the address of the message entry network element, thereby having no influence on the system and zero invasion, and simultaneously enabling the service processing system not to perceive, so that the message communication of the SIP message processing system under the NFV architecture is realized.
Because the signaling message interacted between the subsequent message entry network element and the target service application does not pass through the SIP message processing system any more, the SIP message processing system cannot timely know the message processing pressure of the current target service application pair. When the subsequent signaling is more or the required feedback time is less, the processing pressure of the target service application is higher, so that the target service application cannot be processed in time.
Accordingly, to solve the above-mentioned problems, optionally, as an embodiment of the present application, the method further includes: receiving a first feedback message sent by the first target service application, wherein the first feedback message carries a parameter a, and the parameter a represents the total duration of N messages sent by the message entry network element to the first target service application; and receiving a second feedback message sent by the first target service application, wherein the second feedback message carries a parameter b, and the parameter b represents the total duration of the response of the target service application to the N messages, wherein N is a positive integer.
It should be understood that N may be a preset value such as 100, 200, etc., which is not limited by the present application, the parameter a represents the pressure of the signaling that needs to be processed by the first target service application, and the parameter b represents the processing response capability of the signaling that has been processed by the first target service application.
Optionally, as an embodiment of the present application, the method further includes: and indicating whether the message entry network element continues to communicate with the first target service application according to the parameter a and the parameter b.
Specifically, the first feedback message and the second feedback message may be selection option messages (may also be referred to as heartbeat messages) in the SIP protocol, where a parameter a represents a total duration of sending N messages by the message entry network element to the target service application, and b parameter b represents a total duration of the target service application responding to the N messages. For example, when N is 100, after each time the target service application sends 100 pieces of SIP message processing system information (such as the 100 th, 200 th, 300 th, etc.), feedback is performed to the SIP message processing system once, and the parameter a is sent through the first feedback message; after responding to 100 pieces of SIP message processing system information, the SIP message processing system is signaled and distributed to the system for one time, and the parameter b is sent through a second feedback message. Further, the SIP message processing system can determine the current pressure of the target service application and the current state of the target service application according to the parameter a and the parameter b.
That is, the SIP message processing system determines, according to the pressure of the first target service application for processing the message, whether to instruct the message entry network element to continue to communicate with the first target service application, if the SIP message processing system determines that the service pressure of the first target service application is too high, the SIP message processing system instructs the message entry network element not to communicate with the first target service application any more, and then the message entry network element may communicate with the second target service application according to the number information and a preset rule. In other words, if the interval time indicated by the parameter a is short and the interval time indicated by the parameter b is long, the current processing pressure of the first target service application is large, the processing state is poor, and the message entry network element should be indicated to not continue to communicate with the target service application; if the time interval indicated by the parameter a is long and the time interval indicated by the parameter b is short, the current processing pressure of the first target service is small, and the message entry network element can be restarted to communicate with the target service.
Optionally, as an embodiment of the present application, the indicating whether the message entry network element continues to communicate with the first target service application according to the parameter a and the parameter b includes: stopping replying the message entry network element with the option heartbeat response message when delta is more than or equal to max, and stopping communication with the first target application when the option heartbeat response message is not received in a preset time period of the message entry network element; and when the min is less than or equal to delta, replying an option heartbeat response message to the message entry network element, wherein the message entry network element continues to communicate with the first target application according to the option heartbeat response message.
It should be understood that the values of min and max may be set according to practical applications, for example, min may be 1000ms, max may be 1200ms, etc., and the above-mentioned preset period may also be set according to practical application scenarios, for example, 10s, which is not limited by the present application.
The technical scheme provided by the embodiment of the application can be seen that the address information of the SIP message processing system is replaced by the address of the message entry network element, so that the address of the intermediate SIP message processing system is hidden, the message processing efficiency is improved, and the server performance is improved.
Furthermore, the realization of the method and the processing system for processing the SIP message can be written in a high-level language, is applicable to all the existing mainstream servers, does not depend on proprietary hardware, meets the thought of one-time compiling and running everywhere, has the characteristics of strong application and the like, can meet more requirements by small quantity of customized development, and has very strong robustness.
The technical scheme of the application can realize and support a streaming scheme, not only can realize the message distribution scene of the number level, but also can instruct the SIP message processing system to regulate and control the communication of the signaling through the condition of service application feedback message processing, thereby realizing load balancing and effectively improving the processing efficiency.
Fig. 2 shows a schematic flow chart of a method of one embodiment of the application.
As shown in fig. 2, the communication method is applied to a network function virtualization NFV network architecture, and the method includes:
specifically, in step S201, the message entry unit sends a first invite message to the SIP message processing system, where the first invite message carries the number information of the message entry network element, and after the SIP message processing system receives the first invite message, the SIP message processing system considers that the content in the first invite message needs to be forwarded.
In step S202, the SIP message processing system queries the database according to the number information, and obtains the address of the target service application associated with the number information from the database, that is, the SIP message processing system obtains the service processing address of the next hop according to the number information.
In step S203, the SIP message processing system forwards the second invite message to the target service application, where the address information carried in the second invite includes the IP address information and port information of the message entry network element.
In step S204, the message entry network element establishes communication with the target service application according to the second invite message.
In step S205, the target service application obtains a parameter a and a parameter b, where the parameter a represents a total duration of sending N messages to the target service application by the message entry network element, and the parameter b represents a total duration of responding to the N messages by the target service application.
In step S206, the target service application sends the parameter a and the parameter b to the SIP message processing system.
Step S207, the SIP message processing system indicates, according to the parameter a and the parameter b, whether the message entry network element continues to communicate with the target service application, including: and enabling delta-sigma b-sigma a to stop responding to the option heartbeat message to the message entry network element when delta is larger than or equal to max, and enabling the message entry network element not to receive the option heartbeat message and not to continue to communicate with the target service application.
And step S208, when the min is less than or equal to delta, continuing to respond to the option heartbeat message of the message entry network element, and when the message entry network element receives the option heartbeat message, continuing to communicate with the target service application.
Fig. 3 shows a schematic flow chart of a method of another embodiment of the application.
Fig. 3 shows a session initiation protocol SIP message processing system message processing method, where the communication method is applied to a network function virtualized NFV network architecture, and in an embodiment of the present application, a method execution body provided by the present application may be a service application or a service application system, for example, may be the first target service application, and perform signaling interaction with a SIP message processing system and a message entry network element, so as to implement communication between network elements, where the service application may be deployed on an entity device in the NFV architecture, and the present application is not limited specifically, and method 300 includes:
step S310, receiving a second SIP message sent by an SIP message distribution system, wherein address information carried in the second SIP message is address information of a message entry network element;
step S320, establishing a session with the entry network element according to the second SIP message.
Specifically, in step S320, the service application follows the SIP protocol according to the address information carried in the second SIP message, and communicates with the message entry network element.
Optionally, as an embodiment of the present application, the communication method further includes: and sending a first feedback message and a second feedback message to the SIP message distribution system, wherein the first feedback message carries a parameter a, the parameter a represents total duration of N messages sent by the network element receiving the message entry, and the second feedback message carries a parameter b, and the parameter b represents total duration of N messages responded, wherein N is a positive integer.
It should be understood that, in the embodiment of the method shown in fig. 3, the related concepts are similar to those in fig. 1 or fig. 2, and the same or similar beneficial effects can be achieved, which are not described herein.
Fig. 4 shows a schematic block diagram of a message processing system of the present application. A session initiation protocol, SIP, message processing system, the processing system 400 comprising:
a receiving unit 410, where the receiving unit 410 is configured to receive a first SIP message sent by a message entry network element, where the first SIP message carries number information of the message entry network element;
a processing unit 420, where the processing unit 420 is configured to determine, according to the number information, an address of a first target service application indicated by the first SIP message;
and a sending unit 430, where the sending unit 430 is configured to send a second SIP message to the first target service application according to the address of the first target service application, where address information carried in the second SIP message is address information of the message entry network element, and the second SIP message is used to instruct the first target service application to establish a session with the message entry network element.
Optionally, as an embodiment of the present application, the address information carried in the first SIP message includes IP address information and port information of the message entry network element.
Optionally, as an embodiment of the present application, the receiving unit 410 is further configured to: receiving a first feedback message sent by the first target service application, wherein the first feedback message carries a parameter a, and the parameter a represents the total duration of N messages sent by the message entry network element to the first target service application; and receiving a second feedback message sent by the first target service application, wherein the second feedback message carries a parameter b, and the parameter b represents the total duration of the response of the target service application to the N messages, wherein N is a positive integer.
Optionally, as an embodiment of the present application, the processing unit 420 is further configured to: and indicating whether the message entry network element continues to communicate with the first target service application according to the parameter a and the parameter b.
Optionally, as an embodiment of the present application, the processing unit 420 is further configured to: stopping replying the message entry network element with the option heartbeat response message when delta is more than or equal to max, and stopping communication with the first target application when the option heartbeat response message is not received in a preset time period of the message entry network element; and when the min is less than or equal to delta, replying an option heartbeat response message to the message entry network element, wherein the message entry network element continues to communicate with the first target application according to the option heartbeat response message.
The SIP message processing system provided by the embodiment of the present application can implement each process in the embodiment corresponding to the SIP message processing method, and in order to avoid repetition, a detailed description is omitted here.
It should be noted that, the SIP message processing system provided by the embodiment of the present application and the SIP message processing method provided by the embodiment of the present application are based on the same inventive concept, so that the implementation of the embodiment may refer to the implementation of the foregoing SIP message processing method, and similar beneficial effects are achieved, and the repetition is omitted.
Fig. 5 shows a schematic block diagram of an application processing system of the present application, said application processing system 500 comprising: a receiving unit 510, where the receiving unit 510 is configured to receive a second SIP message sent by the SIP message distribution system, where address information carried in the second SIP message is address information of a message entry network element; a processing unit 520, where the processing unit 520 establishes a session with the ingress network element according to the second SIP message.
Optionally, as an embodiment of the present application, the application processing system 500 further includes:
a sending unit 530, where the sending unit 530 sends a first feedback message and a second feedback message to the SIP message distribution system, where the first feedback message carries a parameter a, where the parameter a indicates a total duration of receiving N messages sent by the message ingress network element, and the second feedback message carries a parameter b, where the parameter b indicates a total duration of responding to the N messages, and N is a positive integer.
The application processing system provided by the embodiment of the present application can implement each process executed by the first target service application in the embodiment corresponding to the SIP message processing method, and in order to avoid repetition, a detailed description is omitted here.
It should be noted that, the application processing system provided by the embodiment of the present application and the SIP message processing method provided by the embodiment of the present application are based on the same inventive concept, so that the implementation of this embodiment may refer to the implementation of the foregoing SIP message processing method, and similar beneficial effects are achieved, and the repetition is omitted.
The embodiment of the present application further provides an electronic device, based on the same technical concept, for executing the SIP message processing method provided in the foregoing embodiment of the present application, and fig. 6 is a schematic structural diagram of an electronic device implementing each embodiment of the present application, as shown in fig. 6. The electronic device may vary considerably in configuration or performance and may include one or more processors 601 and memory 602, where the memory 602 may store one or more stored applications or data. Wherein the memory 602 may be transient storage or persistent storage. The application programs stored in the memory 602 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for use in an electronic device. Still further, the processor 601 may be arranged to communicate with the memory 602 and execute a series of computer executable instructions in the memory 602 on an electronic device. The electronic device may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input/output interfaces 605, and one or more keyboards 606.
In this embodiment, the electronic device includes a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete communication with each other through a bus; the memory is used for storing a computer program; the processor is configured to execute the program stored in the memory, and implement the method implemented by the SIP message processing system or the application processing system in the foregoing embodiment.
It will be apparent to those skilled in the art that embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, the electronic device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
It will be apparent to those skilled in the art that embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (10)

1. A method for processing a session initiation protocol SIP message, wherein the method is applied to a network function virtualization NFV network architecture, and comprises:
receiving a first SIP message sent by a message entry network element, wherein the first SIP message carries the number information of the message entry network element;
determining an address of a first target service application indicated by the first SIP message according to the number information;
and sending a second SIP message to the first target service application according to the address of the first target service application, wherein the address information carried in the second SIP message is the address information of the message entry network element, and the second SIP message is used for indicating the first target service application to establish a session with the message entry network element.
2. The method according to claim 1, wherein the address information carried in the first SIP message includes IP address information and port information of the message entry network element.
3. The SIP message processing method according to claim 1, characterized in that the method further comprises:
receiving a first feedback message sent by the first target service application, wherein the first feedback message carries a parameter a, and the parameter a represents the total duration of N messages sent by the message entry network element to the first target service application;
and receiving a second feedback message sent by the first target service application, wherein the second feedback message carries a parameter b, and the parameter b represents the total duration of the response of the target service application to the N messages, wherein N is a positive integer.
4. A SIP message processing method according to claim 3, characterized in that the method further comprises:
and indicating whether the message entry network element continues to communicate with the first target service application according to the parameter a and the parameter b.
5. The SIP message processing method according to claim 4, wherein the indicating whether the message entry network element continues to communicate with the first target service application according to the parameter a and the parameter b comprises:
let delta = Σb- Σa, when deltaWhen max, stopping replying the option heartbeat response message to the message entry network element, and when the option heartbeat response message is not received within a preset time period of the message entry network element, continuing to communicate with the first target service application;
when minAnd when delta, replying an option heartbeat response message to the message entry network element, wherein the message entry network element continues to communicate with the first target service application according to the option heartbeat response message.
6. A method for processing a session initiation protocol SIP message, wherein the method is applied to a network function virtualization NFV network architecture, and comprises:
receiving a second SIP message sent by an SIP message distribution system, wherein address information carried in the second SIP message is address information of a message entry network element;
establishing a session with the entry network element according to the second SIP message;
the second SIP message is sent to the first target service application by the SIP message distribution system according to the address of the first target service application; the address of the first target service application is determined in the following manner: the SIP message distribution system receives a first SIP message sent by a message entry network element, wherein the first SIP message carries the number information of the message entry network element; and determining the address of the first target service application indicated by the first SIP message according to the number information.
7. The method of processing according to claim 6, wherein the method further comprises:
and sending a first feedback message and a second feedback message to the SIP message distribution system, wherein the first feedback message carries a parameter a, the parameter a represents total duration of N messages sent by the network element receiving the message entry, and the second feedback message carries a parameter b, and the parameter b represents total duration of N messages responded, wherein N is a positive integer.
8. A session initiation protocol, SIP, message processing system, the processing system comprising:
the receiving unit is used for receiving a first SIP message sent by the message entry network element, wherein the first SIP message carries the number information of the message entry network element;
the processing unit is used for determining the address of the first target service application indicated by the first SIP message according to the number information;
and the sending unit is used for sending a second SIP message to the first target service application according to the address of the first target service application, wherein the address information carried in the second SIP message is the address information of the message entry network element, and the second SIP message is used for indicating the first target service application to establish a session with the message entry network element.
9. An application processing system, the application processing system comprising:
the receiving unit is used for receiving a second SIP message sent by the SIP message distribution system, wherein the address information carried in the second SIP message is the address information of the message entry network element;
the processing unit is used for establishing a session with the entry network element according to the second SIP message;
the second SIP message is sent to the first target service application by the SIP message distribution system according to the address of the first target service application; the address of the first target service application is determined in the following manner: the SIP message distribution system receives a first SIP message sent by a message entry network element, wherein the first SIP message carries the number information of the message entry network element; and determining the address of the first target service application indicated by the first SIP message according to the number information.
10. The application processing system of claim 9, wherein the application processing system further comprises:
the sending unit is configured to send a first feedback message and a second feedback message to the SIP message distribution system, where the first feedback message carries a parameter a, where the parameter a represents a total duration of sending N messages by the network element receiving the message entry, and the second feedback message carries a parameter b, where the parameter b represents a total duration of responding to the N messages, and N is a positive integer.
CN202111198859.4A 2021-10-14 2021-10-14 Session Initiation Protocol (SIP) message processing method and system Active CN114979006B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111198859.4A CN114979006B (en) 2021-10-14 2021-10-14 Session Initiation Protocol (SIP) message processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111198859.4A CN114979006B (en) 2021-10-14 2021-10-14 Session Initiation Protocol (SIP) message processing method and system

Publications (2)

Publication Number Publication Date
CN114979006A CN114979006A (en) 2022-08-30
CN114979006B true CN114979006B (en) 2023-09-05

Family

ID=82975151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111198859.4A Active CN114979006B (en) 2021-10-14 2021-10-14 Session Initiation Protocol (SIP) message processing method and system

Country Status (1)

Country Link
CN (1) CN114979006B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6771639B1 (en) * 2000-04-10 2004-08-03 Nortel Networks Limited Providing announcement information in requests to establish interactive call sessions
CN1992607A (en) * 2005-12-30 2007-07-04 西门子通信技术(北京)有限公司 Communication application method of IP-based multimedia subsystem
CN101051993A (en) * 2006-04-04 2007-10-10 华为技术有限公司 Method for substituting conversation mark conversation replacing method using said conversation mark substitution
CN101141678A (en) * 2007-08-23 2008-03-12 中国联合通信有限公司 IMS session processing method and system
US7366163B1 (en) * 2003-04-25 2008-04-29 At&T Corp. Method for providing local and toll services with LNP, and toll-free services to a calling party which originates the call from an IP location connected to a sip-enabled IP network
CN101640573A (en) * 2008-07-28 2010-02-03 华为技术有限公司 Method, device and system for receiving emergency notification
CN102223283A (en) * 2010-04-13 2011-10-19 华为技术有限公司 Routing method, device and system
CN102474501A (en) * 2009-09-14 2012-05-23 阿尔卡特朗讯公司 Method for conversion between sip message and isup message and conversion apparatus
WO2013185795A1 (en) * 2012-06-11 2013-12-19 Telefonaktiebolaget L M Ericsson (Publ) Call barring
CN103841090A (en) * 2012-11-26 2014-06-04 中兴通讯股份有限公司 Method, device and system for realizing multi-service-server distribution of session initiation protocol (SIP)
WO2016003872A1 (en) * 2014-07-01 2016-01-07 Bandwidth.Com, Inc. Outbound communication session establishment on a telecommunications network
CN106209723A (en) * 2015-04-29 2016-12-07 中国电信股份有限公司 Call processing method based on BAC cluster and BAC Extension arrangement
CN110913010A (en) * 2019-12-05 2020-03-24 杭州东信北邮信息技术有限公司 SIP service cluster system and implementation method
CN112565185A (en) * 2020-10-30 2021-03-26 四川天翼网络服务有限公司 SIP voice communication method based on browser

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9112876B2 (en) * 2009-05-19 2015-08-18 Telefonaktiebolaget L M Ericsson (Publ) Method and system for transfer of call control
US10880338B2 (en) * 2018-02-07 2020-12-29 Avaya Inc. System and method for providing to push notifications to communication endpoints

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6771639B1 (en) * 2000-04-10 2004-08-03 Nortel Networks Limited Providing announcement information in requests to establish interactive call sessions
US7366163B1 (en) * 2003-04-25 2008-04-29 At&T Corp. Method for providing local and toll services with LNP, and toll-free services to a calling party which originates the call from an IP location connected to a sip-enabled IP network
CN1992607A (en) * 2005-12-30 2007-07-04 西门子通信技术(北京)有限公司 Communication application method of IP-based multimedia subsystem
CN101051993A (en) * 2006-04-04 2007-10-10 华为技术有限公司 Method for substituting conversation mark conversation replacing method using said conversation mark substitution
CN101141678A (en) * 2007-08-23 2008-03-12 中国联合通信有限公司 IMS session processing method and system
CN101640573A (en) * 2008-07-28 2010-02-03 华为技术有限公司 Method, device and system for receiving emergency notification
CN102474501A (en) * 2009-09-14 2012-05-23 阿尔卡特朗讯公司 Method for conversion between sip message and isup message and conversion apparatus
CN102223283A (en) * 2010-04-13 2011-10-19 华为技术有限公司 Routing method, device and system
WO2013185795A1 (en) * 2012-06-11 2013-12-19 Telefonaktiebolaget L M Ericsson (Publ) Call barring
CN103841090A (en) * 2012-11-26 2014-06-04 中兴通讯股份有限公司 Method, device and system for realizing multi-service-server distribution of session initiation protocol (SIP)
WO2016003872A1 (en) * 2014-07-01 2016-01-07 Bandwidth.Com, Inc. Outbound communication session establishment on a telecommunications network
CN106209723A (en) * 2015-04-29 2016-12-07 中国电信股份有限公司 Call processing method based on BAC cluster and BAC Extension arrangement
CN110913010A (en) * 2019-12-05 2020-03-24 杭州东信北邮信息技术有限公司 SIP service cluster system and implementation method
CN112565185A (en) * 2020-10-30 2021-03-26 四川天翼网络服务有限公司 SIP voice communication method based on browser

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"OpenSIP: Toward Software-Defined SIP Networking";Ahmadreza Montazerolghaem等;IEEE Transactions on Network and Service Management;全文 *

Also Published As

Publication number Publication date
CN114979006A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
US9648052B2 (en) Real-time communications gateway
US9210254B2 (en) Unified services platform using a telephone number as a common subscriber identifier
US20200304580A1 (en) Network information processing
CN104754279A (en) Method and system for realizing video call
US9043424B2 (en) Method for activating and deactivating client-side services from a remote server
WO2020119219A1 (en) Message sending method and device
US20140007083A1 (en) Delivery and execution of logic in user terminal in ims session
US10715558B2 (en) Bot profile discovery
CN108540453B (en) Network isolation method, device and equipment applied to PaaS
CN114040020A (en) Cross-cluster service calling method and system
CN204695386U (en) Towards the management information system of many tenants
CN112988378A (en) Service processing method and device
CN109600436B (en) Distributed iscsi service implementation method, system and related device
CN114979006B (en) Session Initiation Protocol (SIP) message processing method and system
CN114244758A (en) Network diagnosis method, storage medium, electronic device and system of android platform
CN113300936B (en) CDN node, edge node signaling adaptation method, device and storage medium
US8743694B2 (en) Determination of bypass zones from network configuration settings
CN115002689B (en) 5G message communication method and network element for 5G message communication
US20150189000A1 (en) Method, system and device for distributed application execution between electronic devices and cloud
WO2021063360A1 (en) Service call method and network device
US20150180910A1 (en) Communication network with low latency call signaling functionality
CN115484237A (en) Signaling message processing method, device, equipment and medium
CN110971576A (en) Security authentication method and related device
CN115174649A (en) Cross-machine-room RPC calling method, device and medium
CN116112604A (en) Information transmission method and device, storage medium and electronic equipment

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