[go: up one dir, main page]

WO2007131441A1 - Procédé et moyens d'équilibrage de la charge basés sur le protocole d'ouverture de session (sip) - Google Patents

Procédé et moyens d'équilibrage de la charge basés sur le protocole d'ouverture de session (sip) Download PDF

Info

Publication number
WO2007131441A1
WO2007131441A1 PCT/CN2007/001540 CN2007001540W WO2007131441A1 WO 2007131441 A1 WO2007131441 A1 WO 2007131441A1 CN 2007001540 W CN2007001540 W CN 2007001540W WO 2007131441 A1 WO2007131441 A1 WO 2007131441A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
request message
application server
sip request
sip
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.)
Ceased
Application number
PCT/CN2007/001540
Other languages
English (en)
Chinese (zh)
Inventor
Ming Xu
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2007131441A1 publication Critical patent/WO2007131441A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1014Server selection for load balancing based on the content of a request
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers

Definitions

  • the present invention relates to the field of information technology, and in particular, to a load balancing implementation method and apparatus, and in particular, to a load balancing implementation method and apparatus based on a session initial protocol.
  • SIP Session Initiation Protocol
  • clustering technology is a priority technology.
  • a group of systems that are independent of each other is a cluster.
  • the cluster behaves like a separate system.
  • a cluster is a number of independent computers that provide services as a whole. For the customer, these computers behave like a computer, but their processing power, reliability, and input/output (I/O) capabilities have been greatly improved.
  • Cluster technology is a general-purpose technology. Its purpose is to solve the problem of single-computer computing power and I/O capability, improve service reliability, achieve scale scalability, and strive for lower overall operation and maintenance costs (operation and upgrade). , maintenance costs).
  • load balancing At the core of the clustering technology is load balancing. The so-called load balancing refers to the equal distribution of external requests to multiple computers with the same functions.
  • the application is a specific service, or it can be a set of software. Considering different applications, in actual load balancing, it is also necessary to consider the maintenance of the session, that is, all messages in a session need to be sent in the same node in the cluster. .
  • the existing SIP-based load balancer implementation method is based on CALLID or SourcelP in the SIP protocol, that is, the same CALLID or the same SourcelP's SIP request can be processed to the same node.
  • a load balancing implementation method and apparatus based on a session initial protocol are provided.
  • a request and a tongue mark By configuring a request and a tongue mark, different SIP requests can be sent to the same node for processing.
  • the embodiment of the invention provides a load balancing implementation method based on a session initial protocol, which includes:
  • the scheduling unit reads the session flag, and determines an application server that processes the session initiation protocol SIP request message according to a correspondence between a predetermined session identifier and an application server.
  • the embodiment of the present invention further provides a load balancing device based on a session initial protocol, including: a storage unit, configured to save a correspondence between a session identifier and an application server;
  • a scheduling unit configured to allocate an application server for a session initiation protocol SIP request message; after receiving the SIP request message, the scheduling unit queries the storage unit according to the session identifier carried in the received SIP request message to obtain the session identifier and the application server Correspondence relationship to determine an application server that processes the SIP request message.
  • FIG. 1 is a flowchart of a load balancing implementation method based on an initial protocol according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of a network topology in an embodiment of the present invention.
  • FIG. 3 is a flowchart of a load balancing implementation method based on an initial protocol according to another embodiment of the present invention.
  • Figure 4 is a flow chart in the embodiment based on Figure 3;
  • FIG. 5 is a schematic structural diagram of a load balancing apparatus based on a session initial protocol according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a load balancing apparatus based on a live initial protocol according to another embodiment of the present invention. detailed description
  • the device used to allocate the application server for the session initial request message may be a load balancer, a server, or the like.
  • FIG. 1 is a flowchart of a method for implementing a load balancing based on a session initial protocol according to an embodiment of the present invention.
  • the present invention uses a Push to Talk over Cellular (PoC) service as a preferred embodiment, and is assumed to be in this embodiment.
  • PoC Push to Talk over Cellular
  • the network topology involved is shown in Figure 2.
  • the load balancer When the load balancer initializes, it creates two independent storage containers in the memory, one of which saves all the nodes in the cluster. For the convenience of description, it is called the container one; the other saves the correspondence between the session and the node, which is called For the container two.
  • Step 101 specifically includes the following two steps:
  • Step 1011 The terminal UE1 sends a session initial request message SipRequest() to the network side to request a PoC service session.
  • Step 1012 The network side first session initial message SipRequest() is set to an Invite class request, and the session flag of the PoC service session requested by the UE1 is set as the contact header field of the response, that is, the contact header in the 200 response of the Invite request.
  • Domain dynamic configuration is PoCSessionl.
  • Step 102 The network side sends a PoC service initial request message whose session flag is PoCSession1 to the load balancer SIP Balance 0.
  • Step 103 The load balancer SIP Balance reads the session identifier PoCSessionl of the session initial request message SipRequest(), and obtains the application server that processes the PoCSession1 according to the correspondence between the session identifier recorded in the container 2 and the application server, and assumes that the container II records
  • the application server that handles PoCSessionl is PoC3.
  • the load balancer SEP Balance first determines whether the session flag PoCSession1 exists, and if so, performs step 104; otherwise, the load balancer SIP Balance finds the idle from the container one.
  • the server PoC2, and the PoC service session initial request message with the session flag PoCSession1 is sent to the server PoC2, and the PoC service session PoCSessionl is processed by the server PoC2, and the relationship between the PoC2 and the PoCSessionl server PoCessionl is stored in the container 2 In step 105, go to step 105.
  • Step 104 the load balancer SEP Balance sends the session initial request message
  • the SipRequestO is redirected to the application server PoC3 that processes the session initial request message, and is processed by the server PoC3.
  • Step 105 end.
  • the application server that is configured to process the PoC service session request sent by the terminal UE1 is the PoC2.
  • the other terminal UE2 also sends an initial request to the network side, and when it is required to join the PoC service session, as shown in FIG. 3, the specific execution is performed. The following steps:
  • Step 201 specifically includes the following two steps:
  • Step 2011 The terminal UE2 sends a session initial request message SipRequest() to the network side to request to join the PoC service session.
  • Step 2012 The network side sets the session initial request message SipRequest() to the Invite class SIP message whose session flag is to the header field, and the to header field is dynamically configured as PoCSessionl.
  • Step 202 The network side sends the SIP message to the load balancer SIP Balance;
  • Step 203 The load balancer obtains the application server PoC2 that processes the PoC service session PoCSession1 according to the corresponding relationship between the recorded tongue mark and the application server;
  • Step 204 The load balancer SIP Balance redirects the SIP message to the application server PoC2, and the application server PoC2 processes the SIP request sent by the terminal UE2.
  • Step 205 the end.
  • the present invention solves the request for the SIP request of different CALLID or SourcelP to be sent to the unified node for processing.
  • the load balancer pre-configures a SIP message that all services can create a session. If the load balancer only pre-configures a part of the service, the SIP message of the session can be created.
  • Step 301 The load balancer SIP Balance determines whether the Invite class SIP message exists, and if yes, step 302 is performed; otherwise, step 304 is performed;
  • Step 302 The load balancer SIP Balance determines whether the session identifier PoCSession1 in the Invite SIP message exists. If yes, the corresponding application server that processes the PoC service session PoCSession1 is obtained according to the corresponding relationship between the recorded session identifier and the application server; otherwise, the step is performed. 303;
  • Step 303 The load balancer SIP Balance finds an idle application server, such as PoC4, from the container one, and records the relationship between the PoC4 and the PoCSessionl. In order to enable the load balancer to know whether the PoC4 receives the PoCSession1, the PoC4 may first load balance the load. The SIP Balance returns a session initial request response message, and then ends the load balancing process.
  • Step 304 The load balancer SIP Balance finds an idle application server from the container one, for example, PoC4, and hands the PoCSession1 service session to the application server PoC4. End the load balancing process.
  • FIG. 5 is a schematic structural diagram of a load balancing apparatus based on a session initiation protocol according to an embodiment of the present invention.
  • the embodiment of the present invention further provides a corresponding apparatus to implement load balancing based on a session initial protocol.
  • the apparatus includes: a load balancing module S1 for distributing an application server for a session initial request message, also called a scheduling unit; a container S2 for storing a list of all application servers in the cluster, and a container for storing a correspondence between the tongue mark and the application server Two S3.
  • the container one S2 and the second container S3 are respectively connected to the load balancing module SI for the negative
  • the load balancing module performs the query.
  • the load balancing module allocates a corresponding application server for the session initial request message by reading the session flag and the query container in the session initial request message, thereby implementing load balancing based on the session initial protocol.
  • a load balancing device based on a session initiation protocol includes: a storage unit, configured to save a correspondence between a session identifier and an application server;
  • a scheduling unit configured to allocate an application server for a session initiation protocol SIP request message; after receiving the SIP request message, the scheduling unit queries the storage unit according to the session identifier carried in the received SIP request message to obtain the session identifier and the application server Correspondence relationship to determine an application server that processes the SIP request message.
  • the load balancing device further includes:
  • a determining unit configured to determine whether a session identifier of the session initial request message exists; and when the determining unit determines that the session identifier of the session initial request message exists, forwarding the session initial request message to the scheduling unit; And the scheduling unit redirects the session initial request message to an idle application server for processing, and records a session identifier in the session initial message and a correspondence between the session identifier and the idle application server.
  • FIG. 6 is a schematic structural diagram of a device for implementing load balancing based on an initial protocol according to another embodiment of the present invention.
  • a load balancing unit S1 is provided with a receiving module S11, an allocating module S12, and a sending module S13;
  • the receiving module S11 is connected to the allocating module S12, and is configured to receive a session initial request message and provide it to the allocating module S12;
  • the distribution module S12 is connected to the container S2 and the container S3, and is configured to query the application server list saved by the container S2 and the correspondence between the session identifier saved by the container S3 and the application server, and allocate the session initial request message. application server;
  • the sending module S13 is connected to the allocating module S12, and is configured to send a session initial message to the application server, where the application server is an application server allocated by the allocating module S12 for the session initial request message.
  • the present invention schedules different SIP requests having the same tongue mark to the same application server (node) for processing by setting the request message type of the session and the session flag, thereby implementing SIP of different CALLID or SourcelP.
  • the request is sent to the same node for processing purposes.
  • the SIP message processing in the IMS service is complex, different services, and different application scenarios.
  • the distribution policy is also flexible.
  • the configurable method of the distribution policy in the present invention can meet the service requirements of various SIP applications, so that the cluster technology can be widely used in the IMS application server (AS), and the cost of the AS is reduced.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)

