MESSAGE PROCESSING METHOD, APPARATUS AND IP COMMUNICATION SYSTEM BASED ON THE SIP PROTOCOL

- ZTE CORPORATION

The present invention provides a message processing method, apparatus based on the SIP Protocol and an IP communication system, wherein the method comprises: a step for processing messages from a core network, for using a SIP proxy server as a uniform access interface for SIP messages from the core network to judge and distribute the received SIP messages to corresponding application servers for processing; a step for processing messages from the application servers, for using the SIP proxy server as a uniform access interface for SIP messages from the application servers to distribute, according to instructions from the application servers, the received SIP messages to corresponding core network device for processing. Thus, with the method and system of the present invention, when the processing capability of one application server is not enough, the processing capability of the application server could be improved by expanding the number of the application servers without any need to perform modification of the configuration by the core network device.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
FILED OF THE INVENTION

The present invention relates to a session message processing method in the IP communication network, in particular to a message processing method and apparatus based on the Session Initialization Protocol (SIP for short), in the Next Generation Network (NGN for short) or the IP Multimedia System (IMS for short) network and an IP communication system which uses the method and the apparatus.

BACKGROUND OF THE INVENTION

In the NGN network or the IMS network, an application server (AS for short) is located on a core network for processing complicated service logic control. The performance of the application server is affected by the complexity of the service logic and the frequency of database access. As the processing capability of one application server is limited, when the traffic is increased continuously, the number of the application servers needs to be expanded so as to enhance the processing performance of the application server. From the perspective of the core network, an increase in the number of the application servers is bound to bring forth an increase in the number of the IP addresses for the application servers, and changes in the network topological structure and in the user distribution. If the processing capability of the application server can be improved without any modification of the configuration of the core network device, the problems of the performance bottleneck and the capacity expansion of the application server will be settled effectively. Thus, the present invention is proposed to settle these problems.

SUMMARY OF THE INVENTION

The technical problem to be solved by the present invention is to provide a message processing method and apparatus based on the SIP Protocol and an IP communication system so as to achieve distributed implementation of large-capacity application servers in the NGN network or the IMS network, wherein the capacity expansion and upgrading of the application server do not require any modification of the configuration of the core network device, and at the same time, the stability and robustness of the application server are improved.

In order to achieve the above mentioned objects, the message processing method based on the SIP Protocol provided in the present invention is used in a message processing system including a number of application servers and core network devices, the method including:

a step for processing messages from a core network, for using a SIP proxy server as a uniform access interface for SIP messages from the core network to judge and distribute the received SIP messages to corresponding application servers for processing;

a step for processing messages from the application servers, for using the SIP proxy server as a uniform access interface for SIP messages from the application servers to distribute, according to instructions from the application servers, the received SIP messages to corresponding core network devices for processing.

Before the step for processing the messages from the core network and the step for processing the messages from the application servers, the message processing method based on the SIP Protocol further comprises a step of judging whether a message is from the core network or from an application server after the message is received from a network layer by a SIP proxy server, if the message is from the core network, the step for processing the messages from the core network is performed; otherwise, the step for processing the messages from the application servers is performed.

In the message processing method based on the SIP protocol, the step for processing the messages from the core network further comprises a step of judging whether a to-header in the message contains a tag parameter, and whether the message is a request message, if the to-header in the message does not contain a tag parameter and the message is a request message, the SIP proxy server distributes the message to a corresponding application server according to a pre-configured message distribution strategy, and simultaneously adds a sign indicating which core network device the message is from at the end of the message; and if the to-header in the message contains a tag parameter or the message is a response message, a further step is taken to judge whether the tag parameter in the to-header in the message contains identification information of the application server.

In the message processing method based on the SIP protocol, regarding the step of judging whether the tag parameter in the to-header in the message contains identification information of the application server, if yes, the SIP proxy server distributes the message to a corresponding application server, and simultaneously adds a sign indicating which core network device the message is from at the end of the message; otherwise, a further step is taken to judge whether a tag parameter in a from-header in the message contains an application server identifier.

In the message processing method based on the SIP protocol, regarding the step of judging whether the tag parameter in the from-header in the message contains an application server identifier, if yes, the SIP proxy server distributes the message to a corresponding application server, and simultaneously adds a sign indicating which core network device the message is from at the end of the message; otherwise, the message is discarded.

