CN109495768A - A kind of video content delivery method, server and limiter of speed - Google Patents

A kind of video content delivery method, server and limiter of speed Download PDF

Info

Publication number
CN109495768A
CN109495768A CN201710811290.1A CN201710811290A CN109495768A CN 109495768 A CN109495768 A CN 109495768A CN 201710811290 A CN201710811290 A CN 201710811290A CN 109495768 A CN109495768 A CN 109495768A
Authority
CN
China
Prior art keywords
target
code rate
source code
rate
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710811290.1A
Other languages
Chinese (zh)
Inventor
江文斐
储开颜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Youku Network Technology Beijing 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 Youku Network Technology Beijing Co Ltd filed Critical Youku Network Technology Beijing Co Ltd
Priority to CN201710811290.1A priority Critical patent/CN109495768A/en
Publication of CN109495768A publication Critical patent/CN109495768A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/23805Controlling the feeding rate to the network, e.g. by controlling the video pump
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Abstract

The application embodiment discloses a kind of video content delivery method, server and limiter of speed, wherein, the described method includes: receiving the video load request that client is sent, the video load request is directed toward target video, includes at least one video clip in the target video;Based on the video load request, the target video segment currently needed to the client feedback is determined;It determines the corresponding target source code rate of the target video segment, and signaling rate under target is determined according to the target source code rate;Wherein, signaling rate is greater than the target source code rate under the target;The target video segment is issued to the client according to signaling rate under the target.Technical solution provided by the present application can efficiently control the size of lower signaling rate, and then improve the efficiency that video content issues.

Description

