CN105429964B - A kind of media server resources control distribution method - Google Patents

A kind of media server resources control distribution method Download PDF

Info

Publication number
CN105429964B
CN105429964B CN201510741300.XA CN201510741300A CN105429964B CN 105429964 B CN105429964 B CN 105429964B CN 201510741300 A CN201510741300 A CN 201510741300A CN 105429964 B CN105429964 B CN 105429964B
Authority
CN
China
Prior art keywords
resource
media
controlled block
media resource
pond
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.)
Active
Application number
CN201510741300.XA
Other languages
Chinese (zh)
Other versions
CN105429964A (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.)
HEBEI FAREAST COMMUNICATION SYSTEM ENGINEERING Co Ltd
Original Assignee
HEBEI FAREAST COMMUNICATION SYSTEM ENGINEERING 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 HEBEI FAREAST COMMUNICATION SYSTEM ENGINEERING Co Ltd filed Critical HEBEI FAREAST COMMUNICATION SYSTEM ENGINEERING Co Ltd
Priority to CN201510741300.XA priority Critical patent/CN105429964B/en
Publication of CN105429964A publication Critical patent/CN105429964A/en
Application granted granted Critical
Publication of CN105429964B publication Critical patent/CN105429964B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/72Admission control; Resource allocation using reservation actions during connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/827Aggregation of resource allocation or reservation requests
    • 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/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing 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/2385Channel allocation; Bandwidth allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/63Control 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/643Communication protocols
    • H04N21/6437Real-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 present invention provides a kind of method of media server resources control distribution, and resource controlled block receives the INVITE message for the carrying SDP information that external application servers are sent;Resource controlled block parses signaling message INVITE, parses media resource applying type;And calculate logical resource quantity needed for different media types;Resource controlled block judges whether available media assets quantity defined by remaining media resource meets this media resource quantity requested in media resource pond, if it is judged that meeting, the media resource quantity of this request is then subtracted from media resource pond, if be unsatisfactory for, the message of media resource application mistake, ending resource distribution are then sent to application server;Resource controlled block sends creation media channel instruction to resource processing module, if resource allocation success, completes media resource application;If resource allocation fails, then returns to media resource pond for the media resource number of failure, i.e. idle media resource pond logical value increases.

Description

