CN108200470A - A kind of video code rate method of adjustment and equipment - Google Patents

A kind of video code rate method of adjustment and equipment Download PDF

Info

Publication number
CN108200470A
CN108200470A CN201711387306.7A CN201711387306A CN108200470A CN 108200470 A CN108200470 A CN 108200470A CN 201711387306 A CN201711387306 A CN 201711387306A CN 108200470 A CN108200470 A CN 108200470A
Authority
CN
China
Prior art keywords
code check
video data
client
video
buffer
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
CN201711387306.7A
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201711387306.7A priority Critical patent/CN108200470A/en
Publication of CN108200470A publication Critical patent/CN108200470A/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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44209Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • 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

A kind of video code rate method of adjustment and equipment, are related to field of communication technology.The embodiment of the present application in the case of the fluency for ensureing video playing, can constantly obtain the video data of greater degree code check.This method includes:If client determines that the buffer time of the video data of the first code check in screen buffer is more than the buffering lower limit time of the code check, user end to server sends the second scheduling request;Server sends video delta data according to the second scheduling request to client;Client is updated the video data of the first code check in screen buffer, the video data of the second code check is generated, to buffer the video data of the second code check in screen buffer according to video delta data;Wherein, the video data of at least two code checks is included in the screen buffer of client, the second code check is the high level-one code check of the first code check.The application is played applied to Online Video.

Description