Abstract

Procédé et moyens d'équilibrage de la charge basés sur le protocole d'ouverture de session (SIP). Ce procédé comprend les opérations suivantes: réception sur le côté réseau d'un message de demande SIP par le dispositif, fixation de l'identifiant dialogue pour le message et envoi du message de demande SIP et de l'identifiant dialogue à l'ordonnanceur; et détermination par l'ordonnanceur du serveur d'application pour le traitement du message de demande SIP selon une relation prédéfinie entre l'identifiant dialogue et le serveur d'application. Les moyens sont les suivants: unité de stockage stockant la relation entre l'identifiant dialogue et le serveur d'application, et ordonnanceur assurant la distribution au serveur d'application. Avec cette invention, les différentes demandes SIP sont envoyées au même noeud pour traitement avec fixation de la demande de dialogue et de l'identifiant dialogue.
PCT/CN2007/001540 2006-05-16 2007-05-11 Procédé et moyens d'équilibrage de la charge basés sur le protocole d'ouverture de session (sip) Ceased WO2007131441A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610080814.6 2006-05-16
CN200610080814.6A CN100558109C (zh) 2006-05-16 2006-05-16 基于会话初始协议的负载均衡实现方法及系统

Publications (1)

Publication Number Publication Date
WO2007131441A1 true WO2007131441A1 (fr) 2007-11-22

