CN107135171A - The method and media stream equipment of a kind of transmission of multimedia streams - Google Patents

The method and media stream equipment of a kind of transmission of multimedia streams Download PDF

Info

Publication number
CN107135171A
CN107135171A CN201610113627.7A CN201610113627A CN107135171A CN 107135171 A CN107135171 A CN 107135171A CN 201610113627 A CN201610113627 A CN 201610113627A CN 107135171 A CN107135171 A CN 107135171A
Authority
CN
China
Prior art keywords
media stream
cycles
stream
bandwidth
equipment
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
CN201610113627.7A
Other languages
Chinese (zh)
Other versions
CN107135171B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610113627.7A priority Critical patent/CN107135171B/en
Publication of CN107135171A publication Critical patent/CN107135171A/en
Application granted granted Critical
Publication of CN107135171B publication Critical patent/CN107135171B/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/60Network streaming of media packets
    • 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/78Architectures of resource allocation
    • 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/80Actions related to the user profile or the type of traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a kind of method of transmission of multimedia streams, under conditions of the presence of a plurality of Media Stream, solving the problems, such as the co-simulation modeling of Internet resources, so as to rationally and effectively utilize bandwidth resources.Present invention method includes:Media stream equipment determines currently available total bandwidth;The media stream equipment is according to the currently available total bandwidth, and the transmission bandwidth of each article of Media Stream sent in the X cycles to the media stream receiver equipment, it is determined that the transmission bandwidth of the every Media Stream sent in the X+1 cycles to the media stream receiver equipment, the X is the integer more than 0;The media stream equipment sends every Media Stream according to the transmission bandwidth in every Media Stream described in the X+1 cycles of determination in the X+1 cycles to the media stream receiver equipment.

Description