A kind of video code rate method of adjustment and equipment
Technical field
This application involves field of communication technology more particularly to a kind of video code rate methods of adjustment and equipment.
Background technology
At present, in order to improve usage experience of the user when watching Online Video, the online Streaming Media of industry mainstream has Corresponding code check adaptive technique, adaptive stream media technology (the Adobe Dynamic including Adobe companies Streaming), the self-adaptive direct broadcasting flow-medium technology (Apple Live Streaming) of Apple Inc., Microsoft from Dynamic self-adapting Streaming Media (the MPEG- of adaptive smoothing stream media technology (Microsoft Smooth Streaming), MPEG DASH) etc..These code check adaptive techniques are adjusted according to the network performance (indexs such as packet loss, time delay, shake) detected The code check grade for the video data that user will play, so as to provide the network performance for being suitble to its residing network for different user Video service makes user that can watch more good video pictures in specific network environment as far as possible.
But present inventor has found, the above method is to determine video code rate grade with reference to network performance in advance, specific The video data or video slicing data of period its code check after client is sent to no longer adjusts.If so occur at this time Network performance improves or user behavior pause is when redundant meshes resource situation, can not continue to send advanced code rate data, cause Poor user experience.
Invention content
The application provides a kind of video code rate method of adjustment and client, can online be watched and regarded using client in user During frequency, the buffering situation in video playing needs the video data asked to server after determining, is ensureing that video broadcasts In the case of the fluency put, the video data of greater degree code check is constantly obtained.So as to utilize limited Internet resources, for Family provides the video playing resource being more clear.
In order to achieve the above objectives, embodiments herein adopts the following technical scheme that:
In a first aspect, the application provides a kind of video code rate method of adjustment, including:If client is determined in screen buffer The buffer time of the video data of interior first code check is more than the buffering lower limit time of the code check, then user end to server sends the Two scheduling requests;Server sends video delta data according to the second scheduling request to client;Client is according to video delta Data are updated the video data of the first code check in screen buffer, generate the second code check video data, with regarding The video data of the second code check of buffering in frequency buffering area;Wherein, include at least two code checks in the screen buffer of client Video data, the second code check are the high level-one code check of the first code check.The application is played applied to Online Video.
Optionally, code check of first code check for the lowest class at least two code checks;It is determined in client in video buffer In area the buffer time of the video data of the first code check be more than the code check the buffering lower limit time before, method further includes:Client It holds to server and sends the first scheduling request;Server sends the video of the first code check to client according to the first scheduling request Data;Client utilizes the video data of the first code check, and the video data of the first code check is buffered in screen buffer.
Optionally, if the buffer time of the video data of each code check is more than at least two code checks in screen buffer The buffering lower limit time of the code check, then user end to server send third scheduling request;Server according to third scheduling request, The first video data is sent to client;Client buffers at least two successively according to the first video data in screen buffer The video data of each code check in kind code check.
Optionally, if there are the buffer time of the video data of at least one code check more than the code check in screen buffer The buffer upper limit time, then user end to server send the 4th scheduling request;Server is according to the 4th scheduling request, to client End sends the second video data;Client is buffered successively in screen buffer except buffer time surpasses according to the second video data Cross the video data of other code checks except at least one code check of the buffer upper limit time of the code check.
Second aspect, the application provide a kind of client, including:Transmitting element, if determining to delay in video for client The buffer time for rushing the video data of the first code check in area is more than the buffering lower limit time of the code check, and sending second to server adjusts Degree request, so that server sends video delta data according to the second scheduling request to client;Receiving unit, for Transmitting element receives the video delta data that server is sent after server sends the second scheduling request;Buffer cell is used for After receiving unit receives video delta data, according to video delta data, to the video of the first code check in screen buffer Data are updated, and the video data of the second code check are generated, to buffer the video data of the second code check in screen buffer;Its In, the video data of at least two code checks is included in the screen buffer of client, the second code check is the high level-one of the first code check Code check.
Optionally, code check of first code check for the lowest class at least two code checks;Transmitting element is additionally operable in client Determine the video data of the first code check in screen buffer buffer time be more than the code check the buffering lower limit time before, to clothes Business device sends the first scheduling request, so that server sends the video of the first code check to client according to the first scheduling request Data;Receiving unit is additionally operable to receive the video data of the first code check;Buffer cell is additionally operable to receive first in receiving unit After the video data of code check, using the video data of the first code check, the video data of the first code check is buffered in screen buffer.
Optionally, transmitting element, if being additionally operable to the video data of each code check at least two code checks in screen buffer Buffer time be more than the code check the buffering lower limit time, then to server send third scheduling request so that server According to third scheduling request, the first video data is sent to client;Receiving unit is additionally operable to send third tune in transmitting element After degree request, the first video data is received;Buffer cell is additionally operable to after receiving unit receives the first video data, according to the One video data buffers the video data of each code check at least two code checks successively in screen buffer.
Optionally, transmitting element, if being additionally operable in screen buffer, there are the slow of the video data of at least one code check The buffer upper limit time that the time is more than the code check is rushed, then sends the 4th scheduling request to server, so that server is according to the Four scheduling requests send the second video data to client;Receiving unit is additionally operable to send the 4th scheduling request in transmitting element Afterwards, the second video data is received;Buffer cell is additionally operable to after receiving unit receives the second video data, according to the second video Data, in screen buffer successively buffering except buffer time be more than the code check the buffer upper limit time at least one code check it The video data of other outer code checks.
The third aspect, the application provide a kind of server, including:Receiving unit, for receiving the second of client transmission Scheduling request;Transmitting element, for receiving unit receive the second scheduling request after, according to the second scheduling request, to client Video delta data are sent, so that client is according to video delta data, to the video of the first code check in screen buffer Data are updated, and the video data of the second code check are generated, to buffer the video data of the second code check in screen buffer;Its In, the video data of at least two code checks is included in the screen buffer of client, the second code check is the high level-one of the first code check Code check.
Optionally, receiving unit is additionally operable to receive the first scheduling request that client is sent;Transmitting element is additionally operable to After receiving unit receives the first scheduling request, according to the first scheduling request, the video data of the first code check is sent to client, with So that client utilizes the video data of the first code check, the video data of the first code check is buffered in screen buffer.
Optionally, receiving unit is additionally operable to receive the third scheduling request that client is sent;Transmitting element is additionally operable to After receiving unit receives third scheduling request, according to third scheduling request, the first video data is sent to client, so that objective Family end buffers the video data of each code check at least two code checks successively according to the first video data in screen buffer.
Optionally, receiving unit is additionally operable to receive the 4th scheduling request that client is sent;Transmitting element is additionally operable to After receiving unit receives the 4th scheduling request, according to the 4th scheduling request, the second video data is sent to client, so that objective Family end is according to the second video data, and buffering removes the buffer upper limit time that buffer time is more than the code check successively in screen buffer At least one code check except other code checks video data.
Method provided herein, when playing Online Video, client first buffers the first code check of certain buffer time Video data, so as to video be enable quickly to open and being capable of smooth playing.Later, client is in screen buffer is ensured After the video data for having saved certain buffering duration, recycle the video delta information of reception, in screen buffer The video data of the first buffered code check is updated, so as to obtain and play code check higher, be more clear second The video data of code check.
Network performance of the middle basis before transmitting video data compared with prior art determines the side of the code check grade of video Method, the application above method can make moderate progress in transmitting video data when network performance or user suspends broadcasting video When, method that can be by being updated to the video data buffered, to improve the code check of the video data buffered, so as to Improve the clarity of this partial video content.And then when there are Internet resources more than needed, herein described method can not only The code check of video data not buffered also using the raising of this partial network resource, moreover it is possible to be updated and optimized using this partial network resource Into the code check of the video data of row buffering in screen buffer, i.e., on the whole to the video content of broadcasting not yet Quality is improved.For example, in the prior art when network performance is unstable, for example there is a situation where that bandwidth is fluctuated, then It may lead to video slicing alternate buffer of the video data in buffering area there are different clarity, then when playing video, User will feel that video is for a moment clear for a moment unintelligible.And it then can greatly improve this feelings using the present processes Condition obtains better user experience.In addition, in herein described method, only need to preserve in the server code check it is higher the The incremental data of the video data of two code checks, the video data without preserving complete second code check, saves server In memory space.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or it will show below There is attached drawing needed in technology description to be briefly described.
Fig. 1 is the schematic diagram of a kind of architectures of communication networks that embodiments herein provides;
Fig. 2 is the principle schematic of a kind of video data encoding mode that embodiments herein provides;
Fig. 3 is a kind of flow diagram of video code rate method of adjustment provided by the embodiments of the present application;
Fig. 4 is a kind of structure diagram of client provided by the embodiments of the present application;
Fig. 5 is a kind of structure diagram of server provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the accompanying drawings, embodiments herein is described.
Embodiments herein is applied in the scene for playing Online Video.The embodiment of the present application provides a kind of play online Architectures of communication networks under video scene, specifically as described in Figure 1, client by internet and is used as video in the communication network The server connection of resource source station.In the specific implementation, client receives the video data that server is sent, and to the video counts According to being decoded, the operations such as buffering, pass through the video data after the softwares play buffering such as player in client later.This Shen Please described in client can be each electronic product that computer, mobile phone and tablet computer etc. can play video online
The embodiment of the present application additionally provides a kind of Video coding mode, wherein being used to the video data of different code checks different Coding mode.Specifically, to the video data of lowest bit rate in the video data of various code rate can as usual into Row coding, obtains benchmark code check file.To the video data of other code checks in addition to lowest bit rate, pass through the side of incremental encoding Formula obtains the increment information file of the video data of the relatively low level-one code check of video data of the code check.Later in decoding, pass through The video data of the increment information file of acquisition and low level-one code check, obtains the video data of the code check.Such as shown in table 1:
Table 1
Wherein, target video have smooth 360P, high definition 720P, tri- kinds of clarity of blue light 1080P play mode, wherein flowing Smooth pattern corresponds to the video resolution of 640*360, high definition pattern corresponds to the video resolution of 1280*720, blue light pattern corresponds to The video resolution of 1920*1080, wherein the code check of the video data of smooth pattern is the lowest class M0, the video of high definition pattern The code check of data is M1, the code check of the video data of blue light pattern is M2.So the 360P video datas of lowest bit rate M0 are pressed It is encoded to obtain benchmark code check file, the corresponding increment information file of 720P video datas of secondary level bit-rate M1 according to generic way The additional information of 720P video datas, the 1080P video counts of highest level M2 are as updated on the basis of 360P video datas It is the additional information that 1080P video datas are updated on the basis of 720P video datas according to corresponding increment information file.
It should be noted that existing Video coding side may be used for the coding of the video data of benchmark code check M0 Following methods may be used for the video data of other code checks outside benchmark code check in formula:Still with the 360P of lowest bit rate M0 Video data, the 720P video datas of secondary level bit-rate M1, highest level M2 three kinds of clarity of 1080P video datas video counts For.1 pixel in M0 grades corresponds to 4 pixels in M1 grades, corresponds to 9 pixels in M2 grades.Therefore when needs It, can be by obtaining regarding for M0 code checks for each frame picture in video data when obtaining the video data of M1 code checks The increment information file of the video data of a corresponding Pixel Information and M1 code checks provides in the frame picture of frequency evidence The increment information of corresponding 3 pixels in the frame picture, to determine the information of the four of M1 code checks pixels, and then realize to M1 codes The decoding of the video data of rate.It further, then can be by obtaining M1 code checks after the video data for obtaining M1 code checks The increment information file of the video data of corresponding four Pixel Informations and M2 code checks provides in one frame picture of video data The frame picture in corresponding five Pixel Informations, to determine the information of the nine of M2 code checks pixels, and then realize to M2 code checks Video data decoding.
Specifically, as in Fig. 2, the Pixel Information of pixel A and pixel A are corresponding in M0 bit-rate video data are obtained The increment information of tri- pixel B, pixel C, pixel D pixels in four pixels in M1 bit-rate video data, you can derive picture The Pixel Information of plain E, and then realize the decoding of the video data of M1 code checks.Four pixels in M1 bit-rate video data are obtained B, intermediate five pictures in nine pixels in the Pixel Information of C, D, E and pixel B, the corresponding M2 bit-rate videos data of C, D, E The Pixel Information of plain F, G, H, I, J, you can shift out the Pixel Information of four pixels K, L, M, N of residue onto, and then realize M2 code checks Video data decoding.
The embodiment of the present application provides a kind of video code rate method of adjustment, can use Video coding mode and applied to above-mentioned In the network architecture.It should be noted that the above-mentioned network architecture and Video coding mode are to more clearly illustrate the application The technical solution of embodiment does not form the restriction for technical solution provided by the embodiments of the present application.It, should with reference to shown in Fig. 3 Method includes the following steps:
S101, user end to server send the first scheduling request.
S102, server send the video data of the first code check to client according to the first scheduling request.
Wherein, the video data of at least two code checks is included in the screen buffer of client.In at least two code checks It can include wherein arbitrary the two of the resolution ratio correspondence code rates such as currently used 360P, 720P, 1080P and 4K in video data Kind or more kind can also include code check types of other classification.For specifically including those code check classes at least two code checks Type can be in practical application select, the application is without limitation.
Specifically, code check of first code check for the lowest class at least two code checks.
S103, client utilize the video data of the first code check, and the video counts of the first code check are buffered in screen buffer According to.
Specifically, being established after video request connect in client and server, client is first, in accordance with the lowest class code check Video data, to video data into row buffering, and then ensure the quick fluency played and play of video data.
Optionally, before the video data for obtaining the first code check in user end to server, client can also obtain first The specific fragment and increment information of rounding target video file do standard for follow-up code check adjustment transmission and decoding display It is standby.And network performance is measured, determine the basic performances such as time delay in network, packet loss, shake and bandwidth.According to net Network performance selects code check of the suitable video code rate as the lowest class.For example, when detecting that network performance is good, Ke Yixuan Select code check of the higher code check as the lowest class in the application;When detecting that network performance is poor, can select relatively low Code check of the code check as the lowest class in the application, and then ensure the fluency of video playing.
If S104, client determine that the buffer time of the video data of the first code check in screen buffer is more than the code check The buffering lower limit time, then user end to server send the second scheduling request.
It should be noted that the first code check in above-mentioned S101-103 steps is at least two code checks included in buffering area In the lowest class code check, be a kind of special case.The first code check in the step of may be the lowest class in S104 and later Code check, it is also possible to other code checks more higher than the lowest class code check at least two code check.Therefore when the first code check is During other code checks more higher than the lowest class code check, then the video counts of the first code check are not obtained by the step of above-mentioned S101-103 According to, and the video data to the more low level bit-rate of the first code check of screen buffer internal ratio can be passed through in a manner of following steps S106 And the first corresponding video delta data of code check, to generate the video data of the first code check.
S105, server send video delta data according to the second scheduling request to client;
S106, client carry out more the video data of the first code check in screen buffer according to video delta data Newly, the video data of the second code check is generated, to buffer the video data of the second code check in screen buffer.
Wherein, the video data of at least two code checks is included in the screen buffer of client.Second code check is first yard The high level-one code check of rate.
Illustratively, as shown in table 2, if the video data of at least two code checks includes tri- kinds of code check grades of M0, M1, M2 Video data, wherein M0 is the lowest class code check, M2 is highest level code check.In addition to facilitate transmission, by entire target Video is divided into multiple video slicings.Specifically, client it is every reception server send a video slicing after or After preset duration, according to the step of above-mentioned S101-106, to judge the video slicing next to be obtained.
Table 2
Specifically, if it is determined that T0≤TD0, i.e. client determine that the buffer time of the video data of M0 code checks instantly is not super Spend the buffering lower limit time of the code check.Then according to the step of above-mentioned S101-103, continue obtain M0 code checks video data, and The video data of buffering M0 code checks in screen buffer, i.e. user end to server send a request for No. N0+1 of M0 code checks Video slicing data.
If it is determined that T0 > TD0, i.e. client determine that the buffer time of the video data of M0 code checks instantly has been more than the code check The buffering lower limit time, then according to the step of above-mentioned S104-106, obtain video delta data, M1 is buffered in screen buffer The video data of code check, i.e. user end to server send a request for the N1+1 video slicing data of M1 code checks.
Further, further according to S104-106 whether the step of judges the buffer time of the video data of M1 code checks instantly More than the buffering lower limit time of the code check:
When determining T1 > TD1, i.e. client determines that the buffer time of the video data of M1 code checks instantly has been more than the code check The buffering lower limit time, then according to the step of above-mentioned S104-106, obtain video delta data, M2 is buffered in screen buffer The video data of code check, i.e. user end to server send a request for the N2+1 video slicing data of M2 code checks.
In one embodiment, if in screen buffer at least two code checks during the buffering of the video data of each code check Between be more than the code check the buffering lower limit time, then this method further include:
S107, user end to server send third scheduling request.
S108, server send the first video data according to third scheduling request to client.
S109, client buffer each code at least two code checks successively according to the first video data in screen buffer The video data of rate.
Illustratively, continue by taking the content of above-mentioned table 2 as an example:
As T0 > TD0 and T1 > TD1 and T2 > TD2, that is, illustrate in screen buffer each code check at least two code checks Video data buffer time be more than the code check the buffering lower limit time.Then user end to server sends request, so as to Next video slicing data, that is, N0+1 video slicings data, the next video slicing data of M1 code checks of M0 code checks are obtained successively That is N1+1 video slicings data, next video slicing data, that is, N2+1 video slicing data of M2 code checks, so as in video The video data of each code check at least two code checks is buffered in buffering area successively.
It should be noted that buffer each code check at least two code checks successively in screen buffer in the present embodiment It during video data, can successively buffer, can also successively delay according to sequence from high to low according to the sequence of code check from low to high Punching, can also carry out buffers video data according to other preset orders, this application is not limited.
In addition, in one embodiment, client often sends a scheduling request to server, and server can be according to please It asks and the video slicing that this client needs is sent to client.For example, client sends scheduling request, server for the first time Next video slicing data, that is, N0+1 video slicing data of M0 code checks are sent to client.Client sends scheduling for the second time Request, server send next video slicing data, that is, N1+1 video slicing data of M1 code checks to client, and so on. In another embodiment, client often to server send a scheduling request, server can also according to request directly according to It is secondary to send next video slicing data, that is, N0+1 video slicings data of M0 code checks, next video point of M1 code checks to client Sheet data, that is, N1+1 video slicings data, next video slicing data, that is, N2+1 video slicing data of M2 code checks.To this The application is not also limited.
S110, user end to server send the 4th scheduling request.
S111, server send the second video data according to the 4th scheduling request to client.
S112, client are according to the second video data, and buffering removes buffer time more than the code successively in screen buffer The video data of other code checks except at least one code check of the buffer upper limit time of rate.
Illustratively, continue by taking the content of above-mentioned table 2 as an example:
If there are T0>TU0、T1>TU1 or T2>During one in TU2, then stop corresponding code check video data it is slow Punching.Such as, however, it is determined that T0>TU0 then buffers the video counts of other code checks in addition to M0 code checks successively in screen buffer According to, i.e., successively buffer M1, M2 code check video data.If it is determined that T0>TU0 and T1>TU1 then only buffers the video of M2 code checks Data.
Method provided herein, when playing Online Video, client first buffers the first code check of certain buffer time Video data, so as to video be enable quickly to open and being capable of smooth playing.Later, client is in screen buffer is ensured After the video data for having saved certain buffering duration, recycle the video delta information of reception, in screen buffer The video data of the first buffered code check is updated, so as to obtain and play code check higher, be more clear second The video data of code check.
Network performance of the middle basis before transmitting video data compared with prior art determines the side of the code check grade of video Method, the application above method can make moderate progress in transmitting video data when network performance or user suspends broadcasting video When, method that can be by being updated to the video data buffered, to improve the code check of the video data buffered, so as to Improve the clarity of this partial video content.And then when there are Internet resources more than needed, herein described method can not only The code check of video data not buffered also using the raising of this partial network resource, moreover it is possible to be updated and optimized using this partial network resource Into the code check of the video data of row buffering in screen buffer, i.e., on the whole to the video content of broadcasting not yet Quality is improved.For example, in the prior art when network performance is unstable, for example there is a situation where that bandwidth is fluctuated, then It may lead to video slicing alternate buffer of the video data in buffering area there are different clarity, then when playing video, User will feel that video is for a moment clear for a moment unintelligible.And it then can greatly improve this feelings using the present processes Condition obtains better user experience.In addition, in herein described method, only need to preserve in the server code check it is higher the The incremental data of the video data of two code checks, the video data without preserving complete second code check, saves server In memory space.
Based on above-mentioned video code rate method of adjustment, the embodiment of the present application provides a kind of client.The embodiment of the present application provides Client specific implementation when, can be each electron-like that mobile phone, computer and tablet computer etc. can play video online Product.As shown in figure 4, the client 20 includes:Transmitting element 201, receiving unit 202 and buffer cell 203, wherein:
Transmitting element 201, if determine the buffering of the video data of the first code check in screen buffer for client Between be more than the code check the buffering lower limit time, to server send the second scheduling request so that server according to second scheduling Request sends video delta data to client;
Receiving unit 202, for after server sends the second scheduling request, receiving server hair in transmitting element 201 The video delta data sent;
Buffer cell 203, for receiving unit 202 receive video delta data after, according to video delta data, to regarding The video data of the first code check in frequency buffering area is updated, and the video data of the second code check is generated, in screen buffer The video data of the second code check of interior buffering;Wherein, the video data of at least two code checks is included in the screen buffer of client, Second code check is the high level-one code check of the first code check.
Optionally, code check of first code check for the lowest class at least two code checks;
Transmitting element 201 is additionally operable to determine the buffering of the video data of the first code check in screen buffer in client Before time is more than the buffering lower limit time of the code check, the first scheduling request is sent to server, so that server is according to first Scheduling request sends the video data of the first code check to client;
Receiving unit 202 after being additionally operable to the video data for sending the first code check to client in transmitting element 201, receives The video data of first code check;
Buffer cell 203 after being additionally operable to the video data for receiving the first code check in receiving unit 202, utilizes the first code check Video data, the video data of the first code check is buffered in screen buffer.
Optionally, transmitting element 201, if being additionally operable to the video counts of each code check at least two code checks in screen buffer According to buffer time be more than the code check the buffering lower limit time, then to server send third scheduling request so that service Device sends the first video data according to third scheduling request to client;
Receiving unit 202 is additionally operable to after transmitting element 201 sends third scheduling request, receives the first video data;
Buffer cell 203 is additionally operable to after receiving unit 202 receives the first video data, according to the first video data, The video data of each code check at least two code checks is buffered in screen buffer successively.
Optionally, transmitting element 201, if being additionally operable in screen buffer, there are the video datas of at least one code check Buffer time be more than the code check the buffer upper limit time, then to server send the 4th scheduling request so that server according to 4th scheduling request sends the second video data to client;
Receiving unit 202 is additionally operable to after transmitting element 201 sends the 4th scheduling request, receives the second video data;
Buffer cell 203 is additionally operable to after receiving unit 202 receives the second video data, according to the second video data, Buffered successively in screen buffer except buffer time be more than the code check the buffer upper limit time at least one code check in addition to its The video data of his code check.
Based on above-mentioned video code rate method of adjustment, the embodiment of the present application also provides a kind of server, as shown in figure 5, the clothes Business device 30 includes:Receiving unit 301, transmitting element 302, wherein:
Receiving unit 301, for receiving the second scheduling request of client transmission;
Transmitting element 302, for receiving unit 301 receive the second scheduling request after, according to the second scheduling request, to visitor Family end sends video delta data, so that client is according to video delta data, to the first code check in screen buffer Video data is updated, and the video data of the second code check is generated, to buffer the video counts of the second code check in screen buffer According to;Wherein, the video data of at least two code checks is included in the screen buffer of client, the second code check is the height of the first code check Level-one code check.
Optionally, receiving unit 301 are additionally operable to receive the first scheduling request that client is sent;
Transmitting element 302 is additionally operable to after receiving unit 301 receives the first scheduling request, according to the first scheduling request, to Client sends the video data of the first code check, so that client utilizes the video data of the first code check, in screen buffer The video data of the first code check of interior buffering.
Optionally, receiving unit 301 are additionally operable to receive the third scheduling request that client is sent;
Transmitting element 302 is additionally operable to after receiving unit 301 receives third scheduling request, according to third scheduling request, to Client sends the first video data, so that client is buffered to successively according to the first video data in screen buffer The video data of each code check in few two kinds of code checks.
Optionally, receiving unit 301 are additionally operable to receive the 4th scheduling request that client is sent;
Transmitting element 302 is additionally operable to after receiving unit 301 receives the 4th scheduling request, according to the 4th scheduling request, to Client sends the second video data, so that client, according to the second video data, buffering is removed successively in screen buffer Buffer time is more than the video data of other code checks except at least one code check of the buffer upper limit time of the code check.
Since the client in the embodiment of the present application and server can be applied to implement above method embodiment, because This can be obtained technique effect and also can refer to above method embodiment, and details are not described herein for the embodiment of the present application.
It should be understood that in the various embodiments of the application, the size of the serial number of above-mentioned each process is not meant to perform suitable The priority of sequence, the execution sequence of each process should be determined with its function and internal logic, without the implementation of reply the embodiment of the present application Process forms any restriction.
In addition, the form that hardware had both may be used in above-mentioned integrated module is realized, software function module can also be used Form is realized.It should be noted that it is schematical, only a kind of logic function to the division of module in the embodiment of the present application It divides, can there is other dividing mode in actual implementation.For example, can correspond to each function divides each function module, also may be used Two or more functions are integrated in a processing module.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (12)