Family

ID=38166371

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/001540 Ceased WO2007131441A1 (fr) 2006-05-16 2007-05-11 Procédé et moyens d'équilibrage de la charge basés sur le protocole d'ouverture de session (sip)

Country Status (2)

Country Link
CN (1) CN100558109C (fr)
WO (1) WO2007131441A1 (fr)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480469A (zh) * 2010-11-29 2012-05-30 北京中和威软件有限公司 一种sip服务集群中基于能量均衡的负载调度的方法及装置
US8516126B2 (en) * 2008-09-24 2013-08-20 International Business Machines Corporation Processing SIP messages based on multiple cores
CN111491007A (zh) * 2020-03-04 2020-08-04 北京中盾安全技术开发公司 Sip中心信令控制服务负载均衡方法及其负载均衡器
CN117459533A (zh) * 2023-11-03 2024-01-26 天讯瑞达通信技术有限公司 基于Call-ID监控设备高并发负载均衡系统及方法
CN120935147A (zh) * 2025-10-15 2025-11-11 天翼视联科技股份有限公司 基于会话初始协议的消息传输方法、系统和存储介质

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345760B (zh) * 2008-08-01 2011-05-25 中兴通讯股份有限公司 一种实现会话初始协议消息动态分发的系统和方法
US8849972B2 (en) * 2008-11-25 2014-09-30 Polycom, Inc. Method and system for dispatching received sessions between a plurality of instances of an application using the same IP port
CN101505500B (zh) * 2009-03-11 2011-09-28 中国移动通信集团公司 一种负载均衡设备以及分布式基站系统及其通信方法
CN102215266B (zh) * 2011-06-20 2017-06-16 南京中兴新软件有限责任公司 持久化服务的实现方法及持久化服务系统
CN103746963B (zh) * 2013-12-16 2017-02-15 深圳百科信息技术有限公司 一种sip服务器集群系统及其业务应用请求处理方法
CN106230925A (zh) * 2016-07-28 2016-12-14 杭州华三通信技术有限公司 一种访问控制方法及装置
CN110417876B (zh) * 2019-07-17 2021-10-29 中移(杭州)信息技术有限公司 会话方法、分布式系统中的节点服务器及主控设备
CN117579703A (zh) * 2023-11-24 2024-02-20 天翼数字生活科技有限公司 用于sip信令服务集群的负载均衡方法、系统及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030110257A1 (en) * 2001-12-11 2003-06-12 Wook Hyun Method for performing a load distribution between session initiation protocol servers within an intra domain
US20040088424A1 (en) * 2002-10-30 2004-05-06 Park Mi Ryong SIP-based load balancing apparatus and method
WO2005050946A1 (fr) * 2003-10-30 2005-06-02 Hewlett-Packard Development Company, L.P. Procede et appareil permettant d'equilibrer une charge
US20060090001A1 (en) * 2001-12-31 2006-04-27 Samsung Electronics Co., Ltd. System and method for scalable and redundant sip message routing in an IP multimedia subsystem

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030110257A1 (en) * 2001-12-11 2003-06-12 Wook Hyun Method for performing a load distribution between session initiation protocol servers within an intra domain
US20060090001A1 (en) * 2001-12-31 2006-04-27 Samsung Electronics Co., Ltd. System and method for scalable and redundant sip message routing in an IP multimedia subsystem
US20040088424A1 (en) * 2002-10-30 2004-05-06 Park Mi Ryong SIP-based load balancing apparatus and method
WO2005050946A1 (fr) * 2003-10-30 2005-06-02 Hewlett-Packard Development Company, L.P. Procede et appareil permettant d'equilibrer une charge

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8516126B2 (en) * 2008-09-24 2013-08-20 International Business Machines Corporation Processing SIP messages based on multiple cores
CN102480469A (zh) * 2010-11-29 2012-05-30 北京中和威软件有限公司 一种sip服务集群中基于能量均衡的负载调度的方法及装置
CN102480469B (zh) * 2010-11-29 2015-11-25 北京中和威软件有限公司 一种sip服务集群中基于能量均衡的负载调度的方法及装置
CN111491007A (zh) * 2020-03-04 2020-08-04 北京中盾安全技术开发公司 Sip中心信令控制服务负载均衡方法及其负载均衡器
CN111491007B (zh) * 2020-03-04 2023-08-18 北京中盾安全技术开发公司 Sip中心信令控制服务负载均衡方法及其负载均衡器
CN117459533A (zh) * 2023-11-03 2024-01-26 天讯瑞达通信技术有限公司 基于Call-ID监控设备高并发负载均衡系统及方法
CN120935147A (zh) * 2025-10-15 2025-11-11 天翼视联科技股份有限公司 基于会话初始协议的消息传输方法、系统和存储介质
CN120935147B (zh) * 2025-10-15 2026-02-03 天翼视联科技股份有限公司 基于会话初始协议的消息传输方法、系统和存储介质

