CN105429964A - Resource control and distribution method of media server - Google Patents
Resource control and distribution method of media server Download PDFInfo
- Publication number
- CN105429964A CN105429964A CN201510741300.XA CN201510741300A CN105429964A CN 105429964 A CN105429964 A CN 105429964A CN 201510741300 A CN201510741300 A CN 201510741300A CN 105429964 A CN105429964 A CN 105429964A
- Authority
- CN
- China
- Prior art keywords
- resource
- media
- media resource
- controlled block
- video
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1101—Session protocols
- H04L65/1104—Session initiation protocol [SIP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/72—Admission control; Resource allocation using reservation actions during connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/82—Miscellaneous aspects
- H04L47/827—Aggregation of resource allocation or reservation requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2385—Channel allocation; Bandwidth allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
- H04N21/6437—Real-time Transport Protocol [RTP]
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a resource control and distribution method of a media server. A resource control module receives an INVITE message with SDP information from an external application server; the resource control module parses the signaling message INVITE to obtain media resource application types, the logic resource quantities needed by different media types are calculated, the resource control module determines whether the available media resource quantity limited by residual media resource in a media resource pool satisfies the media resource quantity requested in the time, if yes, the media resource quantity requested in the time is subtracted from the media resource pool, and if no, a message of media resource application error is sent to the application server, and resource distribution is ended; the resource control module sends a media channel creating instruction to the resource processing module; and if resource distribution succeeds, the media resource application is completed, and if resource distribution fails, the failure media resource number is returned to the media resource pool, namely, the idle logical value of the media resource pool is increased.
Description
Technical field
The present invention relates to media processing techniques field, particularly relate to a kind of media resource and control distribution method.
Background technology
Along with the development of voice value-added service, all kinds of multimedia business emerges in an endless stream, and media server is complied with this demand just and is born.Media server provides playback, recording, voice conferencing, the automatic recognition of speech, video communication, video conference etc.Media server normally controls by soft switch or application server, application server according to the business configured to media server transmit operation signaling, the request of different media types is carry in INVITE, as long as media server can meet this request, with regard to allocation medium resource, and return to application server and be allocated successfully.Such flow process is simple, is beneficial to functional realiey, but when the parallel work-flow of media resource, can produce because the request of multitude of video media resource, cause audio resource to distribute; Illustrate in power private network communication, voice call is most important, i.e. the preferential speech business ensured, such as, when two users converse, wherein a side is kept, and not so being kept person will listen holding tone.If because a HD video meeting, take all resources of media server, in system, important playback business cannot realize in other.In sum, how preferentially to ensure speech business, become the problem that media server is in the urgent need to address.
Summary of the invention
Object of the present invention will solve the out of contior problem of media server resources exactly, can reserve resource when realizing Resourse Distribute for the audio service taking resource still important less, ensures the normal use of audio service.
For solving the problem, the invention provides a kind of media resource and controlling distribution method.Media resource application process comprises the following steps:
1. media server resources controls a distribution method, and described media server comprises resource controlled block and resource processing module, it is characterized in that comprising the following steps:
A. resource controlled block receives the INVITE carrying SDP information that external application servers is sent;
B. resource controlled block is resolved signaling message INVITE, parses media resource applying type; And calculate logical resource quantity needed for different media types; Resource controlled block judges to remain in media resource pond the media resource quantity whether available media assets quantity that media resource limits is more than or equal to this request, if, from media resource pond, then deduct the media resource quantity of this request, proceed to step C; If not, then send the message of media resource application mistake to application server, ending resource distributes;
C. resource controlled block is according to the medium type carried in SDP information, sends create media channel instruction to resource processing module;
D. resource processing module performs the media channel establishment instruction that resource controlled block sends, and returns to resource controlled block success and carry establishment passage ID;
E. resource controlled block receives the Resourse Distribute acknowledge message that resource processing module returns, if Resourse Distribute success, then completes media resource application; If Resourse Distribute failure, then return to media resource pond by the media resource number of failure again, namely idle media resource pond logical value increases.
Wherein, the medium type in described step B has two kinds: audio types and video type; Wherein, the corresponding audio resource of audio types, the corresponding video resource of video type.
Wherein, the media resource pond in described step B, when being system initialization, the media resource hardware quantity configured according to whole system by resource controlled block, the media resource logical value of the free time that unified quantization is also set up.
Wherein, in step B, limiting available media assets quantity is the media resource logic threshold values set according to actual conditions, if remaining available media assets quantity is lower than this threshold values, resource controlled block will reject the request of HD video or ordinary video.
Wherein, described media resource logic value definition is using audio resource logical value as unit, and an audio resource takies a logical resource, and video resource logical value is different according to the difference of video format.
The technology of the present invention has the following advantages:
Present invention achieves user can according to actual operation requirements and media resource quantity, and configuration media server reserves least resource threshold values, when effectively solution audio frequency and video media request carries out simultaneously, preferentially ensures audio service.
Accompanying drawing explanation
Fig. 1 is the application scenarios schematic diagram that media server resources of the present invention controls the embodiment of distribution method.
Fig. 2 is the schematic flow sheet that media server resources of the present invention controls the embodiment of distribution method.
Fig. 3 is the media resource Shen schematic flow sheet that media server resources of the present invention controls distribution method.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.
Media server is the visual plant in NGN and IMS network, and it under the control of AS, can provide and realize audio frequency, video, the media resource function needed for the business such as meeting.
As shown in Figure 1, a kind of application scenarios of media server, by media server, AS application server and multiple audio-video terminal composition; Wherein audio-video terminal possesses audio frequency, coding and decoding video function, and audio frequency, the video data of energy Real-time Collection user send to media server, also mixed for media server video image can be presented in terminal.In the present invention, between media server and application server, adopt Session Initiation Protocol, between media server and terminal, adopt RTP to carry out the transmission of sound, video data.Media server receives and resolves the SIP signaling of application server, to audio frequency, video media stream control and management.
Fig. 2 is the flow chart that a kind of media resource of the present invention controls an embodiment of distribution method.The method comprises concrete steps:
A. resource controlled block receives the INVITE carrying SDP information that external application servers is sent;
B. resource controlled block is resolved signaling message INVITE, parses media resource applying type; And calculate logical resource quantity needed for different media types; Resource controlled block judges to remain in media resource pond the media resource quantity whether available media assets quantity that media resource limits is more than or equal to this request, if, from media resource pond, then deduct the media resource quantity of this request, proceed to step C; If not, then send the message of media resource application mistake to application server, ending resource distributes;
C. resource controlled block is according to the medium type carried in SDP information, sends create media channel instruction to resource processing module;
D. resource processing module performs the media channel establishment instruction that resource controlled block sends, and returns to resource controlled block success and carry establishment passage ID;
E. resource controlled block receives the Resourse Distribute acknowledge message that resource processing module returns, if Resourse Distribute success, then completes media resource application; If Resourse Distribute failure, then return to media resource pond by the media resource number of failure again, namely idle media resource pond logical value increases;
Media server in Fig. 2 is mainly divided into resource controlled block and resource processing module.Resource controlled block is responsible for carrying out Signalling exchange with external application servers, and is undertaken alternately by internal communication protocol and resource processing module; Resource process module in charge calls corresponding api function and realizes media resource use.
Logical resource definition is using audio resource logical value as unit, an audio resource takies a logical resource, video resource logical value is different according to the difference of video format, CIF coded format takies 30 unit resource, 720P coded format takies 150 unit resource, and 1080p coded format takies 360 unit resource; Resource controlled block receives the Resourse Distribute success message that resource processing module returns, and parses the resource logic value be allocated successfully, then deduct from media resource pond from success message, and namely idle media resource pond logical value reduces; If terminal terminates this business, namely resource is finished using, and so resource controlled block wants Resource recovery, and namely the free logical resource numerical value in logical resource pond increases.
Fig. 3 is the particular flow sheet that a kind of media resource of the present invention controls the resource bid of distribution method.The method comprises:
Step 301, the resource controlled block of media server receives the sip message that external application servers AS sends, and the content that sip message comprises is media resource application;
Step 302, resource controlled block calls MSML parsing storehouse and parses medium type, then converts this medium type applied for institute media resource logical value a;
Step 303, resource controlled block calling system function G et_System_Resource_Poll, obtains remaining idling-resource logical value b in system media resource pool;
In application resource requirement logical value a and resource pool, remaining idling-resource logical value b compares, if a is less than or equal to b, so this time application is passed through, execution step 304: resource controlled block to send a request message end to resource processing module; Otherwise perform step 305: resource controlled block responds failures in resource application message to application server device.
Claims (5)
1. media server resources controls a distribution method, and described media server comprises resource controlled block and resource processing module, it is characterized in that comprising the following steps:
A. resource controlled block receives the INVITE carrying SDP information that external application servers is sent;
B. resource controlled block is resolved signaling message INVITE, parses media resource applying type; And calculate logical resource quantity needed for different media types; Resource controlled block judges to remain in media resource pond the media resource quantity whether available media assets quantity that media resource limits is more than or equal to this request, if, from media resource pond, then deduct the media resource quantity of this request, proceed to step C; If not, then send the message of media resource application mistake to application server, ending resource distributes;
C. resource controlled block is according to the medium type carried in SDP information, sends create media channel instruction to resource processing module;
D. resource processing module performs the media channel establishment instruction that resource controlled block sends, and returns to resource controlled block success and carry establishment passage ID;
E. resource controlled block receives the Resourse Distribute acknowledge message that resource processing module returns, if Resourse Distribute success, then completes media resource application; If Resourse Distribute failure, then return to media resource pond by the media resource number of failure again, namely idle media resource pond logical value increases.
2. a kind of media server resources according to claim 1 controls distribution method, and it is characterized in that, the medium type in described step B has two kinds: audio types and video type; Wherein, the corresponding audio resource of audio types, the corresponding video resource of video type.
3. a kind of media server resources according to claim 1 controls distribution method, it is characterized in that, media resource pond in described step B, when being system initialization, the media resource hardware quantity configured according to whole system by resource controlled block, the media resource logical value of the free time that unified quantization is also set up.
4. a kind of media server resources according to claim 1 controls distribution method, it is characterized in that, in step B, limiting available media assets quantity is the media resource logic threshold values set according to actual conditions, if remaining available media assets quantity is lower than this threshold values, resource controlled block will reject the request of HD video or ordinary video.
5. a kind of media server resources according to claim 3 controls distribution method, it is characterized in that, described media resource logic value definition is using audio resource logical value as unit, an audio resource takies a logical resource, and video resource logical value is different according to the difference of video format.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510741300.XA CN105429964B (en) | 2015-11-05 | 2015-11-05 | A kind of media server resources control distribution method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510741300.XA CN105429964B (en) | 2015-11-05 | 2015-11-05 | A kind of media server resources control distribution method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105429964A true CN105429964A (en) | 2016-03-23 |
CN105429964B CN105429964B (en) | 2019-03-22 |
Family
ID=55507906
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510741300.XA Active CN105429964B (en) | 2015-11-05 | 2015-11-05 | A kind of media server resources control distribution method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105429964B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107317825A (en) * | 2017-08-09 | 2017-11-03 | 贵阳朗玛信息技术股份有限公司 | Multi-person speech meeting chat method and device |
CN112153411A (en) * | 2020-08-18 | 2020-12-29 | 南斗六星系统集成有限公司 | Method and system for improving performance of chat room streaming media server |
CN113473183A (en) * | 2021-06-29 | 2021-10-01 | 华夏城视网络电视股份有限公司 | Dynamic and static media stream batch processing method applied to fusion media |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101018362A (en) * | 2007-02-06 | 2007-08-15 | 北京邮电大学 | A media access control method based on the OFDMA technology |
CN101442789A (en) * | 2008-12-23 | 2009-05-27 | 中国移动通信集团北京有限公司 | Access control method and apparatus of mobile communication system layered network |
CN102025971A (en) * | 2010-12-15 | 2011-04-20 | 广东威创视讯科技股份有限公司 | Dynamic distribution method of video session media server resources |
US20120113929A1 (en) * | 2007-04-28 | 2012-05-10 | Nec Corporation | Method and Device for Resource Allocation Control in Radio Communications System |
CN102595511A (en) * | 2012-02-20 | 2012-07-18 | 南京邮电大学 | Call allowing method orienting to near space platform and satellite integrated communication system |
CN102624743A (en) * | 2012-04-09 | 2012-08-01 | 苏州工业园区云视信息技术有限公司 | Resource allocation method of media server |
CN103906241A (en) * | 2012-12-24 | 2014-07-02 | 中国移动通信集团天津有限公司 | Channel resource allocation method and device |
-
2015
- 2015-11-05 CN CN201510741300.XA patent/CN105429964B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101018362A (en) * | 2007-02-06 | 2007-08-15 | 北京邮电大学 | A media access control method based on the OFDMA technology |
US20120113929A1 (en) * | 2007-04-28 | 2012-05-10 | Nec Corporation | Method and Device for Resource Allocation Control in Radio Communications System |
CN101442789A (en) * | 2008-12-23 | 2009-05-27 | 中国移动通信集团北京有限公司 | Access control method and apparatus of mobile communication system layered network |
CN102025971A (en) * | 2010-12-15 | 2011-04-20 | 广东威创视讯科技股份有限公司 | Dynamic distribution method of video session media server resources |
CN102595511A (en) * | 2012-02-20 | 2012-07-18 | 南京邮电大学 | Call allowing method orienting to near space platform and satellite integrated communication system |
CN102624743A (en) * | 2012-04-09 | 2012-08-01 | 苏州工业园区云视信息技术有限公司 | Resource allocation method of media server |
CN103906241A (en) * | 2012-12-24 | 2014-07-02 | 中国移动通信集团天津有限公司 | Channel resource allocation method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107317825A (en) * | 2017-08-09 | 2017-11-03 | 贵阳朗玛信息技术股份有限公司 | Multi-person speech meeting chat method and device |
CN112153411A (en) * | 2020-08-18 | 2020-12-29 | 南斗六星系统集成有限公司 | Method and system for improving performance of chat room streaming media server |
CN113473183A (en) * | 2021-06-29 | 2021-10-01 | 华夏城视网络电视股份有限公司 | Dynamic and static media stream batch processing method applied to fusion media |
CN113473183B (en) * | 2021-06-29 | 2023-05-05 | 华夏城视网络电视股份有限公司 | Dynamic and static media stream batch processing method applied to fusion media |
Also Published As
Publication number | Publication date |
---|---|
CN105429964B (en) | 2019-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113746808B (en) | Converged communication method, gateway, electronic equipment and storage medium for online conference | |
CN100579209C (en) | Method and system implementing time shifted TV business based on NGN network, system and media resource apparatus thereof | |
CN101068340B (en) | Program network transcribing method and media processing server and network transcribing system | |
CN102356623B (en) | Manage the session of association in a network | |
CN105450994A (en) | Video commanding and dispatching system and method based on RTSP | |
CN108063911B (en) | Video conference capacity expansion method | |
CN101753961A (en) | Meeting realizing method in video monitoring system and video monitoring meeting system | |
CN110417877B (en) | Audio and video service processing method and device | |
CN105141971A (en) | Method and system for realizing live broadcast based on session initialization protocol | |
CN202918417U (en) | Video conversation system based on Android set top box | |
WO2012163075A1 (en) | Video conferencing processing method, apparatus and communication system | |
CN107087138A (en) | A kind of video conferencing system based on H.265 video code model | |
GB2489296A (en) | Communication port sharing for plural applications with token-based access | |
CN101483749A (en) | Video meeting implementing method and system based on media server | |
CN105429964A (en) | Resource control and distribution method of media server | |
CN103118238A (en) | Controlling method of video conference and video conference system | |
CN101605142A (en) | The implementation method of session management, device, system and terminal | |
CN102427406B (en) | Method and equipment for processing media data packets and conference system | |
WO2009056031A1 (en) | Controlling method and device of multimedia conference | |
CN101123523B (en) | A method for creating combined conference of multiple media types | |
CN113301025B (en) | IMS audio and video transcoding and transmission control system and implementation method | |
WO2021218653A1 (en) | Media resource transmission method, related apparatus and system | |
WO2007143905A1 (en) | A stream media service system and a realization method thereof | |
CN104158673A (en) | Conference mode selection method and server | |
WO2013189430A2 (en) | Method, system, and media server for implementing automatic speech recognition service |
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 |