CN114979006A - SIP message processing method and system - Google Patents

SIP message processing method and system Download PDF

Info

Publication number
CN114979006A
CN114979006A CN202111198859.4A CN202111198859A CN114979006A CN 114979006 A CN114979006 A CN 114979006A CN 202111198859 A CN202111198859 A CN 202111198859A CN 114979006 A CN114979006 A CN 114979006A
Authority
CN
China
Prior art keywords
message
network element
sip message
sip
target service
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
CN202111198859.4A
Other languages
Chinese (zh)
Other versions
CN114979006B (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

Images

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 invention provides an SIP message processing method and a message processing system, wherein the method is applied to 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 number information of the message entry network element; determining the address of the 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 and the message entry network element to establish a session. The method provided by the application can improve the message processing efficiency and the server performance.

Description

SIP message processing method and system
Technical Field
The invention relates to the technical field of mobile communication, in particular to a Session Initiation Protocol (SIP) message processing method and a system thereof.
Background
Network Function Virtualization (NFV), a concept of Network architecture (Network architecture), refers to a concept that a Network node level function is divided into several functional blocks by using a Virtualization technology, and the functional blocks are respectively implemented in a software manner and are not limited to a hardware architecture.
At the heart 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 core, ornamentation, security, policy, etc., but virtualizing the network function requires the integration of applications, business processes, and infrastructure software that can be integrated and coordinated.
The goal of NFV is to provide network functionality on a standard server, rather than on a custom device. Although both vendors and network operators are eagerly at deploying NFV, early NFV deployments would have to take advantage of broader principles that would gradually be deployed as more detailed information surfaced.
The Session Initiation Protocol (SIP message processing system) is an application-layer signaling control Protocol for creating, modifying and releasing sessions of one or more participants. These sessions can 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, a method for processing SIP message processing system messages based on NFV network architecture is needed.
Disclosure of Invention
The embodiment of the invention aims to provide an SIP message processing method and an SIP message processing system, which can improve the message processing efficiency and the server performance.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, a method for processing a session initiation protocol SIP message, the method being applied to a network function virtualization NFV network architecture, includes: receiving a first SIP message sent by a message entry network element, wherein the first SIP message carries number information of the message entry network element; determining the address of the 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 and the message entry network element to establish a session.
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 to the first target service application by the message entry network element; and receiving a second feedback message sent by the first target service application, wherein the second feedback message carries a parameter b, the parameter b represents the total duration of the target service application responding to the N messages, and 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 inlet network element continues to communicate with the first target service application or not 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: when delta is larger than or equal to max, stopping replying an option heartbeat response message to the message entry network element, and when the option heartbeat response message is not received in a preset time period of the message entry network element, no communication with the first target application is continued; and when the min is less than or equal to delta, replying an option heartbeat response message to the message entry network element, and the message entry network element continuously communicates 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 the address information carried in the second SIP message is the address information of a message entry network element; and establishing a session with the entrance 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 the total time length for receiving the N messages sent by the message entry network element, the second feedback message carries a parameter b, and the parameter b represents the total time length for responding to the N messages, wherein N is a positive integer.
In a third aspect, a SIP message processing system is provided, where the processing system includes: a receiving unit, 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; 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 a sending unit, configured to send a second SIP message to the first target service application according to the address of the first target service application, where the 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 indicate that the first target service application establishes a session with the message entry network element.
It will be appreciated that the third aspect provides a processing system for carrying out 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: a receiving unit, configured to receive a second SIP message sent by an SIP message distribution system, where address information carried in the second SIP message is address information of a message entry network element; and the processing unit is used for establishing a session with the entrance 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: a sending unit, 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 receiving N messages sent by the message entry network element, and the second feedback message carries a parameter b, where the parameter b represents a total duration of responding to the N messages, where N is a positive integer. .
In a fifth aspect, an embodiment of the present invention 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 mutual communication through a bus; the memory is used for storing a computer program; the processor is configured to execute the program stored in the memory to implement the method steps according to the first aspect or the second aspect.
In a sixth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method steps of the first aspect or the second aspect.
As can be seen from the above technical solutions provided by the embodiments of the present invention, by replacing the address information of the SIP message processing system with the address of the message entry network element, the address of the intermediate SIP message processing system is hidden, the message processing efficiency is improved, the server performance is improved, and SIP message communication under the NFV network architecture is implemented.
Furthermore, the SIP message processing method and the SIP message processing system are easy to implement, can be compiled by adopting a high-level language, are suitable for all the existing mainstream servers, do not depend on special hardware, meet the idea of compiling once to run everywhere, have the characteristics of strong application and the like, can meet more requirements by a small amount of customized development, and have very strong robustness.
According to the technical scheme, the message distribution scene of the number level can be realized, the condition of message processing can be fed back through service application, the SIP message processing system and the message inlet network element are indicated to regulate and control communication, and therefore load balancing is realized, and the processing efficiency is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart 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 diagram of a method of one embodiment of the present application.
Fig. 3 shows a schematic flow chart of a method of another embodiment of the present 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 invention provides a session initiation protocol SIP message processing method and a processing system thereof.
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
As shown in fig. 1, an embodiment of the present invention provides a session initiation protocol SIP message processing method, where an execution subject of the method may be a SIP message processing system, which may also be referred to as a SIP message distribution system, and the SIP message processing system is deployed in a server of an NFV network architecture. The method may specifically comprise the steps of:
step S101, receiving a first SIP message sent by a message entry network element, wherein the first SIP message carries 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, sending a second SIP message to the first target service application according to the address of the first target service application, where 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 to instruct 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 as CSCF); the message entry network element will establish communication with the first target application via a first SIP message.
Specifically, the first SIP message may be an invite message in an SIP protocol, where the invite message carries number information of a message entry network element, and after receiving the invite message, the SIP message processing system considers 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, and the application is not limited thereto.
In step S102, the SIP message processing system extracts the number information carried in 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 obtains 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 the address information of the message entry network element, and the second SIP message is used to indicate that the first target service application establishes 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 packet and sub-packet processing is performed on the ip packet in the transport layer of the first SIP message, and when the ip packet is assembled, the ip and port (port) information of the last node (of the message entry network element) is filled in 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 receiving the first SIP message sent by the SIP message processing system, the first target service application may extract a via field in the first SIP message according to the SIP message processing system protocol, where the via field carries address information of the message entry network element, and since the SIP message processing system does not change the via field, the target service application may consider the via field as a message sent from the message entry network element in the SIP message processing system. Specifically, the socket in the java language network packet cannot realize ip forgery, so that the native socket of the c language can be used for realizing ip forgery, and then the jni technology is used for calling the library, so that the ip forgery is realized in the java environment. Because the original socket is adopted in the message distribution system of the SIP message processing system to disguise the ip packet, the ip address and the port in the ip packet are also the ip packet and the port of the message inlet, the ip and the port extracted from the udp packet in the target service application are still the ip address and the port of the message inlet network element.
The first target service application establishes SIP message processing system session with the message entrance network element, when response message is needed, no address trace of the SIP message processing system exists at all, and the system is not sensitive, so the response message can be directly sent to the message entrance network element, and simultaneously, a complete path recordreute is recorded according to the SIP message processing system protocol; the request message sent by the subsequent message entry network element is addressed according to the recordreute, and the message does not pass through the message processing system in the subsequent signaling of the session.
According to the technical scheme provided by the embodiment of the invention, the SIP message processing system hides the address information of the SIP message processing system and disguises the address information as the address of the message inlet network element, so that the system is not influenced and has zero intrusion, and meanwhile, the service processing system is not aware, thereby realizing the message communication of the SIP message processing system under the NFV architecture.
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 know the message processing pressure of the current target service application pair in time. When more subsequent signaling or less feedback time is required, the processing pressure of the target service application is higher, and the target service application cannot be processed in time.
Therefore, to solve the above problem, 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 to the first target service application by the message entry network element; and receiving a second feedback message sent by the first target service application, wherein the second feedback message carries a parameter b, the parameter b represents the total duration of the target service application responding to the N messages, and N is a positive integer.
It should be understood that N may be a preset value such as 100, 200, etc., and 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 inlet network element continues to communicate with the first target service application or not according to the parameter a and the parameter b.
Specifically, the first feedback message and the second feedback message may both be selection messages (which may also be referred to as heartbeat messages) in the SIP protocol, where a parameter a represents a total duration of sending N messages to the target service application by the message entry network element, and a parameter b represents a total duration of responding to the N messages by the target service application. For example, when N is 100, the target service application performs feedback to the SIP message processing system once after sending 100 pieces of SIP message processing system information (such as 100 th, 200 th, 300 th, and the like), and sends a parameter a through a first feedback message; and after responding 100 pieces of SIP message processing system information, feeding back to a signaling distribution system of the SIP message processing system once, and sending the parameter b 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 to say, the SIP message processing system determines whether to instruct the message entry network element to continue to communicate with the first target service application according to the pressure of the first target service application processing message, and if the SIP message processing system determines that the pressure of the first target service application is too high, the SIP message processing system instructs the message entry network element to no longer communicate with the first target service application, and then the message entry network element may communicate with the second target service application according to the number information and the 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 high, and the processing state is poor, and at this time, the message entry network element and the target service application should be instructed not to continue communication any more; 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 low, 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, 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: when delta is larger than or equal to max, stopping replying an option heartbeat response message to the message entry network element, and when the option heartbeat response message is not received in a preset time period of the message entry network element, no communication with the first target application is continued; and when the min is less than or equal to delta, replying an option heartbeat response message to the message entry network element, and the message entry network element continuously communicates 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 an actual application, for example, min may be 1000ms, max may be 1200ms, and the like, and the preset time period may also be set according to an actual application scenario, for example, 10s, and the present application is not limited thereto.
According to the technical scheme provided by the embodiment of the invention, the address information of the SIP message processing system is replaced by the address of the message entrance 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 SIP message processing method and the SIP message processing system can be realized by adopting high-level language compiling, are suitable for all the existing mainstream servers, do not depend on special hardware, meet the idea of compiling once to run everywhere, have the characteristics of strong application type and the like, can meet more requirements through a small amount of customized development, and have very strong robustness.
According to the technical scheme, the shunting scheme can be realized and supported friendly, not only can the message distribution scene of the number level be realized, but also the condition of message processing can be fed back through service application, and the SIP message processing system is indicated to regulate and control the communication of the signaling, so that load balancing is realized, and the processing efficiency is effectively improved.
Fig. 2 shows a schematic flow chart of a method of an embodiment of the present 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 number information of the message entry network element, and after receiving 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.
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 message includes the IP address information and the port information of the message entry network element.
And step S204, the message entrance network element establishes communication with the target service application according to the second invite message.
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 the N messages by the target service application.
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 whether the message entry network element continues to communicate with the target service application according to the parameter a and the parameter b, including: and when delta is larger than or equal to max, stopping responding to the option heartbeat message to the message entry network element, and when the option heartbeat message is not received by the message entry network element, not continuously communicating with the target service application.
And S208, when the min is less than or equal to the delta, continuously responding to the option heartbeat message of the message entry network element, and when the message entry network element receives the option heartbeat message, continuously communicating with the target service application.
Fig. 3 shows a schematic flow chart of a method of another embodiment of the present 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 virtualization NFV network architecture, and a method execution subject provided in this application embodiment may be a service application or a service application system, for example, may be the aforementioned first target service application, and performs signaling interaction with a SIP message processing system and a message entry network element to implement communication between network elements, where the service application may be deployed on an entity device in the NFV architecture, and this application is not specifically limited, and the method 300 includes:
step S310, receiving a second SIP message sent by an SIP message distribution system, wherein the address information carried in the second SIP message is the address information of a message entrance network element;
step S320, establishing a session with the ingress network element according to the second SIP message.
Specifically, in step S320, the service application communicates with the message entry network element according to the address information carried in the second SIP message and following the SIP protocol.
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 the total time length for receiving the N messages sent by the message entry network element, the second feedback message carries a parameter b, and the parameter b represents the total time length for responding to the N messages, wherein N is a positive integer.
It should be understood that, in the method embodiment shown in fig. 3, the related concepts are defined similarly to the related concepts in fig. 1 or fig. 2, and the same or similar beneficial effects can be achieved, and are not described again here.
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, and 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;
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 indicate that the first target service application establishes 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 to the first target service application by the message entry network element; and receiving a second feedback message sent by the first target service application, wherein the second feedback message carries a parameter b, the parameter b represents the total duration of the target service application responding to the N messages, and 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 inlet network element continues to communicate with the first target service application or not 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: when delta is larger than or equal to max, stopping replying an option heartbeat response message to the message entry network element, and when the option heartbeat response message is not received in a preset time period of the message entry network element, no communication with the first target application is continued; and when the min is less than or equal to delta, replying an option heartbeat response message to the message entry network element, and the message entry network element continuously communicates with the first target application according to the option heartbeat response message.
The SIP message processing system provided in the embodiment of the present invention can implement each process in the embodiment corresponding to the SIP message processing method described above, and is not described here again to avoid repetition.
It should be noted that the SIP message processing system provided in the embodiment of the present invention and the SIP message processing method provided in the embodiment of the present invention are based on the same inventive concept, and therefore, for specific implementation of the embodiment, reference may be made to implementation of the foregoing SIP message processing method, so as to achieve similar beneficial effects, and repeated details are not described again.
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 an 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, the parameter a represents a total duration of receiving N messages sent by the message entry network element, the second feedback message carries a parameter b, and the parameter b represents a total duration of responding to the N messages, where N is a positive integer.
The application processing system provided in the embodiment of the present invention can implement each process executed by the first target service application in the embodiment corresponding to the SIP message processing method, and is not described herein again to avoid repetition.
It should be noted that the application processing system provided in the embodiment of the present invention and the SIP message processing method provided in the embodiment of the present invention are based on the same inventive concept, and therefore, for specific implementation of the embodiment, reference may be made to implementation of the foregoing SIP message processing method to achieve similar beneficial effects, and repeated details are not described again.
On the basis of the same technical concept, an embodiment of the present invention further provides an electronic device for executing the SIP message processing method, which corresponds to the SIP message processing method provided in the foregoing embodiment, and fig. 6 is a schematic structural diagram of an electronic device for implementing various embodiments of the present invention, as shown in fig. 6. Electronic devices may vary widely in configuration or performance and may include one or more processors 601 and memory 602, where one or more stored applications or data may be stored in memory 602. Wherein the memory 602 may be transient or persistent storage. The application program stored in memory 602 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for the electronic device. Still further, the processor 601 may be arranged in communication with the memory 602 to execute a series of computer-executable instructions in the memory 602 on the 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, one or more keyboards 606.
Specifically, 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 mutual communication 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.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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 invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 a typical configuration, an electronic device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
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 computer storage media 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 that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, 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 above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A SIP message processing method is applied to 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 number information of the message entry network element;
determining the address of the 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 and the message entry network element to establish a session.
2. The SIP message processing method of 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 of claim 1, wherein 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 to the first target service application by the message entry network element;
and receiving a second feedback message sent by the first target service application, wherein the second feedback message carries a parameter b, the parameter b represents the total duration of the target service application responding to the N messages, and N is a positive integer.
4. The SIP message processing method of claim 3, wherein the method further comprises:
and indicating whether the message inlet network element continues to communicate with the first target service application or not according to the parameter a and the parameter b.
5. The SIP message processing method of 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:
when delta is larger than or equal to max, stopping replying an option heartbeat response message to the message entry network element, and when the option heartbeat response message is not received in a preset time period of the message entry network element, no communication with the first target application is continued;
and when the min is less than or equal to delta, replying an option heartbeat response message to the message entry network element, and the message entry network element continuously communicates with the first target application according to the option heartbeat response message.
6. A Session Initiation Protocol (SIP) message processing method is applied to a Network Function Virtualization (NFV) network architecture and comprises the following steps:
receiving a second SIP message sent by an SIP message distribution system, wherein the address information carried in the second SIP message is the address information of a message entry network element;
and establishing a session with the entrance network element according to the second SIP message.
7. The processing method of claim 6, wherein the communication 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 the total time length for receiving the N messages sent by the message entry network element, the second feedback message carries a parameter b, and the parameter b represents the total time length for responding to the N messages, wherein N is a positive integer.
8. A session initiation protocol, SIP, message processing system, the processing system comprising:
a receiving unit, 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;
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 a sending unit, configured to send a second SIP message to the first target service application according to the address of the first target service application, where the 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 indicate that the first target service application establishes a session with the message entry network element.
9. An 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 a message entrance network element;
and the processing unit is used for establishing a session with the entrance network element according to the second SIP message.
10. The application processing system of claim 9, further comprising:
a sending unit, 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 receiving N messages sent by the message entry network element, and the second feedback message carries a parameter b, where the parameter b represents a total duration of responding to the N messages, where 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 true CN114979006A (en) 2022-08-30
CN114979006B 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 (16)