1. a kind of video code rate method of adjustment, which is characterized in that including:
If client determines that the buffer time of the video data of the first code check in screen buffer is more than under the buffering of the code check Between in limited time, then the user end to server sends the second scheduling request;
The server sends video delta data according to second scheduling request to the client;
The client is according to the video delta data, to the video data of first code check in the screen buffer It is updated, the video data of the second code check is generated, to buffer the video counts of second code check in the screen buffer According to;Wherein, the video data of at least two code checks is included in the screen buffer of the client, second code check is described The high level-one code check of first code check.
2. method according to claim 1, which is characterized in that first code check is most low at least two code check The code check of grade;
Determine that the buffer time of the video data of the first code check in the screen buffer is more than the code check in the client The buffering lower limit time before, the method further includes:
The client sends the first scheduling request to the server;
The server sends the video data of the first code check to the client according to first scheduling request;
The client utilizes the video data of first code check, and the video of the first code check is buffered in the screen buffer Data.
3. method according to claim 1 or claim 2, which is characterized in that the method further includes:
If the buffer time of the video data of each code check is more than to be somebody's turn to do at least two code check in the screen buffer The buffering lower limit time of code check, then the client to the server send third scheduling request;
The server sends the first video data according to the third scheduling request to the client;
The client buffers at least two code check successively according to first video data in the screen buffer In each code check video data.
4. method according to claim 3, which is characterized in that the method further includes:
If there are buffering of the buffer time of the video data of at least one code check more than the code check in the screen buffer Upper limit time, then the client to the server send the 4th scheduling request;
The server sends the second video data according to the 4th scheduling request to the client;
The client is buffered successively in the screen buffer except the buffer time surpasses according to second video data Cross the video data of other code checks except at least one code check of the buffer upper limit time of the code check.
5. a kind of client, which is characterized in that including:
Transmitting element, if determining that the buffer time of the video data of the first code check in screen buffer is more than to be somebody's turn to do for client The buffering lower limit time of code check sends the second scheduling request to server, so that the server is according to the described second scheduling Request sends video delta data to the client;
Receiving unit, for after the server sends second scheduling request, receiving the clothes in the transmitting element The video delta data that business device is sent;
Buffer cell, it is right according to the video delta data for after the receiving unit receives the video delta data The video data of first code check in the screen buffer is updated, generate the second code check video data, with The video data of buffering second code check in the screen buffer;Wherein, in the screen buffer of the client Include the video data of at least two code checks, second code check is the high level-one code check of first code check.
6. client according to claim 5, which is characterized in that first code check is minimum at least two code check The code check of grade;
The transmitting element is additionally operable to surpass in the buffer time for determining the video data of the first code check in the screen buffer Before the buffering lower limit time for crossing the code check, the first scheduling request is sent to the server, so that the server is according to institute The first scheduling request is stated, the video data of the first code check is sent to the client;
The receiving unit after being additionally operable to the video data for sending the first code check to the client in the transmitting element, connects Receive the video data of first code check;
The buffer cell after being additionally operable to the video data for receiving first code check in the receiving unit, utilizes described the The video data of one code check buffers the video data of the first code check in the screen buffer.
7. according to the client of claim 5 or 6, which is characterized in that
The transmitting element, if being additionally operable to the video data of each code check at least two code check in the screen buffer Buffer time be more than the code check the buffering lower limit time, then to the server send third scheduling request so that institute Server is stated according to the third scheduling request, the first video data is sent to the client;
The receiving unit is additionally operable to after the transmitting element sends third scheduling request, receives first video data;
The buffer cell is additionally operable to after the receiving unit receives first video data, according to first video Data buffer the video data of each code check at least two code check successively in the screen buffer.
8. client according to claim 7, which is characterized in that
The transmitting element, if being additionally operable in the screen buffer, there are during the buffering of the video data of at least one code check Between be more than the code check the buffer upper limit time, then to the server send the 4th scheduling request so that the server root According to the 4th scheduling request, the second video data is sent to the client;
The receiving unit is additionally operable to after the transmitting element sends the 4th scheduling request, receives second video data;
The buffer cell is additionally operable to after the receiving unit receives second video data, according to second video Data, buffering is removed described in the buffer upper limit time that the buffer time is more than the code check extremely successively in the screen buffer The video data of other code checks except a kind of few code check.
9. a kind of server, which is characterized in that including:
Receiving unit, for receiving the second scheduling request of client transmission;
Transmitting element, for after the receiving unit receives second scheduling request, according to second scheduling request, to The client sends video delta data, so that the client delays the video according to the video delta data The video data of first code check rushed in area is updated, and the video data of the second code check is generated, to delay in the video It rushes in area and buffers the video data of second code check;Wherein, include at least two yards in the screen buffer of the client The video data of rate, second code check are the high level-one code check of first code check.
10. server according to claim 9, which is characterized in that
The receiving unit is additionally operable to receive the first scheduling request that the client is sent;
The transmitting element is additionally operable to after the receiving unit receives first scheduling request, according to the described first scheduling Request sends the video data of the first code check to the client, so that the client regarding using first code check Frequency evidence buffers the video data of the first code check in the screen buffer.
11. according to the server of claim 9 or 10, which is characterized in that
The receiving unit is additionally operable to receive the third scheduling request that the client is sent;
The transmitting element is additionally operable to after the receiving unit receives the third scheduling request, is dispatched according to the third Request sends the first video data to the client, so that the client is according to first video data, described The video data of each code check at least two code check is buffered in screen buffer successively.
12. the server according to claim 11, which is characterized in that
The receiving unit is additionally operable to receive the 4th scheduling request that the client is sent;
The transmitting element is additionally operable to after the receiving unit receives the 4th scheduling request, according to the described 4th scheduling Request sends the second video data to the client, so that the client is according to second video data, described Buffering removes at least one code check for the buffer upper limit time that the buffer time is more than the code check successively in screen buffer Except other code checks video data.
CN201711387306.7A 2017-12-20 2017-12-20 A kind of video code rate method of adjustment and equipment Pending CN108200470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711387306.7A CN108200470A (en) 2017-12-20 2017-12-20 A kind of video code rate method of adjustment and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711387306.7A CN108200470A (en) 2017-12-20 2017-12-20 A kind of video code rate method of adjustment and equipment