The message processing method based on the SIP protocol further comprises an application server survival detection step, performed through the SIP proxy server, for detecting failure of an application server, and transferring the traffic of the application server in failure to other application servers.

The message processing method based on the SIP protocol further comprises a step of adjusting distribution strategy, performed through the SIP proxy server, for sensing the performance of an application server according to the results of the survival detection, and dynamically adjusting the distribution strategy of the application server according to the performance parameters of the application server.

Further, the present invention also provides a message processing apparatus using the message processing method based on the SIP protocol, comprising a number of application servers and a SIP proxy server, wherein the SIP proxy server, as a uniform access interface, receives SIP messages from a core network or application servers, and distributes the SIP messages to corresponding application servers or core network devices for processing after judging the SIP messages.

In the message processing apparatus based on the SIP protocol, the SIP proxy server is further used for detecting failure of an application server, and transferring the traffic of the application server in failure to other application servers.

In the message processing apparatus based on the SIP protocol, the SIP proxy server is further used for sensing the performance of the application server according to the results of the failure detection, and dynamically adjusting the distribution strategy of the application server according to the performance parameters of the application server.

Still further, the present invention further provides an IP communication system using the above mentioned method and apparatus, the IP communication system comprises a message processing apparatus based on the SIP protocol, wherein, the apparatus comprises a number of application servers and a SIP proxy server, the SIP proxy server, as a uniform access interface, receives SIP messages from a core network or application servers, and distributes the SIP messages to corresponding application servers or core network devices for processing after judging the SIP messages.

Compared to the existing technology, the present invention achieves message interaction between a core network and application servers by adding a SIP proxy server as a uniform access interface. When the processing capability of one application server is not enough, the processing capability of the application server is improved by expanding the number of the application servers without any need to perform modification of the configuration of the core network devices, which effectively solves the problems of performance bottleneck and capacity expansion of the application server. Meanwhile, the SIP proxy server in the present invention can also achieve the function of fault tolerance and redundancy of the application server, which realizes high reliability of the application server.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is an architecture schematic diagram of a message processing system based on the SIP protocol in an IP communication system according to the present invention;

FIG. 2 is a flow chart of a message processing method based on the SIP protocol according to the present invention; and

FIG. 3 is a flow chart of an embodiment of the message processing method based on the SIP protocol according to the present invention.

DETAILED DESCRIPTION OF THE EMBODIMENTS

The technical solution of the present invention will be described hereinafter in detail in conjunction with the drawings thereof and embodiments for a further understanding the object, solution, and effect of the present invention. However, the embodiments and the description thereof shall not be construed as undue restrictions to the scope of the claims of the present invention.

Referring to FIG. 1 which is an architecture schematic diagram of a message processing system based on the SIP protocol in an IP communication system 10 according to the present invention, the IP communication system 10 comprises a message processing apparatus 10′ based on the SIP protocol. At the front end, a SIP proxy server 100 (SipDisProxy) connected with multiple core network devices 1, 2 . . . x acts as a SIP signaling distribution device, and at the rear end of the SIP proxy server 100, there are a number of application servers (AppServer) 1, 2 for processing SIP signaling and service logic. What is transmitted between the core network devices and the SIP proxy server 100 is standard SIP signaling. Based on the standard SIP signaling, some specific private fields are added in the signaling transmitted between the SIP proxy server 100 and the application servers. The SIP proxy server 100 does not process SIP messages, but just performs simple judgment and distribution according to received SIP messages, including distribution to different application servers and core network devices, wherein the distribution is based on special fields in the SIP signaling, such as a called number, a calling number, Call-ID, and an address of the core network device. The SIP proxy server 100 has neither state nor data area, thus it has a simple processing procedure and a high performance, and is not affected or slightly affected by call traffic. On the contrary, an application server needs to process SIP signaling, service logic, and database access, and when the call traffic is increased, the number of application servers needs to be increased to achieve corresponding processing performance. The present invention achieves message interaction between the application servers and the core network devices by adding a SIP proxy server 100 as a uniform access interface, and realizes large capacity distribution of the application servers, which can effectively settle the problems of performance bottleneck and capacity expansion of the application server.

Referring to FIG. 2, a message processing flow based on the SIP protocol according to the present invention is further described:

Step S201, the SIP proxy server 100 receives a message from a network layer;

Step S202, it is judged whether the message is from a core network or an application server, if the message is from a core network, Step S203 is performed, and if the message is from an application server, Step S210 is performed.

