WO2016045383A1 - Procédé d'équilibrage de charge pour un module de traitement de service, et serveur média - Google Patents

Procédé d'équilibrage de charge pour un module de traitement de service, et serveur média Download PDF

Info

Publication number
WO2016045383A1
WO2016045383A1 PCT/CN2015/077694 CN2015077694W WO2016045383A1 WO 2016045383 A1 WO2016045383 A1 WO 2016045383A1 CN 2015077694 W CN2015077694 W CN 2015077694W WO 2016045383 A1 WO2016045383 A1 WO 2016045383A1
Authority
WO
WIPO (PCT)
Prior art keywords
service processing
processing module
user
signaling message
media server
Prior art date
Application number
PCT/CN2015/077694
Other languages
English (en)
Chinese (zh)
Inventor
张伟
张武雄
李德春
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016045383A1 publication Critical patent/WO2016045383A1/fr

Links

Images

Classifications

    • 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/40Support for services or applications

Definitions

  • This document relates to the field of communication technologies, and in particular, to a method and a media server for load balancing of a service processing module.
  • MS Media Server
  • DTMF Dual Tone Multi Frequency
  • SIP Session Initiation Protocol
  • MSML/MOML Media Server Markup Language/Media Object Markup Language
  • the application server App is responsible for the logic generation and management of various value-added services and intelligent services, and also provides a variety of open APIs (Application Programming Interfaces) to provide a creation platform for the development of third-party services.
  • the application server is a separate component, which has nothing to do with the softswitch of the control layer, thus separating the service from the call control and facilitating the introduction of new services.
  • the message distribution unit receives the sip signaling delivered by the APP and forwards the signaling to each module.
  • each service processing module (hereinafter referred to as CP) communication signaling interface parameters (IP, Port) are directly configured on the network management interface, and the MDU service node resolves the sip.
  • the header field callid information (user unique identifier), and converts it into integer data, and determines the signaling forwarding module by using the method of configuring the module after the digital modulus.
  • the above method is used to deal with signaling forwarding.
  • the following disadvantages are met: 1. If one of the sent ones is configured with an abnormal CP status, signaling will still be sent to the CP, causing call loss; 2.
  • the forwarded CP is determined by parsing the callid. If the callid is not generated according to a certain rule, the same CP will be forwarded in the centralized signaling, causing the call volume on the CP to be too large. When the user reaches the upper limit, the call loss will occur, and the session processing performance is significantly degraded.
  • the technical problem to be solved by the embodiments of the present invention is to provide a method for load balancing of a service processing module and a media server, which are used to solve the related signaling forwarding processing manner, because the state of the configured service processing module and the service processing module pair are not considered.
  • the forwarding situation of the user's service which affects the quality of the user's communication.
  • an embodiment of the present invention provides a method for load balancing a service processing module, including:
  • the first service processing module that is used to process the signaling message from the multiple service processing modules of the media server by using the load balancing algorithm includes:
  • a service processing module with the smallest user occupancy percentage is selected as the first service processing module for processing the signaling message.
  • the preset condition is that the service processing module is in a normal working state and the CPU (Central Processing Unit) occupancy is less than a preset value.
  • the CPU Central Processing Unit
  • the determining the percentage of user usage of each of the service processing modules includes:
  • the user usage percentage of each of the service processing modules is calculated according to the ratio of the currently used user amount to the total available user amount.
  • the method further includes:
  • Acquiring address information of the first service processing module where the address information includes an IP address and port number information of the first service processing module
  • the embodiment of the invention provides a media server, which includes multiple service processing modules, and further includes:
  • a message distribution unit configured to receive a signaling message
  • a selecting unit configured to select, by using a load balancing algorithm, a first service processing module for processing the signaling message from multiple service processing modules of the media server;
  • the message distribution unit is further configured to forward the signaling message to the first service processing module for forwarding processing.
  • the selecting unit includes:
  • Obtaining a sub-unit configured to obtain user quantity information of all service processing modules that satisfy a preset condition, where the user quantity information includes an available total user quantity of the service processing module and a quantity of users currently in use;
  • Calculating a subunit configured to determine a percentage of the user usage of each of the service processing modules
  • the sub-unit is selected to be a service processing module that selects the smallest user occupancy percentage as the first service processing module that processes the signaling message.
  • the preset condition is: the service processing module is in a normal working state, and the CPU usage is less than a preset value.
  • the calculating sub-unit calculates a percentage of user usage of each of the service processing modules according to a ratio of a currently used user amount to an available total user amount.
  • the media server further includes:
  • An obtaining unit configured to obtain address information of the first service processing module, where the address information includes an IP address and port number information of the first service processing module;
  • the message distribution unit is further configured to forward the signaling message to the first service processing module for forwarding processing according to the address information.
  • Embodiments of the present invention provide a computer readable storage medium storing computer executable instructions for performing the foregoing method for load balancing a service processing module.
  • the above solution solves the problem that the state of the service processing module is not considered and the forwarding condition of the service processing module to the user service is solved by using the load balancing algorithm to obtain a service processing module that is more suitable for signaling forwarding, thereby affecting the communication quality of the user.
  • the problem improves the overall fault tolerance of the media server, while improving the user experience.
  • Figure 1 shows a schematic diagram of a related signaling message forwarding process
  • Figure 2 is a general flow chart showing the method of the embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a signaling message forwarding process according to an embodiment of the present invention.
  • FIG. 4 is a timing diagram showing the processing of signaling message forwarding in the embodiment of the present invention.
  • the embodiment of the present invention provides a method for load balancing of a service processing module and a media server for not considering the state of the configured service processing module and the forwarding condition of the service processing module to the user service, thereby affecting the communication quality of the user.
  • an embodiment of the present invention provides a method for load balancing a service processing module, including:
  • Step 10 Receive a signaling message.
  • Step 20 Using a load balancing algorithm, selecting a first service processing module for processing the signaling message from multiple service processing modules of the media server;
  • Step 30 Forward the signaling message to the first service processing module for forwarding processing.
  • the state of the service processing module and the forwarding condition of the service processing module to the user service are considered, and the service processing module that is more suitable for signaling forwarding is obtained by using the load balancing algorithm to avoid The use of the original signaling forwarding method, the possible loss of communication.
  • the step 20 includes:
  • Step 21 Obtain user quantity information of all service processing modules that meet preset conditions, where the user quantity information includes an available total user quantity of the service processing module and a quantity of users currently in use;
  • the preset condition is: the service processing module is in a normal working state, and the CPU usage is less than a preset value;
  • Step 22 Determine a percentage of user usage of each of the service processing modules
  • Step 23 Select a service processing module with the smallest user occupancy percentage as the first service processing module that processes the signaling message.
  • the step 22 includes: calculating, according to a ratio of the currently used user amount to the total available user amount, a percentage of the user amount occupied by each of the service processing modules.
  • an information table of the service processing module is stored, and the information table mainly includes status information (normal working state, abnormal working state) and CPU usage of each service processing module.
  • the CPU usage is less than the given threshold.
  • the size of the threshold can be configured according to the actual situation. For example, if the CPU usage is less than 70%, the service processing module information is selected.
  • the list ensures that the signaling message can be processed, and avoids the problematic service processing module selected, delays the processing of the signaling message, and causes communication interruption;
  • the principle of large to small is to sort all the service processing modules that meet the preset conditions, and select the service processing module with the smallest user occupancy percentage from the sorted sequence, that is, the first service processing mode for processing the signaling message.
  • the block forwards the signaling message to the first service processing module to complete a corresponding communication process, which ensures the accuracy of the processing of the signaling message and ensures the communication success rate.
  • the address information of the first service processing module is also acquired, as the forwarding basis of the signaling message, where the address information includes the first service processing.
  • the IP address of the module and the port number information (this data needs to be extracted in the database), the signaling message is forwarded to the corresponding service processing module according to the address information, and the corresponding communication is completed.
  • the embodiment of the present invention provides two ways of obtaining the first service processing module:
  • Method 1 acquiring the first service processing module in real time (for example, performing periodic calculation selection in a period of 2 seconds), and storing the obtained address information of the first service processing module, and obtaining the obtained After the signaling message, only the stored address information of the first service processing module is extracted, and the signaling message is forwarded;
  • the second method provided by the embodiment of the present invention is: after receiving the signaling message, triggering the first service processing. Acquiring the address information of the module, and then forwarding the signaling message to the first service processing module. It should be noted that, in the second mode, when the signaling message is relatively small, the address information of the first service processing module is not always performed. The acquisition process saves power consumption. However, if there are a large number of signaling messages, the processing time of the signaling message may be delayed. Therefore, which method is selected needs to be set according to the actual device usage.
  • the service processing module that is idle is selected in the normal service processing module, and then the service processing module with the smallest user occupancy percentage is selected as the forwarding module of the signaling message in the service processing module. In this way, the misprocessing of signaling is avoided and the communication quality is improved.
  • the embodiment of the present invention further provides a media server, including multiple service processing modules, where the method further includes:
  • a message distribution unit configured to receive a signaling message
  • the message distribution unit is further configured to forward the signaling message to the first service processing module for forwarding processing.
  • the selecting unit includes:
  • Obtaining a sub-unit configured to obtain user quantity information of all service processing modules that satisfy a preset condition, where the user quantity information includes an available total user quantity of the service processing module and a quantity of users currently in use;
  • Calculating a subunit configured to determine a percentage of the user usage of each of the service processing modules
  • the sub-unit is selected to be a service processing module that selects the smallest user occupancy percentage as the first service processing module that processes the signaling message.
  • the preset condition is: the service processing module is in a normal working state, and the CPU usage is less than a preset value.
  • the calculating sub-unit calculates a percentage of user usage of each of the service processing modules according to a ratio of a currently used user amount to an available total user amount.
  • the media server further includes:
  • An obtaining unit configured to obtain address information of the first service processing module, where the address information includes an IP address and port number information of the first service processing module;
  • the message distribution unit is further configured to forward the signaling message to the first service processing module for forwarding processing according to the address information.
  • media server embodiment corresponds to the foregoing method, and all implementation manners of the foregoing methods are applicable to the media server embodiment, and can achieve the same technical effects as the foregoing method.
  • the message distribution unit in the media server acquires the processing center from a plurality of service processing modules managed by the module management unit (ie, the selection unit described above). The service processing module of the signaling message, and then the message distribution unit establishes a connection with the service processing module to send a signaling message.
  • Embodiments of the present invention provide a computer readable storage medium storing computer executable instructions.
  • the computer executable instructions are for performing the method of load balancing of the service processing module described above.
  • the media server processes a user call as an example, and the embodiment of the present invention is described in detail below.
  • the service processing module is a call module in the media server.
  • Module For the sake of simplicity, only two calls are included in this example. Module:
  • the application server (APP) establishes a connection with a message distribution unit (MDU), including:
  • the APP sends an invite message to the media server, and the MDU of the media server receives the sip message, and the session starts;
  • the module management unit (CpManage) statistics on the call module information including:
  • the MDU requests CpManage to apply for information of the call module forwarded by the current signaling
  • CpManage sorts the available call modules according to the user usage rate according to the load balancing algorithm (the threshold exceeds the given value and does not participate in the sorting), and selects the address information of the calling module whose user usage rate is small and the CPU usage is within a given threshold.
  • this example is calculated to select CP1;
  • CpManage returns information of the call module CP1 to be forwarded by the MDU to the MDU;
  • the MDU forwards the invite message to the CP1 for processing
  • CP1 returns a 200 OK message to the MDU
  • the MDU forwards the 200 OK message to the APP;
  • the APP sends an info (play) message to the media server;
  • the media server forwards the info (play) message to the CP1 through the MDU;
  • CP1 returns a 200 OK message to the MDU
  • the MDU forwards the 200 OK message to the APP for playback;
  • the APP sends a bye message to the media server
  • the media server forwards the bye message to the CP1 through the MDU;
  • CP1 returns a 200 OK message to the MDU
  • the MDU forwards the 200 OK message to the APP and the session ends.
  • the equalization algorithm obtains the call module for processing signaling, ensures the timeliness of the session processing, ensures the communication command, and improves the user experience.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the problem of affecting the communication quality of the user is solved because the state of the configured service processing module and the forwarding condition of the service processing module to the user service are not considered. In this way, the overall fault tolerance of the media server is improved, and the user experience is improved.