Also Published As

Publication number Publication date
CN100558109C (zh) 2009-11-04
CN1984142A (zh) 2007-06-20

Similar Documents

Publication Publication Date Title
WO2007131441A1 (fr) Procédé et moyens d'équilibrage de la charge basés sur le protocole d'ouverture de session (sip)
JP4599617B2 (ja) 遠隔通信フィーチャを分散処理する集中コントローラ
US8300772B2 (en) Method and apparatus for emergency call processing
US10757200B2 (en) System and method for managing conferencing in a distributed communication network
TW200843431A (en) System, computer program product and method of communicating with session initiation protocol (SIP) application sessions using a message-oriented middleware
CN109361749B (zh) 报文处理方法、相关设备及计算机存储介质
WO2019128647A1 (fr) Procédé et dispositif de transmission de messages, support d'informations et dispositif électronique
WO2015127813A1 (fr) Procédé de commande d'enregistrement, serveur sip et serveurs d'enregistrement
WO2008014695A1 (fr) Dispositif, procédé et système pour allouer des ressources de média
US8493892B1 (en) Resolving conflicts in distributed systems
CN101166176A (zh) 实现会话发起协议分布式系统中动态负载均衡的方法
CN101772195B (zh) Ims集群会议的创建和加入方法及分发系统和装置
TW200908640A (en) A method and apparatus for autonomically regulating ratio of stateful to stateless transaction processing for increasing scalability in a network of SIP servers
JP2007004361A (ja) 負荷分散装置
WO2010127626A1 (fr) Procédé de connexion d'appel pour appel de mise en relation entre des réseaux et un système de courtier de service
CN100571164C (zh) 下一代网络系统中的客服终端系统
CN101227473B (zh) 用于多媒体通信系统的主控会议的系统及方法
WO2012174928A1 (fr) Procédé et système d'enregistrement pour conférence en cascade d'unité de commande multipoint
CN114598778A (zh) 会话构建方法、装置、会话系统及存储介质
CN102413196A (zh) 网络地址分配与管理方法及其系统
EP1909453B1 (fr) Manipulation distribuée de propriétés de télécommunication dans un système poste à poste hybride de points limite
WO2006116944A1 (fr) Procédé et système de transmission des données de supports d’un service de communication à parties multiples
CN101345767B (zh) 媒体服务器资源管理方法
WO2007082454A1 (fr) Procédé, système et terminal de communication pour la mise en oeuvre de communication à composants de multi-applications basée sur le protocole d'ouverture de session
CN120835053A (zh) 用于管理网络资源的方法及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07721113

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07721113

Country of ref document: EP

Kind code of ref document: A1