CN102571800A - System and method for integrating media server and client - Google Patents

System and method for integrating media server and client Download PDF

Info

Publication number
CN102571800A
CN102571800A CN2012100141104A CN201210014110A CN102571800A CN 102571800 A CN102571800 A CN 102571800A CN 2012100141104 A CN2012100141104 A CN 2012100141104A CN 201210014110 A CN201210014110 A CN 201210014110A CN 102571800 A CN102571800 A CN 102571800A
Authority
CN
China
Prior art keywords
server
client
media
media server
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.)
Pending
Application number
CN2012100141104A
Other languages
Chinese (zh)
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.)
SHENZHEN LEWEI TECHNOLOGY DEVELOPMENT Co Ltd
Original Assignee
SHENZHEN LEWEI TECHNOLOGY DEVELOPMENT 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 SHENZHEN LEWEI TECHNOLOGY DEVELOPMENT Co Ltd filed Critical SHENZHEN LEWEI TECHNOLOGY DEVELOPMENT Co Ltd
Priority to CN2012100141104A priority Critical patent/CN102571800A/en
Publication of CN102571800A publication Critical patent/CN102571800A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a system for integrating a media server and a client. The integration of the media server and the client is realized on the basis of an extensible markup language (XML)-based messaging and presence protocol (XMPP). The system comprises a control server and an intermediate server, wherein the control server acquires the related information of the media server and the intermediate server, and synchronizes the information of the media server to the intermediate server; the intermediate server is connected with the control server, synchronizes the information of the media server, performs load balancing on the media server, and transmits the address and a port of the media server to the client; and the client is connected with the media server through the address and port of the media server, thereby acquiring various kinds of media function service from the media server. By the technical scheme, the function iteration of the media server is realized, and the requirements of high load and high concurrency of the media server are met.

Description