A kind of video content delivery method, server and limiter of speed
Technical field
This application involves Internet technical field, in particular to a kind of video content delivery method, server and limiter of speed.
Background technique
With the continuous development of Internet technology, people increasingly get used to watching view online in video playback website Frequently.The server of video playback website, can will be in video after the video load request that the client for receiving user is sent Hold the client for being dealt into user.Current video playback website, usually can be in order to improve the stability that video content issues Using the framework of content distributing network (Content Delivery Network, CDN).
It may include multiple fringe nodes in CDN, which can be divided according to geographical location, and It can store video content on fringe node.In this way, video load is asked after the client of user initiates video load request The closer fringe node can be may then pass through under client by receiving apart from the closer fringe node of the client by asking Send out video content corresponding, to guarantee the stabilization of data transmission network.
Currently, fringe node, can be based on the network bandwidth that client has when issuing video content to client To determine the lower signaling rate of video content.Typically, fringe node can maximumlly utilize the network bandwidth of client, so that The lower signaling rate of video content reaches maximum, so as to issue more video content to client in a relatively short period of time.
However, maximally utilizing the mode of the network bandwidth of client in this way, can client in a short time can not It is engaged in other network activities glibly.For example, the network bandwidth of client can be all occupied when loading video content at the beginning With user just can not browse webpage glibly in the client or play online game in this case.
In order to solve the problem above-mentioned, partial video website side can carry out speed limit to the lower signaling rate of fringe node.For example, The lower signaling rate of fringe node can be limited in 8Mbps or less.However, video, in playing process, the source code rate of video is Continually changing, it is more likely that it is higher than the lower signaling rate of fringe node limitation in the source code rate of some period video, this Sample will lead to video playing Caton.
Therefore the delivery method of current video content, the network bandwidth of client is either maximumlly utilized, also It is that speed limit simply is carried out to the lower signaling rate of fringe node, can not all efficiently controls the size of lower signaling rate, so as to cause Video content issues inefficient.
Summary of the invention
The purpose of the application embodiment is to provide originating party, server and limiter of speed under a kind of video content, can be effective Ground controls the size of lower signaling rate, and then improves the efficiency that video content issues.
To achieve the above object, the application embodiment provides a kind of video content delivery method, which comprises connects The video load request that client is sent is received, it includes extremely in the target video that the video load request, which is directed toward target video, A few video clip;Based on the video load request, the target video piece currently needed to the client feedback is determined Section;It determines the corresponding target source code rate of the target video segment, and signaling rate under target is determined according to the target source code rate; Wherein, signaling rate is greater than the target source code rate under the target;It is issued according to signaling rate under the target to the client The target video segment.
To achieve the above object, the application embodiment also provides a kind of video content and issues server, the server It include: network communications port, memory and processor, in which: the network communications port, for carrying out data friendship with client Mutually;The memory includes at least one video clip in the target video for storing target video;The processor, For receiving the video load request that the client is sent by the network communications port, the video load request is directed toward The target video;Based on the video load request, the target video segment currently needed to the client feedback is determined; It determines the corresponding target source code rate of the target video segment, and signaling rate under target is determined according to the target source code rate;Its In, signaling rate is greater than the target source code rate under the target;The network communications port is controlled according to signaling under the target Rate issues the target video segment to the client.
To achieve the above object, the application embodiment also provides a kind of video content delivery method, which comprises The target video segment that server provides is received, and determines the corresponding target source code rate of the target video segment;According to described Target source code rate determines signaling rate under target;Wherein, signaling rate is greater than the target source code rate under the target;According to the mesh It marks lower signaling rate and issues the target video segment to client.
To achieve the above object, the application embodiment also provides a kind of limiter of speed, the limiter of speed include: memory and Processor stores computer program in the memory, when the computer program is executed by the processor, realizes following step It is rapid: to receive the target video segment that server provides, and determine the corresponding target source code rate of the target video segment;According to institute It states target source code rate and determines signaling rate under target;Wherein, signaling rate is greater than the target source code rate under the target;According to described Signaling rate issues the target video segment to client under target.
Therefore technical solution provided by the present application, server, can be successively when issuing target video to client Each video clip in the target video is issued to client.For the target video segment for currently preparing to issue to client For, server can determine the corresponding target source code rate of the target video segment.The target source code rate can characterize the mesh Mark video clip corresponding average source code rate when playing.In order to enable target video segment being capable of smooth playing, it is ensured that Server, which issues signaling rate under the target of target video segment, can be greater than the target source code rate.And in order to guarantee not account for excessively With the network bandwidth of client, can be determined compatible with the target source code rate on the basis of target source code rate Signaling rate under target.Signaling rate can be greater than the target source code rate under the target, without leading to signaling rate under target Have big difference between target source code rate.In this way, when issuing target video segment according to signaling rate under the target, it can be effectively The size of lower signaling rate is controlled, and then improves the efficiency that video content issues.
Detailed description of the invention
It, below will be to embodiment in order to illustrate more clearly of the application embodiment or technical solution in the prior art Or attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only It is some embodiments as described in this application, for those of ordinary skill in the art, in not making the creative labor property Under the premise of, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is video content delivery method interaction figure in the application embodiment;
Fig. 2 is signaling rate and source code rate mean value schematic diagram under target in the application embodiment;
Fig. 3 is the structural schematic diagram that video content issues server in the application embodiment;
Fig. 4 is the system architecture schematic diagram in the application embodiment comprising limiter of speed;
Fig. 5 is the video content delivery method interaction figure of limiter of speed in the application embodiment;
Fig. 6 is the structural schematic diagram of limiter of speed in the application embodiment.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality The attached drawing in mode is applied, the technical solution in the application embodiment is clearly and completely described, it is clear that described Embodiment is only a part of embodiment of the application, rather than whole embodiments.Based on the embodiment party in the application Formula, every other embodiment obtained by those of ordinary skill in the art without making creative efforts, is all answered When the range for belonging to the application protection.
The application embodiment provides a kind of video content delivery method, and the method can be applied to server and client In the system architecture at end.Wherein, the server can be the service server of video playback website, be also possible in CDN Edge node server.The server can be individual server, be also possible to the server being made of multiple servers Cluster.The client can be the electronic equipment for having network communicating function and image display function that user uses.Specifically Ground, the client for example can be desktop computer, tablet computer, laptop, smart phone, digital assistants, intelligence can Wearable device, shopping guide's terminal, intelligent TV set etc..Alternatively, the client may be that can run on above-mentioned electronic equipment In video website software.For example, the client can be serge mile serge mile, Acfun, Tencent's video etc..
Referring to Fig. 1, the application provides a kind of video content delivery method, the delivery method can be applied to server In, it the described method comprises the following steps.
S11: receiving the video load request that client is sent, and the video load request is directed toward target video, the mesh Marking includes at least one video clip in video.
In the present embodiment, it when user passes through the page of Client browse video playback website, can choose in the page The thumbnail of target video or link.It is directed toward in this way, the client can be sent to the server of video playback website The video load request of the target video.
In the present embodiment, the video load request, which can be, follows the character that network communication protocol is write String.For example, the video load request can be HTTP request.The network communication protocol can limit the video load and ask The field that includes in asking and each field put in order.For example, from left to right successively can be in the video load request Including DAF destination address field, source address field and video identifier field.Wherein, view can be filled in the DAF destination address field The IP address of the server of frequency playback website can fill in the IP address of client itself, the view in the source address field Frequency identification field can fill in the target video in path stored in the server or title.In this way, the video Load request can be sent in the server from the client.
In the present embodiment, when client obtains target video from server, it can be segmented and obtain the target view The content of frequency.Specifically, the target video can be divided at least one video clip.User end to server sends view After frequency load request, server can provide corresponding video clip to client.In this way, server is to distributing under client After current video clip, it can stop to provide more video contents to client, but be sent out again until client is changed When carrying out video load request, then to client issue subsequent video clip.It should be noted that client is at the beginning to service The video load request that device is sent, which can be, to be triggered by the behavior of user.And the subsequent video sent to server of client Load request can be what client was sent according to the playback progress of video from trend server.For example, client loads for the first time When target video, server can issue video clip of the play time at 0 second to 20 seconds to client.When the video clip is broadcast When putting to 15 seconds, client can send video load request from trend server again, be broadcast with obtaining from the server Put video clip of the time at 20 seconds to 40 seconds.
S13: being based on the video load request, determines the target video segment currently needed to the client feedback.
In the present embodiment, server can determine after receiving the video load request that the client is sent Currently need the target video segment to client feedback.Specifically, in one embodiment, include in the target video Each video clip can have respective fragment identification.For example, the target video includes 10 video clips, then this The fragment identification of 10 video clips can be from 1 to 10.Certainly, in practical application scene, in order to in other videos The fragment identification of video clip distinguishes, and the mark of the target video can be added before 1 to 10.For example, the mesh The fragment identification of 10 video clips in mark video can be followed successively by A1 to A10, and wherein A can be the target video Mark.In this way, the fragment identification of the video clip can be supplied to by server together when providing video clip to client Client.In this way, what client in the information for receiving video clip, can know currently to load is in target video Which video clip.It is subsequent send video load request again to server when, can be based on the piece segment mark received before Know, determines the fragment identification of the video clip of current desired load, and the fragment identification determined is made an addition into video load In request.For example, the fragment identification of the video clip received before client is A6, then sending video to server again When load request, the fragment identification of A7 can be added in the video load request.In this way, server is receiving the video When load request, can identify in the video load request whether carry fragment identification.If carried, server can be by institute The video clip for having the fragment identification carried in the video load request in target video is stated to mention as needs to client The target video segment of confession.In addition, can also load and ask in video when client sends video load request to server for the first time Default fragment identification in asking.In this way, when, without carrying fragment identification constantly, server can be known in the video load request Knowing client is to load the target video for the first time, at this point, server can be by first piece of video in the target video The target video segment that Duan Zuowei needs to issue to client.
It is received it should be noted that the fragment identification carried in the video load request is also possible to the last completion Video clip fragment identification.For example, after server provides the video clip that fragment identification is A4 to client, client Need to continue to server request of loading fragment identification be A5 video clip, and client can not be to fragment identification at Reason only makes an addition to the fragment identification A4 that server last time provides in the video load request that this will send.At this point, described The fragment identification carried in video load request can be the fragment identification for having completed the video clip of load.In this way, clothes Business device could be aware that fragment identification is that the video clip of A4 has been completed after the video load request for receiving this transmission It issues, so as to issue the video clip that fragment identification is A5 to client.
S15: it determines the corresponding target source code rate of the target video segment, and target is determined according to the target source code rate Lower signaling rate;Wherein, signaling rate is greater than the target source code rate under the target.
It in the present embodiment, can be preparatory in order to which the lower signaling rate of the target video segment is reasonably arranged Determine the corresponding target source code rate of the target video segment.The target source code rate can characterize the target video segment and exist Average bit rate when broadcasting.
In the present embodiment, server can be estimated according to the total amount of data of the target video segment and total duration Calculate the target source code rate.Specifically, each video clip in target video can have respective data information, the number It is believed that may include the total amount of data of video clip and the total duration of video clip in breath.In this way, server can read institute State data information, so as to obtain the target video segment total amount of data and the target video segment it is total when It is long.When calculating the target source code rate of target video segment, can using the ratio of the total amount of data and the total duration as The corresponding target source code rate of the target video segment.For example, the total amount of data of the target video segment is 20,000,000, total duration It is 10 seconds, then the calculated target source code rate can be 2Mbps.In addition, in one embodiment, video clip File header information (header) in can store the source code rate of the video clip.In this way, determining the target video piece When the target source code rate of section, the File header information of the target video segment can be read, and will be from the File header information The source code rate of extraction is as the corresponding target source code rate of the target video segment.
In the present embodiment, the target video segment can be made of multiple data packets, and each data packet can have Standby respective timestamp, the timestamp are used to characterize the data packet when segmentum intercalaris corresponding when target video segment plays Point.For example, the target video segment includes 10 data packets, then this 10 data packets can correspond to ts1 to ts10 respectively This 10 timestamps.In this way, can be read in the target video segment when determining the total duration of the target video segment The first time stamp of first data packet and the second timestamp of the last one data packet, by second timestamp with it is described Total duration of the difference of stamp as the target video segment at the first time.
In the present embodiment, when determining the corresponding target source code rate of the target video segment, in addition to can be according to It, can also be by having completed the view issued outside above-mentioned total amount of data and total duration to the target video segment is analyzed The source code rate of frequency segment predicts the target source code rate of the target video segment.The reason of handling in this way is, sometimes exists The target video segment does not complete when issuing, and total amount of data and total duration possibly can not obtain.In view of in target video Content between adjacent video clip usually there will be certain relevance, the compositions of video pictures there is also similarity, that The source code rate of two adjacent video segment may also be relatively.Based on this, in the target for determining the target video segment When source code rate, the information of the available upper video clip issued to the client.In the server, Mei Dangyou It, can be in the information for locally recording the video clip after video clip completion issues.It may include on described in the information The total amount of data of one video clip and the total duration of a upper video clip.In this way, server can calculate institute The ratio of the total amount of data and the total duration in information is stated, which can be as a upper video clip Source code rate mean value.It in the present embodiment, can be corresponding using the calculated source code rate mean value as the target video segment Target source code rate.Certainly, which predicted based on a upper video clip, in practical applications may be not Accurately, it but can be adjusted by target source code rate of some correction means to the prediction, specific adjustment mode is later Illustrate again.
In the present embodiment, it is determined that, can be according to the mesh after the target source code rate of the target video segment Mark signaling rate under the determining target for issuing the target video segment of source code rate.Specifically, it is regarded to guarantee that user watches The fluency of frequency guarantees that lower signaling rate will not excessively occupy the bandwidth of client again, can make signaling rate under the target Greater than the target source code rate, and signaling rate will not be more too many greatly than the target source code rate under the target.In practical application It, can be using the product of the target source code rate and the first coefficient of variation as signaling rate under the target in scene.Described first Coefficient of variation may be greater than 1 numerical value, when first coefficient of variation can be according to the target video segment actual play Code rate determine.Specifically, code rate maximum value and code rate of the available target video segment in playing process are equal Value, then can be using the ratio of the code rate maximum value and the code rate mean value as first coefficient of variation.For example, described Target video segment is in playing process, and code rate maximum value is 4Mbps, and code rate mean value is 2Mbps, then first fluctuation Coefficient can be 2.By the way that the target source code rate and the first fluctuation multiplication are obtained signaling rate under target, thus Signaling rate can be made to be consistently greater than or the real-time code rate equal to target video segment in playing process under target, and institute Stating signaling rate under target will not be more too many greatly than the real-time code rate of the target video segment, can guarantee that user watches in this way The fluency of video, and can guarantee that lower signaling rate will not excessively occupy the bandwidth of client.
S17: the target video segment is issued to the client according to signaling rate under the target.
In the present embodiment, in the case where determining the target after signaling rate, server can be according under the target Signaling rate issues the target video segment to the client.Due under the target signaling rate than the target video segment Target source code rate it is big, therefore at the end of the target video segment does not play also, server can regard the target Frequency segment is issued in client.When the target video segment issues completion, server can stop to the client Data are issued, until the client sends next video load request.In this way, server is issuing institute to client When stating target video, actual lower signaling rate change curve can be as shown in Figure 2.In Fig. 2, dotted line can be indicated under server Used lower signaling rate when video clip is sent out, solid line then indicates average source code rate of the video clip when playing.It can from Fig. 2 To find out, after a video clip is distributed under, the lower signaling rate of server will be down to 0 (may not in practical application scene Strictly 0), after receiving next video load request, then it can start to issue next video clip.It can from Fig. 2 To find out, the lower signaling rate that server issues video clip is controlled in a reasonable range.
In the present embodiment, the target source code rate determined in step S15 may have inaccuracy, thus Causing when actually issuing target video segment, signaling rate can be less than the current actual source code rate of target video segment under target, It just needs to be adjusted signaling rate under target at this time, to guarantee that smooth video can be played in client.Specifically, it services Device, can be by the practical source code of signaling rate under the target and the target video segment currently when issuing target video segment Rate compares, and when signaling rate is less than the actual source code rate under the target, can carry out to signaling rate under the target Adjustment so that signaling rate is greater than the actual source code rate under target adjusted, and is issued according to the target adjusted Code rate continues to issue the target video segment to the client.Specifically, in signaling rate under adjusting the target, service Device can be using the product of the target source code rate and the second coefficient of variation as signaling rate under target adjusted.Wherein, described Second coefficient of variation can be the numerical value summed up according to historic transmission situation, and second coefficient of variation is often big In first coefficient of variation, so as to be raised speed by second coefficient of variation to signaling rate under the target.Tool Body, second coefficient of variation can be a fixed numbers.Such as the common numerical value of the second coefficient of variation can be 8.In addition, second coefficient of variation can also have multiple proportion with first coefficient of variation.For example, second fluctuation Coefficient can be 2 times of first coefficient of variation.
It in one embodiment, can also be according to the difference under the actual source code rate and the target between signaling rate To be adjusted to signaling rate under the target.Specifically, server can calculate under the actual source code rate and the target Difference between signaling rate, and gain code rate is obtained after the difference is amplified specified multiple.The specified multiple can be pre- One first set is greater than 1 constant.For example, the specified multiple is 1.5.In this way, can by signaling rate under the target with The sum of described gain code rate is as signaling rate under target adjusted, to guarantee that signaling rate can be greater than under target adjusted Actual source code rate, and handled using the redundancy of specified multiple, it can further cope with the fluctuation of subsequent actual source code rate.
In one embodiment, target video is determined according to upper one completing the source code rate of video clip issued , may be too small due to the source code rate of a upper video clip under the target of segment when signaling rate, and lead to the target determined Lower signaling rate is also too small.The case where being also likely to be present scene switching between two adjacent video segment, this results in two neighboring The actual source code rate difference of video clip is also larger.If issuing the target video piece according to signaling rate under lesser target Section, will lead to signaling rate under target can be much smaller than the actual source code rate of the target video segment.Based on this, in present embodiment In, when the target source code rate is less than specified code rate threshold value, at least one corresponding history of the available target video Lower signaling rate.Wherein, the specified code rate threshold value can be preset constant.For example, the specified code rate threshold value can be with For 500kbps.When signaling rate is less than the specified code rate threshold value under target, it may be considered that signaling rate mistake under the target determined It is small, it needs to be adjusted.It, can be with reference to signaling under the corresponding history of video clip for having completed to issue when being adjusted Rate.In this way, signaling rate can be the video clip for having completed to issue under at least one corresponding history of the target video Signaling rate under corresponding history.In the case where obtaining at least one described history after signaling rate, server can be by described at least one Maximal rate under a history in signaling rate is as signaling rate under the target, or at least one described history can be issued The code rate mean value of code rate is as signaling rate under the target, so that signaling rate will not be too small under target adjusted.
Referring to Fig. 3, the application, which also provides a kind of video content, issues server, the server includes: network communication Port 100, memory 200 and processor 300.
Wherein, the network communications port 100, for carrying out data interaction with client.
The memory 200 includes at least one video clip in the target video for storing target video.
The processor 300 is asked for receiving the video load that the client is sent by the network communications port It asks, the video load request is directed toward the target video;Based on the video load request, determination is currently needed to the visitor The target video segment of family end feedback;Determine the corresponding target source code rate of the target video segment, and according to the target source Code rate determines signaling rate under target;Wherein, signaling rate is greater than the target source code rate under the target;Control the network communication Port issues the target video segment to the client according to signaling rate under the target.
In the present embodiment, the network communications port can be is bound from different communication protocol, so as to To send or receive the virtual port of different data.For example, the network communications port can be responsible for carrying out web data communication No. 80 ports, be also possible to be responsible for carry out FTP data communication No. 21 ports, can also be responsible for carry out email data communication No. 25 ports.In addition, the network communications port can also be the communication interface or communication chip of entity.For example, it can Think mobile radio network communication chip, such as GSM, CDMA;It can also be Wifi chip;It can also be Bluetooth chip.
In the present embodiment, the memory includes but is not limited to random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), caching (Cache), hard disk (Hard Disk Drive, HDD) or storage card (Memory Card).
In the present embodiment, the processor can be implemented in any suitable manner.For example, the processor can be with Take such as microprocessor or processor and storage can by (micro-) processor execute computer readable program code (such as Software or firmware) computer-readable medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller (PLC) and the form etc. for being embedded in microcontroller.
The video content that this specification embodiment provides issues server, network communications port, memory and processing The concrete function that device is realized, can contrast explanation, and can reach aforementioned implementation with the aforementioned embodiments in this specification The technical effect of mode, just repeats no more here.
In this application, the speed limit process of the target video segment issued can also be completed by limiter of speed.It please join Fig. 4 is read, the limiter of speed can keep communicating to connect with the server of video website, and can issue to client accordingly Video clip.Specifically, referring to Fig. 5, the video content delivery method that the limiter of speed executes may comprise steps of.
S21: receiving the target video segment that server provides, and determines the corresponding target source code of the target video segment Rate.
S23: signaling rate under target is determined according to the target source code rate;Wherein, described in signaling rate is greater than under the target Target source code rate.
S25: the target video segment is issued to client according to signaling rate under the target.
In the present embodiment, when server needs to issue target video segment to client, needs can be issued Target video segment be sent in limiter of speed, the lower signaling of the target video segment is then limited by the limiter of speed Rate.In this way, can determine the target video after limiter of speed receives the target video segment that the server provides The corresponding target source code rate of segment.The target source code can be specifically determined according to scheme described in aforementioned embodiments Rate.And the target video piece can be determined based on the target source code rate according to scheme described in aforementioned embodiments Signaling rate under the corresponding target of section, and the target video segment is issued to client according to signaling rate under the target.
In the present embodiment, the realization process of specific steps and scheme described in aforementioned embodiments are consistent, this In just repeat no more.Therefore the function that signaling rate under target is defined in the application, it can integrate in video website Server in, can also be completed by independent limiter of speed.Therefore, those skilled in the art are in the technology essence for understanding the application After marrow, portion of techniques step is combined and perhaps divides or is modified the executing subject of portion of techniques step, as long as The concrete function that it is realized is consistent with the application or similar, should all belong in the protection scope of the application.
Also referring to Fig. 5 and Fig. 6, the application also provides a kind of limiter of speed, and the limiter of speed includes: memory and processing Device stores computer program in the memory, when the computer program is executed by the processor, realizes following steps.
S21: receiving the target video segment that server provides, and determines the corresponding target source code of the target video segment Rate.
S23: signaling rate under target is determined according to the target source code rate;Wherein, described in signaling rate is greater than under the target Target source code rate.
S25: the target video segment is issued to client according to signaling rate under the target.
In the present embodiment, the memory includes but is not limited to random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), caching (Cache), hard disk (Hard Disk Drive, HDD) or storage card (Memory Card).
In the present embodiment, the processor can be implemented in any suitable manner.For example, the processor can be with Take such as microprocessor or processor and storage can by (micro-) processor execute computer readable program code (such as Software or firmware) computer-readable medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller (PLC) and the form etc. for being embedded in microcontroller.
The concrete function that the limiter of speed that this specification embodiment provides, memory and processor are realized, can be with this Aforementioned embodiments in specification contrast explanation, and can reach the technical effect of aforementioned embodiments, here just no longer It repeats.
Therefore technical solution provided by the present application, server, can be successively when issuing target video to client Each video clip in the target video is issued to client.For the target video segment for currently preparing to issue to client For, server can determine the corresponding target source code rate of the target video segment.The target source code rate can characterize the mesh Mark video clip corresponding average source code rate when playing.In order to enable target video segment being capable of smooth playing, it is ensured that Server, which issues signaling rate under the target of target video segment, can be greater than the target source code rate.And in order to guarantee not account for excessively With the network bandwidth of client, can be determined compatible with the target source code rate on the basis of target source code rate Signaling rate under target.Signaling rate can be greater than the target source code rate under the target, without leading to signaling rate under target Have big difference between target source code rate.In this way, when issuing target video segment according to signaling rate under the target, it can be effectively The size of lower signaling rate is controlled, and then improves the efficiency that video content issues.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker Dedicated IC chip 2.Moreover, nowadays, substitution manually makes IC chip, and this programming is also used instead mostly " logic compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development Seemingly, and the source code before compiling also handy specific programming language is write, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present Integrated Circuit Hardware Description Language) and Verilog2.Those skilled in the art It will be apparent to the skilled artisan that only needing method flow slightly programming in logic and being programmed into integrated circuit with above-mentioned several hardware description languages In, so that it may it is readily available the hardware circuit for realizing the logical method process.
It is also known in the art that in addition to realizing server and limiter of speed in a manner of pure computer readable program code In addition, completely can by by method and step carry out programming in logic come so that server and limiter of speed with logic gate, switch, dedicated The form of integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc. realizes identical function.Therefore this server It is considered a kind of hardware component with limiter of speed, and the device for realizing various functions for including in it can also be regarded For the structure in hardware component.Or even, can will be considered as realizing the device of various functions either implementation method Software module can be the structure in hardware component again.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can It realizes by means of software and necessary general hardware platform.Based on this understanding, the technical solution essence of the application On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment of the application or embodiment Method described in certain parts.
Each embodiment in this specification is described in a progressive manner, same and similar between each embodiment Part may refer to each other, what each embodiment stressed is the difference with other embodiments.In particular, needle For the embodiment of server and limiter of speed, the introduction control for being referred to the embodiment of preceding method is explained.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with In the local and remote computer storage media including storage equipment.
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that there are many deformations by the application With variation without departing from spirit herein, it is desirable to which the attached claims include these deformations and change without departing from the application Spirit.