* 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
US20120124222A1 (en) * 2009-05-19 2012-05-17 Telefonaktiebolaget L M Ericsson (Publ) Method and system for transfer of call control
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
US20190245895A1 (en) * 2018-02-07 2019-08-08 Avaya Inc. System and method for providing to push notifications to communication endpoints
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

Patent Citations (16)

* 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
US20120124222A1 (en) * 2009-05-19 2012-05-17 Telefonaktiebolaget L M Ericsson (Publ) Method and system for transfer of call control
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
US20190245895A1 (en) * 2018-02-07 2019-08-08 Avaya Inc. System and method for providing to push notifications to communication endpoints
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 (4)

* Cited by examiner, † Cited by third party
Title
3GPP: "\"CHANGE REQUEST\"", 3GPP TSG-SA3 MEETING #82-LI-E-B S3I210643 *
AHMADREZA MONTAZEROLGHAEM等: ""OpenSIP: Toward Software-Defined SIP Networking"", IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT *
思否学否: "\"sip会话流程以及sip介绍\"", Retrieved from the Internet <URL:https://www.cnblogs.com/yz123/p/11929830.html> *
田延丽;余厚全;: ""基于SIP协议的IP电话服务器的设计"", 微计算机信息, no. 03 *

Also Published As

Publication number Publication date
CN114979006B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
CN113037831B (en) Service gateway message processing method and device
US9043424B2 (en) Method for activating and deactivating client-side services from a remote server
US9185077B2 (en) Isolation proxy server system
US20200304580A1 (en) Network information processing
US20220131937A1 (en) Ad hoc decentralized cloud infrastructure
CN106878367B (en) Method and device for realizing asynchronous call of service interface
CN204695386U (en) Towards the management information system of many tenants
CN111314202A (en) Message sending method and device
US20230254146A1 (en) Cybersecurity guard for core network elements
CN108540453B (en) Network isolation method, device and equipment applied to PaaS
US20200084247A1 (en) Bot profile discovery
CN114040020A (en) Cross-cluster service calling method and system
CN113420007A (en) Audit processing method and device for database access and electronic equipment
CN112073465A (en) Dynamic desensitization method and device based on SFTP transmission
CN114979006B (en) Session Initiation Protocol (SIP) message processing method and system
CN111083173B (en) Dynamic defense method in network communication based on openflow protocol
CN116170406B (en) System and method for implementing virtual machine to public network communication
CN111490961A (en) Communication connection blocking system, method, device and equipment
CN114244758A (en) Network diagnosis method, storage medium, electronic device and system of android platform
CN113542219A (en) Method and system for realizing signaling access based on multi-mode network element proxy
CN106936643A (en) A kind of equipment linkage method and terminal device
CN115550468A (en) Service request processing method, device, equipment and medium
CN112866265A (en) CSRF attack protection method and device
CN110704026A (en) Calling method and device of software development kit, terminal and readable medium
CN110784404B (en) Method and device for adjusting multi-network-port equipment application program package sending strategy

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