The system and method for a kind of integrated medium server and client
Technical field
The present invention relates to the media server field, relate in particular to the system and method for a kind of integrated medium server and client.
Background technology
With during media server is communicated by letter, XMPP provides basic instant messaging (Instant Messenger, i.e. IM) service in client; Wherein, XMPP is for can expand communication and presentation protocol, and it can be used for service class real-time communication, expression and demand, the XML data element stream transmission in the respond services; XML is an extend markup language, is used for the electroactive marker subfile and makes it have structural SGML, can be used for flag data, definition of data type, the original language that to be a kind of user of permission define oneself SGML.Concerning based on the system of IM,, just need also promptly carry out the more function iteration for client provides more multimedia service to multimedia server in order to satisfy the demand of more users.Client realizes the function of media server, all is based on HTTP basically and carries out upload file and file in download.
At present, most of media server system all is to be configured in client, and client realizes multimedia message function according to the address and the port of the media server of configuration.But the method for this integrated medium server and client has following deficiency: at first, the deployment of media server address is inconvenient.Because the address of media server has been configured to client, can use so must guarantee this address; Secondly, the media server end will realize that high capacity is concurrent greatly, carries out load balancing with regard to utilizing the load system of increasing income, and can not realize the iteratively faster of media server function; Provide the utilance of Service Source low by media server.
Summary of the invention
To above-mentioned technical problem, the object of the present invention is to provide the system and method for a kind of integrated medium server and client, it has realized the multi-purpose iteration of multimedia server based on the quick integration of XMPP agreement realization media server and client.
For achieving the above object, the present invention realizes through following technical scheme:
The system of a kind of integrated medium server and client, based on the integration of XMPP agreement realization media server and client, said system comprises: Control Server and intermediate server; Said Control Server obtains the relevant information of media server and intermediate server, and with the information synchronization of media server to intermediate server; Said intermediate server is connected with Control Server, the information of synchronized multimedia server, media server is carried out load balancing, and issues the address and the port of media server to client.
Special, the relevant information of said media server and intermediate server comprises: the log-on message of media server and intermediate server and the information of heartbeat detection.
Special, said Control Server also comprises: accomplish registration and heartbeat detection to media server and intermediate server.
Special, said Control Server also comprises: the port from intermediate server to client and the address that issue.
Special, said intermediate server is the IM server.
The invention also discloses the method for a kind of integrated medium server and client, comprise the steps:
A, Control Server obtain the relevant information of media server and intermediate server, and the information synchronization of media server is arrived intermediate server;
The information of B, intermediate server synchronized multimedia server is carried out load balancing to media server then;
C, intermediate server issue the address and the port of media server to client.
Special, said steps A specifically comprises:
A1, Control Server are accomplished registration and heartbeat detection to media server and intermediate server;
A2, Control Server arrive intermediate server with the information synchronization of media server; And issue the port and the address of intermediate server to client.
Special, said intermediate server is the IM server.
Beneficial effect of the present invention does; The system and method for said a kind of integrated medium server and client; Realize the integration of media server and client based on the XMPP agreement; Control Server is according to the log-on message of media server and intermediate server and the information of heartbeat detection, with the information synchronization of media server to intermediate server; The information of intermediate server synchronized multimedia server, and media server carried out load balancing, issue the address and the port of media server then to client, thereby client obtains media function.The present invention can accomplish the integration of media server and client rapidly, has realized the multi-purpose iteration of multimedia server, has satisfied the big concurrent requirement of media server high capacity.
Description of drawings
According to accompanying drawing and embodiment the present invention is done further explain below.
Fig. 1 is the system block diagram of integrated medium server of the present invention and client;
Fig. 2 is the method flow diagram of integrated medium server of the present invention and client.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is described further.Please with reference to shown in Figure 1, Fig. 1 is the system block diagram of integrated medium server of the present invention and client.
In the present embodiment, the system of a kind of integrated medium server and client comprises: Control Server and IM server.
Said Control Server is accomplished registration and the heartbeat detection to media server and IM server, and the information synchronization of media server is arrived the IM server.
Media server and IM server all need be registered to Control Server, and Control Server can carry out heartbeat detection to media server and IM server at set intervals; When the IM server is registered or the result of IM server heartbeat detection is IM server when in proper working order to Control Server, Control Server can be with the information synchronization of media server to the IM server.
When Control Server receives client when sending the services request data, Control Server will return to client to address of IM server and port.Wherein, said heartbeat detection mainly is when between service end and client, carrying out communication, can detect at set intervals be connected with main website whether normal; Client was sent out a heartbeat detection Frame in per 5 minutes, and service end receives Frame to be represented to pass through, otherwise the disconnection of expression client, it is unusual to dish out.
Said IM server is connected with Control Server, the information of synchronized multimedia server, media server is carried out load balancing, and issues the address and the port of media server to client; Client is connected media server according to the address of the media server that receives with port, thereby obtains the media services function.
The IM server is according to the services request data message of client, and the address and the port of media server sent to client, accomplishes communicating by letter between client and the media server.Said load balancing; Be called load balancing again; Be that load (task) is carried out balance, shared on a plurality of operating units and carry out, for example Web server, ftp server, enterprise's key application server and other mission critical server etc., thus finish the work task jointly.
The present invention is when practical application, and the concrete course of work that the realization picture is uploaded and downloaded is following:
1) start-up control server, IM server and media server.
2) media server is connected to Control Server through the port and the address of configuration.
3) the IM server is connected to Control Server through the port and the address of configuration, and Control Server to the IM server, carries out load balancing by the IM server with all media server information synchronization.
4) client is connected to Control Server through configured port and address, and Control Server carries out load balancing to the IM server cluster, returns an IM server address and port.
5) client connects the IM server, carries out login process.According to service discovery protocol, this moment, client knew that the IM server can provide the media services function.
6) client is sent the detail parameters of media function once more, and is routed to media server, and client is communicated with media server.
7) to select a pictures, send to another client.If another client is online, then can downloads this picture immediately, and Show Picture.If not online, when this client login, this message can issue as deferred information, and can download this picture, and Shows Picture so.
Please with reference to shown in Figure 2, Fig. 2 is the method flow diagram of integrated medium server of the present invention and client.
In the present embodiment, the method for a kind of integrated medium server and client, based on the integration of XMPP agreement realization media server and client, said method comprises the steps:
Step 101, Control Server are registered and heartbeat detection media server and IM server, and the log-on message of medium server and IM server and heartbeat detection information.Media server and IM server all need be registered to Control Server, and Control Server can carry out heartbeat detection to media server and IM server at set intervals; Wherein, said heartbeat detection mainly is when between service end and client, carrying out communication, can detect at set intervals be connected with main website whether normal; Client was sent out a heartbeat detection Frame in per 5 minutes, and service end receives Frame to be represented to pass through, otherwise the disconnection of expression client, it is unusual to dish out.
Step 102, Control Server be according to the log-on message and the heartbeat detection information of media server and IM server, with the information synchronization of media server to the IM server.When the IM server is registered or the result of IM server heartbeat detection is IM server when in proper working order to Control Server, Control Server can be with the information synchronization of media server to the IM server.
Step 103, when Control Server receives client when sending the media function request, Control Server issues the port and the address of IM server to client.
The information of step 104, IM server sync media server, and media server carried out load balancing.Said load balancing; Be called load balancing again; Be that load (task) is carried out balance, shared on a plurality of operating units and carry out, for example Web server, ftp server, enterprise's key application server and other mission critical server etc., thus finish the work task jointly.
Step 105, according to the media function solicited message of client, the IM server sends to client with the address and the port of media server.
The address and the port of the media server that step 106, client issue according to the IM server are connected to media server; The services request data that media server imports into according to client are sent corresponding service data to client.
Said technical scheme of the present invention, Control Server be according to the log-on message of media server and IM server and the information of heartbeat detection, with the information synchronization of media server to the IM server; The information of IM server sync media server, and media server carried out load balancing, issue the address and the port of media server then to client, thereby client obtains media function.The present invention has realized the multi-purpose iteration of multimedia server, has satisfied the big concurrent requirement of media server high capacity; Utilize the protocol extension of XMPP itself to realize multimedia function, can realize upward-compatible fully.
Above-mentioned preferred embodiment of the present invention and the institute's application technology principle of being merely, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses, and the variation that can expect easily or replacement all should be encompassed in protection scope of the present invention.