Step S203, it is judged whether a to-header in the message from the core network contains a tag parameter and whether the message is a request message;

Step S204, if the to-header in the message does not contain a tag parameter and the message is a request message, the SIP proxy server 100 distributes the SIP request to a specified application server according to a pre-configured message distribution strategy;

Step S205, if the to-header in the message contains a tag parameter or if the message is a response message, it is checked whether the tag parameter in the to-header contains identification information of the application server;

Step S206, if the tag parameter in the to-header contains identification information of the application server, the message is directly distributed to the application server according to the identification information, and a sign indicating from which core network device the message is received is added at the end of the message simultaneously;

Step S207, if the tag parameter in the to-header does not contain identification information of the application server, it is checked whether a tag parameter in a from-header in the message contains identification information of the application server;

Step S208, if the tag parameter in the from-header contains identification information of the application server, the message is directly distributed to the application server according to the identification information, and a sign indicating from which core network device the message is received is added at the end of the message simultaneously;

Step S209, if the tag parameter in the from-header does not contain identification information of the application server, the message is discarded without any processing;

Step S210, the SIP proxy server 100 receives the message from an application server, and sends the message to corresponding core network device according to an instruction from the application server.

The above mentioned message processing procedure is further explained as follows. Upon the receipt of a message from a core network, the SIP proxy server 100 first judges whether the to-header contains a tag parameter, if the to-header does not contain a tag parameter and the message is a request message, which indicates that the message is a message outside a session, the SIP proxy server 100 distributes the SIP message to a corresponding application server according to a pre-configured message distribution algorithm. In response, the application server will place the identifier of the application server in the tag parameter in the to-header in the generated message. For messages within a SIP session, the tag parameters in the to-headers are the same. As a consequence, upon receipt of a message within a session, the SIP proxy server 100 could realize distribution of the message only according to the tag parameter in the to-header. Similarly, upon receipt of a request initiatively started by an application server, the application server will place its identifier in a tag parameter in the from-header in the message. For messages within a SIP session, the tag parameters in the from-headers are the same. As a consequence, upon receipt of a message within a session, the SIP proxy server 100 could realize distribution of the message only according to the tag parameter in the from-header. Thus, the SIP proxy server 100 could realize distribution of a message within a session according to the tag parameter in the to-header or the tag parameter in the from-header in the message. Upon receipt of a request message without a tag parameter in the to-header, which indicates that the message is a message outside a session, the SIP proxy server 100 could realize distribution of the message to different application servers according to the message distribution strategy so as to achieve service load balance.

The distribution algorithm in the SIP proxy server 100 is configurable. The SIP proxy server can also perform survival detection for an application server, sense the performance of the application server according to the result of the detection, and thus dynamically adjust the distribution strategy for the application server based on the performance parameters of the application server. If the SIP proxy server detects a failure in one application server, it can transfer the traffic of the application server to other application servers to achieve fault tolerance and call redundancy.

Referring to FIG. 3, the message processing method based on the SIP Protocol according to the present invention is further explained according to an embodiment.

Step S301, the SIP proxy server 100 receives a message from a network layer;

Step S302, the SIP proxy server 100 further judges whether the message is from a core network, if the message is from a core network, Step S303 is performed, otherwise, Step S310 is performed to remove the “sendss” character at the end of the message, and simultaneously sends the message to the address specified by the “sends”.

Step S303, the SIP proxy server 100 further judges whether the to-header in the message from the core network contains a tag parameter, and whether the message is a request message;

Step S304, if the to-header in the message does not contain a tag parameter and the message is a request message, the message is distributed to a corresponding application server based on a specific application server distribution algorithm, and simultaneously a recv_send field is added at the end.

Step S305, if the to-header in the message contains a tag parameter, or if the message is a response message, it is checked whether the tag parameter in the to-header contains SSx_ASx information;

Step S306, if the tag parameter in the to-header contains SSx_ASx information, the message is distributed to corresponding ASx;

Step S307, if the tag parameter in the to-header does not contain SSx_ASx information, it is checked whether the tag parameter in the from-header in the message contains SSx_ASx information;

Step S308, if the tag parameter in the from-header contains SSx_ASx information, the message is distributed to corresponding ASx;

Step S309, if the tag parameter in the from-header does not contain SSx_ASx information, the message is discarded.