A kind of media server resources control distribution method
Technical field
The present invention relates to media processing techniques fields more particularly to a kind of media resource to control distribution method.
Background technique
With the continuous development of voice value-added service, all kinds of multimedia business emerge one after another, and media server is exactly suitable It answers this demand and is born.Media server provides playback, recording, voice conferencing, the automatic recognition of speech, video communication, video Meeting etc..Media server is usually to be controlled by soft switch or application server, and application server is according to configured industry It is engaged in sending operation signaling to media server, the request of different media types is carry in INVITE message, media server is only It is able to satisfy the secondary request, is allocated successfully with regard to allocation medium resource, and to application server return.Such process is simple, benefit It is realized in function, but when media resource parallel work-flow, the request because of multitude of video media resource can be generated, Cause audio resource that can not distribute;It illustrates in private electric power communication, voice communication is language that is most important, i.e., preferentially guaranteeing Sound business, such as when two users converse, wherein a side is kept, then the person of being kept will listen holding sound.If because One HD video meeting, occupies all resources of media server, and playback business important in other cannot achieve in system. In conclusion how preferentially to guarantee voice service, become media server problem in the urgent need to address.
Summary of the invention
Present invention aim to solve the problems, such as that media server resources are out of contior, when realizing resource allocation It can be to take up less resources but be important audio service to reserve resource, guarantee the normal use of audio service.
To solve the above problems, the present invention provides a kind of media resource control distribution method.Media resource application process packet Include following steps:
1. a kind of media server resources control distribution method, the media server includes resource controlled block and money Source processing module, it is characterised in that the following steps are included:
A. resource controlled block receives the INVITE message for the carrying SDP information that external application servers are sent;
B. resource controlled block parses signaling message INVITE, parses media resource applying type;And it calculates Logical resource quantity needed for different media types;Resource controlled block judges in media resource pond defined by remaining media resource Whether available media assets quantity is greater than or equal to the media resource quantity of this request, if it is, from media resource pond The media resource quantity for subtracting this request, is transferred to step C;If it is not, then it is wrong to send media resource application to application server Message accidentally, ending resource distribution;
C. for resource controlled block according to the medium type carried in SDP information, Xiang Ziyuan processing module sends creation media Channel instruction;
D. resource processing module executes the media channel creation instruction that resource controlled block is sent, and returns to resource control Molding block succeeds and carries creation channel ID;
E. resource controlled block receive resource processing module return resource allocation confirmation message, if resource allocation at Function then completes media resource application;If resource allocation fails, then the media resource number of failure is returned to media resource Pond, i.e. idle media resource pond logical value increase.
Wherein, there are two types of the medium types in the step B: audio types and video type;Wherein, audio types are corresponding Audio resource, video type correspond to video resource.
Wherein, the media resource pond in the step B, when being system initialization, by resource controlled block according to entire system The media resource hardware quantity under unified central planning set, unified quantization and the idle media resource logical value established.
Wherein, in step B, limiting available media assets quantity is the media resource logical valve being set according to actual conditions Value, if remaining available media assets quantity is lower than this threshold values, resource controlled block will reject HD video or general The request of intervisibility frequency.
Wherein, the media resource logic value definition is using audio resource logical value as unit, and an audio resource accounts for With a logical resource, video resource logical value is different according to the difference of video format.
The technology of the present invention has the advantage that
The present invention, which realizes user, it is pre- can to configure media server according to actual operation requirements and media resource quantity Least resource threshold values is stayed, when effectively solving audio frequency and video media request while carrying out, preferentially guarantees audio service.
Detailed description of the invention
Fig. 1 is the application scenarios schematic diagram of the embodiment of media server resources control distribution method of the present invention.
Fig. 2 is the flow diagram of the embodiment of media server resources control distribution method of the present invention.
Fig. 3 is the media resource Shen flow diagram of media server resources control distribution method of the present invention.
Specific embodiment
Invention is further described in detail in the following with reference to the drawings and specific embodiments.
Media server is the important equipment in NGN and IMS network, it can provide under the control of AS and realize audio, view Frequently, 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 sounds Video terminal composition;Wherein audio-video terminal has audio, coding and decoding video function, is capable of real-time acquisition audio, the view of user Frequency can also show the mixed video image of media server at the terminal according to media server is sent to.In the present invention, Session Initiation Protocol is used between media server and application server, and sound, video are carried out using RTP between media server and terminal The transmission of data.Media server receives and parses through the SIP signaling of application server, to audio, video media flow control and pipe Reason.
Fig. 2 is the flow chart of one embodiment that a kind of media resource of the present invention controls distribution method.This method includes tool Body step:
A. resource controlled block receives the INVITE message for the carrying SDP information that external application servers are sent;
B. resource controlled block parses signaling message INVITE, parses media resource applying type;And it calculates Logical resource quantity needed for different media types;Resource controlled block judges in media resource pond defined by remaining media resource Whether available media assets quantity is greater than or equal to the media resource quantity of this request, if it is, from media resource pond The media resource quantity for subtracting this request, is transferred to step C;If it is not, then it is wrong to send media resource application to application server Message accidentally, ending resource distribution;
C. for resource controlled block according to the medium type carried in SDP information, Xiang Ziyuan processing module sends creation media Channel instruction;
D. resource processing module executes the media channel creation instruction that resource controlled block is sent, and returns to resource control Molding block succeeds and carries creation channel ID;
E. resource controlled block receive resource processing module return resource allocation confirmation message, if resource allocation at Function then completes media resource application;If resource allocation fails, then the media resource number of failure is returned to media resource Pond, i.e. idle media resource pond logical value increase;
Media server in Fig. 2 is broadly divided into resource controlled block and resource processing module.Resource controlled block is responsible for Signalling exchange is carried out with external application servers, and is interacted by internal communication protocol and resource processing module;Resource Processing module is responsible for that corresponding api function is called to realize that media resource uses.
Logical resource definition is using audio resource logical value as unit, and an audio resource occupies a logical resource, Video resource logical value is different according to the difference of video format, and CIF coded format occupies 30 unit resources, and 720P encodes lattice Formula occupies 150 unit resources, and 1080p coded format occupies 360 unit resources;Resource controlled block receives resource and handles mould The resource allocation success message that block returns, parses the resource logic value being allocated successfully from success message, then provides from media Source subtracts in pond, i.e., idle media resource pond logical value reduces;If terminal terminates this business, i.e. resource use finishes, So resource controlled block wants Resource recovery, i.e. the free logical resource numerical value in logical resource pond increases.
Fig. 3 is the specific flow chart for the resource bid that a kind of media resource of the present invention controls distribution method.This method comprises:
Step 301, the resource controlled block of media server receives the sip message that external application servers AS is sent, SIP The content that message includes is media resource application;
Step 302, resource controlled block calls MSML parsing library to parse medium type, then by the media of this application Type is converted into institute media resource logical value a;
Step 303, resource controlled block calling system function Get_System_Resource_Poll, obtains system media Remaining idling-resource logical value b in resource pool;
Apply for that required resource logic value a is compared with idling-resource logical value b remaining in resource pool, if a is less than Or it is equal to b, then this time application passes through, execute step 304: resource controlled block sends request message knot to resource processing module Beam;No to then follow the steps 305: resource controlled block responds failures in resource application message to application server device.