Claims (8)

1. the system of integrated medium server and client is characterized in that, realizes the integration of media server and client based on the XMPP agreement, and said system comprises: Control Server and intermediate server; Said Control Server obtains the relevant information of media server and intermediate server, and with the information synchronization of media server to intermediate server; Said intermediate server is connected with Control Server, the information of synchronized multimedia server, media server is carried out load balancing, and issues the address and the port of media server to client.
2. the system of integrated medium server according to claim 1 and client is characterized in that, the relevant information of said media server and intermediate server comprises: the log-on message of media server and intermediate server and the information of heartbeat detection.
3. the system of integrated medium server according to claim 2 and client is characterized in that, said Control Server also comprises: accomplish registration and heartbeat detection to media server and intermediate server.
4. the system of integrated medium server according to claim 3 and client is characterized in that, said Control Server also comprises: the port from intermediate server to client and the address that issue.
5. according to the system of described integrated medium server of one of claim 1 to 4 and client, it is characterized in that said intermediate server is the IM server.
6. the method for integrated medium server and client is characterized in that, comprises the steps:
A, Control Server obtain the relevant information of media server and intermediate server, and the information synchronization of media server is arrived intermediate server;
The information of B, intermediate server synchronized multimedia server is carried out load balancing to media server then;
C, intermediate server issue the address and the port of media server to client.
7. the method for integrated medium server according to claim 6 and client is characterized in that, said steps A specifically comprises:
A1, Control Server are accomplished registration and heartbeat detection to media server and intermediate server;
A2, Control Server arrive intermediate server with the information synchronization of media server; And issue the port and the address of intermediate server to client.
8. according to the method for described integrated medium server of one of claim 6 to 7 and client, it is characterized in that said intermediate server is the IM server.
CN2012100141104A 2012-01-17 2012-01-17 System and method for integrating media server and client Pending CN102571800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100141104A CN102571800A (en) 2012-01-17 2012-01-17 System and method for integrating media server and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100141104A CN102571800A (en) 2012-01-17 2012-01-17 System and method for integrating media server and client

Publications (1)

Publication Number Publication Date
CN102571800A true CN102571800A (en) 2012-07-11

Family

ID=46416275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100141104A Pending CN102571800A (en) 2012-01-17 2012-01-17 System and method for integrating media server and client

Country Status (1)