Publications (1)

Publication Number Publication Date
CN108200470A true CN108200470A (en) 2018-06-22

Family

ID=62577029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711387306.7A Pending CN108200470A (en) 2017-12-20 2017-12-20 A kind of video code rate method of adjustment and equipment

Country Status (1)

Country Link
CN (1) CN108200470A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881972A (en) * 2018-08-01 2018-11-23 广州视源电子科技股份有限公司 A kind of code rate allocation method, device, equipment and storage medium
CN111510771A (en) * 2019-01-30 2020-08-07 上海哔哩哔哩科技有限公司 Selection method, system, device and medium of definition switching algorithm
CN112153404A (en) * 2020-09-23 2020-12-29 北京达佳互联信息技术有限公司 Code rate adjusting method, code rate detecting method, code rate adjusting device, code rate detecting device, code rate adjusting equipment and storage medium
CN113016166A (en) * 2018-11-14 2021-06-22 华为技术有限公司 Multimedia service transmission method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006501A (en) * 2010-11-11 2011-04-06 中国联合网络通信集团有限公司 Streaming media play control method and device and streaming media player
CN102291599A (en) * 2011-05-07 2011-12-21 董友球 Network video playing method and network video playing device
CN103002272A (en) * 2011-09-15 2013-03-27 上海聚力传媒技术有限公司 Method, device and equipment for switching code rate of audio and video information
US20130077605A1 (en) * 2010-02-22 2013-03-28 Marie-Line Alberi-Morel Method for transmitting video contents from a server to a terminal of a user within service periods of a radio transport channel
CN103024446A (en) * 2012-12-31 2013-04-03 传聚互动(北京)科技有限公司 Loading and buffering method and system for online video
CN103258509A (en) * 2012-02-20 2013-08-21 联想(北京)有限公司 Resolution ratio adjusting method and electronic equipment
CN103905820A (en) * 2012-12-28 2014-07-02 中国科学院声学研究所 Client side video quality self-adaption method and system based on SVC
CN105025351A (en) * 2014-04-30 2015-11-04 深圳Tcl新技术有限公司 Streaming media player buffering method and apparatus
CN105191326A (en) * 2013-05-08 2015-12-23 高通股份有限公司 Video streaming in a wireless communication system
CN105447819A (en) * 2015-12-04 2016-03-30 腾讯科技(深圳)有限公司 Picture processing method and apparatus

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130077605A1 (en) * 2010-02-22 2013-03-28 Marie-Line Alberi-Morel Method for transmitting video contents from a server to a terminal of a user within service periods of a radio transport channel
CN102006501A (en) * 2010-11-11 2011-04-06 中国联合网络通信集团有限公司 Streaming media play control method and device and streaming media player
CN102291599A (en) * 2011-05-07 2011-12-21 董友球 Network video playing method and network video playing device
CN103002272A (en) * 2011-09-15 2013-03-27 上海聚力传媒技术有限公司 Method, device and equipment for switching code rate of audio and video information
CN103258509A (en) * 2012-02-20 2013-08-21 联想(北京)有限公司 Resolution ratio adjusting method and electronic equipment
CN103905820A (en) * 2012-12-28 2014-07-02 中国科学院声学研究所 Client side video quality self-adaption method and system based on SVC
CN103024446A (en) * 2012-12-31 2013-04-03 传聚互动(北京)科技有限公司 Loading and buffering method and system for online video
CN105191326A (en) * 2013-05-08 2015-12-23 高通股份有限公司 Video streaming in a wireless communication system
CN105025351A (en) * 2014-04-30 2015-11-04 深圳Tcl新技术有限公司 Streaming media player buffering method and apparatus
CN105447819A (en) * 2015-12-04 2016-03-30 腾讯科技(深圳)有限公司 Picture processing method and apparatus

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
姚正林: "大规模蜂窝网络中可伸缩视频流多播的统计优化", 《中国优秀硕士学位论文全文数据库》 *
完颜许哲: "OpenFlow网络中可伸缩视频的自适应传输算法", 《计算机工程》 *
蒋宇浩: "可伸缩视频编码在移动互联网中的应用与实现", 《微电子学与计算机》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881972A (en) * 2018-08-01 2018-11-23 广州视源电子科技股份有限公司 A kind of code rate allocation method, device, equipment and storage medium
CN108881972B (en) * 2018-08-01 2021-06-15 广州视源电子科技股份有限公司 Code rate allocation method, device, equipment and storage medium
CN113016166A (en) * 2018-11-14 2021-06-22 华为技术有限公司 Multimedia service transmission method and device
CN113016166B (en) * 2018-11-14 2023-01-06 华为技术有限公司 Multimedia service transmission method and device
CN111510771A (en) * 2019-01-30 2020-08-07 上海哔哩哔哩科技有限公司 Selection method, system, device and medium of definition switching algorithm
CN111510771B (en) * 2019-01-30 2021-10-12 上海哔哩哔哩科技有限公司 Selection method, system, device and medium of definition switching algorithm
US11671656B2 (en) 2019-01-30 2023-06-06 Shanghai Bilibili Technology Co., Ltd. Method for selecting resolution switching algorithm, computing device, and computer-program product
CN112153404A (en) * 2020-09-23 2020-12-29 北京达佳互联信息技术有限公司 Code rate adjusting method, code rate detecting method, code rate adjusting device, code rate detecting device, code rate adjusting equipment and storage medium

