CN107566854A - A kind of acquisition of media content and sending method and device - Google Patents

A kind of acquisition of media content and sending method and device Download PDF

Info

Publication number
CN107566854A
CN107566854A CN201610516466.6A CN201610516466A CN107566854A CN 107566854 A CN107566854 A CN 107566854A CN 201610516466 A CN201610516466 A CN 201610516466A CN 107566854 A CN107566854 A CN 107566854A
Authority
CN
China
Prior art keywords
target
media
terminal
resolution
bit rate
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
CN201610516466.6A
Other languages
Chinese (zh)
Other versions
CN107566854B (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 CN201610516466.6A priority Critical patent/CN107566854B/en
Publication of CN107566854A publication Critical patent/CN107566854A/en
Application granted granted Critical
Publication of CN107566854B publication Critical patent/CN107566854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present invention provides acquisition and sending method and the device of a kind of media content, it is related to multimedia technology field, can be it is determined that in the case of target bit rate, by selecting appropriate resolution ratio so that have the video display quality of the terminal of current screen size higher.Concrete scheme is:Media description file is sent to terminal by media server, terminal determines target bit rate according to current network quality, and according to the screen size of terminal, from at least two resolution ratio corresponding to target bit rate, determine target resolution, target burst corresponding with target bit rate and target resolution is determined according to playing progress rate, and then media content corresponding to target burst is obtained from media server.The embodiment of the present invention is used for the acquisition and transmission of media content.

Description

A kind of acquisition of media content and sending method and device
Technical field
The present embodiments relate to multimedia technology field, more particularly to a kind of acquisition of media content and sending method and Device.
Background technology
In current video quality assessment technology, the influence factor of video display quality mainly includes:Resolution ratio, frame Screen size of rate, type of coding, code check, content complexity and terminal etc..For with different screen size terminal, when During ceteris paribus, the video display quality of resolution ratio difference then terminal is also different.
In the prior art, HTTP is generally described by the media exhibition in media description file (HyperText Transfer Protocol, HTTP) Media Stream, the corresponding code check of every kind of media exhibition and a resolution Rate.In the case of other factors are fixed, terminal determines target bit rate according to current network quality, and obtains target bit rate pair The media content of Media Stream in the media exhibition answered.
The terminal that might not enable to have current screen size due to the resolution ratio corresponding to target bit rate regards Frequency display quality is higher, and may be such that the video display quality of the terminal with current screen size is relatively low, so as to influence The video viewing experience of terminal user.
The content of the invention
The embodiment of the present invention provides acquisition and sending method and the device of a kind of media content, can be it is determined that target bit rate In the case of, by selecting appropriate resolution ratio so that have the video display quality of the terminal of current screen size higher.
To reach above-mentioned purpose, embodiments of the invention adopt the following technical scheme that:
First aspect, there is provided a kind of acquisition of media content and sending method, including:First, media server is by media Description file is sent to terminal.Wherein, media description file is used to describe at least two media exhibitions, and each media exhibition is corresponding One code check and a resolution ratio, corresponding at least two resolution ratio of each code check, each media exhibition include at least one burst. Terminal determines target bit rate after media description file is received, according to current network quality, and further according to the screen of terminal Curtain size, from least two resolution ratio corresponding to target bit rate, determines target resolution.Then, terminal further according to play into Degree determines target burst corresponding with target bit rate and target resolution, and is sent to media server and carry target burst The target fragment request message of segmental identification.Afterwards, media server sends media content corresponding to target burst to terminal.
Wherein, due to the corresponding code check of each media exhibition and a resolution ratio in media description file, each code Corresponding at least two resolution ratio of rate, thus, terminal, can be according to the screen size of terminal from object code it is determined that after target bit rate Determine to cause video display quality highest target resolution at least two resolution ratio corresponding to rate, so as to according to playing progress rate It is determined that target burst corresponding with target bit rate and target resolution, obtains media content corresponding to target burst.Therefore, terminal By selecting appropriate resolution ratio, can enabling, there is the terminal of current screen size, which to obtain preferable video, shows matter Amount, improve the video viewing experience of terminal user.
In a possible design, this method can also include:Terminal sends decision-making configured information to media server, To indicate that target resolution is determined by terminal, so that media server, which understands, needs the media description file for being sent to terminal In at least need to include at least two resolution ratio corresponding to target bit rate.
In a possible design, this method also includes:Source server sends media description file to media server And media content.
Second aspect, the embodiments of the invention provide a kind of computer-readable storage medium, for saving as used in above-mentioned terminal Computer software instructions, it, which is included, is used to perform program designed by above-mentioned aspect.
The third aspect, the embodiments of the invention provide another computer-readable storage medium, for saving as above-mentioned media clothes The computer software instructions being engaged in used in device, it, which is included, is used to perform the program designed by above-mentioned aspect.
Fourth aspect, the embodiments of the invention provide a kind of terminal, the terminal, which has, realizes above method terminal in practice The function of behavior.The function can be realized by hardware, and corresponding software can also be performed by hardware and is realized.The hardware Or software includes one or more units corresponding with above-mentioned function phase.
5th aspect, the embodiments of the invention provide a kind of media server, the media server, which has, realizes above-mentioned side The function of method media server behavior in practice.The function can be realized by hardware, can also be performed by hardware corresponding Software realize.The hardware or software include one or more units corresponding with above-mentioned function phase.
6th aspect, the structure of terminal include memory, transceiver and processor.Wherein memory is used to store and calculated Machine executable program code, and with and transceiver couples.Described program code includes instruction, when finger described in the computing device When making, the instruction makes the terminal perform information involved in the above method or instruction.
7th aspect, the structure of media server include memory, transceiver and processor.Wherein memory is used to deposit Store up computer executable program code, and with and transceiver couples.Described program code includes instruction, when the computing device During the instruction, the instruction makes the media server perform information involved in the above method or instruction.
Eighth aspect, there is provided a kind of acquisition of media content and sending method, including:First, media server is by media Description file is sent to terminal, wherein, media description file is used to describe at least two media exhibitions, and each media exhibition is corresponding One code check and a resolution ratio, corresponding at least two resolution ratio of each code check, each media exhibition include at least one burst. Terminal determines target bit rate after media description file is received, according to current network quality, then by target bit rate, terminal Screen size and playing progress rate instruction are sent to media server.Then, media server is according to the screen size of terminal, from mesh In at least two resolution ratio corresponding to coding rate, target resolution is determined, and determination and target bit rate are indicated according to playing progress rate With target resolution corresponding to target burst.Afterwards, media server sends media content corresponding to target burst to terminal.
Because the corresponding code check of each media exhibition in media description file and a resolution ratio, each code check are corresponding At least two resolution ratio, thus, terminal it is determined that after target bit rate, by by target bit rate, terminal screen size and broadcast Put tempo instructions and be sent to media server, it is corresponding from target bit rate to cause screen size of the media server according to terminal At least two resolution ratio in determine to cause video display quality highest target resolution, it is true so as to be indicated according to playing progress rate Fixed target burst corresponding with target bit rate and target resolution, and send media content corresponding to target burst to terminal.Cause This, by selecting appropriate resolution ratio, the terminal that can enable has current screen size obtains preferably media server Video display quality, improve the video viewing experience of terminal user.
In a kind of possible design, playing progress rate is designated as time point or segmental identification;When playing progress rate is designated as point When piece identifies, media server determines target fragment packets corresponding with target bit rate and target resolution according to playing progress rate instruction Include:The burst that media server indicates according to segmental identification determines time point, and determines target bit rate and target according to time point Target burst corresponding to resolution ratio.
In a kind of possible design, this method can also include:Terminal sends decision-making configured information to media server, To indicate that target resolution is determined by media server, so that media server was clearly required according to target bit rate and end The screen size at end determines target resolution.
In a kind of possible design, this method can also include:Source server sends media description to media server File and media content.
9th aspect, the embodiments of the invention provide a kind of computer-readable storage medium, for saving as used in above-mentioned terminal Computer software instructions, it, which is included, is used to perform program designed by above-mentioned eighth aspect.
Tenth aspect, the embodiments of the invention provide another computer-readable storage medium, for saving as above-mentioned media clothes The computer software instructions being engaged in used in device, it, which is included, is used to perform the program designed by above-mentioned eighth aspect.
Tenth on the one hand, and the embodiments of the invention provide a kind of terminal, the terminal has the side for realizing above-mentioned eighth aspect The function of method terminal behavior in practice.The function can be realized by hardware, and corresponding software can also be performed by hardware Realize.The hardware or software include one or more units corresponding with above-mentioned function phase.
12nd aspect, the embodiments of the invention provide a kind of media server, the media server is above-mentioned with realizing The function of the method for eighth aspect media server behavior in practice.The function can be realized by hardware, can also pass through Hardware performs corresponding software and realized.The hardware or software include one or more units corresponding with above-mentioned function phase.
13rd aspect, the structure of terminal include memory, transceiver and processor.Wherein memory is based on storing Calculation machine executable program code, and with and transceiver couples.Described program code includes instruction, when described in the computing device It is described to instruct information involved in the method for making the terminal perform above-mentioned eighth aspect or instruction during instruction.
Fourteenth aspect, the structure of media server include memory, transceiver and processor.Wherein memory is used for Store computer executable program code, and with and transceiver couples.Described program code includes instruction, when the processor is held During the row instruction, the instruction make the media server perform information involved in the method for above-mentioned eighth aspect or Instruction.
15th aspect, there is provided a kind of system, include the terminal and media services of source server and the offer of above-mentioned aspect Device.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art The required accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are only some realities of the present invention Example is applied, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of basic framework schematic diagram of media play system provided in an embodiment of the present invention;
Fig. 2 is a kind of terminal provided in an embodiment of the present invention, the structural representation of media server;
Fig. 3 is acquisition and the sending method flow chart of a kind of media content provided in an embodiment of the present invention;
Fig. 4 is the structural representation of the media description file in a kind of self adaptation stream provided in an embodiment of the present invention;
Fig. 5 is acquisition and the sending method flow chart of another media content provided in an embodiment of the present invention;
Fig. 6 is acquisition and the sending method flow chart of another media content provided in an embodiment of the present invention;
Fig. 7 is the structural representation of another terminal provided in an embodiment of the present invention;
Fig. 8 is the structural representation of another media server provided in an embodiment of the present invention;
Fig. 9 is the structural representation of another media server provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes.Obviously, described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
In order to make it easy to understand, the explanation for giving part concept related to the present invention of example is for reference.It is as follows:
Code check:That is bit rate, the bit number of transmission per second is referred to.
Resolution ratio:Pixel number included in inches, can include width value and height value, and width value is used for table Show the pixel value that can be shown in horizontal direction, height value is used to represent the pixel value that can be shown in vertical direction.
Content complexity:Show the complexity or diversity level of video pictures content.
Type of coding:Format Type used by Video coding, such as can have H.264/avc type, H.265/hevc Type etc..
Frame per second:The frame number per second that can be shown, it is that measurement shows measuring for frame number.
Due to each corresponding code check of media exhibition of the prior art and a resolution ratio, and a code check is only corresponding Only one resolution ratio, when terminal determines target bit rate according to current network quality, and obtain object code in media description file During media content in media exhibition corresponding to rate, resolution ratio corresponding to target bit rate may be such that with current screen size Terminal video display quality it is relatively low, so as to have impact on the video viewing experience of terminal user.
In view of the above-mentioned problems, following examples of the present invention provide acquisition and sending method and the device of a kind of media content, Can be it is determined that in the case of target bit rate, by selecting appropriate resolution ratio, to cause there is the terminal of current screen size Preferable video display quality can be obtained.
The basic framework schematic diagram of media play system in the embodiment of the present invention may refer to Fig. 1, be taken including source Business device 1100, one or more media servers 1200 and multiple terminals 1300.Involved Media Stream in media play system For HTTP flow, can be specifically HTTP dynamic self-adaptings stream (Dynamic Adaptive Streaming over HTTP, DASH), HTTP live TV streams (HTTP Live Streaming, HLS), HTTP dynamic streams (HTTP Dynamic Streaming, ) or HTTP smooth flows (HTTP Live Streaming, HSS) etc. HDS.
In basic framework as shown in Figure 1, source server 1100 is mainly responsible for the storage of media content, compiles transcoding, adds Close and media description file generation etc..Media server 1200 can be mainly responsible for receiving media content from source server 1100 With media description file, and according to the request of terminal, media content and media description file are sent to terminal.Terminal 1300 is led It is responsible for obtaining media content and media description file from media server, and is responsible for the parsing of media description file, and matchmaker The decoding held in vivo, decrypt, render and present.Here terminal can be specifically the various matchmakers such as mobile phone, TV, tablet personal computer Body playback equipment.
Specifically, Fig. 2 is the apparatus structure schematic diagram in media play system provided in an embodiment of the present invention, for scheming Acquisition and the transmission flow of media content are triggered in system shown in 1.The device can include one or more ports, with transceiver (Transceiver) 230 it is coupled.Transceiver 230 can be transmitter, receiver or its combination, lead to from other network nodes Cross port transmission or received data packet.Processor is coupled to transceiver, for processing data bag.Processor 220 can include one Or multiple polycaryon processors.Processor can be a general processor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or digital signal processor (DSP).
Memory 210 can be the storage medium of non-transient, be coupled with processor 220, different types of for preserving Data, such as media description file, media content etc..Memory can include read-only storage (Read Only Memory, ROM), random access memory (Random Access Memory, RAM) or can storage information and instruction it is other kinds of Dynamic memory or magnetic disk storage.Memory realizes that media content obtains and sent related side available for preservation The instruction of method.It is appreciated that by programming or loading executable instruction to the processor of equipment, in caching and long-term storage extremely It is few one.
Device shown in Fig. 2 can be realized performs one or more instructions to trigger carry out media according to an embodiment of the invention The acquisition and transmission of content.These instructions are storable in memory, may alternatively be integrated within the kernel of operating system or inserting for kernel In part.
Specifically, Fig. 2 can be as the structural representation of terminal provided in an embodiment of the present invention.Terminal can include storage Device 210, processor 220 and transceiver 230 and one or more ports with transceiver couples.Memory 210, for storing Computer executable program code;Processor 220 couples with the memory 210 and the transceiver 230;Wherein described program Code includes instruction, and when being instructed described in the computing device, the instruction makes the network element perform terminal point in Fig. 3-Fig. 6 The correlation step not performed.
In addition, Fig. 2 is also used as the structural representation of media server provided in an embodiment of the present invention.Media server Memory 210, processor 220 and transceiver 230 and one or more ports with transceiver couples can be included.Memory 210, for storing computer executable program code;Processor and the memory and the transceiver couples;It is wherein described Program code includes instruction, and when being instructed described in the computing device, the instruction makes the network element perform matchmaker in Fig. 3-Fig. 6 The correlation step that body server performs.
The structural representation of terminal, media server with reference to shown in Fig. 2, in a kind of media provided in an embodiment of the present invention The acquisition of appearance and the method flow diagram of sending method are as shown in figure 3, may include steps of:
101st, the media description file request message that media server receiving terminal is sent.
Specifically, terminal can be according to the URL (Uniform of the media description file obtained in advance Resource Locator, URL) to media server transmission media description file request message, and please in media description file Seek the URL that media description file is carried in message.Media server receives the media description file request message for coming from terminal.
Exemplary, the media description file request message that terminal is sent can be:
GET http://example.com/mpdHTTP/1.1
Connection:keep-alive
Wherein, " http://example.com/mpd " is the URL of media description file, and " HTTP/1.1 " represents HTTP associations Discuss version;“Connection:Keep-alive " represents to keep connection.
102nd, media server sends media description file to terminal, and media description file is used to describe at least two media Show, the corresponding code check of each media exhibition and a resolution ratio, corresponding at least two resolution ratio of each code check, each media Show including at least one burst.
After the media description file request message of terminal transmission is received, media services implement body can be retouched according to media The URL of file is stated, media description file is sent to terminal.Wherein, media description file here is used to describe at least two Media exhibition, the corresponding code check of each media exhibition and a resolution ratio, corresponding at least two resolution ratio of each code check, each Media exhibition includes at least one burst, and burst is the base unit that media server sends media content to terminal.In media Describe in file, a code check corresponding to each media exhibition can be used for terminal and determine object code according to current network quality Rate, at least two resolution ratio corresponding to each code check can be used for terminal and determined according to the screen size of target bit rate and terminal Target resolution.
Wherein, the specific manifestation form of media description file is different in different HTTP streams, such as can be in DASH streams (Media Presentation Description, MPD) file, can be M3U8 files in HLS, can be in HSS Ism/ismc files.
Exemplary, the concrete structure of the MPD file in DASH streams may refer to Fig. 4.In Fig. 4, a complete matchmaker Body file is segmented into one or more periods (Period), and each period is exactly a media time section, have initial time and End time.Each period includes one or more adaptations and collects (AdaptationSet), and each collection that adapts to correspond to a kind of media Composition, such as audio, video, captions.Each collection that adapts to includes multiple media exhibitions (Representation), each media exhibition Now correspond to a code check and a resolution ratio, in different media exhibitions, a code check can correspond at least two resolution ratio.Each Media exhibition is segmented into one or more bursts (Segment), and burst is that terminal asks media content to media server Base unit.
For example, the specific example of a video adaptation collection may refer to such as table 1 below:
Table 1
Wherein, the adaptation shown in above-mentioned table 1 concentrates the associated description of each attribute to may refer to such as table 2 below:
Table 2
From Tables 1 and 2, content complexity, type of coding and frame per second defined in the attribute of above-mentioned video adaptation collection, Content complexity be calculate adapt to collection average content complexity, type of coding be avc i.e. H.264, frame per second be 40fps (frame/ Second).Adaptation collection in table 1 contains 8 media exhibitions, shares 4 code checks, respectively 256kb/s, 512kb/s, 1024kb/s And 2048kb/s.Each code check corresponds to 2 resolution ratio respectively, i.e. code check 256kb/s corresponds to resolution ratio (width value=320, height Value=240) and resolution ratio (width value=640, height value=480);That is code check 512kb/s correspond to resolution ratio (width value= 320, height value=240) and resolution ratio (width value=640, height value=480);That is it is (wide that code check 1024kb/s corresponds to resolution ratio Angle value=640, height value=480) and resolution ratio (width value=1280, height value=720);That is corresponding point of code check 2048kb/s Resolution (width value=640, height value=480) and resolution ratio (width value=1280, height value=720).In this example, often Individual media exhibition only includes a burst, so each media exhibition only has a URL, in actual applications, each media exhibition Multiple bursts, the corresponding URL of each burst can also now be included.
103rd, after terminal receives the media description file that media server is sent, object code is determined according to current network quality Rate.
After the media description file of media server transmission is received, terminal can determine mesh according to current network quality Coding rate.Wherein, current network quality is used to describe the current network condition of terminal, such as current speed of download of terminal etc.. Target bit rate is optimal code check of the terminal according to selected by current network quality, if current network quality is preferable, terminal can be with The higher code check of selection is as target bit rate, to obtain more preferable video viewing experience;When current network is second-rate, terminal Relatively low code stream can be selected to cause to play interim card to prevent from caching deficiency as target bit rate.
, below will be with specifically, according to current network quality to determine that the common method of target bit rate can have a variety of for terminal It is illustrated exemplified by a kind of specific implementation.
Exemplary, referring to such as following formula (1), terminal can be delayed according to current speed of download, terminal buffers duration and minimum Duration is deposited, calculates the maximal rate that can currently select.
Maximal rate=speed of download * terminal buffers duration/minimal cache duration formula (1)
If current speed of download is 300kb/s, when a length of 10s of present terminal cache contents, the minimal cache time is 2s, Then maximal rate is 1500kb/s.Now, target bit rate should be less than or equal to maximal rate 1500kb, and and maximum code Rate 1500kb is approached.By taking the examples cited of table 1 as an example, 4 code checks can selecting for 56kb/s, 512kb/s, 1024kb/s and 2048kb/s, wherein, less than or equal to maximal rate 1500kb, and the code check closest with maximal rate 1500kb is 1024kb/s, the code check are target bit rate.
What deserves to be explained is terminal determines that the method for target bit rate is prior art according to current network quality, except upper State outside method, also method for distinguishing.The embodiment of the present invention is no longer described in detail one by one.
104th, terminal from least two resolution ratio corresponding to target bit rate, determines target according to the screen size of terminal Resolution ratio.
It is determined that after target bit rate, because the video display quality of the terminal with different screen size also has with resolution ratio Close, thus in this step, terminal can be according to possessed screen size from least two resolution ratio corresponding to target bit rate Middle determination target resolution, so that the video display quality of terminal reaches highest.
Still by taking the examples cited of table 1 as an example, when target bit rate is defined as 1024kb/s, resolution ratio corresponding to target bit rate is (width value=640, height value=480) and (width value=1280, height value=720) totally 2, terminal can be 2 points from this A video display quality highest target resolution for causing terminal is determined in resolution.
105th, terminal determines target burst corresponding with target bit rate and target resolution according to playing progress rate.
Due to a code check and the corresponding media exhibition of a resolution ratio, thus terminal is according to target bit rate and target point Resolution can determine that target medium shows.When target medium, which shows, includes a burst, the burst is that terminal is wanted to obtain The target burst taken;When target medium, which shows, includes multiple bursts, different bursts correspond to different time fragment, each time The corresponding initial time of fragment and termination time.Terminal can indicate according to playing progress rate, from target medium show including Determine to need the target burst obtained in multiple bursts.
106th, terminal sends target fragment request message to media server, and target point is carried in target fragment request message The segmental identification of piece.
Wherein, segmental identification is used for one burst of unique mark, is specifically as follows the URL of burst, is numbered corresponding to burst, Or risen corresponding to burst-stop time etc., the concrete form of segmental identification will not limited here.
Exemplary, when segmental identification is the URL of burst, terminal disappears to the target fragment request that media server is sent Breath is specifically as follows:
GET http://example.com/56363639.mp4HTTP/1.1
Connection:keep-alive
Wherein, " http://example.com/56363639.mp4 " represents the URL of target burst.
107th, after the target fragment request message that media server receiving terminal is sent, it is corresponding to send target burst to terminal Media content.
Media server, can be by matchmaker corresponding to target burst after the target fragment request message of terminal transmission is received Hold in vivo and send terminal.Specifically, media server can be found according to the URL of the target burst carried in target fragment request Media content corresponding to target burst, and it is sent to terminal.
108th, after terminal receives media content corresponding to the target burst that media server is sent, cache and play target point Media content corresponding to piece.
Terminal receives media content corresponding to the target burst that media server is sent and cached, to carry out video playback.
In the acquisition and sending method for the media content that the above embodiment of the present invention provides, each media exhibition corresponding one Individual code check and a resolution ratio, corresponding at least two resolution ratio of each code check, terminal is it is determined that after target bit rate, according to terminal Screen size, determine that video display quality highest target is differentiated from least two resolution ratio corresponding to target bit rate Rate, so as to determine target burst according to target bit rate and target resolution, obtain media content corresponding to target burst.Therefore, By selecting appropriate resolution ratio, can enabling, there is the terminal of current screen size to obtain preferable video shows terminal Quality, avoid in the prior art because target bit rate only corresponds to only one resolution ratio, and the resolution ratio may be such that have The video display quality of the terminal of current screen size is relatively low, the problem of so as to have impact on the video viewing experience of terminal user.
It should be noted that in above-mentioned steps 104, it is more that terminal determines that the method for video display quality height can have Kind, terminal is according to the screen size of terminal, from least two resolution ratio corresponding to target bit rate, it is determined that so that video shows matter The method of amount highest target resolution can also have a variety of.For example, at least two resolution ratio corresponding to target bit rate, with tool There is the closest resolution ratio of the ultimate resolution of the terminal permission of current screen size, as cause video display quality highest Target resolution.It will be illustrated below in a manner of determine target resolution by calculating video display quality score value It is bright.
In this approach, above-mentioned media description file can also include content complexity, type of coding and frame per second.Wherein, Can there is a variety of the computational methods of content complexity, such as can be calculated in units of burst in media description file, when one When individual burst has common factor with multiple video scenes, the content complexity of burst can be being averaged for the content complexity of multiple scenes Value above-mentioned steps 104 can specifically include:
Content complexity of the terminal in the screen size of terminal, target bit rate and media description file, coding class Type and frame per second, calculate at least two resolution ratio corresponding to target bit rate, video display quality corresponding to each resolution ratio difference Score value, and determine that resolution ratio corresponding to maximum video display quality score value is target resolution.
Specifically, screen display quality Q can be calculated according to such as following formula (2)sc
Wherein, d, e, f are constants, QmaxIt is screen display quality maximum, P is effective display pixel density, P calculating Formula can be following formula (3):
Wherein, height, width are the height value and width value of video resolution respectively.
Reference mass Q is calculated according to such as following formula (4)B
Wherein, a, c are constants, and value is relevant with type of coding and resolution ratio, QminIt is screen display quality minima, λ is The frame per second factor, λ calculation formula can be following formula (5), the F in formula (5)BaseOn the basis of frame per second;Y1Calculation formula can be Such as following formula (6), formula (6) represents Y1It is relevant with content complexity;Y2Calculation formula can be following formula (7), formula (7) represents Y2 It is relevant with content complexity:
Y1=func1 (VideoComplexity) formula (6)
Y2=func2 (VideoComplexity) formula (7)
Video display quality score value QvCalculation formula can be following formula (8):
Wherein, c1,c2,c3,c4For constant.
Exemplary, arrange parameter value is as follows:Qmax=5, Qmin=1, d=50, e=1, f=1, FBase=30, a=10, C=0.1, Y1=VideoComplexity, Y2=VideoComplexity, c1=1, c2=0, c3=1, c4=0.
When target resolution is the 1024kb/s shown in table 1, corresponding two resolution ratio is (width value=640, height Value=480) and (width value=1280, height value=720), then it can be obtained by calculating:
When resolution ratio is (width value=640, height value=480), video display quality score Qv=2.75.
When resolution ratio is (width value=1280, height value=720), video display quality score Qv=3.56.
Result of calculation shows:The score value of video display quality corresponding to resolution ratio (width value=1280, height value=720) Higher than video display quality score value corresponding to resolution ratio (width value=640, height value=480), resolution ratio (width value= 1280, height value=720) corresponding to video display quality, it is corresponding higher than resolution ratio (width value=1280, height value=720) Video display quality.Thus, in two resolution ratio corresponding to target bit rate 1024kb/s, resolution ratio (width value=1280, Height value=720) corresponding to video display quality highest, resolution ratio (width value=1280, height value=720) is target point Resolution.
Further, method provided in an embodiment of the present invention can also include:
109th, terminal sends decision-making configured information to media server, to indicate that target resolution is determined by terminal.
110th, the decision-making configured information that media server receiving terminal is sent.
In the step 101-108 of the embodiment of the present invention, target resolution is by Terminal-decision, thus terminal can be with Decision-making configured information is sent to media server, to indicate that target resolution is determined by terminal.Receiving determining for terminal transmission After plan configured information, media server knows target resolution by Terminal-decision, and media server is without target resolution Decision-making.In a kind of optional embodiment, step 109 and 110 can be before step 102, so that media server Clearly needing to be sent in the media description file of terminal at least needs to include at least two resolution ratio corresponding to target bit rate; In another optional implementation, step 109 and 110 can also be before step 107;In another optional implementation In, decision-making configured information can be carried in target fragment request message and be sent to media server by terminal, do not do have here Body limits.
Exemplary, carrying the destination request burst of decision-making configured information can be:
GET http://example.com/mpdDecider=" client " HTTP/1.1
Connection:keep-alive
Wherein, Decider=" client " represent decision-making configured information, and it is terminal to show policymaker, for indicating target Resolution ratio is determined by terminal.
Another embodiment of the present invention provides the acquisition of another media content and sending method, this method are used for media services The media content that terminal needs to obtain is sent to terminal by device, and referring to Fig. 5, this method can also include:
201st, the media description file request message that media server receiving terminal is sent.
202nd, media server sends media description file to terminal, and media description file is used to describe at least two media Show, the corresponding code check of each media exhibition and a resolution ratio, corresponding at least two resolution ratio of each code check, each media Show including at least one burst.
203rd, after terminal receives the media description file that media server is sent, object code is determined according to current network quality Rate.
It should be noted that in the step 202 of the embodiment of the present invention, media server is sent to the media description of terminal In file, a code check corresponding to each media exhibition can be used for terminal and determine target bit rate according to current network quality. Other descriptions as described in above-mentioned steps 201-203 may refer to the specific descriptions in above-described embodiment on step 101-103.
204th, the instruction of target bit rate, the screen size of terminal and playing progress rate is sent to media server by terminal.
Wherein, playing progress rate indicates to be used to describe terminal currently corresponding video playback progress.Terminal is receiving media File is described, and after determining target bit rate according to network quality, can be by target bit rate, the screen size of terminal and playing progress rate Instruction is sent to media server.Wherein, the screen size of terminal can be used for media server and determine mesh according to target bit rate Resolution ratio is marked, playing progress rate instruction can be used for media server and determine target point corresponding with target bit rate and target resolution Piece;
205th, after media server receiving terminal is sent target bit rate, the screen size of terminal and playing progress rate instruction, According to the screen size of terminal, from least two resolution ratio corresponding to target bit rate, target resolution is determined.
Because the video display quality of the terminal with different screen size is also relevant with resolution ratio, thus receiving end After holding screen size and the target bit rate of the terminal sent, media server can be according to the screen size of terminal, from object code In at least two resolution ratio corresponding to rate, determine that can cause a video display quality highest target resolution.
206th, media server determines target point corresponding with target bit rate and target resolution according to playing progress rate instruction Piece.
It is determined that after target resolution, media server can indicate according to the playing progress rate received from terminal, really Set the goal target burst corresponding to code check and target resolution, and the target burst is that terminal regards according to the broadcasting of currently playing progress The burst obtained is needed during frequency.
207th, media server sends media content corresponding to target burst to terminal.
Media server can send media content corresponding to target burst it is determined that after target burst to terminal.
208th, after terminal receives media content corresponding to the target burst that media server is sent, cache and play target point Media content corresponding to piece.
Terminal receives media content corresponding to the target burst that media server is sent and cached, to carry out video playback.
In the acquisition and sending method for the media content that the above embodiment of the present invention provides, each media exhibition corresponding one Individual code check and a resolution ratio, corresponding at least two resolution ratio of each code check, terminal is it is determined that after target bit rate, by playing progress rate The screen size of instruction, target bit rate and terminal is sent to media server, to cause screen of the media server according to terminal Curtain size, determine to cause video display quality highest target resolution from least two resolution ratio corresponding to target bit rate, So as to determine target burst corresponding with target bit rate and target resolution according to playing progress rate instruction, and target is sent to terminal Media content corresponding to burst.Therefore, media server can be caused with current screen chi by selecting appropriate resolution ratio Very little terminal can obtain preferable video display quality, avoid in the prior art because target bit rate only corresponds to only one point Resolution, and the resolution ratio may be such that the video display quality of the terminal with current screen size is relatively low, so as to have impact on The problem of video viewing experience of terminal user.
Wherein, the media description file preserved in media server can also include content complexity, type of coding and frame Rate.Above-mentioned steps 205 can specifically include:
Content complexity of the media server in the screen size of terminal, target bit rate and media description file, Type of coding and frame per second, calculate corresponding to target bit rate at least two resolution ratio, each resolution ratio respectively corresponding to video show Show quality score, and determine that resolution ratio corresponding to maximum video display quality score value is target resolution.
Specifically, media server determines that the process of target resolution and terminal determine that the process of target resolution is similar, The specific description that may refer in an embodiment, is repeated no more here.
In addition, media server, which is sent in the media description file of terminal, can include content complexity, type of coding And frame per second, content complexity, type of coding and frame per second can not also be included, be not specifically limited here.
Wherein, playing progress rate instruction is specifically as follows time point or segmental identification.
When playing progress rate is designated as time point, in above-mentioned steps 208, media server determines mesh according to the time point Target burst corresponding to coding rate and target resolution.
When playing progress rate is designated as segmental identification, in above-mentioned steps 208, media server can be according to segmental identification The burst of instruction determines time point, and the target burst according to corresponding to time point determines target bit rate and target resolution.
One media exhibition can include one or more bursts, the corresponding time slice of each burst, so as to corresponding One initial time and termination time.When playing progress rate is designated as segmental identification, terminal can be played according to current video into Degree determines that refers to a burst, and the segmental identification with reference to burst is sent into media server.In a kind of possible realization In mode, media server can be that the segmental identification is corresponding according to the time point of the segmental identification determination received from terminal Reference burst initial time.At the time point that media server indicates to determine according to playing progress rate, it may indicate that terminal is current Video playback progress, thus media server can determine-stop that time range includes the time point according to the time point, and Burst corresponding with target bit rate and target resolution, the burst are target burst.
Specifically, terminal can send one to media server refers to fragment request message, the message carries reference The URL of burst, the screen size of target bit rate and terminal can also be carried.Certainly, target bit rate and the screen chi of terminal It is very little to be carried on reference in fragment request message, but individually sent by extra message, do not do specific limit here It is fixed.
Or the reference burst that terminal determines according to current video playing progress rate can also be corresponding with target bit rate point Piece.So, the message carries the URL with reference to burst in itself, the screen size of terminal can also be carried, without extra Send target bit rate.Media server is received with reference to after fragment request message, can be determined according to the URL with reference to burst corresponding Code check, the code check is target bit rate.Exemplary, the reference fragment request message that terminal is sent can be:
GET http://example.com/56363638.mp4The HTTP/1.1 of ScreenSize=" 14 "
Connection:keep-alive
Wherein, " http://example.com/56363638.mp4 " represents the URL, ScreenSize=" with reference to burst The screen size of 14 " expression terminals is 14 cun.
In addition, the screen size of terminal can also individually be sent by extra message, it is not specifically limited here
Further, before above-mentioned steps 208, this method can also include:
209th, terminal sends decision-making configured information to media server, to indicate that target resolution is true by media server It is fixed.
210th, the decision-making configured information that media server receiving terminal is sent.
In the step 201-208 of the embodiment of the present invention, target resolution is not entered by media server decision-making, terminal The decision-making of row target resolution, thus terminal can also send decision-making configured information to media server, to cause media services Device clearly requires determines target resolution according to the screen size of target bit rate and terminal.
In a kind of possible implementation, decision-making configured information can also be carried on reference to fragment request message by terminal In be sent to media server.Exemplary, this is specifically as follows with reference to fragment request message:
GET http://example.com/56363638.mp4Decider=" server ” &Screen
The HTTP/1.1 of Size=" 14 "
Connection:keep-alive
Wherein, Decider=" server " represent decision-making configured information, and it is media server to show policymaker, for referring to Show that target resolution is determined by media server.
Further, media server is to terminal before media description file and media content is sent, can first from Source server gets the media description file and media content.Thus, referring to Fig. 6, in above-mentioned two embodiment of the method Before step 101 and 201, it can also include:
301st, media server sends request message to source server, with acquisition request media description file and media Hold.
302nd, after source server receives the request message that media server is sent, media description file and media content are sent out Give media server.
303rd, media server receives the media description file and media content that source server is sent.
As shown in fig. 7, the embodiment of the present invention also provides a kind of structural representation of terminal 700, the terminal 700 can wrap Include:Receiving unit 701, processing unit 702 and transmitting element 703.Wherein, receiving unit 701, for receiving media server hair The media description file sent, media description file are used to describe at least two media exhibitions, the corresponding code of each media exhibition Rate and a resolution ratio, corresponding at least two resolution ratio of each code check, each media exhibition include at least one burst;Processing is single Member 702, target bit rate is determined for the current network quality according to terminal 700;According to the screen size of terminal 700, from target In at least two resolution ratio corresponding to code check, target resolution is determined;Determined and target bit rate and target point according to playing progress rate Target burst corresponding to resolution;Transmitting element 703, for sending target fragment request message, target burst to media server The segmental identification of target burst is carried in request message;Receiving unit 701 is additionally operable to, and receives the target point that media server is sent Media content corresponding to piece.
Further, receiving unit 701 is additionally operable to perform the steps such as 108 that terminal performs in Fig. 3, Fig. 6, processing unit 702 can also carry out the steps such as 103,104,105 that terminal performs in Fig. 3, Fig. 6, and transmitting element 703 is additionally operable to perform Fig. 3, figure The steps such as 106 that terminal performs in 6.The embodiment of the present invention will not be described in detail herein.
In an alternative embodiment of the invention, in the structural representation of the terminal 700 shown in Fig. 7, receiving unit 701, use In the media description file for receiving media server transmission, media description file is used to describe at least two media exhibitions, each The corresponding code check of media exhibition and a resolution ratio, corresponding at least two resolution ratio of each code check, each media exhibition include At least one burst;Processing unit 702, target bit rate is determined for the current network quality according to terminal 700;Transmitting element 703, for the instruction of target bit rate, the screen size of terminal 700 and playing progress rate to be sent into media server, terminal 700 Screen size is used to determine target resolution according to target bit rate, and playing progress rate indicates to be used to determine and target bit rate and target point Target burst corresponding to resolution;Receiving unit 701 is additionally operable to, and is received corresponding to the target burst that media server is sent in media Hold.
Further, receiving unit 701 is additionally operable to perform the steps such as 208 that terminal performs in Fig. 5-Fig. 6, processing unit 702 can also carry out the steps such as 203 that terminal performs in Fig. 5-Fig. 6, and transmitting element 703 is additionally operable to perform terminal in Fig. 5-Fig. 6 The steps such as 204 performed.The embodiment of the present invention will not be described in detail herein.
Further, terminal 700 in Fig. 7 is presented in the form of functional unit.Here " unit " can refer to spy Determine application integrated circuit, perform 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 function.In a simple embodiment, those skilled in the art is contemplated that Fig. 7 In terminal 700 can use Fig. 2 shown in form.Each unit can be realized by Fig. 2 processor and memory.
As shown in figure 8, the embodiment of the present invention also provides a kind of structural representation of media server 800, the media services Device 800 can include:Receiving unit 801 and transmitting element 802.Wherein, receiving unit 801, the matchmaker sent for receiving terminal Body describes file request message;Transmitting element 802, for sending media description file to terminal, media description file is used to retouch State at least two media exhibitions, the corresponding code check of each media exhibition and a resolution ratio, each code check corresponding at least two Resolution ratio, each media exhibition include at least one burst, and a code check corresponding to each media exhibition is used for according to current Network quality determines target bit rate, and at least two resolution ratio corresponding to each code check are used for the screen according to target bit rate and terminal Curtain size determines target resolution;Receiving unit 801 is additionally operable to, the target fragment request message that receiving terminal is sent, target point The segmental identification of target burst is carried in piece request message, target burst is determined according to playing progress rate, and and target bit rate It is corresponding with target resolution;Transmitting element 802 is additionally operable to, and media content corresponding to target burst is sent to terminal.
Further, receiving unit 801 is additionally operable to perform the steps such as 101 that media server performs in Fig. 3, Fig. 6, sends Unit 802 is additionally operable to perform the steps such as 102,107 that media server performs in Fig. 3, Fig. 6.Also, media server can be with Further comprise processing unit 803, for controlling receiving unit 801 and transmitting element 802 to perform corresponding function.It is of the invention real Example is applied to will not be described in detail herein.
As shown in figure 9, the embodiment of the present invention also provides a kind of structural representation of media server 900, the media services Device 900 can include:Receiving unit 901, transmitting element 902 and processing unit 903.Wherein, receiving unit 901, for receiving The media description file request message that terminal is sent;Transmitting element 902, for sending media description file to terminal, media are retouched State file be used for describe at least two media exhibitions, each media exhibition one code check of correspondence and a resolution ratio, each code check Corresponding at least two resolution ratio, each media exhibition include at least one burst, and a code check corresponding to each media exhibition is used In determining target bit rate according to current network quality;Receiving unit 901 is additionally operable to, the target bit rate of receiving terminal transmission, end Screen size and the playing progress rate instruction at end;Processing unit 903, it is corresponding from target bit rate for the screen size according to terminal At least two resolution ratio in, determine target resolution;Determined and target bit rate and target resolution according to playing progress rate instruction Corresponding target burst;Transmitting element 902 is additionally operable to, and media content corresponding to target burst is sent to terminal.
Further, receiving unit 901 is additionally operable to perform the steps such as 201 that media server performs in Fig. 5-Fig. 6, processing Unit 903 can also carry out the steps such as 205,206 that media server performs in Fig. 5-Fig. 6, and transmitting element 902 is additionally operable to perform The steps such as 202,207 that media server performs in Fig. 5-Fig. 6.The embodiment of the present invention will not be described in detail herein.
Further, media server in Fig. 8 and Fig. 9 is presented in the form of functional unit.Here " unit " ASIC can be referred to, perform the processor and memory of one or more softwares or firmware program, integration logic Circuit, and/or other can provide the device of above-mentioned function.In a simple embodiment, those skilled in the art can In the form of expecting that the media server in Fig. 8 and Fig. 9 can be used shown in Fig. 2.Each unit can by Fig. 2 processor and Memory is realized.
The embodiment of the present invention additionally provides a kind of computer-readable storage medium, for save as terminal shown in above-mentioned Fig. 7 or The computer software instructions used in media server shown in Fig. 8, Fig. 9, it, which is included, is used to perform set by above method embodiment The program of meter.By the program for performing storage, it is possible to achieve the acquisition and transmission of media content.
Another embodiment of the present invention also provides a kind of media play system, can include source server, shown in above-mentioned Fig. 7 Terminal, and the media server shown in above-mentioned Fig. 8, Fig. 9.The basic framework schematic diagram of the media play system can specifically join See Fig. 1.
Those of ordinary skill in the art should be recognized that all or part of subject matters of the application can be with reference to hardware and/or admittedly Implement in the software of part.For example, subject matter described herein can be implemented in the software that one or more processors perform.One In item illustrative embodiments, the non-momentary computer for being stored with computer executable instructions can be used in subject matter described herein Computer-readable recording medium is implemented, and when computer processor performs the computer executable instructions, the instruction control computer performs step. Being adapted for carrying out the example computer readable mediums of subject matter described herein includes non-emporary computer-readable medium, such as disk Memory devices, chip memory devices, programmable logic device and application specific integrated circuit.In addition, implement mark described herein The computer-readable medium of thing can be located in individual equipment or calculating platform, or can divide in multiple equipment or calculating platform Hair.
Finally it should be noted that: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, it will be understood by those within the art that:It still may be used To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic; And these modifications or replacement, the essence of appropriate technical solution is departed from the scope of various embodiments of the present invention technical scheme.

Claims (24)

  1. A kind of 1. acquisition methods of media content, it is characterised in that including:
    The media description file that the media server is sent is received, the media description file is used to describe at least two media Show, the corresponding code check of each media exhibition and a resolution ratio, corresponding at least two resolution ratio of each code check, each media Show including at least one burst;
    Target bit rate is determined according to the current network quality of terminal;
    According to the screen size of the terminal, from least two resolution ratio corresponding to the target bit rate, determine that target is differentiated Rate;
    Target burst corresponding with the target bit rate and the target resolution is determined according to playing progress rate;
    Target fragment request message is sent to the media server, the target point is carried in the target fragment request message The segmental identification of piece;
    Receive media content corresponding to the target burst that the media server is sent.
  2. 2. according to the method for claim 1, it is characterised in that the media description file also includes content complexity, compiled Code type and frame per second, the screen size according to the terminal, from least two resolution ratio corresponding to the target bit rate, Determine that target resolution includes:
    Content complexity, coding class in the screen size of terminal, the target bit rate and the media description file Type and frame per second, calculate at least two resolution ratio corresponding to the target bit rate, video corresponding to each resolution ratio difference is shown Quality score, and determine that resolution ratio corresponding to maximum video display quality score value is the target resolution.
  3. 3. method according to claim 1 or 2, it is characterised in that methods described also includes:
    Decision-making configured information is sent to the media server, to indicate that the target resolution is determined by the terminal.
  4. A kind of 4. sending method of media content, it is characterised in that including:
    The media description file request message that receiving terminal is sent;
    Media description file is sent to the terminal, the media description file is used to describe at least two media exhibitions, each The corresponding code check of media exhibition and a resolution ratio, corresponding at least two resolution ratio of each code check, each media exhibition include At least one burst, a code check corresponding to each media exhibition are used to determine object code according to current network quality Rate, at least two resolution ratio corresponding to each code check are used to determine target according to the screen size of target bit rate and terminal Resolution ratio;
    The target fragment request message that the terminal is sent is received, the target burst is carried in the target fragment request message Segmental identification, the target burst is determined according to playing progress rate, and with the target bit rate and the target resolution It is corresponding;
    Media content corresponding to the target burst is sent to the terminal.
  5. 5. according to the method for claim 4, it is characterised in that methods described also includes:
    The decision-making configured information that the terminal is sent is received, the decision-making configured information is used to indicate the target resolution by institute State terminal determination.
  6. A kind of 6. sending method of media content, it is characterised in that including:
    The media description file request message that receiving terminal is sent;
    Media description file is sent to the terminal, the media description file is used to describe at least two media exhibitions, each The corresponding code check of media exhibition and a resolution ratio, corresponding at least two resolution ratio of each code check, each media exhibition include At least one burst, a code check corresponding to each media exhibition are used to determine object code according to current network quality Rate;
    Receive the target bit rate of the terminal transmission, the screen size of the terminal and playing progress rate instruction;
    According to the screen size of the terminal, from least two resolution ratio corresponding to the target bit rate, determine that target is differentiated Rate;
    Target burst corresponding with the target bit rate and the target resolution is determined according to playing progress rate instruction;
    Media content corresponding to the target burst is sent to the terminal.
  7. 7. according to the method for claim 6, it is characterised in that the media description file also includes content complexity, compiled Code type and frame per second, the screen size according to the terminal, from least two resolution ratio corresponding to the target bit rate, Determine that target resolution includes:
    Content complexity, volume in the screen size of the terminal, the target bit rate and the media description file Code type and frame per second, calculate at least two resolution ratio corresponding to the target bit rate, video corresponding to each resolution ratio difference Display quality score value, and determine that resolution ratio corresponding to maximum video display quality score value is the target resolution.
  8. 8. the method according to claim 6 or 7, it is characterised in that the playing progress rate is designated as time point or burst mark Know;It is described to be determined and the target bit rate according to playing progress rate instruction when the playing progress rate is designated as segmental identification With the target resolution corresponding to target burst include:
    Time point is determined according to the burst that the segmental identification indicates, and the target bit rate and institute are determined according to the time point State target burst corresponding to target resolution.
  9. 9. according to the method described in claim any one of 6-8, it is characterised in that it is determined that before target resolution, the side Method also includes:
    The decision-making configured information that the terminal is sent is received, the decision-making configured information is used to indicate the target resolution by institute State media server determination.
  10. A kind of 10. acquisition methods of media content, it is characterised in that including:
    The media description file that the media server is sent is received, the media description file is used to describe at least two media Show, the corresponding code check of each media exhibition and a resolution ratio, corresponding at least two resolution ratio of each code check, each media Show including at least one burst;
    Target bit rate is determined according to the current network quality of terminal;
    The instruction of the target bit rate, the screen size of the terminal and playing progress rate is sent to the media server, it is described The screen size of terminal is used to determine target resolution according to the target bit rate, and the playing progress rate indicates to be used to determine and institute State target burst corresponding to target bit rate and the target resolution;
    Receive media content corresponding to the target burst that the media server is sent.
  11. 11. according to the method for claim 10, it is characterised in that the playing progress rate is designated as time point or burst mark Know.
  12. 12. the method according to claim 10 or 11, it is characterised in that methods described also includes:
    Decision-making configured information is sent to the media server, to indicate that the target resolution is true by the media server It is fixed.
  13. A kind of 13. terminal, it is characterised in that including:
    Receiving unit, the media description file sent for receiving the media server, the media description file are used to retouch State at least two media exhibitions, the corresponding code check of each media exhibition and a resolution ratio, each code check corresponding at least two Resolution ratio, each media exhibition include at least one burst;
    Processing unit, target bit rate is determined for the current network quality according to terminal;According to the screen size of the terminal, from In at least two resolution ratio corresponding to the target bit rate, target resolution is determined;Determined and the target according to playing progress rate Target burst corresponding to code check and the target resolution;
    Transmitting element, for sending target fragment request message to the media server, in the target fragment request message Carry the segmental identification of the target burst;
    The receiving unit is additionally operable to, and receives media content corresponding to the target burst that the media server is sent.
  14. 14. terminal according to claim 13, it is characterised in that the media description file also include content complexity, Type of coding and frame per second, the processing unit are used for according to the screen size of the terminal, from corresponding to the target bit rate to In few two resolution ratio, determine that target resolution specifically includes:
    Content complexity, coding class in the screen size of terminal, the target bit rate and the media description file Type and frame per second, calculate at least two resolution ratio corresponding to the target bit rate, video corresponding to each resolution ratio difference is shown Quality score, and determine that resolution ratio corresponding to maximum video display quality score value is the target resolution.
  15. 15. the terminal according to claim 13 or 14, it is characterised in that the transmitting element is additionally operable to, to the media Server sends decision-making configured information, to indicate that the target resolution is determined by the terminal.
  16. A kind of 16. media server, it is characterised in that including:
    Receiving unit, the media description file request message sent for receiving terminal;
    Transmitting element, for sending media description file to the terminal, the media description file is used to describe at least two Media exhibition, the corresponding code check of each media exhibition and a resolution ratio, corresponding at least two resolution ratio of each code check, each Media exhibition includes at least one burst, and a code check corresponding to each media exhibition is used for according to current network quality Target bit rate is determined, at least two resolution ratio corresponding to each code check are used for the screen chi according to target bit rate and terminal Very little determination target resolution;
    The receiving unit is additionally operable to, and receives the target fragment request message that the terminal is sent, and the target fragment request disappears The segmental identification of the target burst is carried in breath, the target burst is determined according to playing progress rate, and with the target Code check and the target resolution are corresponding;
    The transmitting element is additionally operable to, and media content corresponding to the target burst is sent to the terminal.
  17. 17. media server according to claim 16, it is characterised in that the receiving unit is additionally operable to, described in reception The decision-making configured information that terminal is sent, the decision-making configured information are used to indicate that the target resolution is determined by the terminal.
  18. A kind of 18. media server, it is characterised in that including:
    Receiving unit, the media description file request message sent for receiving terminal;
    Transmitting element, for sending media description file to the terminal, the media description file is used to describe at least two Media exhibition, the corresponding code check of each media exhibition and a resolution ratio, corresponding at least two resolution ratio of each code check, each Media exhibition includes at least one burst, and a code check corresponding to each media exhibition is used for according to current network quality Determine target bit rate;
    The receiving unit is additionally operable to, and is received the target bit rate of the terminal transmission, the screen size of the terminal and is broadcast Put tempo instructions;
    Processing unit, for the screen size according to the terminal, from least two resolution ratio corresponding to the target bit rate, Determine target resolution;Mesh corresponding with the target bit rate and the target resolution is determined according to playing progress rate instruction Mark burst;
    The transmitting element is additionally operable to, and media content corresponding to the target burst is sent to the terminal.
  19. 19. media server according to claim 18, it is characterised in that the media description file is also answered including content Miscellaneous degree, type of coding and frame per second, the processing unit are used for the screen size according to the terminal, corresponding from the target bit rate At least two resolution ratio in, determine that target resolution specifically includes:
    Content complexity, volume in the screen size of the terminal, the target bit rate and the media description file Code type and frame per second, calculate at least two resolution ratio corresponding to the target bit rate, video corresponding to each resolution ratio difference Display quality score value, and determine that resolution ratio corresponding to maximum video display quality score value is the target resolution.
  20. 20. the media server according to claim 18 or 19, it is characterised in that the playing progress rate is designated as time point Or segmental identification;When the playing progress rate is designated as segmental identification, the processing unit is used to be referred to according to the playing progress rate Show and determine that target burst corresponding with the target bit rate and the target resolution specifically includes:
    Time point is determined according to the burst that the segmental identification indicates, and the target bit rate and institute are determined according to the time point State target burst corresponding to target resolution.
  21. 21. according to the media server described in claim any one of 18-20, it is characterised in that the receiving unit is additionally operable to, The decision-making configured information that the terminal is sent is received, the decision-making configured information is used to indicate the target resolution by the matchmaker Body server determines.
  22. A kind of 22. terminal, it is characterised in that including:
    Receiving unit, the media description file sent for receiving the media server, the media description file are used to retouch State at least two media exhibitions, the corresponding code check of each media exhibition and a resolution ratio, each code check corresponding at least two Resolution ratio, each media exhibition include at least one burst;
    Processing unit, target bit rate is determined for the current network quality according to terminal;
    Transmitting element, for the instruction of the target bit rate, the screen size of the terminal and playing progress rate to be sent into the matchmaker Body server, the screen size of the terminal are used to determine target resolution according to the target bit rate, and the playing progress rate refers to Show for determining target burst corresponding with the target bit rate and the target resolution;
    The receiving unit is additionally operable to, and receives media content corresponding to the target burst that the media server is sent.
  23. 23. terminal according to claim 22, it is characterised in that the playing progress rate is designated as time point or burst mark Know.
  24. 24. the terminal according to claim 22 or 23, it is characterised in that the transmitting element is additionally operable to, to the media Server sends decision-making configured information, to indicate that the target resolution is determined by the media server.
CN201610516466.6A 2016-06-30 2016-06-30 Method and device for acquiring and sending media content Active CN107566854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610516466.6A CN107566854B (en) 2016-06-30 2016-06-30 Method and device for acquiring and sending media content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610516466.6A CN107566854B (en) 2016-06-30 2016-06-30 Method and device for acquiring and sending media content

Publications (2)

Publication Number Publication Date
CN107566854A true CN107566854A (en) 2018-01-09
CN107566854B CN107566854B (en) 2020-08-07

Family

ID=60968783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610516466.6A Active CN107566854B (en) 2016-06-30 2016-06-30 Method and device for acquiring and sending media content

Country Status (1)

Country Link
CN (1) CN107566854B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989838A (en) * 2018-08-07 2018-12-11 刘子和 A kind of DASH code rate adaptive approach based on complexity of video content perception
CN111372127A (en) * 2020-03-10 2020-07-03 深圳市腾讯信息技术有限公司 Data transmission method and related device
CN111372126A (en) * 2019-06-27 2020-07-03 杭州海康威视系统技术有限公司 Video playing method, device and storage medium
CN112632902A (en) * 2020-03-11 2021-04-09 西安诺瓦星云科技股份有限公司 Text processing method and device, text playing method and device and text playing control system
CN113490003A (en) * 2021-06-01 2021-10-08 珠海派诺科技股份有限公司 Multi-resolution self-adaptive streaming media code rate conversion method, electronic equipment and storage medium
CN115225937A (en) * 2020-03-24 2022-10-21 腾讯科技(深圳)有限公司 Immersive media providing method, immersive media obtaining device, immersive media equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011109176A (en) * 2009-11-12 2011-06-02 Nippon Telegr & Teleph Corp <Ntt> Device and method for multiplexing video, and program
CN102130936A (en) * 2010-08-17 2011-07-20 华为技术有限公司 Method and device for supporting time shifting and look back in dynamic hyper text transport protocol (HTTP) streaming transmission scheme
CN102232298A (en) * 2011-04-07 2011-11-02 华为技术有限公司 Method, device and system for transmitting and processing media content
CN102801690A (en) * 2011-05-25 2012-11-28 华为技术有限公司 Stream media processing method, distribution server, client and system
CN103379363A (en) * 2012-04-19 2013-10-30 腾讯科技(深圳)有限公司 Video processing method and apparatus, mobile terminal and system
CN104010232A (en) * 2014-05-23 2014-08-27 惠州Tcl移动通信有限公司 Method and system for intelligently playing online videos, player and mobile terminal
CN104270646A (en) * 2014-09-22 2015-01-07 何震宇 Self-adaption transmission method and system based on mobile streaming media
CN104935595A (en) * 2015-06-16 2015-09-23 华为技术有限公司 Content item aggregation method, relevant devices and communication system
CN105407107A (en) * 2015-12-24 2016-03-16 成都信息工程大学 Transmission method and device for streaming media data
CN105472403A (en) * 2015-12-08 2016-04-06 康佳集团股份有限公司 Cloud service framework implementation method and system for supporting adaptive mobile streaming media

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011109176A (en) * 2009-11-12 2011-06-02 Nippon Telegr & Teleph Corp <Ntt> Device and method for multiplexing video, and program
CN102130936A (en) * 2010-08-17 2011-07-20 华为技术有限公司 Method and device for supporting time shifting and look back in dynamic hyper text transport protocol (HTTP) streaming transmission scheme
CN102232298A (en) * 2011-04-07 2011-11-02 华为技术有限公司 Method, device and system for transmitting and processing media content
CN102801690A (en) * 2011-05-25 2012-11-28 华为技术有限公司 Stream media processing method, distribution server, client and system
CN103379363A (en) * 2012-04-19 2013-10-30 腾讯科技(深圳)有限公司 Video processing method and apparatus, mobile terminal and system
CN104010232A (en) * 2014-05-23 2014-08-27 惠州Tcl移动通信有限公司 Method and system for intelligently playing online videos, player and mobile terminal
CN104270646A (en) * 2014-09-22 2015-01-07 何震宇 Self-adaption transmission method and system based on mobile streaming media
CN104935595A (en) * 2015-06-16 2015-09-23 华为技术有限公司 Content item aggregation method, relevant devices and communication system
CN105472403A (en) * 2015-12-08 2016-04-06 康佳集团股份有限公司 Cloud service framework implementation method and system for supporting adaptive mobile streaming media
CN105407107A (en) * 2015-12-24 2016-03-16 成都信息工程大学 Transmission method and device for streaming media data

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989838A (en) * 2018-08-07 2018-12-11 刘子和 A kind of DASH code rate adaptive approach based on complexity of video content perception
CN111372126A (en) * 2019-06-27 2020-07-03 杭州海康威视系统技术有限公司 Video playing method, device and storage medium
CN111372127A (en) * 2020-03-10 2020-07-03 深圳市腾讯信息技术有限公司 Data transmission method and related device
CN112632902A (en) * 2020-03-11 2021-04-09 西安诺瓦星云科技股份有限公司 Text processing method and device, text playing method and device and text playing control system
CN112632902B (en) * 2020-03-11 2024-06-04 西安诺瓦星云科技股份有限公司 Text processing method and device, text playing method and device and text playing control system
CN115225937A (en) * 2020-03-24 2022-10-21 腾讯科技(深圳)有限公司 Immersive media providing method, immersive media obtaining device, immersive media equipment and storage medium
CN115225937B (en) * 2020-03-24 2023-12-01 腾讯科技(深圳)有限公司 Immersive media providing method, acquisition method, device, equipment and storage medium
CN113490003A (en) * 2021-06-01 2021-10-08 珠海派诺科技股份有限公司 Multi-resolution self-adaptive streaming media code rate conversion method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN107566854B (en) 2020-08-07

Similar Documents

Publication Publication Date Title
CN107566854A (en) A kind of acquisition of media content and sending method and device
US9160777B2 (en) Adaptive variable fidelity media distribution system and method
CN104704844B (en) For orienting equipment, method and the system of coordinating the streaming of (CVO) with video
CN103379363B (en) Method for processing video frequency and device, mobile terminal and system
KR101420943B1 (en) Web media asset identification system and method
KR101401183B1 (en) Apparatus and methods for describing and timing representations in streaming media files
JP5889311B2 (en) Method and apparatus in adaptive control of streaming
US9521469B2 (en) Carriage of quality information of content in media formats
BR112015016989B1 (en) SUPPORTING TRANSPORT DIVERSITY AND TIME-OFF STORAGE FOR CONTINUOUS MEDIA STREAMING THROUGH THE NETWORK
CN107645491A (en) Media flow transmission equipment and media serving device
CN107743703A (en) The middleware distribution of DASH client QoE metrics
KR20110138276A (en) Systems, methods and apparatuses for media file streaming
JP2014515144A (en) Network streaming of video data using byte range requests
JP4991034B2 (en) Mobile communication terminal and method of calculating media playback time of mobile communication terminal
US20150230003A1 (en) Apparatus and method for media streaming
KR102012528B1 (en) Method for dynamic adaptation of the reception bitrate and associated receiver
US11321516B2 (en) Processing dynamic web content of an ISO BMFF web resource track
KR20140099924A (en) Device for obtaining content by choosing the transport protocol according to the available bandwidth
CN104380275A (en) Integral controller based pacing for http pseudo-streaming
CN109640113A (en) A kind of processing method and proxy server of dilatory video data
JP2014090419A (en) Method for downloading content according to communication parameter, and related content receiver
US20120331510A1 (en) Method, server and system for providing real-time video service in telecommunication network
CN103828322B (en) Media data transmission method and device
KR102428194B1 (en) Methods, systems, and media for delivering manifestless streaming media content
CN116264619A (en) Resource processing method, device, server, terminal, system and storage medium

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