Country Link
CN (1) CN102571800A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874264A (en) * 2006-01-05 2006-12-06 华为技术有限公司 Method for implementing backup for user's home server, and IP multimedia network
CN1946058A (en) * 2006-10-28 2007-04-11 武汉市中光通信公司 Soft exchange device allopatric disaster recovery solution system and its method for software exchange network
CN101009687A (en) * 2006-01-25 2007-08-01 北京六合万通微电子技术有限公司 Method for the automatic device discovery in the wireless interconnection
CN101039281A (en) * 2007-05-16 2007-09-19 中兴通讯股份有限公司 Method for sharing load of stream media server
CN101207550A (en) * 2007-03-16 2008-06-25 中国科学技术大学 Load balancing system and method for multi business to implement load balancing
CN101510899A (en) * 2009-04-08 2009-08-19 华为技术有限公司 Method, system and equipment for implementing content source selection
CN101729909A (en) * 2008-10-23 2010-06-09 华为技术有限公司 Streaming media business processing method, device and system
CN102291243A (en) * 2011-09-09 2011-12-21 中兴通讯股份有限公司 Service processing server, system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874264A (en) * 2006-01-05 2006-12-06 华为技术有限公司 Method for implementing backup for user's home server, and IP multimedia network
CN101009687A (en) * 2006-01-25 2007-08-01 北京六合万通微电子技术有限公司 Method for the automatic device discovery in the wireless interconnection
CN1946058A (en) * 2006-10-28 2007-04-11 武汉市中光通信公司 Soft exchange device allopatric disaster recovery solution system and its method for software exchange network
CN101207550A (en) * 2007-03-16 2008-06-25 中国科学技术大学 Load balancing system and method for multi business to implement load balancing
CN101039281A (en) * 2007-05-16 2007-09-19 中兴通讯股份有限公司 Method for sharing load of stream media server
CN101729909A (en) * 2008-10-23 2010-06-09 华为技术有限公司 Streaming media business processing method, device and system
CN101510899A (en) * 2009-04-08 2009-08-19 华为技术有限公司 Method, system and equipment for implementing content source selection
CN102291243A (en) * 2011-09-09 2011-12-21 中兴通讯股份有限公司 Service processing server, system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHANG-SEOK OH 等: "An Integrated Approach for Efficient Routing and Service Discovery in Mobile Ad Hoc Networks", 《 CONSUMER COMMUNICATION AND NETWORKING CONFERENCE,CCNC.2005 SECOND IEEE》 *
王珊: "VOD系统应用服务器并发控制与负载均衡调度研究", 《万方学位论文数据库》 *

Similar Documents

Publication Publication Date Title
US10367852B2 (en) Multiplexed demand signaled distributed messaging
US9912538B2 (en) Synchronization of configuration file of virtual application distribution chassis
CN102255934B (en) Cloud service dissemination method and cloud service intermediary
CN103069755B (en) Use the method and system that the instant message of multiple client instance transmits
CN106850788A (en) Towards the integrated framework and integrated approach of multi-source heterogeneous geographic information resources
CN107241374B (en) Load balancing system, load balancing device and topology management method
CN109862051A (en) The realization method and system of multi-tenant under a kind of micro services framework
CN104199723B (en) Camera mapping method based on virtual equipment
CN104539510B (en) A kind of information transmission system and method based on multi-protocols
CN108712457A (en) Back-end server dynamic load method of adjustment and device based on Nginx reverse proxys
CN106230922A (en) A kind of news subscribing method, message production unit and message reception units
CN102438027A (en) System and method for expanding extensible messaging and presence protocol (XMPP) server open platform
CN107566492A (en) A kind of implementation method of web terminal message push
WO2009086199A3 (en) Method and system for managing the reception of messages in a communication network
CN102594859B (en) A kind of rendering method of business datum, terminal, server and system
CN101599921A (en) A kind of enterprise instant communication system and document transmission method thereof
CN104378419A (en) High-speed data push method and system
CN107659491A (en) A kind of Group file sharing method and system based on instant messaging
CN111427703A (en) Industrial data real-time display method and system
CN106657360A (en) Synchronization method and system for NIS servers under Linux system
CN103533001A (en) Communication method and communication system based on HTTP multi-proxy, and intermediate proxy server
CN102571800A (en) System and method for integrating media server and client
CN102129361B (en) Centralized display system and method for multi-split pictures
CN102571799A (en) System and method for realizing extension of server
CN103532827A (en) System and method for realizing address book function by extending XMPP (Extensible Messaging and Presence Protocol)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120711