The method and media stream equipment of a kind of transmission of multimedia streams
Technical field
The present invention relates to method and the Media Stream hair of the communications field, more particularly to a kind of transmission of multimedia streams Send equipment.
Background technology
Multi-medium video-signal system is also known as video conferencing, video conference etc., refers to that two or more are different The individual in place or colony, by existing various telecom communication transmission medias, by quiet, the dynamic of personage A variety of data such as image, voice, word, picture are distributed on the computer of each user so that on ground In reason disperse user can be with copolymerization one at, pass through the various ways exchange of information such as figure, sound, increase Understandability of the both sides to content.Current video conference is progressively towards multi-net cooperative, high Qinghua, exploitationization Direction develop.
General multi-medium video-signal system includes micro-control unit MCU multipoint controller (video conference services Device), conference room terminal, personal computer PC desktop terminal, telephone access gateway (PSTNGateway), several parts such as gateway (Gatekeeper).A variety of terminals are all connected into MCU carries out concentration exchange, constitutes a video conference network.It is different in multi-medium video-signal system Terminal produces different Media Streams, can be speech stream, video flowing, data flow and file stream etc., difference Media Stream isolate each other, while shared same network interface, i.e. MCU multipoint controllers, every matchmaker Body stream has each independent stream control, network detection function.
In the prior art, it is to distribute available bandwidth by priority and control the transmission bandwidth of each Media Stream, Avoid causing network overload to use with underload.Mobile terminal determines the resource point of the Media Stream of request processing Grade with priority;And according to resource allocation policy corresponding with the grade of determination, for request processing Allocated for media streams bandwidth resources;Wherein, the higher grade of priority of resource allocation, according to grade correspondence The bandwidth resources distributed of resource allocation policy more disclosure satisfy that the bandwidth resources of the Media Stream of the grade are needed Ask;And using the bandwidth resources of distribution, transmit the data to be transmitted of the Media Stream.From Consumer's Experience For angle, under the network of change, the allocation strategy for distinguishing priority to available bandwidth is no doubt useful, But what can not be cooperateed with distributes limited Internet resources, the Media Stream such as video flowing of high priority preferentially divides all the time With bandwidth, can use up massive band width, cause the Media Stream available bandwidth of low priority not enough.
The content of the invention
The embodiments of the invention provide a kind of method of transmission of multimedia streams and media stream equipment, use In under conditions of the presence of a plurality of Media Stream, the co-simulation modeling of Internet resources is solved the problems, such as, so as to rationally have Utilize bandwidth resources to effect.
First aspect of the embodiment of the present invention provides a kind of method of transmission of multimedia streams, it may include:Media Stream sends equipment and determines currently available total bandwidth;Media stream equipment according to currently available total bandwidth, with And the transmission bandwidth of each article of Media Stream sent in the X cycles to media stream receiver equipment, it is determined that in X+1 The transmission bandwidth for every Media Stream that cycle sends to media stream receiver equipment, X is the integer more than 0; Here the transmission bandwidth for every Media Stream that the X+1 cycles send mainly is determined, it is ensured that low priority Media Stream also have the transmission bandwidth resource of oneself, after determining, media stream equipment is in X+1 In the cycle, sent out according to the transmission bandwidth in every Media Stream of X+1 cycles of determination to media stream receiver equipment Send every Media Stream.
Wherein, the mode that currently available total bandwidth is obtained has two kinds, is usually true by media stream receiver equipment Fixed, then currently available total bandwidth is sent to media stream equipment, another is that media stream is set It is standby to count actual transmitted traffic, the actual reception flow of media stream receiver device statistics, then by actual receiving stream Measure and sent to media stream equipment, so that it is determined that currently available total bandwidth.
In embodiments of the present invention, it should be appreciated that the every Media Stream sent in the X+1 cycles is according to true What the transmission bandwidth of the fixed every Media Stream sent in the X+1 cycles was sent, not in accordance with prior art In bandwidth is distributed according to the priority of Media Stream, in the prior art, the Media Stream of high priority is such as regarded Frequency stream is preferential all the time to be met, and can be eaten up massive band width, be caused the not enough with bandwidth of low priority, so, In the technology of the present invention, it is ensured that under conditions of the presence of a plurality of Media Stream, the distribution of collaboration currently may be used With total bandwidth, it is ensured that the transmission of the Media Stream of low priority.
With reference to the embodiment of the present invention in a first aspect, the first in the first aspect of the embodiment of the present invention may Implementation in, the transmission bandwidth of each article of Media Stream in X cycles includes the transmission bandwidth of basic flow, Only include the transmission bandwidth of basic flow, just illustrate the currently available total bandwidth in the X cycles be not it is very sufficient, So, preferentially ensure the transmission of the basic flow of every Media Stream.It is determined that being connect in the X+1 cycles to Media Stream The transmission bandwidth for every Media Stream that receiving unit is sent, it may include:Media stream equipment is according to preset ratio Example determines the first variable quantity of basic flow in each bar Media Stream;Preset proportion mentioned here can be from upper one How much the bandwidth of every Media Stream of period allocated draws or a preset empirical value.Media Stream sends transmission bandwidth and first variable quantity of the equipment according to basic flow in each article of Media Stream of X cycles, really It is scheduled on the transmission bandwidth of the basic flow of every Media Stream of X+1 cycles.When variable quantity is timing, every matchmaker The transmission bandwidth increase of body stream, when variable quantity is bears, the transmission bandwidth of every Media Stream is reduced.
In embodiments of the present invention, basic flow is only included in the transmission bandwidth of each article of Media Stream in X cycles Transmission bandwidth, no matter the transmission bandwidth sum of each article of Media Stream in currently available total bandwidth and X cycles Size how, the transmission of the basic flow of every Media Stream is all ensure that in the X+1 cycles, to the present invention Embodiment adds a kind of feasible scheme.
With reference to the first possible implementation of the first aspect of the embodiment of the present invention, in present invention implementation In second of possible implementation of the first aspect of example, it is determined that in every Media Stream of X+1 cycles After the transmission bandwidth of basic flow, method may also include:If currently available total bandwidth is more than the X cycles The transmission bandwidth sum of the basic flow of each bar Media Stream, then media stream equipment determine each bar first kind The transmission bandwidth of discardable stream in Media Stream, first kind Media Stream is to include basic flow in every Media Stream With the Media Stream of discardable stream.If premise here is each article that currently available total bandwidth is more than the X cycles The transmission bandwidth sum of the basic flow of Media Stream, then, it may be determined that it is discardable in first kind Media Stream The transmission bandwidth of stream, here specific determination ratio can be adjusted flexibly according to actual needs.
In embodiments of the present invention, if currently available total bandwidth is more than the base of each article of Media Stream in X cycles The transmission bandwidth sum of this stream, then, media stream equipment may further determine that each bar first kind The transmission bandwidth of discardable stream in Media Stream, the transmission of discardable stream is in order to which first kind Media Stream is being passed In defeated process, it is possible that losing some media datas, such as packet, reference frame cause The data of transmission can not be decoded, and both waste bandwidth resources, also reduce the service efficiency of network, so that The communication quality for influenceing user to perceive, now, discardable stream are actually a standby data, when When initial data is lost, standby data can be found from discardable stream, so as to ensure that first kind matchmaker The communication quality of body stream, such as video flowing and audio stream.
With reference to the embodiment of the present invention in a first aspect, the third in the first aspect of the embodiment of the present invention may Implementation in, in each article of Media Stream in X cycles include first kind Media Stream, first kind matchmaker The transmission bandwidth of transmission bandwidth of the transmission bandwidth of body stream comprising basic flow and discardable stream, this just illustrates The currently available total bandwidth in X cycles is sufficient, it is determined that in the X+1 cycles to media stream receiver equipment The transmission bandwidth of the every Media Stream sent, it may include:If currently available total bandwidth is more than the X cycles The transmission bandwidth sum of the basic flow of each bar Media Stream, then media stream equipment determined according to preset proportion In each bar Media Stream in the first variable quantity and first kind Media Stream of basic flow discardable stream second change Amount;Media stream equipment becomes according to the transmission bandwidth of basic flow in each article of Media Stream of X cycles and first Change amount, it is determined that the transmission bandwidth of the basic flow in every Media Stream of X+1 cycles, and according to the X cycles The transmission bandwidth and the second variable quantity of discardable stream in each bar first kind Media Stream, it is determined that at the X+1 weeks The transmission bandwidth of discardable stream in phase each bar first kind Media Stream.Here currently available total bandwidth and X The transmission bandwidth sum of the basic flow of each bar Media Stream in cycle is made comparisons, and is because of regardless of situation Under, all need first to ensure the transmission of the basic flow of every Media Stream, after basic flow is met, then can be true Determine the transmission bandwidth of discardable stream in first kind Media Stream.
In embodiments of the present invention, if currently available total bandwidth is more than the base of each article of Media Stream in X cycles The transmission bandwidth sum of this stream, thus it is determined that every Media Stream of X+1 cycles transmission bandwidth when, its In, the transmission of discardable stream is also included, currently available total bandwidth so both rationally can be effectively utilized, Discardable stream is have sent again, it is therefore prevented that just in case in the transmitting procedure of basic flow, lose data, then also Data can be given for change from discardable stream, it is ensured that the communication quality of first kind Media Stream.
With reference to the third possible implementation of the first aspect of the embodiment of the present invention, in present invention implementation In 4th kind of possible implementation of the first aspect of example, if currently available total bandwidth is less than the X cycles Each bar Media Stream basic flow transmission bandwidth sum, then media stream equipment is true according to preset proportion First variable quantity of basic flow in fixed each bar Media Stream;Media stream equipment is according to each article of matchmaker of X cycles The transmission bandwidth of basic flow and the first variable quantity in body stream, it is determined that in the base of every Media Stream of X+1 cycles The transmission bandwidth of this stream.If currently available total bandwidth is less than the basic flow of each article of Media Stream in X cycles Transmission bandwidth sum, then, the transmission band of the basic flow of every Media Stream can only be determined in the X+1 cycles Width, because bandwidth resources are not enough.
In embodiments of the present invention, if currently available total bandwidth is less than the base of each article of Media Stream in X cycles The transmission bandwidth sum of this stream, it can be understood as current bandwidth resources are inadequate, so, it is preferential to meet The transmission of the basic flow of every Media Stream, so, only determine the transmission bandwidth of the basic flow of every Media Stream. The hair of every Media Stream of next cycle transmission so can be flexibly adjusted according to currently available total bandwidth Bandwidth is sent, Internet resources are rationally effectively utilized.
With reference to the embodiment of the present invention in a first aspect, the 5th kind of possibility of the first aspect in the embodiment of the present invention Implementation in, media stream equipment determines after currently available total bandwidth that method may also include: Media stream equipment determines the every Media Stream sent in the X+1 cycles;Because being sent out in the X+1 cycles When sending Media Stream, the Media Stream that may be sent with the X cycles is inconsistent.Media stream equipment root According to currently available total bandwidth, and each article of Media Stream sent in the X cycles to media stream receiver equipment Transmission bandwidth, it is determined that the transmission band of the every Media Stream sent in the X+1 cycles to media stream receiver equipment Width, including:Media stream equipment is according to currently available total bandwidth, every matchmaker that the X+1 cycles send The transmission bandwidth of body stream and each article of Media Stream sent in the X cycles to media stream receiver equipment, it is determined that The transmission bandwidth of the every Media Stream sent in the X+1 cycles to media stream receiver equipment.
In embodiments of the present invention, because in new transmission cycle, the media that may be sent with a upper cycle Stream it is not quite identical, so, can first determine newly to send the cycle Media Stream to be sent, further according to work as Preceding total bandwidth available, every Media Stream that the X+1 cycles send and in the X cycles to media stream receiver The transmission bandwidth for each bar Media Stream that equipment is sent, it is determined that being sent out in the X+1 cycles to media stream receiver equipment The transmission bandwidth of the every Media Stream sent, is that the embodiment of the present invention provides an optional scheme again, when Add Media Stream more or reduce Media Stream, adjusting to send according to the Media Stream for being actually subjected to send for meeting Every Media Stream transmission bandwidth.
With reference to the embodiment of the present invention in a first aspect, the first of the first aspect of the embodiment of the present invention is possible Implementation, second of possible implementation of the first aspect of the embodiment of the present invention, the present invention is implemented The third possible implementation of the first aspect of example, the 4th kind of the first aspect of the embodiment of the present invention Possible implementation, the 5th kind of possible implementation of the first aspect of the embodiment of the present invention, at this In 6th kind of possible implementation of the first aspect of inventive embodiments, according to determination at the X+1 weeks Before the transmission bandwidth of every Media Stream of phase sends every Media Stream to media stream receiver equipment, method may be used also Including:Media stream equipment is determined between currently available total bandwidth and each bar media stream bandwidth sum Ratio;When ratio is more than the first preset threshold value, media stream equipment heightens the volume of every Media Stream Bit rate;When ratio is less than the second preset threshold value, media stream equipment turns down the volume of every Media Stream Bit rate.
In embodiments of the present invention, still to can determine whether that the X+1 cycles to be sent every for media stream equipment The transmission bandwidth of bar Media Stream, still, when ratio is more than the first preset threshold value, media stream equipment Heighten the code rate of every Media Stream;When ratio is less than the second preset threshold value, media stream equipment Turn down the code rate of every Media Stream;Problem is solved i.e. from root, so could sufficiently be utilized Internet resources.
With reference to second of possible implementation of the first aspect of the embodiment of the present invention, the embodiment of the present invention First aspect the third possible implementation, at the 7th kind of the first aspect of the embodiment of the present invention In possible implementation, method may also include:Media stream equipment determines answering in the X+1 cycles Total flow is sent, summation and X+1 cycle of the total flow for the transmission bandwidth of every Media Stream should be sent The product of time span;Media stream equipment is carved into current time according at the beginning of the X+1 cycles Every Media Stream transmitted traffic, predict the X+1 cycles prediction send total flow, current time Belong to the X+1 cycles;When prediction sends total flow more than that should send total flow, media stream equipment Within the time at current time to X+1 end cycles, the transmission of discardable stream is reduced or stopped.
In embodiments of the present invention, may during the X+1 cycles have sent every Media Stream It can predict that the prediction that the cycle can send sends total flow, be more than and should send when prediction sends total flow During total flow, media stream equipment within the time at current time to X+1 end cycles, reduce or Stop the transmission of discardable stream, it is to avoid cause overload to use Internet resources.
Second aspect of the embodiment of the present invention provides a kind of media stream equipment, corresponds to realization above-mentioned The function of the method for the transmission of multimedia streams that first aspect is provided.The function can be realized by hardware, Corresponding software can also be performed by hardware to realize.The hardware or software include it is one or more with it is upper State the corresponding module of function phase.
The third aspect of the embodiment of the present invention is provided in a kind of media stream equipment, the media stream equipment Including transceiver, memory, processor and bus;The transceiver, the memory and the processing Device is connected by the bus;The memory, which is used to store, supports media stream equipment to perform above-mentioned side The application code of method, the processor is configurable for performing the application stored in the memory Program.
The transceiver is used to determine currently available total bandwidth;In the X+1 cycles, according to determination It is described every to media stream receiver equipment transmission in the transmission bandwidth of described every Media Stream of X+1 cycles Bar Media Stream;The processor is used for according to the currently available total bandwidth, and in the X cycles to institute The transmission bandwidth of each bar Media Stream of media stream receiver equipment transmission is stated, it is determined that in the X+1 cycles to described The transmission bandwidth for every Media Stream that media stream receiver equipment is sent, the X is the integer more than 0.
The beneficial effect of the embodiment of the present invention second to the third aspect refers to first aspect of the embodiment of the present invention The beneficial effect of correspondence technical scheme, is repeated no more.
It should be noted that part that the technical scheme of this hair substantially contributes to prior art in other words or The all or part of person's technical scheme can be embodied in the form of software production mouth, the computer software Product is stored in a storage medium, and fourth aspect of the embodiment of the present invention is stored there is provided a kind of computer Medium, and and transceiver couples, for saving as the computer software used in above-mentioned media stream equipment Instruction, it, which is included, is used to perform program of the above-mentioned first aspect designed by media stream equipment.
The storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic Dish or CD etc. are various can be with the medium of store program codes.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
In technical solution of the present invention, media stream equipment is sent according to reception media stream receiver equipment Currently available total bandwidth, and each article of Media Stream sent within the X cycles to media stream receiver equipment Transmission bandwidth, it is determined that the transmission of the every Media Stream sent within the X+1 cycles to media stream receiver equipment Bandwidth, within the X+1 cycles, sends according to the transmission bandwidth of every Media Stream to media stream receiver equipment Every Media Stream, this programme is solved under conditions of the presence of a plurality of Media Stream, the collaboration to Internet resources Assignment problem, media stream equipment sends every Media Stream according to the transmission bandwidth redefined, it is ensured that The normal transmission of the Media Stream of low priority, so as to rationally and effectively utilize bandwidth resources.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment and prior art The accompanying drawing used required in description is briefly described, it should be apparent that, drawings in the following description are only Only it is some embodiments of the present invention, for those of ordinary skill in the art, is not paying creativeness On the premise of work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram of transmission of multimedia streams system in the embodiment of the present invention;
Fig. 2 is one embodiment schematic diagram of the method for transmission of multimedia streams in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram of the method for transmission of multimedia streams in the embodiment of the present invention;
Fig. 4 is one embodiment schematic diagram of media stream equipment in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of media stream equipment in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of media stream equipment in the embodiment of the present invention.
Embodiment
The embodiments of the invention provide a kind of method of media stream cooperative transmission, media stream equipment with And media stream receiver equipment, under conditions of the presence of a plurality of Media Stream, solving the collaboration of Internet resources Assignment problem, so as to rationally and effectively utilize bandwidth resources.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with of the invention real The accompanying drawing in example is applied, the technical scheme in the embodiment of the present invention is clearly and completely described, is shown So, described embodiment is only the embodiment of a part of the invention, rather than whole embodiments. Based on the embodiment in the present invention, those of ordinary skill in the art are not under the premise of creative work is made The every other embodiment obtained, should all belong to the scope of protection of the invention.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two ", the (if present) such as " the 3rd ", " the 4th " be for distinguishing similar object, without For describing specific order or precedence.It should be appreciated that the data so used in the appropriate case may be used To exchange, so that the embodiments described herein can be with addition to the content for illustrating or describing herein Order is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that Covering is non-exclusive to be included, for example, contain the process of series of steps or unit, method, system, Product or equipment are not necessarily limited to those steps clearly listed or unit, but may include without clearly It is listing or for the intrinsic other steps of these processes, method, product or equipment or unit.
The technology of the present invention is applied to transmission of multimedia streams system, and transmission of multimedia streams system can include common Multi-medium video-signal system, below by taking multi-medium video-signal system as an example, introduce many matchmakers of the embodiment of the present invention Transmitting procedure of the body stream in multi-medium video-signal system.Multi-medium video-signal system is also known as video conferencing, video signal Meeting etc., it can be realized transmits live image, voice and application data (electricity at 2 points in real time in and multi-point Sub- blank, Desktop Share, file, word) etc. form media stream information.Multi-medium video-signal system System includes media stream equipment and media stream receiver equipment, and media stream equipment is the source of data message Processing end, media stream receiver equipment is the reception processing end of data message, exemplified by be easy to description, can be by Media stream equipment is described as source, and media stream receiver equipment is described as receiving end.Source and receiving end all may be used Think terminal or server.Terminal can be to include mobile phone, tablet personal computer, personal digital assistant (English Full name:Personal Digital Assistant, english abbreviation:PDA), point-of-sale terminal (English full name: Point of Sales, english abbreviation:POS), any terminal device such as vehicle-mounted computer.
In the prior art, the transmission bandwidth for each bar Media Stream that source is sent to receiving end is by priority control Make the transmission bandwidth of each media data flow, it is to avoid cause overload to be used with underload to network.From Consumer's Experience Angle for, under the network of change, to available bandwidth distinguish priority allocation strategy it is no doubt useful, But the limited Internet resources of distribution that can not be cooperateed with, the Media Stream such as video flowing of high priority is preferential all the time Meet, can use up massive band width, cause available single wide deficiency of the Media Stream of low priority.
Fig. 1 is the schematic diagram of transmission of multimedia streams system.With reference to transmitting procedures of the Fig. 1 to media stream Do following brief descriptions.
Media stream in the embodiment of the present invention can include but is not limited to audio stream, video flowing, signaling flow Or file stream etc..
It should be noted that audio stream and video flowing can be decomposed into basic flow and discardable stream, audio stream Basic flow be encoder generation stream, discardable stream is redundancy stream;The basic flow of video flowing is reference frame Stream, discardable stream is non-reference frame stream and redundancy stream;Signaling flow is basic flow;File stream is not discardable Stream, it is believed that be basic flow.
In the technology of the present invention, the source in multi-medium video-signal system is first initiated a session request, and receiving end is received The session request, responds, during initial session, and source is to determine each bar media according to the setting of configuration The transmission bandwidth of stream, and send each bar Media Stream to receiving end.
In initial session, source sets the initial available bandwidth of each road Media Stream according to configuration, and right The minimum answered uses bandwidth using bandwidth and maximum, and minimum depends on source using bandwidth and maximum using bandwidth Encoder performance is held, it is related to the encryption algorithm and coding configuration parameter of selection, it is empirical data.Matchmaker After the transmission of body stream is set up, receiving end receives each bar Media Stream, and receives byte, packet drop to actual Counted etc. information, the currently available total bandwidth of calculating network, and be persistently fed back to source, source Termination is received after currently available total bandwidth, can be sent out according to currently available total bandwidth, a upper cycle to receiving end The transmission bandwidth of each bar Media Stream sent, determines the transmission for each bar Media Stream that next cycle sends to receiving end Bandwidth, each bar Media Stream is sent in next cycle according to the transmission bandwidth of each bar Media Stream of determination to receiving end, It is reciprocal with this.
In embodiments of the present invention, two kinds of situations can be divided into, one is each article of media sent in the X cycles The transmission bandwidth of stream includes the transmission bandwidth of basic flow, two be the X cycles each article of Media Stream in comprising the One type of media stream, the transmission bandwidth of the transmission bandwidth of the first kind Media Stream comprising basic flow and can The transmission bandwidth of abandoning stream, is illustrated respectively to this below.
First, the transmission bandwidth for each article of Media Stream that the X cycles send only includes the transmission bandwidth of basic flow.
As shown in Fig. 2 one embodiment of the method for transmission of multimedia streams includes in the embodiment of the present invention:
201st, session request is set up.
202nd, media stream equipment is set according to the transmission bandwidth of each bar Media Stream of determination to media stream receiver Preparation send each bar Media Stream.
203rd, media stream receiver equipment determines currently available total bandwidth and to matchmaker according to each bar Media Stream of reception Body stream sends equipment and sent.
It should be noted that step 201 to step 203 process as the process described in above-mentioned Fig. 1, It is specific that here is omitted.
204th, media stream equipment determines currently available total bandwidth.
In the present embodiment, currently available total bandwidth is usually to be drawn from media stream equipment and to Media Stream Send what equipment was sent, specially media stream equipment is sent in the X cycles to media stream receiver equipment Each bar Media Stream, media stream receiver equipment receives each bar Media Stream, to the actual reception band of each bar Media Stream Width is counted, it is determined that currently receiving total bandwidth;Further according to each bar Media Stream current reception total bandwidth and The preceding total bandwidth available once sent to media stream equipment determines variable quantity;When variable quantity is more than preset During threshold value, media stream receiver equipment will currently receive total bandwidth and be sent out as currently available total bandwidth to Media Stream Equipment is sent to send, media stream equipment receives currently available total bandwidth.The determination of currently available total bandwidth Can also be transmission total bandwidth and media stream receiver equipment of the media stream equipment according to each bar Media Stream The actual total bandwidth that receives determines currently available total bandwidth.
It should be noted that media stream receiver equipment sends currently available total bandwidth to media stream equipment Time, send the time of each bar Media Stream not necessarily to media stream receiver equipment with media stream equipment Corresponding, i.e., media stream equipment sends each article of Media Stream in the X+1 cycles to media stream receiver equipment, Currently available total bandwidth can not necessarily be received before the X+1 cycles, media stream equipment can be according to The amount of bandwidth for every Media Stream that the currently available total bandwidth adjustment X+1 cycles received before send.
205th, media stream equipment determine currently available total bandwidth and each bar media stream bandwidth sum it Between ratio.
In the present embodiment, media stream equipment determines currently available total bandwidth and each bar media stream band Ratio between wide sum;When ratio is more than the first preset threshold value, media stream equipment heightens every The code rate of Media Stream;When ratio is less than the second preset threshold value, media stream equipment turns down every The code rate of Media Stream.
Media stream equipment is sent in each cycle after each bar matchmaker data flow, can all be owned to transmission The transmission total bandwidth of Media Stream is counted, exemplary, if the transmission total bandwidth in the X cycles is 1000KB/s, it is determined that currently available total bandwidth be 1500KB/s, currently available total bandwidth is beyond transmission The 50% of total bandwidth, then media stream equipment every matchmaker can be caused with informed code device according to this step The code rate increase by 50% of body stream;If being 1000KB/s in the transmission total bandwidth in X cycles, it is determined that Currently available total bandwidth be 500KB/s, currently available total bandwidth is only to send the 50% of total bandwidth, then matchmaker Body stream sends equipment according to this step, and the code rate of every Media Stream can be caused to reduce with informed code device 50%.It is effective utilization to single wide resource so to do, otherwise, in fact it could happen that following situation, although the The X+1 cycles also can determine whether the transmission bandwidth of every Media Stream, still, the Media Stream of actual coding generation Flow is less more, so, it is actually less many although the transmission bandwidth for being equivalent to distribution is more Media stream, and the step just solves this problem well.
If it should be noted that the ratio is between the second preset threshold value and the first preset threshold value, then, just Step 206 is directly performed, the code rate of every Media Stream can not be adjusted.Wherein, the choosing of preset threshold value It can be empirical value to take, the situation and system that can also be handled in the running of system with real data Update performance self-adapting, do not limit specifically.
206th, media stream equipment connects according to currently available total bandwidth, and in the X cycles to Media Stream The transmission bandwidth for each bar Media Stream that receiving unit is sent, is determined basic in each bar Media Stream according to preset proportion First variable quantity of stream.
In the present embodiment, media stream equipment is determined after currently available total bandwidth, if the X+1 cycles to The Media Stream and X cycles that media stream receiver equipment is sent are identicals, then according to currently available total bandwidth, And the transmission bandwidth of each article of Media Stream sent in the X cycles to media stream receiver equipment, according to preset First variable quantity of basic flow in each bar Media Stream of ratio-dependent.If it is different, first determining in the X+1 cycles The every Media Stream sent;Further according to currently available total bandwidth, every Media Stream that the X+1 cycles send And the transmission bandwidth of each article of Media Stream sent in the X cycles to media stream receiver equipment, it is determined that The transmission bandwidth for every Media Stream that the X+1 cycles send to media stream receiver equipment.Wherein, every media The transmission bandwidth sum of stream is not more than currently available total bandwidth, and every Media Stream transmission bandwidth at every The minimum of Media Stream is used in bandwidth range using bandwidth and maximum.
Exemplary, if currently available total bandwidth is 1000KB/s, set in the X cycles to media stream receiver Each bar media stream bandwidth that preparation is sent is only the transmission bandwidth of basic flow, is respectively:The base of video flowing The transmission bandwidth of this stream is 600KB/s, and the transmission bandwidth of the basic flow of audio stream is 100KB/s, file The transmission bandwidth of the basic flow of stream is 100KB/s, then, 1000KB/s-600KB/s-100KB/s-100 KB/s=200KB/s, the first variable quantity determined according to preset proportion is respectively video flowing 200KB/s* (3/4)=150KB/s, audio stream 200KB/s* (1/8)=25KB/s, file stream 200KB/s* (1/8) =25KB/s.Wherein, the setting of preset proportion is usually an empirical value.
If it should be noted that currently available total bandwidth is more than the basic flow of each article of Media Stream in X cycles Transmission bandwidth sum, then media stream equipment may further determine that discardable in each bar first kind Media Stream The transmission bandwidth of stream, first kind Media Stream is the matchmaker comprising basic flow and discardable stream in every Media Stream Body stream.
That is the transmission bandwidth of every Media Stream that the X+1 cycles determine is also possible that the basic flow of video flowing Transmission bandwidth be 600KB/s, the transmission bandwidth of discardable stream is:1500KB/s, audio stream it is basic The transmission bandwidth of stream is 100KB/s, and the transmission bandwidth of discardable stream is:50KB/s, file stream it is basic The transmission bandwidth of stream is 100KB/s.Moreover, in actual applications, the transmission bandwidth of distribution can basis Every being actually needed for Media Stream and flexible allocation.
It should be understood that, it is generally the case that if the transmission bandwidth in each article of Media Stream in X cycles is only included The transmission bandwidth of basic flow, if currently available total bandwidth is more than the basic flow of each article of Media Stream in X cycles Transmission bandwidth sum, then the X+1 cycles it is determined that every Media Stream bandwidth when, can preferential handle Unnecessary bandwidth allocation is on the discardable stream of first kind Media Stream, and this is in order to avoid in Media Stream In transmitting procedure, if there is lost package, the data such as reference frame can also obtain loss from discardable stream Data, it is ensured that the communication quality of first kind Media Stream.Certainly, the transmission of every Media Stream is determined Bandwidth can be adjusted according to practical application, not limited, below just according in the X+1 cycles it is confirmed that The transmission bandwidth of the basic flow of every Media Stream is illustrated.
207th, media stream equipment is according to the transmission bandwidth of basic flow in each article of Media Stream of X cycles and One variable quantity, it is determined that the transmission bandwidth of the basic flow in every Media Stream of X+1 cycles.
In the present embodiment, the above-mentioned exemplified transmission bandwidth of basic flow in each article of Media Stream of X cycles Respectively:The transmission bandwidth of the basic flow of video flowing is 600KB/s, the transmission band of the basic flow of audio stream A width of 100KB/s, the transmission bandwidth of the basic flow of file stream is 100KB/s, and the first variable quantity is respectively: Video flowing 150KB/s, audio stream 25KB/s, file stream 25KB/s.
The transmission bandwidth of the basic flow in every Media Stream of X+1 cycles then determined is:The base of video flowing The transmission bandwidth 600KB/s+150KB/s=750KB/s of this stream, the transmission bandwidth of the basic flow of audio stream 100KB/s+25KB/s=125KB/s, the transmission bandwidth 100 of the basic flow of file stream KB/s+25KB/s=125KB/s.
208th, media stream equipment is in the X+1 cycles, according to determination in every matchmaker of X+1 cycles The transmission bandwidth of body stream sends every Media Stream to media stream receiver equipment.
In the present embodiment, media stream equipment in the X+1 cycles, according to determination video flowing it is basic The transmission bandwidth 750KB/s of stream, the transmission bandwidth 125KB/s of the basic flow of audio stream, file stream it is basic The transmission bandwidth 125KB/s of stream, video flowing, audio stream and file stream are sent to media stream receiver equipment.
In embodiments of the present invention, media stream equipment realizes the dynamic coordination of bandwidth resources, Transmission bandwidth is all determined to every Media Stream in the X+1 cycles, is not in the Media Stream of high priority The transmission bandwidth of the Media Stream of low priority is taken, and the transmission bandwidth of every Media Stream is controlled more Accurately, and then so that network detection is more accurate, business is more steady;The utilization of Internet resources is more reasonable, Situations such as reducing under-utilized network and overload.
2nd, first kind Media Stream is included in each article of Media Stream in X cycles, first kind Media Stream The transmission bandwidth of transmission bandwidth of the transmission bandwidth comprising basic flow and discardable stream.
As shown in figure 3, another embodiment of the method for transmission of multimedia streams includes in the embodiment of the present invention:
301st, session request is set up.
302nd, media stream equipment is set according to the transmission bandwidth of each bar Media Stream of determination to media stream receiver Preparation send each bar Media Stream.
303rd, media stream receiver equipment determines currently available total bandwidth and to matchmaker according to each bar Media Stream of reception Body stream sends equipment and sent.
304th, media stream equipment determines currently available total bandwidth.
305th, media stream equipment determine currently available total bandwidth and each bar media stream bandwidth sum it Between ratio.
Step 301 in the embodiment of the present invention is to 305 and the step 201 in embodiment illustrated in fig. 2 to 205 It is identical, do not repeat herein specifically.
It should be noted that in embodiments of the present invention, if currently available total bandwidth is more than the X cycles The transmission bandwidth sum of the basic flow of each bar Media Stream, perform step 306, followed by perform step 308, 310, if currently available total bandwidth be less than the X cycles each article of Media Stream basic flow transmission bandwidth it With, perform step 307, followed by perform step 309,310.
If the 306th, currently available total bandwidth be more than the X cycles each article of Media Stream basic flow transmission bandwidth it With then media stream equipment determines the first variable quantity of basic flow in each bar Media Stream according to preset proportion With the second variable quantity of discardable stream in first kind Media Stream.
In the present embodiment, first kind Media Stream, the first kind are included in each article of Media Stream in X cycles The transmission bandwidth of transmission bandwidth of the transmission bandwidth of Media Stream comprising basic flow and discardable stream.If currently may be used It is more than the transmission bandwidth sum of the basic flow of each article of Media Stream in X cycles with total bandwidth, then Media Stream is sent out Equipment is sent to determine the first variable quantity and first kind media of basic flow in each bar Media Stream according to preset proportion Second variable quantity of discardable stream in stream.
It is exemplary, if currently available total bandwidth is 1000KB/s, the Media Stream that the X cycles send for regarding Frequency flows, audio stream, file stream, wherein, video flowing and audio stream are considered as first kind Media Stream, video The basic flow of stream is 400KB/s, and discardable stream is 200KB/s, and the basic flow of audio stream is 50KB/s, Discardable stream is 50KB/s, and the basic flow of file stream is 100KB/s.First determined according to preset proportion Variable quantity is respectively video flowing 200KB/s* (1/2)=100KB/s, audio stream 200KB/s* (1/16) =12.5KB/s, file stream 200KB/s* (1/8)=25KB/s, the second variable quantity is respectively video flowing 200KB/s* (1/4)=50KB/s, audio stream 200KB/s* (1/16)=12.5KB/s.
It should be noted that in actual applications, Media Stream is including but not limited to video flowing, audio stream, File stream, may also include data flow, signaling flow etc..Above-mentioned used data are merely illustrative, number Value may with differ larger in practical application.
If the 307, currently available total bandwidth is less than the transmission bandwidth of the basic flow of each article of Media Stream in X cycles Sum, then media stream equipment according to preset proportion determine basic flow in each bar Media Stream first change Amount.
In the present embodiment, first kind Media Stream, the first kind are included in each article of Media Stream in X cycles The transmission bandwidth of transmission bandwidth of the transmission bandwidth of Media Stream comprising basic flow and discardable stream.If currently may be used It is less than the transmission bandwidth sum of the basic flow of each article of Media Stream in X cycles with total bandwidth, then Media Stream is sent out Equipment is sent to determine the first variable quantity of basic flow in each bar Media Stream according to preset proportion.
It is exemplary, if currently available total bandwidth is 1000KB/s, the Media Stream that the X cycles send for regarding Frequency flows, audio stream, file stream, wherein, video flowing and audio stream are considered as first kind Media Stream, video The basic flow of stream is 800KB/s, and discardable stream is 400KB/s, and the basic flow of audio stream is 200KB/s, Discardable stream is 100KB/s, and the basic flow of file stream is 200KB/s.Currently available total bandwidth is less than the The transmission bandwidth sum of the basic flow of each bar Media Stream in X cycles, then determine each bar matchmaker according to preset proportion The first variable quantity of basic flow is respectively in body stream, and video flowing -200KB/s* (2/3) is about -133KB/s, Audio stream -200KB/s* (1/3) is about -66.7KB/s, and file stream -200KB/s* (1/3) is about -66.7KB/s.
It should be noted that because in this step, currently available total bandwidth is less than each of X cycles The transmission bandwidth sum of the basic flow of bar Media Stream, that just illustrates that bandwidth resources are not enough, can only preferentially ensured The transmission of the basic flow of every Media Stream.
308th, media stream equipment is according to the transmission bandwidth of basic flow in each article of Media Stream of X cycles and One variable quantity, it is determined that the transmission bandwidth of the basic flow in every Media Stream of X+1 cycles, and according to X The transmission bandwidth and the second variable quantity of discardable stream in cycle each bar first kind Media Stream, it is determined that The transmission bandwidth of discardable stream in X+1 cycles each bar first kind Media Stream.
In the present embodiment, media stream equipment is according to the transmission of basic flow in each article of Media Stream of X cycles Bandwidth and the first variable quantity, and according to the transmission of discardable stream in each article of first kind Media Stream of X cycles Bandwidth and the second variable quantity, it is determined that in each article of first kind Media Stream of X+1 cycles discardable stream hair Send bandwidth.I.e. the transmission bandwidth of video flowing is the transmission bandwidth 400KB/s+100KB/s of basic flow with that can lose The transmission bandwidth 200KB/s+50KB/s sums of abandoned stream, are 750KB/s, and the transmission bandwidth of audio stream is The transmission bandwidth 50KB/s+12.5KB/s of basic flow and the transmission bandwidth 50 of discardable stream KB/s+12.5KB/s sums, are 125KB/s, the transmission bandwidth of file stream is 100KB/s+25KB/s=125 KB/s。
309th, media stream equipment is according to the transmission bandwidth of basic flow in each article of Media Stream of X cycles and One variable quantity, it is determined that the transmission bandwidth of the basic flow in every Media Stream of X+1 cycles.
In the present embodiment, media stream equipment is according to the transmission of basic flow in each article of Media Stream of X cycles Bandwidth and the first variable quantity, it is determined that the transmission bandwidth of the basic flow in every Media Stream of X+1 cycles.I.e. The transmission bandwidth of video flowing is 800KB/s-133KB/s=667KB/s, and the transmission bandwidth of audio stream is 200 KB/s-66.7KB/s=133.3KB/s, the transmission bandwidth of file stream is 200KB/s-66.7KB/s=133.3 KB/s。
310th, media stream equipment is in the X+1 cycles, according to determination in every matchmaker of X+1 cycles The transmission bandwidth of body stream sends every Media Stream to media stream receiver equipment.
In the present embodiment, if on connect step 308, media stream equipment is in the X+1 cycles, according to true The transmission bandwidth 750KB/s of fixed video flowing, the transmission bandwidth 125KB/s of audio stream, the transmission of file stream Bandwidth 125KB/s sends video flowing, audio stream and file stream to media stream receiver equipment.
If on connect step 309, media stream equipment is in the X+1 cycles, according to the video flowing of determination Transmission bandwidth 667KB/s, the transmission bandwidth 133.3KB/s of audio stream, the transmission bandwidth 133.3 of file stream KB/s sends video flowing, audio stream and file stream to media stream receiver equipment.
It should be noted that in embodiments of the present invention, if connecing step 308, step 310 in step 310 In may also include:Media stream equipment determines that in the X+1 cycles total flow should be sent, should sent always Flow is the product of the summation and the time span in X+1 cycles of the transmission bandwidth of every Media Stream;Media Stream sends transmission stream of the equipment according to every Media Stream that current time is carved at the beginning of the X+1 cycles Amount, predicts that the prediction in the X+1 cycles sends total flow, current time belongs to the X+1 cycles;When pre- Survey and send total flow more than when should send total flow, media stream equipment was current time to the X+1 weeks In the time that phase terminates, the transmission of discardable stream is reduced or stopped.
Exemplary, if a cycle is 1s, it is divided into 5 minor cycles, media stream equipment is in X+1 Cycle receives new currently available total bandwidth 800KB/s, i.e., should send total amount for 800KB, and X+1 Preceding 2/5 cycle in cycle sends also according to the transmission bandwidth of the every Media Stream determined before, so, Preceding 2/5 cycle has sent total amount 1000KB/s*0.4s=400KB, predicts that the prediction in the X+1 cycles is sent out It is 1000KB to send total amount, and 1000KB is more than 800KB, so, at latter 3/5 week of the X+1 cycles Phase reduces or stopped the transmission of discardable data flow.
In embodiments of the present invention there is provided be the X cycles each article of Media Stream in include first kind matchmaker Body stream, transmission bandwidth of the transmission bandwidth comprising basic flow of first kind Media Stream and the transmission of discardable stream Bandwidth.In this case, it is how to determine the transmission bandwidth in every Media Stream in X+1 cycles, Most basic is that whether the basic flow of each article of Media Stream in X cycles sends band regardless of currently available total bandwidth Wide sum, will ensure the transmission of the basic flow of every Media Stream in the X+1 cycles, it is ensured that multimedia The communication of video-signal system, if there is the transmission of discardable stream, can further avoid being transmitted across in Media Stream Cheng Zhong, if there is lost package, the data such as reference frame can also obtain the data of loss from discardable stream, It ensure that the communication quality of first kind Media Stream.
The method to the transmission of multimedia streams in the embodiment of the present invention is described above, with reference to figure 4, and the media stream equipment in the embodiment of the present invention is described with reference to foregoing embodiment of the method. As shown in figure 4, media stream equipment is additionally provided in the embodiment of the present invention, including:First determines mould Block 401, multithread cooperative module 402 and sending module 403, the first determining module 401, multithread collaboration mould Block 402 and sending module 403 can perform following described corresponding functions:
First determining module 401, for determining currently available total bandwidth;
Multithread cooperative module 402, for the currently available total bandwidth determined according to the first determining module, and The transmission bandwidth of each article of Media Stream sent in the X cycles to media stream receiver equipment, it is determined that in X+1 The transmission bandwidth for every Media Stream that cycle sends to media stream receiver equipment, X is the integer more than 0;
Sending module 403, in the X+1 cycles, according to the determination of multithread cooperative module in X+1 The transmission bandwidth of every Media Stream of cycle sends every Media Stream to media stream receiver equipment.
Further, in some embodiments of the invention, multithread cooperative module is specifically for performing Fig. 2 In step 202,206,207 or the step 302 in Fig. 3,306,307,308.
First determining module 401 is specifically for performing the step 204 in Fig. 2 or the step 304 in Fig. 3.
Sending module 403 is specifically in the step 201 in execution Fig. 2,203,208 or Fig. 3 Step 301,303,310.
Further, in some embodiments of the invention, as shown in figure 4, media stream equipment also May include the second determining module 404, step 205 that the second determining module 404 is used to perform in Fig. 2 or Step 305 in Fig. 3.
The embodiment of the present invention will not be described in detail herein.Device in Fig. 3 or Fig. 4 is in the form of functional module To present.Here " module " can refer to ASIC (application-specific integrated Circuit, ASIC), circuit performs the processor and memory of one or more softwares or firmware program, Integrated logic circuit, and/or other can provide the device of above-mentioned functions.
Another embodiment of media stream equipment includes in such as Fig. 6, the embodiment of the present invention:Transceiver 601, memory 602, processor 603 and bus 604;Transceiver 601, memory 602, processor 603 are connected by bus 604;Memory 602 is used to store media stream in execution the present invention program and set The application code of standby performed method, and controlled by processor 603 to perform.Processor 603 is used The application code stored in the execution memory.
Memory 602 can be read-only storage (read-only memory, ROM) or can store static state Information and the other kinds of static storage device of instruction, random access memory (random access Memory, RAM) or can storage information and instruction other kinds of dynamic memory, can also It is EEPROM (Electrically Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) Or other optical disc storages, laser disc storage (including compression laser disc, laser disc, laser disc, Digital Versatile Disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store With instruction or data structure form desired program code and can by computer access any other Medium, but not limited to this.Memory can be individually present, and be connected by bus with processor.Deposit Reservoir can also be integrated with processor.
Processor 603 can be a general central processor (CPU), microprocessor, application-specific Integrated circuit (application-specific integrated circuit, ASIC), or it is one or more for controlling The integrated circuit that the present invention program program processed is performed.Can also be a kind of IC chip, with signal Disposal ability, can be general processor, digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA) or other PLDs, discrete gate or Person's transistor logic, discrete hardware components, it is possible to achieve or perform each in the embodiment of the present invention Method, step and logic diagram.General processor can be microprocessor or any conventional Processor etc..
Bus 604 may include a path, and information is transmitted between said modules.The transceiver 601, makes With the device of any class of transceiver one, for other equipment or communication, such as Ethernet, nothing Line access (RAN), WLAN (Wireless Local Area Networks, WLAN) etc..
Specifically, in some embodiments of the invention, transceiver is used to perform the step in above-mentioned Fig. 2 201st, 203,204,208 or the step 301 in Fig. 3,303,304,310.
Processor be used to performing step 202 in Fig. 2,206,207 and the step 302 in Fig. 3,306, 307、308。
Specifically, in some embodiments of the invention, processor is additionally operable to perform the step 205 in Fig. 2 Or the step 305 in Fig. 3.
The embodiment of the present invention additionally provides a kind of computer-readable storage medium, for saving as above-mentioned Fig. 4, Fig. 5 Or the computer software instructions used in the media stream equipment described in Fig. 6, it includes above-mentioned for performing Program designed by embodiment of the method.By the program for performing storage, it is possible to achieve to a plurality of Media Stream The corrdinated adjustment of transmission bandwidth.
It is apparent to those skilled in the art that, it is for convenience and simplicity of description, above-mentioned to retouch The specific work process for the system, apparatus, and unit stated, may be referred to the correspondence in preceding method embodiment Process, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, device and Method, can be realized by another way.For example, device embodiment described above is only to show Meaning property, for example, the division of the unit, only a kind of division of logic function can when actually realizing To there is other dividing mode, such as multiple units or component can combine or be desirably integrated into another System, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be the INDIRECT COUPLING of device or unit by some interfaces Or communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, make It can be for the part that unit is shown or may not be physical location, you can with positioned at a place, Or can also be distributed on multiple NEs.Can select according to the actual needs part therein or Person's whole units realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit In or unit be individually physically present, can also two or more units be integrated in one In individual unit.Above-mentioned integrated unit can both be realized in the form of hardware, it would however also be possible to employ software work( The form of energy unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and is used as independent production marketing Or in use, can be stored in a computer read/write memory medium.Understood based on such, this Part that the technical scheme of invention substantially contributes to prior art in other words or the technical scheme It can completely or partially be embodied in the form of software product, the computer software product is stored in one In storage medium, including some instructions to cause a computer equipment (can be personal computer, Server, or the network equipment etc.) perform all or part of step of each embodiment methods described of the invention Suddenly.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), Magnetic disc or CD etc. are various can be with the medium of store program codes.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations; Although the present invention is described in detail with reference to the foregoing embodiments, one of ordinary skill in the art should Work as understanding:It can still modify to the technical scheme described in foregoing embodiments, or to it Middle some technical characteristics carry out equivalent substitution;And these modifications or replacement, do not make appropriate technical solution Essence depart from various embodiments of the present invention technical scheme spirit and scope.