Landscapes

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

Abstract

L'invention concerne un procédé d'équilibrage de charge pour un module de traitement de service, et un serveur média. Le procédé comprend les étapes suivantes : recevoir un message de signalisation ; sélectionner, en utilisant un algorithme d'équilibrage de charge parmi de multiples modules de traitement de service d'un serveur média, un premier module de traitement de service utilisé pour traiter le message de signalisation ; et transmettre le message de signalisation au premier module de traitement de service pour le traitement. Grâce à ce système, un algorithme d'équilibrage de charge est utilisé pour obtenir un module de traitement de service approprié pour le transfert de signalisation, ce qui résout le problème selon lequel la qualité de communication d'utilisateur est affectée du fait que les états des modules de traitement de service sont déjà configurés et que les conditions de transfert des services d'utilisateur par les modules de traitement de service ne sont pas prises en compte, et par conséquent, la capacité globale de tolérance des anomalies d'un serveur média est augmentée, et l'expérience d'utilisateur est améliorée.
PCT/CN2015/077694 2014-09-22 2015-04-28 Procédé d'équilibrage de charge pour un module de traitement de service, et serveur média WO2016045383A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410486058.1 2014-09-22
CN201410486058.1A CN105450715A (zh) 2014-09-22 2014-09-22 一种业务处理模块负载均衡的方法及媒体服务器