Claims (3)

1. a kind of media server resources control distribution method, the media server includes resource controlled block and Energy Resources Service Manage module, it is characterised in that the following steps are included:
A. resource controlled block receives the INVITE message for the carrying SDP information that external application servers are sent;
B. resource controlled block parses signaling message INVITE, parses media resource applying type;And calculate difference Logical resource quantity needed for medium type;Resource controlled block judges to use defined by remaining media resource in media resource pond Whether media resource quantity is greater than or equal to the media resource quantity of this request, if it is, subtracting from media resource pond The media resource quantity of this request, is transferred to step C;If it is not, then sending media resource application mistake to application server Message, ending resource distribution;There are two types of the medium types: audio types and video type;Wherein, audio types diaphone Frequency resource, video type correspond to video resource;The restriction available media assets quantity is the matchmaker being set according to actual conditions Body resource logic threshold values, if remaining available media assets quantity is lower than this threshold values, resource controlled block will be rejected The request of HD video or ordinary video;
C. for resource controlled block according to the medium type carried in SDP information, Xiang Ziyuan processing module sends creation media channel Instruction;
D. resource processing module executes the media channel creation instruction that resource controlled block is sent, and returns to resources control mould Block succeeds and carries creation channel ID;
E. resource controlled block receives the resource allocation confirmation message that resource processing module returns, if resource allocation success, Complete media resource application;If resource allocation fails, then returns to media resource pond for the media resource number of failure, i.e., empty Not busy media resource pond logical value increases.
2. a kind of media server resources according to claim 1 control distribution method, which is characterized in that the step B In media resource pond, when being system initialization, the media resource hardware number that is configured by resource controlled block according to whole system Amount, unified quantization and the idle media resource logical value established.
3. a kind of media server resources according to claim 2 control distribution method, which is characterized in that the media money Source logic value definition is using audio resource logical value as unit, and an audio resource occupies a logical resource, video resource Logical value is different according to the difference of video format.
CN201510741300.XA 2015-11-05 2015-11-05 A kind of media server resources control distribution method Active CN105429964B (en)

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 CN105429964A (en) 2016-03-23
CN105429964B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107317825B (en) * 2017-08-09 2021-03-02 贵阳朗玛信息技术股份有限公司 Multi-person voice conference chat method and device
CN112153411A (en) * 2020-08-18 2020-12-29 南斗六星系统集成有限公司 Method and system for improving performance of chat room streaming media server
CN113473183B (en) * 2021-06-29 2023-05-05 华夏城视网络电视股份有限公司 Dynamic and static media stream batch processing method applied to fusion media

Citations (6)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5152472B2 (en) * 2007-04-28 2013-02-27 日本電気株式会社 Resource allocation control method and apparatus in radio communication system

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
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

Also Published As

Publication number Publication date
CN105429964A (en) 2016-03-23

Similar Documents

Publication Publication Date Title
CN105450994B (en) A kind of video directing and scheduling system and method based on RTSP agreements
CN101068340B (en) Program network transcribing method and media processing server and network transcribing system
CN108293000B (en) Method for using the multimedia conferencing of the more unicasts in single source
CN105429964B (en) A kind of media server resources control distribution method
GB2489296A (en) Communication port sharing for plural applications with token-based access
WO2008098509A1 (en) A method and system for negotiating a medium and a method for sending medium description information
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
WO2019029485A1 (en) Video conference multipoint control method, device, storage medium, and computer device
US10063643B2 (en) Media stream grouping in multimedia communication networks
CN103151041B (en) A kind of implementation method of automatic speech recognition business, system and media server
CN104158673A (en) Conference mode selection method and server
CN102238196A (en) SIP (Session Initiation Protocol) session auxiliary flow control method based on INFO message
US10581925B2 (en) Session description protocol template modifiers for flexible control of media server resources
WO2012174908A1 (en) Method, device and system for realizing audio transcoding of text to speech
US20100228832A1 (en) Method, apparatus and system for creating and operating conferences
CN102111278A (en) Conference media quality monitoring method, device and system
CN101453446B (en) Method, apparatus and system for establishing MRCP control and bearing channel
CN103546459A (en) Method, terminal and server for carrying out session on basis of session initiation protocols
EP4380116A1 (en) Communication method, signaling control network element, media control network element and communication system
CN101753571A (en) Method, device and system for realizing double video flow transmission
WO2019020005A1 (en) Video interaction management method and system, and computer-readable storage medium
CN109120881B (en) Multi-party conference control method, system and terminal
US11277451B2 (en) Method and entity for managing a multimedia session between a calling terminal and at least one called terminal, corresponding terminal and computer programs
CN101374138A (en) Method for requesting business modification in SIP protocol, network system and apparatus

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