Claims (18)

1. a kind of video content delivery method, which is characterized in that the described method includes:
Receive the video load request sent of client, the video load request is directed toward target video, in the target video Including at least one video clip;
Based on the video load request, the target video segment currently needed to the client feedback is determined;
It determines the corresponding target source code rate of the target video segment, and signaling under target is determined according to the target source code rate Rate;Wherein, signaling rate is greater than the target source code rate under the target;
The target video segment is issued to the client according to signaling rate under the target.
2. the method according to claim 1, wherein determining the corresponding target source code rate of the target video segment Include:
The File header information of the target video segment is read, and using the source code rate extracted from the File header information as institute State the corresponding target source code rate of target video segment;
Or
Obtain the total amount of data of the target video segment and the total duration of the target video segment, and by the total data Amount is with the ratio of the total duration as the corresponding target source code rate of the target video segment.
3. according to the method described in claim 2, it is characterized in that, including multiple data packets in the target video segment;Phase The total duration of Ying Di, the target video segment determine in the following manner:
Read first time stamp and the second time of the last one data packet of first data packet in the multiple data packet Stamp, using the difference of second timestamp and first time stamp as the total duration of the target video segment.
4. the method according to claim 1, wherein determining the corresponding target source code rate of the target video segment Include:
The information of the upper video clip issued to the client is obtained, includes a upper piece of video in the information The total amount of data of section and the total duration of a upper video clip;
Using the mesh corresponding as the target video segment with the ratio of the total duration of the total amount of data in the information Mark source code rate.
5. the method according to claim 1, wherein determining signaling rate packet under target according to the target source code rate It includes:
Using the product of the target source code rate and the first coefficient of variation as signaling rate under the target;
Wherein, first coefficient of variation determines in the following manner:
Obtain code rate maximum value and code rate mean value of the target video segment in playing process, and by the code rate maximum value Ratio with the code rate mean value is as first coefficient of variation.
6. method according to claim 1 or 5, which is characterized in that according to signaling rate under the target to the client When issuing the target video segment, the method also includes:
The actual source code rate current with the target video segment of signaling rate under the target is compared, when under the target When signaling rate is less than the actual source code rate, signaling rate under the target is adjusted, so that target adjusted issues Code rate is greater than the actual source code rate;
Continue to issue the target video segment to the client according to signaling rate under the target adjusted.
7. according to the method described in claim 6, it is characterized in that, being adjusted to signaling rate under the target and including:
Using the product of the target source code rate and the second coefficient of variation as signaling rate under target adjusted;Wherein, described Two coefficient of variation are greater than the first coefficient of variation;
Or
The difference under the actual source code rate and the target between signaling rate is calculated, and will be after difference amplification specified multiple Obtain gain code rate;
By the sum of signaling rate under the target and the gain code rate as signaling rate under target adjusted.
8. the method according to claim 1, wherein determining signaling rate packet under target according to the target source code rate It includes:
When the target source code rate is less than specified code rate threshold value, obtains at least one corresponding history of the target video and issue Code rate;
It is described at least using the maximal rate under at least one described history in signaling rate as signaling rate under the target or general The code rate mean value of signaling rate is as signaling rate under the target under one history.
9. the method according to claim 1, wherein the method also includes:
When the target video segment issues completion, stop to issue data to the client, until the client is sent Until next video load request.
10. the method according to claim 1, wherein the video clip in the target video has piece segment mark Know;
Correspondingly, it is based on the video load request, determines the target video segment packet currently needed to the client feedback It includes:
When carrying fragment identification in the video load request, will have in the video load request in the target video The video clip of the fragment identification of carrying is as the target video segment;
Fragment identification is carried constantly when no in the video load request, by first video clip in the target video As the target video segment.
11. a kind of video content issues server, which is characterized in that the server include: network communications port, memory and Processor, in which:
The network communications port, for carrying out data interaction with client;
The memory includes at least one video clip in the target video for storing target video;
The processor, it is described for receiving the video load request that the client is sent by the network communications port Video load request is directed toward the target video;Based on the video load request, determination currently needs anti-to the client The target video segment of feedback;Determine the corresponding target source code rate of the target video segment, and true according to the target source code rate Set the goal lower signaling rate;Wherein, signaling rate is greater than the target source code rate under the target;The network communications port is controlled to press The target video segment is issued to the client according to signaling rate under the target.
12. a kind of video content delivery method, which is characterized in that the described method includes:
The target video segment that server provides is received, and determines the corresponding target source code rate of the target video segment;
Signaling rate under target is determined according to the target source code rate;Wherein, signaling rate is greater than the target source code under the target Rate;
The target video segment is issued to client according to signaling rate under the target.
13. according to the method for claim 12, which is characterized in that determine the corresponding target source code of the target video segment Rate includes:
The File header information of the target video segment is read, and using the source code rate extracted from the File header information as institute State the corresponding target source code rate of target video segment;
Or
Obtain the total amount of data of the target video segment and the total duration of the target video segment, and by the total data Amount is with the ratio of the total duration as the corresponding target source code rate of the target video segment;
Or
The information of the upper video clip issued to the client is obtained, includes a upper piece of video in the information The total amount of data of section and the total duration of a upper video clip;By the total amount of data in the information and described total The ratio of duration is as the corresponding target source code rate of the target video segment.
14. according to the method for claim 12, which is characterized in that determine signaling rate under target according to the target source code rate Include:
Using the product of the target source code rate and the first coefficient of variation as signaling rate under the target;
Wherein, first coefficient of variation determines in the following manner:
Obtain code rate maximum value and code rate mean value of the target video segment in playing process, and by the code rate maximum value Ratio with the code rate mean value is as first coefficient of variation.
15. method described in 2 or 14 according to claim 1, which is characterized in that according to signaling rate under the target under client When sending out target video segment described, the method also includes:
The actual source code rate current with the target video segment of signaling rate under the target is compared, when under the target When signaling rate is less than the actual source code rate, signaling rate under the target is adjusted, so that target adjusted issues Code rate is greater than the actual source code rate;
Continue to issue the target video segment to the client according to signaling rate under the target adjusted.
16. according to the method for claim 15, which is characterized in that be adjusted to signaling rate under the target and include:
Using the product of the target source code rate and the second coefficient of variation as signaling rate under target adjusted;Wherein, described Two coefficient of variation are greater than the first coefficient of variation;
Or
The difference under the actual source code rate and the target between signaling rate is calculated, and will be after difference amplification specified multiple Obtain gain code rate;
By the sum of signaling rate under the target and the gain code rate as signaling rate under target adjusted.
17. according to the method for claim 12, which is characterized in that determine signaling rate under target according to the target source code rate Include:
When the target source code rate is less than specified code rate threshold value, obtains at least one corresponding history of the target video and issue Code rate;
It is described at least using the maximal rate under at least one described history in signaling rate as signaling rate under the target or general The code rate mean value of signaling rate is as signaling rate under the target under one history.
18. a kind of limiter of speed, which is characterized in that the limiter of speed includes: memory and processor, stores meter in the memory Calculation machine program performs the steps of when the computer program is executed by the processor
The target video segment that server provides is received, and determines the corresponding target source code rate of the target video segment;
Signaling rate under target is determined according to the target source code rate;Wherein, signaling rate is greater than the target source code under the target Rate;
The target video segment is issued to client according to signaling rate under the target.
CN201710811290.1A 2017-09-11 2017-09-11 A kind of video content delivery method, server and limiter of speed Pending CN109495768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710811290.1A CN109495768A (en) 2017-09-11 2017-09-11 A kind of video content delivery method, server and limiter of speed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710811290.1A CN109495768A (en) 2017-09-11 2017-09-11 A kind of video content delivery method, server and limiter of speed