Publications (1)

Publication Number Publication Date
WO2016045383A1 true WO2016045383A1 (fr) 2016-03-31

Family

ID=55560483

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/077694 WO2016045383A1 (fr) 2014-09-22 2015-04-28 Procédé d'équilibrage de charge pour un module de traitement de service, et serveur média

Country Status (2)

Country Link
CN (1) CN105450715A (fr)
WO (1) WO2016045383A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184611A (zh) * 2014-07-24 2014-12-03 华为技术有限公司 容灾站点、业务消息处理装置及方法

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110022580B (zh) * 2018-01-10 2021-05-11 中兴通讯股份有限公司 建立承载方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123527A (zh) * 2007-02-25 2008-02-13 华为技术有限公司 一种流媒体系统、信令转发设备以及流媒体发送方法
CN101695044A (zh) * 2009-09-29 2010-04-14 中兴通讯股份有限公司 一种流媒体服务节点及其负载均衡方法
EP2299643A1 (fr) * 2009-09-21 2011-03-23 Electronics and Telecommunications Research Institute Procédé d'équilibrage de charge de serveur et système de service média

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7912954B1 (en) * 2003-06-27 2011-03-22 Oesterreicher Richard T System and method for digital media server load balancing
CN101018318A (zh) * 2007-02-25 2007-08-15 华为技术有限公司 一种流媒体系统、信令转发设备以及流媒体发送方法
CN101039281B (zh) * 2007-05-16 2010-09-29 中兴通讯股份有限公司 一种流媒体服务器负荷分担方法
CN101431833B (zh) * 2008-12-16 2010-08-18 中兴通讯股份有限公司 会议加入方法、媒体服务控制装置及媒体服务控制服务器
US8675524B2 (en) * 2009-09-23 2014-03-18 At&T Intellectual Property I, L.P. Method and apparatus for dynamically allocating resources for large-scale multimedia conferences

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123527A (zh) * 2007-02-25 2008-02-13 华为技术有限公司 一种流媒体系统、信令转发设备以及流媒体发送方法
EP2299643A1 (fr) * 2009-09-21 2011-03-23 Electronics and Telecommunications Research Institute Procédé d'équilibrage de charge de serveur et système de service média
CN101695044A (zh) * 2009-09-29 2010-04-14 中兴通讯股份有限公司 一种流媒体服务节点及其负载均衡方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184611A (zh) * 2014-07-24 2014-12-03 华为技术有限公司 容灾站点、业务消息处理装置及方法