Similar Documents

Publication Publication Date Title
US10277532B2 (en) Quality management of media encoding for multiple client devices
CN101917389B (en) Network television direct broadcasting system
CN108200470A (en) A kind of video code rate method of adjustment and equipment
JP4747917B2 (en) Digital broadcast receiver
CN109891850A (en) Method and apparatus for reducing the delay of 360 degree of vision area adaptive stream medias
Yuan et al. Spatial and temporal consistency-aware dynamic adaptive streaming for 360-degree videos
US20210360224A1 (en) Method and apparatus for transmission parameter distribution of video resource
CN102833624B (en) The processing method of DTV and electronic equipment
US20110176496A1 (en) On-the-fly video quality switching for video distribution networks and methods therefor
CN102396225B (en) Dual-mode compression of images and videos for reliable real-time transmission
CN105872615B (en) A kind of transmission of video code rate adjustment method and device
CN102318348A (en) The piece of data flow is divided
CN110636346A (en) Code rate self-adaptive switching method and device, electronic equipment and storage medium
CN102802054B (en) Control method during a kind of multi-stream video is live and device
CN105556922B (en) DASH in network indicates adaptive
JP2008524893A (en) Variable bit rate transmission method for solving transmission channel
CN107770600A (en) Transmission method, device, equipment and the storage medium of stream medium data
Lo et al. Performance measurements of 360 video streaming to head-mounted displays over live 4G cellular networks
CN102348117A (en) System of transmitting digital high definition signal with low bandwidth, method thereof and network multimedia television
CN103313095A (en) Video transmission method, play method, terminal and server
JP2017520940A5 (en) Method and apparatus for multiplexing layered coded content
CN105681139A (en) Devices and methods for obtaining media stream with adaptive resolutions
CN107566855A (en) Method, server and the set top box that channel is switched fast
US8520963B2 (en) Image processing apparatus, image processing method, and program for processing content based on user viewing situation
JP2017520940A (en) Method and apparatus for multiplexing hierarchically encoded content

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180622

RJ01 Rejection of invention patent application after publication