Publications (1)

Publication Number Publication Date
CN109495768A true CN109495768A (en) 2019-03-19

Family

ID=65687601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710811290.1A Pending CN109495768A (en) 2017-09-11 2017-09-11 A kind of video content delivery method, server and limiter of speed

Country Status (1)

Country Link
CN (1) CN109495768A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050091696A1 (en) * 2003-09-15 2005-04-28 Digital Networks North America, Inc. Method and system for adaptive transcoding and transrating in a video network
CN101765003A (en) * 2008-12-23 2010-06-30 上海茂碧信息科技有限公司 Method for transmitting audio and video under environment of network with different speeds
CN106210925A (en) * 2015-05-05 2016-12-07 阿里巴巴集团控股有限公司 The decoding method of a kind of real-time media stream and device
CN106851337A (en) * 2017-02-21 2017-06-13 聚好看科技股份有限公司 Video buffer control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050091696A1 (en) * 2003-09-15 2005-04-28 Digital Networks North America, Inc. Method and system for adaptive transcoding and transrating in a video network
CN101765003A (en) * 2008-12-23 2010-06-30 上海茂碧信息科技有限公司 Method for transmitting audio and video under environment of network with different speeds
CN106210925A (en) * 2015-05-05 2016-12-07 阿里巴巴集团控股有限公司 The decoding method of a kind of real-time media stream and device
CN106851337A (en) * 2017-02-21 2017-06-13 聚好看科技股份有限公司 Video buffer control method and device