Also Published As

Publication number Publication date
CN105450715A (zh) 2016-03-30

Similar Documents

Publication Publication Date Title
CN108965776B (zh) 一种通信方法以及通信系统
US9246973B2 (en) Identifying and transitioning to an improved VoIP session
US8145770B2 (en) Devices, methods, and media for determining and assigning optimal media characteristics in communications sessions
US10757200B2 (en) System and method for managing conferencing in a distributed communication network
US9231840B2 (en) Optimizing the quality of audio within a teleconferencing session via an adaptive codec switching
US8812686B2 (en) Communications system and method
CN107277420A (zh) 一种视频通话实现方法及终端
CN110445723A (zh) 一种网络数据调度方法及边缘节点
CN108965782A (zh) 一种会议处理方法和装置
WO2016045383A1 (fr) Procédé d'équilibrage de charge pour un module de traitement de service, et serveur média
CN110177023A (zh) 一种基于视联网的通信连接检测方法及装置
CN110121049A (zh) 一种会议媒体流控制方法及装置
CN110475128A (zh) 一种视频转码方法、装置、电子设备和存储介质
US11997003B1 (en) Analysis of transmission characteristics in a voice-over-IP network
CN104205765B (zh) Hold通告配置
CN101325564B (zh) 一种虚拟媒体网关选择方法、装置及系统
US11102266B2 (en) Method and device for determining codec mode set for service communication
CN104301551A (zh) 一种音乐播放的方法和设备
Kamyod et al. IMS intra-and inter domain end-to-end resilience analysis
WO2016169319A1 (fr) Procédé, dispositif et système de déclenchement de service, et serveur multimédia
CN110324154A (zh) 一种视频会议的预约方法和装置
CN109039999B (zh) 全网络媒体播放方法、应用服务器、媒体服务器及系统
WO2019129359A1 (fr) Procédé, système et entité pour une session de transfert multimédia dans une infrastructure ims
WO2022160210A1 (fr) Procédé de transmission de flux de données de service, dispositif de communication et système de communication
Nagy et al. Performance analysis of IMS network: the proposal of new algorithms for S-CSCF assignment

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: 15844735

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: 15844735

Country of ref document: EP

Kind code of ref document: A1