With the method and system of the present invention, when the processing capability of one application server is not enough, the processing capability of the application server could be improved by expanding the number of the application servers, and there is no need to make any modification of the configuration of the core network devices. Meanwhile, the SIP proxy server in the present invention detects, through a heartbeat message between the SIP proxy server and an application server, the processing capability and survival of the server to realize the capability of load sharing, fault tolerance and redundancy between the application servers. Further, the SIP proxy server system provided in the present invention provides a variety of information distribution abilities, and can achieve flexible message distribution. The present invention is proved to be of superior effect in practical application. When the system is tested on a minicomputer with a CPU of 1.80 GHZ and a memory of 1.0 G, 1024 caps of calls occupy about 19.1% of the CPU. However, regarding a single application server, when 150 caps of calls are processed on a minicomputer with a CPU of 1.80 GHZ and a memory of 1.0 G, 80% of the CPU is occupied. In this case, the problems of capacity expansion and reliability of the application server can be settled by expanding the number of the application servers.

The present invention is disclosed by a preferable embodiment as above, but it is not used to restrict the present invention. For those skilled in the art, the present invention may have various changes and variations, without departure from the spirit and principle of the present invention. However, these changes and variations are all included in the scope of the claims of the present invention.

Claims

1. A message processing method based on the SIP Protocol for a message processing system including a number of application servers and core network devices, comprising:

a step of processing messages from a core network, of using a SIP proxy server as a uniform access interface for SIP messages from the core network to judge and distribute the received SIP messages to corresponding application servers for processing;
a step of processing messages from the application servers, of using the SIP proxy server as a uniform access interface for SIP messages from the application servers to distribute, according to instructions from the application servers, the received SIP messages to corresponding core network devices for processing.

2. The message processing method based on the SIP Protocol according to claim 1, wherein, before the step of processing the messages from the core network and the step of processing the messages from the application servers, the method further comprises:

a step of judging whether a message is from the core network or from an application server after the message is received from a network layer by the SIP proxy server, if the message is from the core network, performing the step for of processing the messages from the core network, otherwise, performing the step for of processing the messages from the application servers.

3. The message processing method based on the SIP Protocol according to claim 2, wherein, the step of processing the messages from the core network further comprises a step of judging whether a to-header in the message contains a tag parameter, and whether the message is a request message, if the to-header in the message does not contain a tag parameter and the message is a request message, the SIP proxy server distributes the message to a corresponding application server according to a pre-configured message distribution strategy, and simultaneously adds a sign indicating which core network device the message is from at the end of the message, and if the to-header in the message contains a tag parameter or the message is a response message, a further step is taken to judge whether the tag parameter in the to-header in the message contains identification information of the application server.

4. The message processing method based on the SIP Protocol according to claim 3, wherein, regarding the step of judging whether the tag parameter in the to-header in the message contains identification information of the application server, if yes, the SIP proxy server distributes the message to a corresponding application server, and simultaneously adds a sign indicating which core network device the message is from at the end of the message; otherwise, a further step is taken to judge whether a tag parameter in a from-header in the message contains an application server identifier.

5. The message processing method based on the SIP Protocol according to claim 4, wherein, regarding the step of judging whether the tag parameter in the from-header in the message contains an application server identifier, if yes, the SIP proxy server distributes the message to a corresponding application server, and simultaneously adds a sign indicating which core network device the message is from at the end of the message; otherwise, the message is discarded.

6. The message processing method based on the SIP Protocol according to claim 1, wherein, the method further comprises an application server survival detection step, performed through the SIP proxy server, of detecting failure of an application server and transferring the traffic of the application server in failure to other application servers.

7. The message processing method based on the SIP Protocol according to claim 6, wherein, the method further comprises a step of adjusting distribution strategy, performed through the SIP proxy server, of sensing the performance of the application server according to the results of the survival detection, and dynamically adjusting the distribution strategy of the application server according to the performance parameters of the application server

8. A message processing apparatus using the message processing method based on the SIP protocol according to claim 1, comprising a number of application servers and a SIP proxy server, wherein the SIP proxy server, as a uniform access interface, receives SIP messages from a core network or application servers, and distributes the SIP messages to corresponding application servers or core network devices for processing after judging the SIP messages.

9. The message processing apparatus based on the SIP protocol according to claim 8, wherein, the SIP proxy server is further used for detecting failure of an application server, and transferring the traffic of the application server in failure to other application servers.