Similar Documents

Publication Publication Date Title
US9510043B2 (en) Pre-buffering audio streams
US9979772B2 (en) Data streaming method of an electronic device and the electronic device thereof
CN110636346B (en) Code rate self-adaptive switching method and device, electronic equipment and storage medium
US9401968B2 (en) Method and apparatus for enabling pre-fetching of media
CN102948126B (en) Generate and process the method and apparatus of Streaming Media Quality of experience tolerance
CN109314793B (en) Method for providing adaptive streaming service and streaming server
US20160072713A1 (en) Load balancing and migration of transport connections
US9356985B2 (en) Streaming video to cellular phones
US11582146B2 (en) High-quality adaptive bitrate video through multiple links
WO2013150378A1 (en) Systems and methods for loading more than one video contient at a time
WO2021103363A1 (en) Bullet screen presentation method and system
CN110662017B (en) Video playing quality detection method and device
CN104113770A (en) Webpage video playing method and device
EP2903260A1 (en) Multi-speed playing method, device and system
US10375444B2 (en) Partial video pre-fetch
CN108270807A (en) A kind of data transmission method and device
CN103561013B (en) The data distribution systems of Streaming Media
EP3235258B1 (en) Adjusting quality level of media streaming
CN109495768A (en) A kind of video content delivery method, server and limiter of speed
CN108141804A (en) For the device and method that heterogeneous network is used to provide data service
CN114844870B (en) Media stream acquisition method and device, electronic equipment and storage medium
US10291943B2 (en) Node interworking with base station and method for providing streaming data through the node
US20230388590A1 (en) Playback optimization method and system
JP6740110B2 (en) Data distribution system, communication terminal, and program
KR102064517B1 (en) Method and apparatus for adaptively controlling service of video

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200513

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 100080 Beijing Haidian District city Haidian street A Sinosteel International Plaza No. 8 block 5 layer A, C

Applicant before: Youku network technology (Beijing) Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190319