CN105681266A - Communication cluster method and device for MMTel (MultiMedia Telephony) - Google Patents

Communication cluster method and device for MMTel (MultiMedia Telephony) Download PDF

Info

Publication number
CN105681266A
CN105681266A CN201410673695.XA CN201410673695A CN105681266A CN 105681266 A CN105681266 A CN 105681266A CN 201410673695 A CN201410673695 A CN 201410673695A CN 105681266 A CN105681266 A CN 105681266A
Authority
CN
China
Prior art keywords
server
address
request
response message
escape
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410673695.XA
Other languages
Chinese (zh)
Other versions
CN105681266B (en
Inventor
白琳
胡文辉
王钢
张慧芳
宁志刚
姚良超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Internet Co Ltd
Original Assignee
China Mobile Group Guangdong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Guangdong Co Ltd filed Critical China Mobile Group Guangdong Co Ltd
Priority to CN201410673695.XA priority Critical patent/CN105681266B/en
Publication of CN105681266A publication Critical patent/CN105681266A/en
Application granted granted Critical
Publication of CN105681266B publication Critical patent/CN105681266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a communication cluster method and device for MMTel (MultiMedia Telephony) applied to a WebRTC (Web Real-Time Communication) system. The method comprises the following steps of sending a request for distributing servers to LBs (Load Balancer); receiving response messages which are returned for the request from the LBs, wherein the response messages carry IP (Internet Protocol) addresses of the servers distributed by the LBs, and recording the IP addresses of the servers, which are carried in the response messages; and connecting to the corresponding server according to the recorded IP addresses of the servers and initiating a business request. According to the method, the excessive reliance on the LB can be effectively avoided, the condition that a client web app cannot work after the LB has a fault is avoided, so that the LB is no longer a system bottleneck, and meanwhile, the distribution capacity of load balancing is improved.

Description

The communication cluster method of a kind of mediaphone MMTel and device
Technical field
The present invention relates to Internet technical field, particularly relate to communication cluster method and the device of a kind of mediaphone MMTel.
Background technology
Growing along with Internet technology, the service content that the Internet provides also gets more and more, for being applied to the communication of the mediaphone MMTel of webpage real-time Communication for Power WebRTC system, typically require and multiple server is set service is provided simultaneously, namely server cluster process is carried out, to carry out load balancing, it is to avoid single server cannot provide the situation of service in time for multiple users, to improve service quality simultaneously.
Current load balancing is by providing a load equalizer LB (LoadBalancer) in the front end of each server, being assigned on each station server by user's connection request. Specifically including two kinds of methods, a kind of method is, client is connected to load equalizer, and after asking to obtain server ip address, load equalizer is according to one server of load balance scheduling algorithms selection, and this server ip address is returned to client; Client is connected to the server of correspondence, initiating business request according to the server ip address returned. But, this method needs to connect and just can carry out Business Processing twice, and treatment effeciency is relatively low, and owing to client need to be firstly connected to load equalizer, making load equalizer become the bottleneck of system, once it is not provided that service, whole system is all in unusable state.
Another kind of method is that client is connected to load equalizer initiating business request. Load equalizer is according to one server of load balance scheduling algorithms selection, and service request is transmitted to this server. After server process completes, returning result to load equalizer, load equalizer returns result to client again. Equally, in this method, load equalizer becomes the performance bottleneck of system, and all of request and response are required for forwarding through it. Once load equalizer is not provided that service, whole system is all in unusable state.
Summary of the invention
In order to overcome the deficiencies in the prior art, embodiments provide communication cluster method and the device of a kind of mediaphone MMTel.
In order to solve above-mentioned technical problem, the embodiment of the present invention adopts the following technical scheme that
An aspect according to the embodiment of the present invention, it is provided that the communication cluster method of a kind of mediaphone MMTel, is applied to webpage real-time Communication for Power WebRTC system, and described method includes: send the request for distribution server to load equalizer LB; Receive the described LB response message returned for described request, described response message carries the IP address of the server of LB distribution, records the IP address of the server carried in described response message; IP address according to the server recorded, is connected to the server of correspondence, initiating business request.
Wherein, described transmission to load equalizer LB includes for the request of distribution server: sending the request for distribution server to multiple LB, the plurality of LB is deployed in the circuit machine room of different operators; The response message that the described LB of described reception returns for described request, described response message carries the IP address of the server of LB distribution, the IP address recording the server carried in described response message includes: receive the plurality of LB response message returned for described request, the IP address of server entrained in the response message that record returns at first.
Wherein, described method also includes: after send the request for distribution server to LB, if do not meet with a response in Preset Time, then the IP address of the escape server pre-set according to this locality, the escape server initiating business request that IP address to described escape server is corresponding.
Wherein, described method also includes: after send the request for distribution server to LB, when not meeting with a response in Preset Time, if the escape server ip address that this locality pre-sets is sky, then the IP address of the server of previous record is saved as the IP address of escape server the server initiating business request corresponding to the IP address of the escape server after preservation.
Another aspect according to the embodiment of the present invention, additionally provide the communication Extension arrangement of a kind of mediaphone MMTel, being applied to webpage real-time Communication for Power WebRTC system, described device includes: the first sending module, for sending the request for distribution server to load equalizer LB; Receiver module, for receiving the described LB response message returned for described request, carries the IP address of the server of LB distribution, records the IP address of the server carried in described response message in described response message; Second sending module, for the IP address according to the server recorded, is connected to the server of correspondence, initiating business request.
Wherein, described first sending module includes: the first transmitting element, and for sending the request for distribution server to multiple LB, the plurality of LB is deployed in the circuit machine room of different operators; Described receiver module includes: receive unit, for receiving the plurality of LB response message returned for described request, the IP address of server entrained in the response message that record returns at first.
Wherein, described device also includes: the first Service Processing Module, for after send the request for distribution server to LB, if do not meet with a response in Preset Time, the IP address of the escape server then pre-set according to this locality, the escape server initiating business request that IP address to described escape server is corresponding.
Wherein, described device also includes: the second Service Processing Module, for after send the request for distribution server to LB, when not meeting with a response in Preset Time, if the IP address of the escape server that this locality pre-sets is sky, then the IP address of the server of previous record is saved as the IP address of escape server the server initiating business request corresponding to the IP address of the escape server after preservation.
The beneficial effect of the embodiment of the present invention: the method for the embodiment of the present invention can be prevented effectively from depending on unduly load equalizer LB, avoid just inoperable situation generation after LB breaks down, making LB is no longer system bottleneck, improves the distribution capability of load balancing simultaneously.
Accompanying drawing explanation
Fig. 1 is the flow chart of the communication cluster method of the mediaphone MMTel of the embodiment of the present invention;
Fig. 2 is the structural representation of the communication Extension arrangement of the mediaphone MMTel of the embodiment of the present invention.
Detailed description of the invention
For making the technical problem to be solved in the present invention, technical scheme and advantage clearly, it is described in detail below in conjunction with the accompanying drawings and the specific embodiments.
As it is shown in figure 1, be the flow chart of the communication cluster method of the mediaphone MMTel of the embodiment of the present invention, the method is applied to webpage real-time Communication for Power WebRTC system, and with reference to Fig. 1, the method comprises the steps:
Step 101, sends the request for distribution server to load equalizer LB.
Step 102, receives the described LB response message returned for described request, carries the IP address of the server of LB distribution, record the IP address of the server carried in described response message in described response message.
Specifically, LB according to load-balancing algorithm, selects a server, and this server ip address is returned to webapp after receiving the request of the client webapp described distribution server sent.
Step 103, the IP address according to the server recorded, it is connected to the server of correspondence, initiating business request.
In an embodiment of the present invention, it is possible to be prevented effectively from webapp depending on unduly LB, it is to avoid after LB breaks down, just inoperable situation occurs, and making LB is no longer system bottleneck, improves the distribution capability of load balancing simultaneously.
Further, the step 101 of the above embodiment of the present invention specifically includes: sending the request for distribution server to multiple LB, the plurality of LB is deployed in the circuit machine room of different operators. Should be noted that, in embodiments of the present invention, load balancing service all it is deployed with in each operator, and can be one or more LB circuit machine rooms being distributed in A operator, one or more LB distribution is at the circuit machine room of B operator, particular number is arranged can carry out corresponding configuration according to the concrete bearing capacity of operator and number of users, does not limit in embodiments of the present invention.
Further, the step 102 of the above embodiment of the present invention specifically includes: receive the plurality of LB response message returned for described request, the IP address of server entrained in the response message that record returns at first. Should be understood that, webapp when sending the request for distribution server to multiple LB being deployed in different operators circuit machine room, if the response message that the LB in A operator returns is the fastest, then show that network residing for webapp accesses the network speed of A operator fast, the network speed accessing B operator is slow, now webapp selects the IP address of server entrained in the response message that record returns at first, and the IP address choice of corresponding described server is deployed in the server of A operator as follow-up service supplier.
Further, the method of the embodiment of the present invention also includes: after send the request for distribution server to LB, if do not meet with a response in Preset Time, the IP address of the escape server then pre-set according to this locality, the escape server initiating business request that IP address to described escape server is corresponding.Should be understood that, this function pre-set is that webapp is when issuing, preset the IP address of escape server, and when not meeting with a response in the Preset Time after sending, to LB, the request being used for distribution server, enable escaping function, namely corresponding to the IP address of this escape server escape server initiating business request. Thus being prevented effectively from depending on unduly LB, it is to avoid after LB breaks down, just inoperable situation occurs, and making LB is no longer system bottleneck, improves the distribution capability of load balancing simultaneously.
Further, the method of the embodiment of the present invention also includes: after send the request for distribution server to LB, when not meeting with a response in Preset Time, if the IP address of the escape server that this locality pre-sets is sky, then the IP address of the server of previous record is saved as the IP address of escape server the server initiating business request corresponding to the IP address of the escape server after preservation. Thus the guide changing the LB that places one's entire reliance upon just can find the pattern of server.
In order to better implement above-mentioned purpose, as shown in Figure 2, embodiments provide the communication Extension arrangement of a kind of mediaphone MMTel, this device is applied to webpage real-time Communication for Power WebRTC system, described device 20 includes: the first sending module 21, receiver module 22 and the second sending module 23, wherein
First sending module 21, for sending the request for distribution server to load equalizer LB;
Receiver module 22, for receiving the described LB response message returned for described request, carries the IP address of the server of LB distribution, records the IP address of the server carried in described response message in described response message;
Second sending module 23, for the IP address according to the server recorded, is connected to the server of correspondence, initiating business request.
In an embodiment of the present invention, it is possible to be prevented effectively from depending on unduly LB, it is to avoid after LB breaks down, just inoperable situation occurs, and making LB is no longer system bottleneck, improves the distribution capability of load balancing simultaneously.
Further, described first sending module 21 includes: the first transmitting element, and for sending the request for distribution server to multiple LB, the plurality of LB is deployed in the circuit machine room of different operators; Described receiver module 22 includes: receive unit, for receiving the plurality of LB response message returned for described request, the IP address of server entrained in the response message that record returns at first.
Further, described device 20 also includes: the first Service Processing Module, for after send the request for distribution server to LB, if do not meet with a response in Preset Time, the IP address of the escape server then pre-set according to this locality, the escape server initiating business request that IP address to described escape server is corresponding.
Further, described device 20 also includes: the second Service Processing Module, for after send the request for distribution server to LB, when not meeting with a response in Preset Time, if the IP address of the escape server that this locality pre-sets is sky, then the IP address of the server of previous record is saved as the IP address of escape server the server initiating business request corresponding to the IP address of the escape server after preservation.
The above is the preferred embodiment of the present invention; it should be pointed out that, for those skilled in the art, under the premise without departing from principle of the present invention; can also making some improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (8)

1. a communication cluster method of mediaphone MMTel, is applied to webpage real-time Communication for Power WebRTC system, it is characterised in that described method includes:
The request for distribution server is sent to load equalizer LB;
Receive the described LB response message returned for described request, described response message carries the IP address of the server of LB distribution, records the IP address of the server carried in described response message;
IP address according to the server recorded, is connected to the server of correspondence, initiating business request.
2. communication cluster method according to claim 1, it is characterised in that described transmission to load equalizer LB includes for the request of distribution server:
Sending the request for distribution server to multiple LB, the plurality of LB is deployed in the circuit machine room of different operators;
The response message that the described LB of described reception returns for described request, carries the IP address of the server of LB distribution in described response message, the IP address recording the server carried in described response message includes:
Receive the plurality of LB response message returned for described request, the IP address of server entrained in the response message that record returns at first.
3. communication cluster method according to claim 2, it is characterised in that described method also includes:
After send the request for distribution server to LB, if do not meet with a response in Preset Time, then the IP address of the escape server pre-set according to this locality, the escape server initiating business request that IP address to described escape server is corresponding.
4. communication cluster method according to claim 3, it is characterised in that described method also includes:
After send the request for distribution server to LB, when not meeting with a response in Preset Time, if the IP address of the escape server that this locality pre-sets is sky, then the IP address of the server of previous record is saved as the IP address of escape server the server initiating business request corresponding to the IP address of the escape server after preservation.
5. a communication Extension arrangement of mediaphone MMTel, is applied to webpage real-time Communication for Power WebRTC system, it is characterised in that described device includes:
First sending module, for sending the request for distribution server to load equalizer LB;
Receiver module, for receiving the described LB response message returned for described request, carries the IP address of the server of LB distribution, records the IP address of the server carried in described response message in described response message;
Second sending module, for the IP address according to the server recorded, is connected to the server of correspondence, initiating business request.
6. communication Extension arrangement according to claim 5, it is characterised in that described first sending module includes:
First transmitting element, for sending the request for distribution server to multiple LB, the plurality of LB is deployed in the circuit machine room of different operators;
Described receiver module includes:
Receive unit, for receiving the plurality of LB response message returned for described request, the IP address of server entrained in the response message that record returns at first.
7. communication Extension arrangement according to claim 6, it is characterised in that described device also includes:
First Service Processing Module, for after send the request for distribution server to LB, if do not meet with a response in Preset Time, then the IP address of the escape server pre-set according to this locality, the escape server initiating business request that IP address to described escape server is corresponding.
8. communication Extension arrangement according to claim 7, it is characterised in that described device also includes:
Second Service Processing Module, for after send the request for distribution server to LB, when not meeting with a response in Preset Time, if the IP address of the escape server that this locality pre-sets is sky, then the IP address of the server of previous record is saved as the IP address of escape server the server initiating business request corresponding to the IP address of the escape server after preservation.
CN201410673695.XA 2014-11-20 2014-11-20 A kind of communication cluster method and device of mediaphone MMTel Active CN105681266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410673695.XA CN105681266B (en) 2014-11-20 2014-11-20 A kind of communication cluster method and device of mediaphone MMTel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410673695.XA CN105681266B (en) 2014-11-20 2014-11-20 A kind of communication cluster method and device of mediaphone MMTel

Publications (2)

Publication Number Publication Date
CN105681266A true CN105681266A (en) 2016-06-15
CN105681266B CN105681266B (en) 2018-12-07

Family

ID=56957514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410673695.XA Active CN105681266B (en) 2014-11-20 2014-11-20 A kind of communication cluster method and device of mediaphone MMTel

Country Status (1)

Country Link
CN (1) CN105681266B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107124417A (en) * 2017-05-03 2017-09-01 济南浪潮高新科技投资发展有限公司 MMTel application servers, conversational system and method based on Heterogeneous Computing
CN107493338A (en) * 2017-08-21 2017-12-19 南京慧水软件科技有限公司 A kind of concurrent access method suitable for hydrologic forecast information system
CN107979876A (en) * 2017-11-16 2018-05-01 广州市百果园网络科技有限公司 Data transmission method and terminal
CN113079504A (en) * 2021-03-23 2021-07-06 广州讯鸿网络技术有限公司 Method, device and system for realizing access of 5G message DM multi-load balancer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026589A (en) * 2007-04-05 2007-08-29 杭州华为三康技术有限公司 Route selecting method and router
CN101741907A (en) * 2009-12-23 2010-06-16 金蝶软件(中国)有限公司 Method and system for balancing server load and main server
US20140282054A1 (en) * 2013-03-15 2014-09-18 Avaya Inc. Compensating for user sensory impairment in web real-time communications (webrtc) interactive sessions, and related methods, systems, and computer-readable media

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026589A (en) * 2007-04-05 2007-08-29 杭州华为三康技术有限公司 Route selecting method and router
CN101741907A (en) * 2009-12-23 2010-06-16 金蝶软件(中国)有限公司 Method and system for balancing server load and main server
US20140282054A1 (en) * 2013-03-15 2014-09-18 Avaya Inc. Compensating for user sensory impairment in web real-time communications (webrtc) interactive sessions, and related methods, systems, and computer-readable media

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107124417A (en) * 2017-05-03 2017-09-01 济南浪潮高新科技投资发展有限公司 MMTel application servers, conversational system and method based on Heterogeneous Computing
CN107493338A (en) * 2017-08-21 2017-12-19 南京慧水软件科技有限公司 A kind of concurrent access method suitable for hydrologic forecast information system
CN107979876A (en) * 2017-11-16 2018-05-01 广州市百果园网络科技有限公司 Data transmission method and terminal
CN107979876B (en) * 2017-11-16 2022-01-07 广州市百果园网络科技有限公司 Data transmission method and terminal
CN113079504A (en) * 2021-03-23 2021-07-06 广州讯鸿网络技术有限公司 Method, device and system for realizing access of 5G message DM multi-load balancer

Also Published As

Publication number Publication date
CN105681266B (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN105159781B (en) Adjust the method, apparatus and intelligent terminal of intelligent terminal application network speed
EP3595325B1 (en) Method for realizing multicast and relevant network device
CN103825975B (en) Cdn node distribution server and system
CN102404229B (en) System, device and method for load balancing
CN105847381A (en) Scheduling method and device for content server
CN101815033A (en) Method, device and system for load balancing
JP5962943B2 (en) Method and apparatus for transmitting streaming media data
CN102845123A (en) Virtual private cloud connection method and tunnel proxy server
CN105119787B (en) A kind of public internet access system and method based on software definition
CN102625287A (en) Method for downloading mobile phone application software
CN103379184A (en) Network service access method and system
CN105681266A (en) Communication cluster method and device for MMTel (MultiMedia Telephony)
CN104980368A (en) Bandwidth guarantee method and apparatus in software defined network (SDN)
US20190166223A1 (en) Content delivery network (cdn) for uploading, caching and delivering user content
CN106789956B (en) A kind of P2P order method and system based on HLS
CN104639497A (en) Remote access configuration method, remote access method, remote access configuration device, remote access device and remote access system
EP3066575B1 (en) Server network address selection based on network characteristics of service providers
CN101808107B (en) Storage device and user communication method, device and system
CN106302230A (en) A kind of data transmission method and device
CN102970391B (en) Inquiry of the domain name processing method, server and system
CN105357260B (en) Realize system, VDI data cache method and the VDI buffer memory device of virtual desktop
CN108259605B (en) Data calling system and method based on multiple data centers
CN103475626A (en) Method, equipment and system used for resource requesting
CN103401954A (en) Implementation method of virtual DHCP (dynamic host configuration protocol)
CN108092919A (en) A kind of method and system of dynamically distributes terminal device flow

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190625

Address after: 510000 Tianhe District, Guangzhou City, Guangdong Province, 333 Gaotang Road, self-compiled 1-1

Co-patentee after: CHINA MOBILE COMMUNICATIONS GROUP Co.,Ltd.

Patentee after: CHINA MOBILE INTERNET Co.,Ltd.

Address before: 510000 Tianhe District, Guangzhou City, Guangdong Province, 333 Gaotang Road, self-compiled 1-1

Patentee before: CHINA MOBILE INTERNET Co.,Ltd.

Effective date of registration: 20190625

Address after: 510000 Tianhe District, Guangzhou City, Guangdong Province, 333 Gaotang Road, self-compiled 1-1

Patentee after: CHINA MOBILE INTERNET Co.,Ltd.

Address before: 510623 13th Floor, Guangdong Global Building, 11 Zhujiang West Road, Zhujiang New Town, Guangzhou City, Guangdong Province

Patentee before: CHINA MOBILE GROUP GUANGDONG Co.,Ltd.