Claims (17)

1. a kind of method of transmission of multimedia streams, it is characterised in that methods described includes:
Media stream equipment determines currently available total bandwidth;
The media stream equipment is according to the currently available total bandwidth, and in the X cycles to described The transmission bandwidth for each bar Media Stream that media stream receiver equipment is sent, it is determined that in the X+1 cycles to the matchmaker The transmission bandwidth for every Media Stream that body stream receiving device is sent, the X is the integer more than 0;
The media stream equipment is in the X+1 cycles, according to determination in the X+1 cycles The transmission bandwidth of every Media Stream sends every Media Stream to the media stream receiver equipment.
2. according to the method described in claim 1, it is characterised in that each article of media in the X cycles The transmission bandwidth of stream includes the transmission bandwidth of basic flow, and the determination is in the X+1 cycles to the Media Stream The transmission bandwidth for every Media Stream that receiving device is sent, including:
The media stream equipment determines first of basic flow in each bar Media Stream according to preset proportion Variable quantity;
The media stream equipment is according to the transmission bandwidth of basic flow in described each article of Media Stream of X cycles With first variable quantity, it is determined that the transmission bandwidth of the basic flow in described every Media Stream of X+1 cycles.
3. method according to claim 2, it is characterised in that the determination is in the X+1 After the transmission bandwidth of the basic flow of every Media Stream of cycle, methods described also includes:
If the currently available total bandwidth is more than the transmission of the basic flow of each article of Media Stream in the X cycles Bandwidth sum, then the media stream equipment determine the hair of discardable stream in each bar first kind Media Stream Send bandwidth, the first kind Media Stream is comprising basic flow and discardable stream in every Media Stream Media Stream.
4. according to the method described in claim 1, it is characterised in that each article of media in the X cycles First kind Media Stream is included in stream, the transmission bandwidth of the first kind Media Stream includes the hair of basic flow The transmission bandwidth of bandwidth and discardable stream is sent, the determination is set in the X+1 cycles to the media stream receiver The transmission bandwidth for every Media Stream that preparation is sent, including:
If the currently available total bandwidth is more than the transmission of the basic flow of each article of Media Stream in the X cycles Bandwidth sum, then the media stream equipment determined according to preset proportion in each bar Media Stream basic Second variable quantity of discardable stream in the first variable quantity and first kind Media Stream of stream;
The media stream equipment is according to the transmission bandwidth of basic flow in described each article of Media Stream of X cycles With first variable quantity, it is determined that the transmission bandwidth of the basic flow in described every Media Stream of X+1 cycles, And according to the transmission bandwidth and described second of discardable stream in described each article of first kind Media Stream of X cycles Variable quantity, it is determined that in described each article of first kind Media Stream of X+1 cycles discardable stream transmission bandwidth.
5. method according to claim 4, it is characterised in that methods described also includes:
If the currently available total bandwidth is less than the transmission of the basic flow of each article of Media Stream in the X cycles Bandwidth sum, then the media stream equipment determined according to preset proportion in each bar Media Stream basic First variable quantity of stream;
The media stream equipment is according to the transmission bandwidth of basic flow in described each article of Media Stream of X cycles With first variable quantity, it is determined that the transmission bandwidth of the basic flow in described every Media Stream of X+1 cycles.
6. according to the method described in claim 1, it is characterised in that the media stream equipment is determined After currently available total bandwidth, methods described also includes:
The media stream equipment determines the every Media Stream sent in the X+1 cycles;
The media stream equipment is according to the currently available total bandwidth, and in the X cycles to described The transmission bandwidth for each bar Media Stream that media stream receiver equipment is sent, it is determined that in the X+1 cycles to the matchmaker The transmission bandwidth for every Media Stream that body stream receiving device is sent, including:
The media stream equipment according to the currently available total bandwidth, what the X+1 cycles sent The transmission of every Media Stream and each article of Media Stream sent in the X cycles to the media stream receiver equipment Bandwidth, it is determined that the hair of the every Media Stream sent in the X+1 cycles to the media stream receiver equipment Send bandwidth.
7. according to any described methods of claim 1-6, it is characterised in that described to exist according to determination The transmission bandwidth of every Media Stream described in the X+1 cycles sends described every to the media stream receiver equipment Before Media Stream, methods described also includes:
The media stream equipment determines the currently available total bandwidth and each bar media stream band Ratio between wide sum;
When the ratio is more than the first preset threshold value, the media stream equipment heightens every matchmaker The code rate of body stream;Or,
When the ratio is less than the second preset threshold value, the media stream equipment turns down every matchmaker The code rate of body stream.
8. the method according to claim 3 or 4, it is characterised in that methods described also includes:
The media stream equipment determines the total flow that should send in the X+1 cycles, described to send out Send the summation and the time span in the X+1 cycles for the transmission bandwidth that total flow is every Media Stream Product;
The media stream equipment is according to being carved into the described every of current time at the beginning of the X+1 cycles The transmitted traffic of bar Media Stream, predicts that the prediction in the X+1 cycles sends total flow, described current Moment belongs to the X+1 cycles;
When the prediction, which sends total flow, should send total flow more than described in, the media stream equipment Within the time at the current time to the X+1 end cycles, reduce or stop the discardable stream Transmission.
9. a kind of media stream equipment, it is characterised in that including:
First determining module, for determining currently available total bandwidth;
Multithread cooperative module, for the currently available total bandwidth determined according to first determining module, with And the transmission bandwidth of each article of Media Stream sent in the X cycles to the media stream receiver equipment, it is determined that The transmission bandwidth for every Media Stream that the X+1 cycles send to the media stream receiver equipment, the X is Integer more than 0;
Sending module, in the X+1 cycles, according to multithread cooperative module determination in institute The transmission bandwidth for stating every Media Stream of X+1 cycles sends every matchmaker to the media stream receiver equipment Body stream.
10. media stream equipment according to claim 9, it is characterised in that described the X weeks The transmission bandwidth of each bar Media Stream of phase includes the transmission bandwidth of basic flow, and the multithread cooperative module includes:
First determining unit, for determining first of basic flow in each bar Media Stream according to preset proportion Variable quantity;
Second determining unit, according to the transmission bandwidth of basic flow and institute in described each article of Media Stream of X cycles The first variable quantity of the first determining unit determination is stated, it is determined that in the base of described every Media Stream of X+1 cycles The transmission bandwidth of this stream.
11. media stream equipment according to claim 10, it is characterised in that
Second determining unit, if being additionally operable to the currently available total bandwidth more than the X cycles The transmission bandwidth sum of the basic flow of each bar Media Stream, then second determining unit determine each bar first kind The transmission bandwidth of discardable stream in type Media Stream, the first kind Media Stream is in every Media Stream Media Stream comprising basic flow and discardable stream.
12. media stream equipment according to claim 9, it is characterised in that described the X weeks First kind Media Stream, the transmission bandwidth bag of the first kind Media Stream are included in each bar Media Stream of phase The transmission bandwidth of transmission bandwidth and discardable stream containing basic flow, the multithread cooperative module includes:
3rd determining unit, if being more than each article of matchmaker in the X cycles for the currently available total bandwidth The transmission bandwidth sum of the basic flow of body stream, then the 3rd determining unit is described according to preset proportion determination In each bar Media Stream in the first variable quantity and first kind Media Stream of basic flow discardable stream second change Amount;
4th determining unit, for the transmission bandwidth according to basic flow in described each article of Media Stream of X cycles The first variable quantity determined with the 3rd determining unit, it is determined that in described every Media Stream of X+1 cycles Basic flow transmission bandwidth, and according to discardable stream in described each article of first kind Media Stream of X cycles Transmission bandwidth and the 3rd determining unit determine the second variable quantity, it is determined that in the X+1 cycles The transmission bandwidth of discardable stream in each bar first kind Media Stream.
13. media stream equipment according to claim 12, it is characterised in that
3rd determining unit, if being additionally operable to each article that the currently available total bandwidth is less than the X cycles The transmission bandwidth sum of the basic flow of Media Stream, then the 3rd determining unit determine institute according to preset proportion State the first variable quantity of basic flow in each bar Media Stream;
4th determining unit, is additionally operable to the transmission band according to basic flow in described each article of Media Stream of X cycles The first variable quantity that wide and described 3rd determining unit is determined, it is determined that in described every media of X+1 cycles The transmission bandwidth of the basic flow of stream.
14. media stream equipment according to claim 9, it is characterised in that the Media Stream Sending equipment also includes:
Second determining module, for every Media Stream for determining to send in the X+1 cycles;
The multithread cooperative module, specifically for according to first determining module determine it is currently available total Bandwidth, every Media Stream that the X+1 cycles that second determining module is determined send and at the X weeks The transmission bandwidth for each bar Media Stream that phase sends to the media stream receiver equipment, it is determined that in the X+1 cycles The transmission bandwidth of the every Media Stream sent to the media stream receiver equipment.
15. any media stream equipment according to claim 9-14, it is characterised in that described Media stream equipment also includes:
3rd determining module, for determining the currently available total bandwidth and each bar media stream band Ratio between wide sum;
Coding module, for when the ratio is more than the first preset threshold value, the coding module to heighten institute State the code rate of every Media Stream;Or, when the ratio is less than the second preset threshold value, the coding Module turns down the code rate of every Media Stream.
16. the media stream equipment according to claim 11 or 12, it is characterised in that described Media stream equipment also includes:
4th determining module, it is described to send out for determining the total flow that should send in the X+1 cycles Send the summation and the time span in the X+1 cycles for the transmission bandwidth that total flow is every Media Stream Product;
Prediction module, for according to every matchmaker that current time is carved at the beginning of the X+1 cycles The transmitted traffic of body stream, predicts that the prediction in the X+1 cycles sends total flow, the current time Belong to the X+1 cycles;
The sending module, is additionally operable to when the prediction sends total flow and should send total flow more than described in, The transmitting element was reduced or stopped within the time at the current time to the X+1 end cycles The transmission of the discardable stream.
17. a kind of media stream equipment, it is characterised in that including:
Transceiver, memory, processor, bus;
The transceiver, the memory and the processor are connected by the bus;
The memory is used to storing the application code for supporting that media stream equipment is performed, and with receipts Device coupling is sent out, the processor is configurable for performing the application program stored in the memory;
The transceiver, for determining currently available total bandwidth;In the X+1 cycles, according to determination The transmission bandwidth in described every Media Stream of X+1 cycles send described to the media stream receiver equipment Every Media Stream;
The processor, for according to the currently available total bandwidth, and in the X cycles to the matchmaker The transmission bandwidth for each bar Media Stream that body stream receiving device is sent, it is determined that in the X+1 cycles to the media The transmission bandwidth for every Media Stream that receiving device is sent is flowed, the X is the integer more than 0.
CN201610113627.7A 2016-02-29 2016-02-29 Multimedia stream transmission method and media stream sending equipment Active CN107135171B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610113627.7A CN107135171B (en) 2016-02-29 2016-02-29 Multimedia stream transmission method and media stream sending equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610113627.7A CN107135171B (en) 2016-02-29 2016-02-29 Multimedia stream transmission method and media stream sending equipment

