CN108235136A - A kind of data playing method and terminal device - Google Patents

A kind of data playing method and terminal device Download PDF

Info

Publication number
CN108235136A
CN108235136A CN201810215225.7A CN201810215225A CN108235136A CN 108235136 A CN108235136 A CN 108235136A CN 201810215225 A CN201810215225 A CN 201810215225A CN 108235136 A CN108235136 A CN 108235136A
Authority
CN
China
Prior art keywords
data
delay
terminal device
currently playing
live
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810215225.7A
Other languages
Chinese (zh)
Other versions
CN108235136B (en
Inventor
周立辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network Technology 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 Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN201810215225.7A priority Critical patent/CN108235136B/en
Publication of CN108235136A publication Critical patent/CN108235136A/en
Application granted granted Critical
Publication of CN108235136B publication Critical patent/CN108235136B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • 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 or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
    • 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/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the present invention discloses a kind of data playing method and terminal device, it is related to audio and video process field, the delay between the live data of the played data and server storage played on terminal device can be avoided to increase, the generation of live play failure scenarios is reduced or avoided.This method includes:The terminal device live data that load server is sent in the buffer;Terminal device reads currently playing data in the buffer, and plays currently playing data;Terminal device determines the delay of currently playing data and live data according to the current live time of live data and the reproduction time of currently playing data;Terminal device adjusts the broadcasting speed of currently playing data according to delay.

Description

A kind of data playing method and terminal device
Technical field
The embodiment of the present invention is related to audio and video process field more particularly to a kind of data playing method and terminal device.
Background technology
DASH (Dynamic Adaptive Streaming over HTTP, the dynamic self-adapting stream based on HTTP) video Transport protocol is a kind of a kind of agreement that video is transmitted based on internet, can be with the variation of dynamically adapting network bandwidth, according to band Wide size, player can select the video data of different bandwidth to play out.DASH agreements can transmit program request type Video frequency program VOD (Video on Demand) can also transmit the video frequency program of live streaming (Live) type.
The characteristics of due to live video, the live data of live video are to generate and be stored in real time server, and After live data generates a period of time (being typically to arrive a dozens of minutes in), and since server space is limited, number is broadcast live According to can only preserve a period of time, after to the time, server will delete live data.If user's viewing live streaming for a long time Video, and have happening for multiple network congestion during live video, then the played data seen on terminal device There is increasing delay between meeting and the live data of server storage, and after network recovery, this delay can not be also It is former.Once this delay has exceeded the allowed band of server, (above-mentioned one minute to more than ten minutes, this is live streaming with server The memory space of data distribution is related), play video council failure.It needs to replay at this time.It may result in live video in this way In the case of unstable networks, even if bandwidth is very high, it is still unavoidable from final broadcasting failure.
Invention content
The embodiment of the present invention provides a kind of data playing method and terminal device, can avoid what is played on terminal device Delay between played data and the live data of server storage increases, and live video is reduced or avoided and plays failure scenarios Occur.
In a first aspect, a kind of data playing method is provided, including:Terminal device in the buffer load server send it is straight Multicast data;Terminal device reads currently playing data in the buffer, and plays currently playing data;Terminal device is according to live streaming number According to current live time and the reproduction times of currently playing data determine the delay of currently playing data and live data;Eventually End equipment adjusts the broadcasting speed of currently playing data according to delay.In said program, terminal device can be currently playing In the playing process of data, it can be determined according to the current live time of live data and the reproduction time of currently playing data The delay of currently playing data and live data, then according to the broadcasting speed of the currently playing data of delay adjustment, such as when Broadcasting speed is improved when being delayed larger, normal playback speed etc. is maintained when being delayed relatively low, it in this way can be to avoid on terminal device Delay between the played data of broadcasting and the live data of server storage increases, and live play failure scenarios are reduced or avoided Generation.
Second aspect provides a kind of terminal device, including:
Load-on module, the live data sent for load server in the buffer;
Playing module for reading currently playing data in the buffer, and plays the currently playing data;
Processing module, for the broadcasting of the current live time according to the live data and the currently playing data Time determines the delay of the currently playing data and the live data;
The playing module, the delay for being determined according to the processing module adjust the currently playing data Broadcasting speed.
The third aspect provides a kind of terminal device, including:Communication interface, processor, memory, bus;The memory For storing computer executed instructions, the processor is connect with the memory by the bus, when the terminal device During operation, the processor performs the computer executed instructions of the memory storage, so that the terminal device performs as above The method stated.
Fourth aspect provides a kind of computer storage media, including instructing, when run on a computer so that institute It states computer and performs method as described above.
It is to be appreciated that any terminal device or computer storage media of above-mentioned offer are used to perform and be carried above The corresponding method of first aspect of confession, therefore, attainable advantageous effect can refer to first aspect above method and The advantageous effect of corresponding scheme in following detailed description, details are not described herein again.
Description of the drawings
It in order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the present invention Example is applied, it for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of data playing method schematic diagram that the embodiment of the present invention provides;
Fig. 2 is a kind of data playing method schematic diagram that another embodiment of the present invention provides;
Fig. 3 is a kind of data playing method schematic diagram that another embodiment of the present invention provides;
Fig. 4 is a kind of data playing method schematic diagram that one more embodiment of the present invention provides;
Fig. 5 is the flow diagram of a kind of data playing method that the embodiment of the present invention provides;
Fig. 6 is the mapping relations schematic diagram of a kind of broadcasting speed that the embodiment of the present invention provides and delay factor;
Fig. 7 is a kind of data playing method schematic diagram that another embodiment of the present invention provides;
Fig. 8 is a kind of data playing method schematic diagram that another embodiment of the present invention provides;
Fig. 9 is the structure diagram of a kind of terminal device that the embodiment of the present invention provides;
Figure 10 is the structure diagram of a kind of terminal device that another embodiment of the present invention provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment shall fall within the protection scope of the present invention.
First, by taking DASH transmission of video agreements as an example, the player plays live content on terminal device is illustrated It is as follows:
With reference to shown in Fig. 1, reference clock axis, if current time is T1, the content of live video is exactly that time point T1 is opened The content A of beginning.As shown in Figure 1, for content A after treatment, live data synchronous storage on the server can be generated.Due to Server-assignment gives live data limited for storing the space of live data, therefore can only storing duration B on the server, And the live data of B durations is always the live content of nearest a period of time, i.e., one section of live data self-synchronizes to server Afterwards, after timing B durations, server will delete this section of live data, i.e. this section of live data only can be when server retains B It is long.
In addition, the broadcasting demand to adapt to terminal device, when starting to play, in order to adapt to the unstable of network, plays Device can load a small amount of live data of buffering from server as played data and be used for playing, illustrative such as the buffering of C durations Data, this data are typically the content of several seconds to tens seconds.Then it is in buffering duration C knots when player really starts to play Start the content played after beam on the T2 times.Time point T1 of this content usually than being really broadcast live, which is slightly delayed, (uses δ T is represented).
Normal in network, the video playout speed of player and the speed of live streaming are identical, therefore δ T begin It remains unchanged eventually, the content that user sees usually slightly postpones (several seconds to tens seconds, that is, buffer duration C) than true content. If interference in short-term occurs in network, the data-transmission interruptions or excessively slow between server and terminal device can be caused Slowly, then bandwidth is not enough to maintain normal play.According to existing way, the standard in DASH agreements, terminal device can be to broadcast Put the video that device is switched to the measures such as lower resolution ratio loading low definition.But if bandwidth has arrived regarding for visibility minimum After the lower limit that frequency can allow, player can only play the played data in caching to maintain network replies normal, if Data cached broadcasting is over, then player switchs to halted state automatically.As shown in Figure 2.After player pause, what player broadcasted Video time (T2) and the time difference (δ T) of true live video time (T1) can be widened.
After network recovery, terminal device can be that player continues to load the later data of T2, while restore to play.Until All data loadings are completed or the buffering of player is filled.As shown in Figure 3.In figure T3 be buffering data be loaded into when Between position.Due to network, terminal device plays the speed of live video and the speed of server generation live data under normal circumstances Identical, playout-delay (δ T) can be always maintained at constant.If during live video is played, network repeatedly interferes, just Network interim card shown in Fig. 2 can repeatedly occur.The video time (T2) and true live video time that then terminal device broadcasts (T1) time difference (δ T) can be bigger and bigger.It is happened until shown in Fig. 4.
Refering to what is shown in Fig. 4, since δ T are increasing, always there are one time point, the data of current cache can not include clothes The data being deleted on business device.At this moment terminal device will be unable to the data to server request to player plays.According to DASH Agreement regulation, player can be fed back to application plays failure, and stops playing.In order to solve this problem, it is common at present Way is to increase the memory source that buffering uses.But do so usually can waste a large amount of memory source on the terminal device, and And the video of user's viewing actually also can be increasing with true slowed-down video.
It is increased for the delay between the played data and server that avoid playing on terminal device, live streaming is reduced or avoided and broadcasts Put the generation of failure scenarios.Embodiments herein provides a kind of data playing method, with reference to shown in Fig. 5, includes the following steps:
101st, the terminal device live data that load server is sent in the buffer.
102nd, terminal device reads currently playing data in the buffer, and plays currently playing data.
Specifically, for video data, video data feeding decoder is first decoded by terminal device, then to decoding Video data afterwards carries out rendering output;For audio data, audio data feeding decoder is first decoded by terminal device, Then rendering output is carried out to decoded audio data.
103rd, terminal device is determined according to the current live time of live data and the reproduction time of currently playing data The delay of currently playing data and live data.
104th, terminal device adjusts the broadcasting speed of currently playing data according to delay.
Wherein for video data, the adjustment needs of broadcasting speed are adjusted before decoder is sent into, specific whole End equipment changes the timestamp of currently playing data according to delay before the decoding.So as to fulfill the adjustment to broadcasting speed.For Audio data, the adjustment of broadcasting speed need to be adjusted after decoder decoding, and specific terminal device is according to delay pair Decoded currently playing data carry out time-stretching processing, such as use similar superposition (the Waveform Similarity of waveform And Overlap Add, WSOLA) method to currently playing data carry out time-stretching processing.Certainly the side of modification broadcasting speed Also there are many details are not described herein again for formula.
In addition following manner realization specifically may be used in step 104:
Mode one:Terminal device adjusts the broadcasting speed of currently playing data according to delay δ T and buffering duration C.Herein it Preceding terminal device needs to obtain the buffering duration C of currently playing data, the broadcasting of a length of installing terminal equipment during certain buffering Device application attribute determine, the length of acquiescence or user it is adjustable.Specifically, can according to formula F=(δ T-C)/C, Computation delay factor F adjusts the broadcasting speed of currently playing data according to delay factor F.
The relationship of broadcasting speed V and delay factor F after adjustment, can be mapped according to relationship shown in fig. 6:Work as F When≤1, played according to former speed.Work as F>When 1, accelerate to play according to delay factor F, F is bigger, and broadcasting speed V is faster, maximum speed The upper limit can be controlled by user option Vmax.
Usually consider user experience, the broadcasting speed after general adjustment is no more than 1.3 times of normal playback speed.According to broadcasting The empirical data of speed is put, a variety of mapping functions can be defined, it is only a kind of example to scheme above.
Broadcasting speed is after conciliation, since the broadcasting speed of terminal device is faster than normal broadcasting speed, by one section After time, delay δ T are gradually decreased in tolerance interval automatically, at this moment delay factor F is restored to 1, and broadcasting speed restores just Often, reach final state as shown in Figure 7.
Mode two:Terminal device is according to delay, buffering duration and the broadcasting speed for retaining the currently playing data of duration adjustment Degree, wherein broadcasting speed meet so that δ T-C≤B, wherein δ T are delay, and C is buffering duration, and B is retains duration.Before this Terminal device needs to obtain the buffering duration C of currently playing data, the player of a length of installing terminal equipment during certain buffering The attribute of application determines, the length of acquiescence or user it is adjustable.Terminal device also needs to the number used according to server Reservation duration of the server to live data is determined according to transport protocol.Illustratively retain duration as defined in DASH agreements.
With reference to shown in Fig. 8, as long as δ T-C≤B, then it can ensure that server is sent to the number buffered in terminal device caching According to not deleted data in the upper server that can continue, the data that broadcasting speed is not in then current cache later are adjusted in this way The phenomenon that data being deleted on server can not be included, live play fails caused by so as to avoid delay.
In said program, terminal device can be in the playing process of currently playing data, can be according to live data The current live time and the reproduction times of currently playing data determine the delay of currently playing data and live data, then The broadcasting speed of currently playing data is adjusted according to the delay, such as broadcasting speed is improved when delay is larger, it is relatively low being delayed When maintain normal playback speed etc., can add in this way to avoid the delay between the played data and server played on terminal device Greatly, the generation of live play failure scenarios is reduced or avoided.
The embodiment of the present invention provides a kind of terminal device, applied to above-mentioned data playing method is implemented, with reference to Fig. 9 institutes Show including:
Load-on module 91, the live data sent for load server in the buffer;
Playing module 92 for reading currently playing data in the buffer, and plays the currently playing data;
Processing module 93, for according to the current live time of the live data and broadcasting for the currently playing data Put the delay that the time determines the currently playing data and the live data;
Playing module 92, for adjusting the broadcasting speed of currently playing data according to the delay that processing module 93 determines.
In a kind of illustrative scheme, processing module 93 is additionally operable to obtain the buffering durations of currently playing data;It plays Module 92 is specifically used for the delay determined according to processing module 93 and buffering duration adjusts the broadcasting speed of currently playing data.
In a kind of illustrative scheme, playing module 92 is specifically used for according to formula F=(δ T-C)/C, computation delay because Sub- F, wherein δ T are delay, and C is buffering duration;The broadcasting speed of currently playing data is adjusted according to delay factor.
In a kind of illustrative scheme, processing module 93 is additionally operable to be determined according to the Data Transport Protocol that server uses Server is to the reservation duration of live data;Processing module 93 is additionally operable to obtain the buffering duration of currently playing data;Handle mould Block 93, specifically for adjusting the broadcasting speed of the currently playing data according to delay, buffering duration and reservation duration, wherein Broadcasting speed meets so that δ T-C≤B, wherein δ T are delay, and the C is buffering duration, and B is retains duration.
In a kind of illustrative scheme, currently playing data include video data;Processing module 93, specifically for basis The timestamp of the currently playing data is changed in delay.
In a kind of illustrative scheme, currently playing data include audio data;Processing module 93, specifically for basis Delay carries out time-stretching processing to decoded currently playing data.
Wherein, all related contents for each step that above method embodiment is related to can quote corresponding function module Function description, effect details are not described herein.
In the case of using integrated module, terminal device includes:Storage unit, processing unit and interface unit. Processing unit to the action of terminal device for carrying out control management, for example, processing unit is used to that terminal device to be supported to perform Fig. 5 In process S101-104;Interface unit is used to that terminal device to be supported to obtain live data from server.Storage unit, for depositing Store up the program code and data of terminal device.
Wherein, using processing unit as processor, storage unit is memory, and interface unit is for communication interface.Wherein, Terminal device is with reference to shown in Figure 10, including communication interface 1001, processor 1002, memory 1003 and bus 1004, communication Interface 1001, processor 1002 are connected by bus 1004 with memory 1003.
Processor 1002 can be a general central processor (Central Processing Unit,
CPU), microprocessor, application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC) or one or more integrated circuits for application scheme program to be controlled to perform.
Memory 1003 can be read-only memory (Read-Only Memory, ROM) or can store static information and refer to The other kinds of static storage device enabled, random access memory (Random Access Memory, RAM) or can store Information and the other kinds of dynamic memory or Electrically Erasable Programmable Read-Only Memory of instruction (Electrically Erasable Programmable Read-only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, light Dish, Digital Versatile Disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or Storage with instruction or data structure form desired program code simultaneously can by any other medium of computer access, but It is without being limited thereto.Memory can be individually present, and be connected by bus with processor.Memory can also be integrated with processor Together.
Wherein, memory 1003 for store perform application scheme application code, and by processor 1002 Control performs.Communication interface 1001 is used to receive the content of external equipment input, such as the live data that server is sent.Processing Device 1002 is used to perform the application code stored in memory 1003, so as to fulfill the side described in the embodiment of the present application Method.
In addition, also providing a kind of calculate stores media (or medium), including carrying out in above-described embodiment when executed The instruction of the operation of method.
In addition, a kind of computer program product is also provided, including above-mentioned calculating storage media (or medium).
It should be understood that in various embodiments of the present invention, 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 the reply embodiment of the present invention Process forms any restriction.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is performed with hardware or software mode, specific application and design constraint depending on technical solution.Professional technician Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it can be with It realizes by another way.For example, apparatus embodiments described above are only schematical, for example, the unit It divides, only a kind of division of logic function can have other dividing mode, such as multiple units or component in actual implementation It may be combined or can be integrated into another system or some features can be ignored or does not perform.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, equipment or unit It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That each unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is independent product sale or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially in other words The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be People's computer, server or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention. And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (English full name:Read-only memory, English letter Claim:ROM), random access memory (English full name:Random access memory, English abbreviation:RAM), magnetic disc or light The various media that can store program code such as disk.
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 (10)

1. a kind of data playing method, which is characterized in that including:
The terminal device live data that load server is sent in the buffer;
The terminal device reads and plays currently playing data in the buffer;
The terminal device is according to the current live time of the live data and the reproduction time of the currently playing data Determine the delay of the currently playing data and the live data;
The terminal device adjusts the broadcasting speed of the currently playing data according to the delay.
2. data playing method according to claim 1, which is characterized in that the method further includes:
The terminal device obtains the buffering duration of the currently playing data;
The terminal device adjusts the broadcasting speed of the currently playing data according to the delay, including:
The broadcasting speed of the currently playing data is adjusted according to the delay and the buffering duration.
3. data playing method according to claim 2, which is characterized in that described according to the delay and during the buffering The long broadcasting speed for adjusting the currently playing data, including:
According to formula F=(δ T-C)/C, computation delay factor F, wherein δ T are the delay, and C is the buffering duration;
The broadcasting speed of the currently playing data is adjusted according to the delay factor.
4. data playing method according to claim 1, which is characterized in that the method further includes:
The terminal device determines the server to the live data according to the Data Transport Protocol that the server uses Reservation duration;
The terminal device obtains the buffering duration of the currently playing data;
The terminal device adjusts the broadcasting speed of the currently playing data according to the delay, including:
The broadcasting speed of the currently playing data is adjusted according to the delay, the buffering duration and the reservation duration, Wherein described broadcasting speed meets so that δ T-C≤B, wherein δ T are the delay, and C is the buffering duration, and B is the reservation Duration.
5. according to claim 1-4 any one of them data playing methods, which is characterized in that the currently playing data include Video data;
The terminal device adjusts the broadcasting speed of the currently playing data according to the delay, including:
The terminal device changes the timestamp of the currently playing data before the decoding according to described be delayed.
6. according to claim 1-4 any one of them data playing methods, which is characterized in that the currently playing data include Audio data;
The terminal device adjusts the broadcasting speed of the currently playing data according to the delay, including:
The terminal device carries out time-stretching processing according to the delay to the decoded currently playing data.
7. a kind of terminal device, which is characterized in that including:
Load-on module, the live data sent for load server in the buffer;
Playing module, for reading and playing currently playing data in the buffer;
Processing module, for the current live time according to the live data and the reproduction time of the currently playing data Determine the delay of the currently playing data and the live data;
The playing module, the delay for being determined according to the processing module adjust the broadcasting of the currently playing data Speed.
8. terminal device according to claim 7, which is characterized in that
The processing module is additionally operable to obtain the buffering duration of the currently playing data;
The playing module is specifically used for according to adjusting the delay and the buffering duration that the processing module determines The broadcasting speed of currently playing data.
9. terminal device according to claim 8, which is characterized in that the playing module be specifically used for according to formula F= (δ T-C)/C, wherein computation delay factor F, δ T are the delay, and the C is the buffering duration;According to the delay factor Adjust the broadcasting speed of the currently playing data.
10. terminal device according to claim 7, which is characterized in that
The processing module is additionally operable to determine the server to described straight according to the Data Transport Protocol that the server uses The reservation duration of multicast data;
The processing module is additionally operable to obtain the buffering duration of the currently playing data;
The processing module, specifically for working as according to the delay, the buffering duration and the reservation duration adjustment The broadcasting speed of preceding played data, wherein the broadcasting speed meets so that δ T-C≤B, wherein δ T are the delay, the C is The buffering duration, the B are the reservation duration.
CN201810215225.7A 2018-03-15 2018-03-15 Data playing method and terminal equipment Active CN108235136B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810215225.7A CN108235136B (en) 2018-03-15 2018-03-15 Data playing method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810215225.7A CN108235136B (en) 2018-03-15 2018-03-15 Data playing method and terminal equipment

Publications (2)

Publication Number Publication Date
CN108235136A true CN108235136A (en) 2018-06-29
CN108235136B CN108235136B (en) 2021-06-01

Family

ID=62659451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810215225.7A Active CN108235136B (en) 2018-03-15 2018-03-15 Data playing method and terminal equipment

Country Status (1)

Country Link
CN (1) CN108235136B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109640160A (en) * 2018-12-28 2019-04-16 鸿视线科技(北京)有限公司 Sustainable synchronous control system and method based on cushioning control structure
CN111583952A (en) * 2020-05-19 2020-08-25 北京达佳互联信息技术有限公司 Audio processing method and device, electronic equipment and storage medium
CN111601152A (en) * 2020-05-11 2020-08-28 青岛海信传媒网络技术有限公司 Live broadcast processing method and display device
CN112019927A (en) * 2020-09-23 2020-12-01 Oppo广东移动通信有限公司 Video live broadcast method, microphone connecting equipment, RTC media server and main broadcast equipment
CN112752109A (en) * 2019-10-30 2021-05-04 上海哔哩哔哩科技有限公司 Video playing control method and system
CN114080816A (en) * 2019-07-17 2022-02-22 杜比国际公司 Latency management for content delivery
CN114885209A (en) * 2022-04-08 2022-08-09 车智互联(北京)科技有限公司 Live data processing method, computing device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387401A (en) * 2011-10-17 2012-03-21 上海聚力传媒技术有限公司 Method, device and equipment for adjusting play time point of audio and video information
CN104079955A (en) * 2013-03-26 2014-10-01 华为技术有限公司 Method, device and system of OTT (Over The Top) live broadcast
WO2016125655A1 (en) * 2015-02-03 2016-08-11 日立マクセル株式会社 Broadcast receiver, broadcast receiving method and content output method
CN107396171A (en) * 2017-07-24 2017-11-24 广州酷狗计算机科技有限公司 Live network broadcast method, device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387401A (en) * 2011-10-17 2012-03-21 上海聚力传媒技术有限公司 Method, device and equipment for adjusting play time point of audio and video information
CN104079955A (en) * 2013-03-26 2014-10-01 华为技术有限公司 Method, device and system of OTT (Over The Top) live broadcast
WO2016125655A1 (en) * 2015-02-03 2016-08-11 日立マクセル株式会社 Broadcast receiver, broadcast receiving method and content output method
CN107396171A (en) * 2017-07-24 2017-11-24 广州酷狗计算机科技有限公司 Live network broadcast method, device and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109640160A (en) * 2018-12-28 2019-04-16 鸿视线科技(北京)有限公司 Sustainable synchronous control system and method based on cushioning control structure
CN114080816A (en) * 2019-07-17 2022-02-22 杜比国际公司 Latency management for content delivery
CN112752109A (en) * 2019-10-30 2021-05-04 上海哔哩哔哩科技有限公司 Video playing control method and system
CN112752109B (en) * 2019-10-30 2022-05-17 上海哔哩哔哩科技有限公司 Video playing control method and system
US11863841B2 (en) 2019-10-30 2024-01-02 Shanghai Bilibili Technology Co., Ltd. Video playing control method and system
CN111601152A (en) * 2020-05-11 2020-08-28 青岛海信传媒网络技术有限公司 Live broadcast processing method and display device
CN111583952A (en) * 2020-05-19 2020-08-25 北京达佳互联信息技术有限公司 Audio processing method and device, electronic equipment and storage medium
CN111583952B (en) * 2020-05-19 2024-05-07 北京达佳互联信息技术有限公司 Audio processing method, device, electronic equipment and storage medium
CN112019927A (en) * 2020-09-23 2020-12-01 Oppo广东移动通信有限公司 Video live broadcast method, microphone connecting equipment, RTC media server and main broadcast equipment
CN114885209A (en) * 2022-04-08 2022-08-09 车智互联(北京)科技有限公司 Live data processing method, computing device and readable storage medium

Also Published As

Publication number Publication date
CN108235136B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN108235136A (en) A kind of data playing method and terminal device
US10044567B2 (en) System and method for determining optimal bandwidth for streaming to a client device in an adjustable bit rate video system
KR102472155B1 (en) How to Broadcast Streaming Content in a Peer to Peer (P2P) Network
US8069260B2 (en) Dynamic buffer settings for media playback
EP2649792B1 (en) Pre-buffering audio/video stream pairs
US9781183B2 (en) Accelerated playback of streaming media
TWI680662B (en) Method for distributing available bandwidth of a network amongst ongoing traffic sessions run by devices of the network, corresponding device
CN110022498B (en) Method and device for realizing code rate switching
US9866602B2 (en) Adaptive bit rates during broadcast transmission in distributed content delivery networks
US11863841B2 (en) Video playing control method and system
TWI666928B (en) Delivery control apparatus and delivery control method for abr streaming of content delivery
CN108494702B (en) Transmission control method and apparatus, storage medium, and electronic apparatus
US20170346890A1 (en) File Download Method and Play Device
CN104170315A (en) Method and video gateway for allocating bandwidth
KR102521753B1 (en) A method for playing content streamed over a network in a player on a client device
Nguyen et al. An evaluation of segment duration effects in HTTP adaptive streaming over mobile networks
US20190037003A1 (en) Client-driven, abr flow rate shaping
CN114416013A (en) Data transmission method, data transmission device, electronic equipment and computer-readable storage medium
KR20200018493A (en) Methods and apparatuses for streaming data
KR20220158275A (en) A method for playing content streamed over a network in a player on a client device
US8791981B2 (en) Bit rate control apparatus and method thereof
CN109982110A (en) Method and apparatus for video playing
JP2022039452A (en) Reception terminal, distribution server, reception method and reception program
JP7458848B2 (en) User terminal and program
CN115002544A (en) Video playing method and device, nonvolatile storage medium and electronic equipment

Legal Events

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