CN101094237B - Method for sharing load among net elements in IP multimedia sub system - Google Patents
Method for sharing load among net elements in IP multimedia sub system Download PDFInfo
- Publication number
- CN101094237B CN101094237B CN2007101300997A CN200710130099A CN101094237B CN 101094237 B CN101094237 B CN 101094237B CN 2007101300997 A CN2007101300997 A CN 2007101300997A CN 200710130099 A CN200710130099 A CN 200710130099A CN 101094237 B CN101094237 B CN 101094237B
- Authority
- CN
- China
- Prior art keywords
- network element
- server end
- end network
- relay agent
- information
- 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.)
- Expired - Fee Related
Links
Images
Abstract
The method comprises: a) client side net element uses the preconfigured server side net element ID information as the destination address to initiate a service request; b) after receiving said service request, the relay agent selects the server side net element according to the load state and the load balancing rule corresponding to said server side net element ID information to send the service request to said selected server side net element; c) said server side net element processes the service request, and returns the response message; d) said relay agent relays the response message to the client side net element.
Description
Technical field
The present invention relates to a kind of in IMS (IP Multimedia System), realize with network element between the method for load sharing.
Background technology
If wish to realize other load sharing of NE-level, traditional way is to carry out logic determines in the client of initiating request in IMS (IP Multimedia System).For instance, if wish a plurality of HSS (Home Subscriber Server, home subscriber server) can accomplish load sharing between, S-CSCF (Serving-Call Session Control Function so, service call conversation control function) as client, must know the address of each HSS, determine to send a request message then to which HSS.If a plurality of clients are arranged, each client all needs server info so.When variation has taken place network configuration, the configuration data of so required modification is distributed on each client, needs to revise one by one to come suitable trouble.
In addition, client will be accomplished load sharing, need add some special processings in processing logic, and consensus with server.For instance, client can be selected request message is evenly sent to each server, also can preferentially send a request message to the light server of load behind the load level of judging server.These all relate to the modification of client.If client and server is exactly the product of two manufacturers, then can't require client to do the change in addition of agreement regulation.
Summary of the invention
The technical problem to be solved in the present invention provides the load share method between network element in a kind of IP Multimedia System, overcome the difficulty that realizes load sharing between network element among the existing IMS, client need not to understand the load condition of server end, and also safer to server end.
In order to solve the problems of the technologies described above, the invention provides load share method between the network element in a kind of IP Multimedia System, may further comprise the steps:
(a) the client network element adopts pre-configured server end network element ID information to initiate service request as destination address;
(b) after described service request is received by relay agent, load condition and load sharing principle according to the pairing server end network element of preserving on it of described server end network element ID information are selected the server end network element, and described service request is sent to selected server end network element;
(c) response message is returned in the server end network element request of managing business of described selection;
(d) described relay agent is to client network element transmitted response message.
Further, said method also can have following characteristics, adopts Diameter communication between described client network element, relay agent, the server end network element.
Further, said method also can have following characteristics, and the corresponding one group of server end network element of described server end network element ID information comprises two server end network elements in this group server end network element at least; Preserved one or more described server end network element ID information in the described relay agent, and the corresponding relation of each server end network element ID information and real server end network element address.
Further, said method also can have following characteristics, in the corresponding one group of server end network element of described server end network element ID information, is provided with main with server end network element and standby server end network element respectively.
Further, said method also can have following characteristics, and in described step (b), described relay agent preferentially transmits service request to main with the server end network element, when the master is unavailable with the server end network element, again service request is sent to standby server end network element.
Further, said method also can have following characteristics, and in described step (b), described relay agent sends to described service request master server end network element and standby server end network element simultaneously.
Further, said method also can have following characteristics, and when the server end network element overload of described selection, described relay agent stops to transmit service request to it, treats to send new service request to it again after load condition information meets the demands.
Further, said method also can have following characteristics, and when the server end network element of described selection can't return response message, described relay agent stopped to transmit service request to it, after treating to confirm that by handshake information described server end network element is working properly, send new service request to it again.
Further, said method also can have following characteristics, when the server end network element of described selection breaks down, described relay agent sends to the business request information of client network element on another server end network element with same server end network element ID information, after treating that selected server end network element failure recovers, send new service request to it again.
Further, said method also can have following characteristics, in the following manner one or more of described relay agent obtain the load condition of server end network element: described relay agent sends heartbeat request to the server end network element, the server end network element returns heartbeat response, the load condition information of carrying this node in the response; Described relay agent sends handshake information to the server end network element, and the server end network element carries the load condition information of this node in the message of returning; Described server end network element carries the load condition information of this node in the Business Processing response message that returns to described relay agent; Described server end network element initiatively reports its load condition information to described relay agent.
The present invention does not relate to the modification of client network element by having expanded the function of relay agent when making the realization load sharing.When realizing load sharing, client does not need to know the actual conditions of server end.Do not need to increase extra logical process.Externally do not expose simultaneously the true address of server end network element, effectively avoided possible attack real server.Further, by the operating state of automatic detection server end network element, and select to suspend methods assurance reliabilities of service such as processing, automatic switchover.In addition, also can realize disaster tolerance function between network element of the same type.
Description of drawings
Fig. 1 is the system construction drawing that present embodiment is realized load sharing between the IMS network element;
Fig. 2 is the system flow chart that present embodiment is realized load sharing between the IMS network element.
Embodiment
The present invention is described in further detail below in conjunction with the drawings and specific embodiments.
As shown in Figure 1, for realizing among the IMS load sharing between network element, native system has increased relay agent (Relay Agent) between client network element and server end network element, be responsible for the forwarding of client network element and server end network element message, respectively with client network element and the direct communication of server end network element, perhaps the client network element also can by other agency after communicate by letter with Relay Agent again, between each node with Diameter communication;
The another name of configuration each server that it connected on the client network element in advance, the another name of described server is the identification information of one group of server end network element, the host number and the standby host quantity that dispose in every group of server end network element can be any, but have two at least.Relay agent can preserve many group servers another names, and like this, a plurality of fictitious host computers can be simulated by relay agent for client, the client network element can connect as required one of them or a plurality of.
Relay Agent is used to transmit service request that the client network element sends to each server end network element, wherein preserve the corresponding relation of server another name and real server end network element address, and the load condition of each server end network element, can select the server end network element of loading lighter automatically.
But, preserve one group of server another name in the relay agent at least, two above servers are arranged in one group, so just can play the effect of load sharing.
The server end network element request of managing business, and return its load condition according to the request of relay agent, the server end network element can be one or more, each server end network element has independent machine name, and is external then have common another name.
Fig. 2 is that the present invention realizes among the IMS system flow chart of load sharing between network element.Concrete steps are as follows:
Step 201: the client network element sends the Business Processing request with the server another name as destination address;
Step 202: the server end network element load condition that relay agent preserves according to this locality, service request is forwarded on certain server end network element in the server with identical another name, according to the load sharing rule such as being the server end network element of loading lighter;
Relay agent can obtain the load condition of server by regularly sending handshake information.The server end network element also can regularly report its load condition to relay agent.
In the middle of during the existing server end network element overload of subculture haircut, stop immediately sending a request message, and regularly send handshake information to this server end network element to it, detect the server end network element and whether recover normally, up to the affirmation message of receiving that load has alleviated.If relay agent finds the server end network element and does not return response message, then supposes its overload.After confirming that by handshake information the server end network element is working properly, enabling again.
One of them that can set in relay agent in a plurality of server end network elements is the main server of using, and under main situation about can use with server, all request messages all mail to the main server of using.Use under the disabled situation of server when main, all request messages are forwarded to backup server for processing, can realize redundancy disaster tolerance function with this.As mentioned above, certain main frame breaks down in one group of server with identical another name, when its response can't be received by relay agent, relay agent can send to the business request information of client network element on other main frames, after treating that this hostdown is recovered, again service request is issued it, continue to handle the new service request of client network element, realize automaticallying switch by it.
Step 203: the request of managing business of server end network element, return result;
The server end network element also can be when relay agent returns result, with the load condition information notification relay agent of this node.
Step 204: when disaster tolerance is realized, request message need be sent to simultaneously a plurality of server end network elements;
Step 205: disaster tolerance returns response message with the server end network element;
This moment, disaster tolerance can carry the load condition information of this node in response message with server.
Step 204 and step 205 are optional step, are under the disaster tolerance situation, the step that is provided with in order to guarantee the data consistency between main frame and standby host.When hostdown, can adopt this kind mechanism assurance standby host and host data synchronous.
Step 206: relay agent returns response message to the client network element; If carry load condition in the message that server returns, relay agent then upgrades the node load state of preserving on it;
Optionally, when central subculture reason is not known the load condition of server end network element, send heartbeat request to it; The server end network element returns the heartbeat response, is with this node load state.This also is the client network element for the mechanism of learning that the server end network element is whether normal or be provided with for the load condition that obtains the server end network element.
The present invention existed system is changed and situation that influence is minimum under realized among the IMS function of load sharing between network element, making is not needing to notify under the prerequisite of client modification, revise the server end network configuration, and be other overloading control of NE-level, and the disaster tolerance between network element of the same type provides the basis.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.
For example, as long as meeting Diameter, the service request of client of the present invention all can realize.
For server end network element herein, it returns load condition information to relay agent is optionally, because part server end network element may not have this ability of the load condition returned, still, if part server has this ability in the network, promptly the effect of load sharing can have been brought into play.
Claims (9)
1. load share method between the network element in the IP Multimedia System, it is characterized in that, this method has increased relay agent between client network element and server end network element, be responsible for the forwarding of client network element and server end network element message, and this method may further comprise the steps:
(a) the client network element adopts pre-configured server end network element ID information to initiate service request as destination address, wherein, the corresponding one group of server end network element of described server end network element ID information comprises two server end network elements in this group server end network element at least;
(b) after described service request is received by relay agent, load condition and load sharing principle according to the pairing server end network element of preserving on it of described server end network element ID information are selected the server end network element, described service request is sent to selected server end network element, wherein, preserved one or more described server end network element ID information in the described relay agent, and the corresponding relation of each server end network element ID information and real server end network element address;
(c) response message is returned in the server end network element request of managing business of described selection;
(d) described relay agent is to client network element transmitted response message.
2. the method for claim 1 is characterized in that, adopts Diameter communication between described client network element, relay agent, the server end network element.
3. method as claimed in claim 2 is characterized in that, in one group of server end network element of described server end network element ID information correspondence, is provided with main with server end network element and standby server end network element respectively.
4. method as claimed in claim 3, it is characterized in that in described step (b), described relay agent preferentially transmits service request to main with the server end network element, when the master is unavailable with the server end network element, again service request is sent to standby server end network element.
5. method as claimed in claim 3 is characterized in that, in described step (b), described relay agent sends to described service request master server end network element and standby server end network element simultaneously.
6. the method for claim 1 is characterized in that, when the server end network element overload of described selection, described relay agent stops to transmit service request to it, treats to send new service request to it again after load condition information meets the demands.
7. the method for claim 1, it is characterized in that, when the server end network element of described selection can't return response message, described relay agent stops to transmit service request to it, after treating to confirm that by handshake information described server end network element is working properly, send new service request to it again.
8. the method for claim 1, it is characterized in that, when the server end network element of described selection breaks down, described relay agent sends to the business request information of client network element on another server end network element with same server end network element ID information, after treating that selected server end network element failure recovers, send new service request to it again.
9. the method for claim 1 is characterized in that, in the following manner one or more of described relay agent obtain the load condition of server end network element:
Described relay agent sends heartbeat request to the server end network element, and the server end network element returns heartbeat response, the load condition information of carrying this node in the response;
Described relay agent sends handshake information to the server end network element, and the server end network element carries the load condition information of this node in the message of returning;
Described server end network element carries the load condition information of this node in the Business Processing response message that returns to described relay agent;
Described server end network element initiatively reports its load condition information to described relay agent.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101300997A CN101094237B (en) | 2007-07-30 | 2007-07-30 | Method for sharing load among net elements in IP multimedia sub system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101300997A CN101094237B (en) | 2007-07-30 | 2007-07-30 | Method for sharing load among net elements in IP multimedia sub system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101094237A CN101094237A (en) | 2007-12-26 |
CN101094237B true CN101094237B (en) | 2010-06-16 |
Family
ID=38992263
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101300997A Expired - Fee Related CN101094237B (en) | 2007-07-30 | 2007-07-30 | Method for sharing load among net elements in IP multimedia sub system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101094237B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674548B (en) * | 2009-10-21 | 2014-12-17 | 中兴通讯股份有限公司 | Distributing method and system for delivering report |
CN102571387B (en) * | 2010-12-21 | 2016-01-20 | 中兴通讯股份有限公司 | Method and the device of long-distance disaster is realized in IMS network |
CN102571947B (en) * | 2011-12-29 | 2015-01-14 | 奇智软件(北京)有限公司 | Processing method proxy method, device and system |
CN104363275B (en) * | 2011-12-29 | 2018-01-16 | 北京奇虎科技有限公司 | A kind of methods, devices and systems for acting on behalf of processing data |
CN103004172B (en) * | 2012-09-14 | 2015-07-08 | 华为技术有限公司 | Information processing method and load balancing equipment |
CN105591831A (en) * | 2014-10-24 | 2016-05-18 | 中兴通讯股份有限公司 | Service capability detection method and apparatus |
CN104601365B (en) * | 2014-12-05 | 2019-05-07 | 新华三技术有限公司 | A kind of node device monitoring method and device |
CN108011737B (en) * | 2016-10-28 | 2021-06-01 | 华为技术有限公司 | Fault switching method, device and system |
CN108307442A (en) * | 2017-01-13 | 2018-07-20 | 中兴通讯股份有限公司 | Method for transmitting service and device |
CN109275151B (en) * | 2017-07-17 | 2020-12-08 | 华为技术有限公司 | Communication method, device and system |
CN109525536A (en) * | 2017-09-18 | 2019-03-26 | 深圳市中兴微电子技术有限公司 | A kind of IP multimedia subsystem cut-in method and device |
CN110601786B (en) * | 2019-09-24 | 2020-12-22 | 瑞斯康达科技发展股份有限公司 | Time synchronization method, relay equipment and device |
CN112804277A (en) * | 2019-11-13 | 2021-05-14 | 中兴通讯股份有限公司 | Load control information sending method, device, equipment and storage medium |
CN114844847A (en) * | 2021-12-14 | 2022-08-02 | 合肥哈工轩辕智能科技有限公司 | High-reliability real-time message distribution method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1367439A (en) * | 2002-02-10 | 2002-09-04 | 苏州市蜗牛电子有限公司 | Several customer terminals interdynamic load equalizing method and its system |
EP1551144A1 (en) * | 2003-12-31 | 2005-07-06 | France Telecom | System, method and apparatus for providing multimedia communications services |
CN1758634A (en) * | 2004-09-30 | 2006-04-12 | 朗迅科技公司 | Method and apparatus for providing distributed slf routing capability |
CN1829986A (en) * | 2003-05-26 | 2006-09-06 | 株式会社东芝 | Load distribution system and method |
CN1874264A (en) * | 2006-01-05 | 2006-12-06 | 华为技术有限公司 | Method for implementing backup for user's home server, and IP multimedia network |
-
2007
- 2007-07-30 CN CN2007101300997A patent/CN101094237B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1367439A (en) * | 2002-02-10 | 2002-09-04 | 苏州市蜗牛电子有限公司 | Several customer terminals interdynamic load equalizing method and its system |
CN1829986A (en) * | 2003-05-26 | 2006-09-06 | 株式会社东芝 | Load distribution system and method |
EP1551144A1 (en) * | 2003-12-31 | 2005-07-06 | France Telecom | System, method and apparatus for providing multimedia communications services |
CN1758634A (en) * | 2004-09-30 | 2006-04-12 | 朗迅科技公司 | Method and apparatus for providing distributed slf routing capability |
CN1874264A (en) * | 2006-01-05 | 2006-12-06 | 华为技术有限公司 | Method for implementing backup for user's home server, and IP multimedia network |
Also Published As
Publication number | Publication date |
---|---|
CN101094237A (en) | 2007-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101094237B (en) | Method for sharing load among net elements in IP multimedia sub system | |
CN101150430B (en) | A method for realizing network interface board switching based heartbeat mechanism | |
JP5366177B2 (en) | Slot interface access device, method and program thereof, and redundant configuration and alternative method of main device | |
CN106330475B (en) | Method and device for managing main and standby nodes in communication system and high-availability cluster | |
CN105429799B (en) | Server backup method and device | |
US8285905B2 (en) | Redundancy configuration and replacement method in a system including a master main unit and slave main units | |
CN102511146B (en) | Implementation method for session board controller pool and session board controller | |
CN101442429B (en) | Method and system for implementing disaster-tolerating of business system | |
US8134915B2 (en) | Method and apparatus for providing network redundancy | |
WO2015139633A1 (en) | Data transmission method and apparatus | |
WO2024032094A1 (en) | Instant messaging system and method | |
US7970109B2 (en) | Auto block and auto discovery in a distributed communication system | |
JP7064132B2 (en) | Fault monitoring system and fault monitoring method | |
US10536875B2 (en) | System and method for seamless TCP connection handoff | |
CN101227378B (en) | Communication service establishing method based on network storage and storage device thereof | |
CN103188163A (en) | Load balancing method and device | |
US8990320B2 (en) | Method, apparatus and computer program for message handling | |
CN110716827A (en) | Hot backup method suitable for distributed system and distributed system | |
CN114095342B (en) | Backup realization method and device | |
EP1766948B1 (en) | Auto block and auto discovery in a distributed communication system | |
CN101702670B (en) | Internet dynamic MCU disaster recovery system and method thereof | |
CN115604288A (en) | Data interaction system and data processing method | |
CN102917322A (en) | Method and device for implementation of disaster tolerance of multi-media message service system | |
CA2643001C (en) | Slot interface access unit, method thereof, and program thereof, as well as redundancy configuration of main unit, and replacing method of the same | |
CN101621395A (en) | Management method for network element and network element equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100616 Termination date: 20160730 |