Publications (2)

Publication Number Publication Date
CN107135171A true CN107135171A (en) 2017-09-05
CN107135171B CN107135171B (en) 2021-06-29

Family

ID=59721445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610113627.7A Active CN107135171B (en) 2016-02-29 2016-02-29 Multimedia stream transmission method and media stream sending equipment

Country Status (1)

Country Link
CN (1) CN107135171B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202701A (en) * 2006-12-12 2008-06-18 中兴通讯股份有限公司 Method for distributing band width of assemblage useable bit rate transaction in grouping network
CN101783758A (en) * 2009-08-28 2010-07-21 中国科学院声学研究所 Family coaxial network MAC layer data transmission method based on service differentiation
CN102148747A (en) * 2010-07-20 2011-08-10 华为软件技术有限公司 Media stream transmission method and device
CN102571583A (en) * 2012-01-11 2012-07-11 浙江工业大学 Quality of service (QoS) aware self-adaptive bandwidth distribution system for wireless-optical broadband access networks (WOBAN) and self-adaptive bandwidth distribution method
CN102752076A (en) * 2012-06-20 2012-10-24 华为技术有限公司 Control method, device and computer system for data transmission
US9014698B2 (en) * 2011-03-14 2015-04-21 Clearwire Ip Holdings Llc Systems and methods for performing handover cancellation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202701A (en) * 2006-12-12 2008-06-18 中兴通讯股份有限公司 Method for distributing band width of assemblage useable bit rate transaction in grouping network
CN101783758A (en) * 2009-08-28 2010-07-21 中国科学院声学研究所 Family coaxial network MAC layer data transmission method based on service differentiation
CN102148747A (en) * 2010-07-20 2011-08-10 华为软件技术有限公司 Media stream transmission method and device
US9014698B2 (en) * 2011-03-14 2015-04-21 Clearwire Ip Holdings Llc Systems and methods for performing handover cancellation
CN102571583A (en) * 2012-01-11 2012-07-11 浙江工业大学 Quality of service (QoS) aware self-adaptive bandwidth distribution system for wireless-optical broadband access networks (WOBAN) and self-adaptive bandwidth distribution method
CN102752076A (en) * 2012-06-20 2012-10-24 华为技术有限公司 Control method, device and computer system for data transmission

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
毛志侠: ""一种自适应流媒体数据传输包的设计与实现"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Also Published As