10. The message processing apparatus based on the SIP protocol according to claim 9, wherein, the SIP proxy server is further used for sensing the performance of the application server according to the results of the failure detection, and dynamically adjusting the distribution strategy of the application server according to the performance parameters of the application server.

11. An IP communication system using the message processing method based on the SIP protocol according to claim 1, comprising a message processing apparatus based on the SIP protocol, wherein, the apparatus comprises a number of application servers and a SIP proxy server, the SIP proxy server, as a uniform access interface, receives SIP messages from a core network or application servers, and distributes the SIP messages to corresponding application servers or core network devices for processing after judging the SIP messages.

12. A message processing apparatus using the message processing method based on the SIP protocol according to claim 2, comprising a number of application servers and a SIP proxy server, wherein the SIP proxy server, as a uniform access interface, receives SIP messages from a core network or application servers, and distributes the SIP messages to corresponding application servers or core network devices for processing after judging the SIP messages.

13. A message processing apparatus using the message processing method based on the SIP protocol according to claim 3, comprising a number of application servers and a SIP proxy server, wherein the SIP proxy server, as a uniform access interface, receives SIP messages from a core network or application servers, and distributes the SIP messages to corresponding application servers or core network devices for processing after judging the SIP messages.

14. A message processing apparatus using the message processing method based on the SIP protocol according to claim 4, comprising a number of application servers and a SIP proxy server, wherein the SIP proxy server, as a uniform access interface, receives SIP messages from a core network or application servers, and distributes the SIP messages to corresponding application servers or core network devices for processing after judging the SIP messages.

15. A message processing apparatus using the message processing method based on the SIP protocol according to claim 5, comprising a number of application servers and a SIP proxy server, wherein the SIP proxy server, as a uniform access interface, receives SIP messages from a core network or application servers, and distributes the SIP messages to corresponding application servers or core network devices for processing after judging the SIP messages.

16. An IP communication system using the message processing method based on the SIP protocol according to claim 2, comprising a message processing apparatus based on the SIP protocol, wherein, the apparatus comprises a number of application servers and a SIP proxy server, the SIP proxy server, as a uniform access interface, receives SIP messages from a core network or application servers, and distributes the SIP messages to corresponding application servers or core network devices for processing after judging the SIP messages.

17. An IP communication system using the message processing method based on the SIP protocol according to claim 3, comprising a message processing apparatus based on the SIP protocol, wherein, the apparatus comprises a number of application servers and a SIP proxy server, the SIP proxy server, as a uniform access interface, receives SIP messages from a core network or application servers, and distributes the SIP messages to corresponding application servers or core network devices for processing after judging the SIP messages.

18. An IP communication system using the message processing method based on the SIP protocol according to claim 4, comprising a message processing apparatus based on the SIP protocol, wherein, the apparatus comprises a number of application servers and a SIP proxy server, the SIP proxy server, as a uniform access interface, receives SIP messages from a core network or application servers, and distributes the SIP messages to corresponding application servers or core network devices for processing after judging the SIP messages.

19. An IP communication system using the message processing method based on the SIP protocol according to claim 5, comprising a message processing apparatus based on the SIP protocol, wherein, the apparatus comprises a number of application servers and a SIP proxy server, the SIP proxy server, as a uniform access interface, receives SIP messages from a core network or application servers, and distributes the SIP messages to corresponding application servers or core network devices for processing after judging the SIP messages.

20. An IP communication system using the message processing method based on the SIP protocol according to claim 6, comprising a message processing apparatus based on the SIP protocol, wherein, the apparatus comprises a number of application servers and a SIP proxy server, the SIP proxy server, as a uniform access interface, receives SIP messages from a core network or application servers, and distributes the SIP messages to corresponding application servers or core network devices for processing after judging the SIP messages.

Patent History
Publication number: 20100299551
Type: Application
Filed: Dec 18, 2007
Publication Date: Nov 25, 2010
Patent Grant number: 8713351
Applicant: ZTE CORPORATION (Shenzhen, Guangdong Province)
Inventors: Yinjun Han (Guangdong Province), Xinhua Jia (Guangdong Province), Yong Yang (Guangdong Province)
Application Number: 12/679,655
Classifications
Current U.S. Class: 714/4; Computer Conferencing (709/204); Error Detection Or Correction Of The Data By Redundancy In Hardware (epo) (714/E11.054)
International Classification: G06F 15/16 (20060101); G06F 11/16 (20060101);