Publication number Publication date
CN107135171B (en) 2021-06-29

Similar Documents

Publication Publication Date Title
CN105916208B (en) A kind of resource allocation methods and communication terminal
CN103442391A (en) Data transmission method and system as well as user terminal
CN102195885A (en) Message processing method and device
CN104009991B (en) Audio communication system and method
CN106973066A (en) H264 encoded videos data transmission method and system in a kind of real-time communication
CN102711260B (en) QoS (quality of service) processing method, system and equipment for GBR (guaranteed bit rate) bearer service
CN105471865A (en) Method for dynamic network state adaptation of video stream
WO2017148446A1 (en) Network resource scheduling method, device and system, and network node
CN103248965A (en) Method for video transmission queue scheduling based on approximate time delay
CN105099778A (en) Bandwidth allocation method and device
CN101930417B (en) Arbiter for serial data bus-based streaming media transmission system terminal equipment
CN103209494A (en) Real-time video business resource distribution method based on importance mark
CN105900481B (en) bandwidth selection method of wireless fidelity technology and access point AP
CN109981483A (en) A kind of LTE dispatching method and device towards the perception of parcel real time business
CN108600834A (en) Video transmission system, reception/transmission/transmission method and device
US20220304000A1 (en) Transmission rate configuration method and apparatus
CN108738007A (en) A kind of audio frequency transmission method, equipment and system
CN102957729B (en) A kind of multimedia conferencing audio/video transmission method and equipment
CN109428842A (en) A kind of QoS information transfer approach and device
CN103795645A (en) Data transmission method, device and wireless router terminal
CN102800318A (en) Device and method for transmitting and receiving audio data streams
CN103533452B (en) The transfer control method and device of a kind of Streaming Media
CN107135171A (en) The method and media stream equipment of a kind of transmission of multimedia streams
CN111064768B (en) Printer data transmission control method, device, equipment and storage medium
CN115915149A (en) 5G-TSN fusion network resource allocation method based on weighted polling scheduling

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant