CN112135177B - Data stream synchronization method and device - Google Patents

Data stream synchronization method and device Download PDF

Info

Publication number
CN112135177B
CN112135177B CN202011024783.9A CN202011024783A CN112135177B CN 112135177 B CN112135177 B CN 112135177B CN 202011024783 A CN202011024783 A CN 202011024783A CN 112135177 B CN112135177 B CN 112135177B
Authority
CN
China
Prior art keywords
data stream
delay time
time
path
determining
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.)
Active
Application number
CN202011024783.9A
Other languages
Chinese (zh)
Other versions
CN112135177A (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.)
Beijing Ape Power Future Technology Co Ltd
Original Assignee
Beijing Ape Power Future 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 Beijing Ape Power Future Technology Co Ltd filed Critical Beijing Ape Power Future Technology Co Ltd
Priority to CN202011024783.9A priority Critical patent/CN112135177B/en
Publication of CN112135177A publication Critical patent/CN112135177A/en
Application granted granted Critical
Publication of CN112135177B publication Critical patent/CN112135177B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • 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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/242Synchronization processes, e.g. processing of PCR [Program Clock References]
    • 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)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present specification provides a data stream synchronization method and an apparatus, where the data stream synchronization method includes receiving at least two data streams sent by a sending end, where each data stream carries a sending timestamp; determining a sending time stamp and current delay time of each received data stream; determining a synchronous data stream in the at least two data streams, and determining a time difference value of each data stream based on a sending time stamp of the synchronous data stream; determining the target delay time of each data stream according to the time difference value of each data stream, the current delay time and the current delay time of the synchronous data stream; and realizing the synchronization of the at least two data streams based on the target delay time and the current delay time of each data stream.

Description

Data stream synchronization method and device
Technical Field
The embodiment of the specification relates to the technical field of computers, in particular to a data stream synchronization method. One or more embodiments of the present specification also relate to a data stream synchronization apparatus, a computing device, and a computer-readable storage medium.
Background
A network transmits a scene (for example, an audio/video live scene) in real time, and usually multiple audio/video data streams are transmitted from a transmitting end to a receiving end at the same time. However, due to the uncertainty of network transmission delay or the different delays of different data streams processed by the receiving end, the receiving end may not be synchronized when playing multiple data streams, and the user experience is not good.
Therefore, it is desirable to provide a data stream synchronization method that can solve the problem of different data stream delays.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide a data stream synchronization method. One or more embodiments of the present disclosure are also directed to a data stream synchronization apparatus, a computing device, and a computer-readable storage medium, which solve the technical problems of the prior art.
According to a first aspect of embodiments of the present specification, there is provided a data stream synchronization method, including:
receiving at least two paths of data streams sent by a sending end, wherein each path of data stream carries a sending timestamp;
determining a sending time stamp and current delay time of each received data stream;
determining a synchronous data stream in the at least two data streams, and determining a time difference value of each data stream based on a sending time stamp of the synchronous data stream;
determining the target delay time of each data stream according to the time difference value of each data stream, the current delay time and the current delay time of the synchronous data stream;
and realizing the synchronization of the at least two data streams based on the target delay time and the current delay time of each data stream.
Optionally, the determining a synchronous data stream of the at least two data streams, and determining a time difference value of each data stream based on a sending timestamp of the synchronous data stream includes:
determining any one of the at least two data streams as a synchronous data stream;
acquiring the received sending time stamp of the synchronous data stream and the sending time stamp of each path of data stream;
and taking the difference value of the received sending time stamp of each data stream and the sending time stamp of the synchronous data stream as the time difference value of each data stream.
Optionally, the determining the target delay time of each data stream according to the time difference value of each data stream, the current delay time, and the current delay time of the synchronous data stream includes:
determining the initial delay time of each path of data stream according to the time difference value of each path of data stream, the current delay time and the current delay time of the synchronous data stream;
judging whether the initial delay time of each path of data flow is positive number,
if yes, taking the initial delay time of each data flow as the target delay time of each data flow,
if not, taking the data stream with the minimum initial delay time as an adjusting data stream, and determining the target delay time of each data stream based on the initial delay time of each data stream and the initial delay time of the adjusting data stream.
Optionally, the determining the target delay time of each data stream based on the initial delay time of each data stream and the initial delay time of the adjusted data stream includes:
and adding the initial delay time of each path of data stream and the absolute value of the initial delay time of the adjusting data stream, and taking the sum obtained by adding as the target delay time of each path of data stream.
Optionally, the determining the initial delay time of each data stream according to the time difference value of each data stream, the current delay time, and the current delay time of the synchronous data stream includes:
obtaining a delay time difference value between the current delay time of each path of data stream and the current delay time of the synchronous data stream;
and determining the initial delay time of each path of data stream according to the time difference value of each path of data stream and the delay time difference value of each path of data stream.
Optionally, the implementing synchronization of the at least two data streams based on the target delay time and the current delay time of each data stream includes:
and adjusting the playing time of the at least two data streams based on the target delay time and the current delay time of each data stream to realize the synchronous playing of the at least two data streams.
Optionally, the sending timestamp carried by each data stream is monotonically increased according to a preset time interval.
Optionally, after determining the target delay time of each data stream according to the time difference value of each data stream, the current delay time, and the current delay time of the synchronous data stream, the method further includes:
and adding the target delay time of each path of data stream to the corresponding current delay time to update the current delay time of each path of data stream.
According to a second aspect of embodiments herein, there is provided a data stream synchronization apparatus, including:
the data stream receiving module is configured to receive at least two data streams sent by a sending end, wherein each data stream carries a sending timestamp;
the time acquisition module is configured to determine a sending time stamp and a current delay time of each received data stream;
a time difference determination module configured to determine a synchronous data stream of the at least two data streams and determine a time difference of each data stream based on a transmission time stamp of the synchronous data stream;
a delay time determining module configured to determine a target delay time of each data stream according to the time difference value of each data stream, a current delay time and a current delay time of the synchronous data stream;
a data stream synchronization module configured to implement the at least two data stream synchronization based on the target delay time and the current delay time of each data stream.
Optionally, the time difference determination module is further configured to:
determining any one of the at least two data streams as a synchronous data stream;
acquiring the received sending time stamp of the synchronous data stream and the sending time stamp of each path of data stream;
and taking the difference value of the received sending time stamp of each data stream and the sending time stamp of the synchronous data stream as the time difference value of each data stream.
Optionally, the delay time determining module is further configured to:
determining the initial delay time of each path of data stream according to the time difference value of each path of data stream, the current delay time and the current delay time of the synchronous data stream;
judging whether the initial delay time of each path of data flow is positive number,
if yes, taking the initial delay time of each data flow as the target delay time of each data flow,
if not, taking the data stream with the minimum initial delay time as an adjusting data stream, and determining the target delay time of each data stream based on the initial delay time of each data stream and the initial delay time of the adjusting data stream.
Optionally, the delay time determining module is further configured to:
and adding the initial delay time of each path of data stream and the absolute value of the initial delay time of the adjusting data stream, and taking the sum obtained by adding as the target delay time of each path of data stream.
Optionally, the delay time determining module is further configured to:
obtaining a delay time difference value between the current delay time of each path of data stream and the current delay time of the synchronous data stream;
and determining the initial delay time of each path of data stream according to the time difference value of each path of data stream and the delay time difference value of each path of data stream.
Optionally, the data stream synchronization module is further configured to:
and adjusting the playing time of the at least two data streams based on the target delay time and the current delay time of each data stream to realize the synchronous playing of the at least two data streams.
Optionally, the sending timestamp carried by each data stream is monotonically increased according to a preset time interval.
Optionally, the apparatus further includes:
and the updating module is configured to add the target delay time of each data stream to the corresponding current delay time to update the current delay time of each data stream.
According to a third aspect of embodiments herein, there is provided a computing device comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
receiving at least two paths of data streams sent by a sending end, wherein each path of data stream carries a sending timestamp;
determining a sending time stamp and current delay time of each received data stream;
determining a synchronous data stream in the at least two data streams, and determining a time difference value of each data stream based on a sending time stamp of the synchronous data stream;
determining the target delay time of each path of data stream according to the time difference value of each path of data stream, the current delay time and the current delay time of the synchronous data stream;
and realizing the synchronization of the at least two data streams based on the target delay time and the current delay time of each data stream.
According to a fourth aspect of embodiments herein, there is provided a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the data stream synchronization method.
An embodiment of the present specification implements a data stream synchronization method and apparatus, where the data stream synchronization method includes receiving at least two data streams sent by a sending end, where each data stream carries a sending timestamp; determining a sending time stamp and current delay time of each received data stream; determining a synchronous data stream in the at least two data streams, and determining a time difference value of each data stream based on a sending time stamp of the synchronous data stream; determining the target delay time of each path of data stream according to the time difference value of each path of data stream, the current delay time and the current delay time of the synchronous data stream; the synchronization of the at least two data streams is realized based on the target delay time and the current delay time of each data stream;
the data stream synchronization method adds a sending time stamp into each path of data stream, calculates the target delay time of each path of data stream based on the received sending time stamp of each path of data stream and the current delay time, and finally increases or reduces the playing time of each path of data stream played by a receiving end according to the target delay time of each path of data stream, so that the multi-path data stream can be synchronously played at the receiving end, and the user experience is enhanced.
Drawings
Fig. 1 is a flowchart of a data stream synchronization method provided in an embodiment of the present specification;
fig. 2 is a schematic processing procedure diagram of a data stream synchronization method according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a data stream synchronization apparatus according to an embodiment of the present disclosure;
fig. 4 is a block diagram of a computing device according to an embodiment of the present disclosure.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present specification. This description may be implemented in many ways other than those specifically set forth herein, and those skilled in the art will appreciate that the present description is susceptible to similar generalizations without departing from the scope of the description, and thus is not limited to the specific implementations disclosed below.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if," as used herein, may be interpreted as "at \8230; \8230when" or "when 8230; \823030when" or "in response to a determination," depending on the context.
First, the noun terms referred to in one or more embodiments of the present specification are explained.
Time stamping: the data is generated by using a digital signature technology, and the signed object comprises original file information, signature parameters, signature time and other information.
In this specification, a data stream synchronization method is provided. One or more embodiments of the present specification are also directed to a data stream synchronization apparatus, a computing device, and a computer-readable storage medium, which are described in detail in the following embodiments one by one.
Referring to fig. 1, fig. 1 is a flowchart illustrating a data stream synchronization method according to an embodiment of the present disclosure, which specifically includes the following steps.
Step 102: receiving at least two paths of data streams sent by a sending end, wherein each path of data stream carries a sending timestamp.
The data stream includes, but is not limited to, an audio data stream, a video data stream, and specifically, an audio live data stream, a video live data stream, and the like.
In practical application, the number of the sending ends can be one, two or more, and under the condition that one sending end exists, one sending end can realize the sending of at least two paths of data streams, and a sending timestamp is added to each path of data stream; under the condition that two or more sending ends exist, the two or more sending ends can send two or more paths of data streams, and can add sending timestamps with consistency to each path of data stream, for example, sending timestamps added to the paths of data streams by different sending ends are all sending timestamps which are monotonically increased according to the same time interval, so that the consistency of the sending timestamps of the paths of data streams by different sending ends is ensured, and accurate delay time adjustment can be carried out on each path of data stream based on the sending timestamps after the subsequent paths of data streams reach a receiving end.
For convenience of understanding, the following embodiments are all described in detail by taking an example that one transmitting end simultaneously transmits multiple data streams.
Specifically, in order to ensure consistency of the transmission time stamps of each data stream, the transmission time stamps carried by each data stream are monotonically increased according to a preset time interval, for example, a transmitting end simultaneously transmits three data streams: stream _0, stream _1, stream _2, with a preset time interval of 10, the transmission timestamp of the data stream _0 can be: 300. 310, 320, 330, the transmission timestamp of the data stream _1 may be: 300. 310, 320, 330, the transmission timestamp of the data stream _2 may be: 300. 310, 320, and 330, it can be seen from the sending timestamps of the three data streams that the three data streams are sent by the sending end at the same time, and the sending timestamp carried by each data stream is monotonically increased according to a time interval of 10 units, where a specific unit may be set according to an actual application, for example, the unit is set to be microseconds, milliseconds, or seconds, and the like.
Step 104: and determining the transmission time stamp and the current delay time of each received data stream.
Specifically, under the condition of receiving at least two data streams carrying transmission time stamps and sent by a sending end, the transmission time stamp and the current delay time of each received data stream are determined, wherein the current delay time is composed of delay generated by system processing and target delay time superposed before, and under the condition that the target delay time superposed before does not exist, the current delay time can be defaulted to be only the delay generated by the system processing, and if the system receives and plays the data streams for the first time, the current delay time can be defaulted to be 0, namely the current delay time does not exist.
Specifically, the delay generated by the system processing may be understood as a time consumed by the receiving end to perform operations such as decoding, post-processing, rendering, and the like on the data stream until the data stream is finally played after receiving the data stream, and in practical applications, if a problem of network jitter is considered, a jitter buffer (jitter buffer) is generally added, and at this time, the time consumed by adding the jitter buffer is also considered as the current delay time.
In specific implementation, the sending timestamps of each path of data stream received by the receiving end may be the same or different, and the sending end still sends three paths of data streams at the same time: stream _0, stream _1, stream _2, for example, the transmission time stamp of the data stream _0 can be: 300. 310, 320, 330, the transmission timestamp of the data stream _1 may be: 300. 310, 320, 330, the transmission timestamp of the data stream _2 may be: 300. 310, 320, 330, then the transmission timestamp of the data stream _0 received by the receiving end may be 300, the transmission timestamp of the received data stream _1 may be 310, the transmission timestamp of the received data stream _2 may be 320, without excluding that ideally the data stream received by the receiving end is: the transmission time stamps of stream _0, stream _1, stream _2are all 300, and so on.
Step 106: and determining a synchronous data stream in the at least two data streams, and determining a time difference value of each data stream based on a sending time stamp of the synchronous data stream.
The synchronous data stream may be understood as a reference data stream, so that the time difference value of all subsequent data streams is calculated according to the transmission time stamp of the synchronous data stream.
Specifically, the determining a synchronous data stream in the at least two data streams, and determining a time difference value of each data stream based on a sending timestamp of the synchronous data stream includes:
determining any one of the at least two data streams as a synchronous data stream;
acquiring the received sending time stamp of the synchronous data stream and the sending time stamp of each path of data stream;
and taking the difference value of the received sending time stamp of each data stream and the sending time stamp of the synchronous data stream as the time difference value of each data stream.
The synchronous data stream may select any one of the at least two data streams as the synchronous data stream, for example, select the data stream _0 as the synchronous data stream.
After the synchronous data stream is selected, the sending timestamp of the received synchronous data stream and the sending timestamp of each data stream are obtained, still taking the data stream _0 as the synchronous data stream as an example, the sending timestamp of the received synchronous data stream is 300, the sending timestamp of the received data stream _0 is 300, the sending timestamp of the received data stream _1 is 310, and the sending timestamp of the received data stream _2 is 320.
Finally, the time difference of each data stream is determined based on the difference between the received transmission time stamp of each data stream and the transmission time stamp of the synchronous data stream, still taking the above as an example, the time difference of the data stream _0 is determined based on the transmission time stamp 300 of the data stream _0 and the difference between the transmission time stamp 300 of the synchronous data stream, and is 0; the time difference of the data stream _1 is determined based on the transmission timestamp 310 of the data stream _1 and the difference from the transmission timestamp 300 of the synchronous data stream, i.e. 10; the time difference value of the data stream _2 is determined on the basis of the transmission time stamp 320 of the data stream _2 and the difference value of the transmission time stamp 300 of the synchronous data stream, i.e. 20.
In the embodiment of the present specification, any one of multiple data streams is selected as a reference data stream, then a time difference value of each data stream is obtained through calculation according to a difference value between a received sending time stamp of each data stream and a sending time stamp of the reference data stream, and subsequently, a target delay time of each data stream can be accurately calculated based on the time difference value, so as to ensure synchronization of each data stream.
Step 108: and determining the target delay time of each data stream according to the time difference value of each data stream, the current delay time and the current delay time of the synchronous data stream.
Specifically, the determining the target delay time of each data stream according to the time difference value of each data stream, the current delay time, and the current delay time of the synchronous data stream includes:
determining the initial delay time of each path of data stream according to the time difference value of each path of data stream, the current delay time and the current delay time of the synchronous data stream;
traversing the initial delay time of each path of data flow, and taking the initial delay time of each path of data flow as the target delay time of each path of data flow under the condition that the initial delay time of all the data flows is positive.
In specific implementation, the initial delay time of each data stream is obtained by calculation according to the time difference value of each data stream, the current delay time and the current delay time of the synchronous data stream, then the initial delay time of each data stream is traversed, and when the initial delay time of all the data streams is positive, the initial delay time of each data stream is regarded as the target delay time of each data stream.
In this embodiment of the present specification, the delay of the data stream may be adjusted in two directions, where when the target delay time is a negative number, it indicates that the delay of the current data stream needs to be decreased, and when the target delay time is a positive number, it indicates that the delay of the current data stream needs to be increased, and when the delays are all positive numbers, it indicates that the delay of the current data stream needs to be increased, and at this time, the delay time of each data stream may be conveniently and quickly adjusted in a forward manner based on the target delay time obtained by calculation, so as to synchronize all data streams.
Specifically, the determining the initial delay time of each data stream according to the time difference value of each data stream, the current delay time, and the current delay time of the synchronous data stream includes:
obtaining a delay time difference value between the current delay time of each path of data stream and the current delay time of the synchronous data stream;
and determining the initial delay time of each path of data stream according to the time difference value of each path of data stream and the delay time difference value of each path of data stream.
In practical application, if the transmission timestamp of each received data stream is denoted by TS _ n, the current delay time of each received data stream is denoted by CurrentDelay _ n, the transmission timestamp of each received synchronous data stream is denoted by TS _ s, the current delay time of each received synchronous data stream is denoted by TS _ s, the time difference of each received data stream is denoted by dT _ n, the initial delay time of each received data stream is denoted by AdjustDelay _ n, the calculation of the time difference of each received data stream is denoted by equation 1, and the calculation of the initial delay time of each received data stream is denoted by equation 2, then:
dT _ N = TS _ N-TS _ s, where (0 < = N) formula 1
AdjustDelay _ n = dT _ n- (CurrentDelay _ n-CurrentDelay _ s) formula 2
Taking the above as an example, if the data stream _0, the data stream _1, and the data stream _2 are included, and the time difference value of the data stream _0 is 0, the time difference value of the data stream _1 is 10, and the time difference value of the data stream _2 is 20; the current delay time of the data stream _0 is 20, the current delay time of the data stream _1 is 40, the current delay time of the data stream _2 is 20; the current delay time of the synchronous data stream is 20, then the initial delay time of the data stream _0 is 0- (20-20) =0; the initial delay time of the data stream _1 is 10- (40-20) = -10; the initial delay time of the data stream _2 is 20- (20-20) =20.
In the embodiment of the present specification, first, a delay time difference of each data stream is determined based on a current delay time of each data stream and a current delay time of a synchronous data stream, and then an initial delay time of each data stream is obtained by calculation according to the delay time difference of each data stream and the delay time difference of each data stream.
In practical applications, if a certain path of data stream does not support delay time reduction, but only supports delay time increase, in order to ensure that delay times of multiple paths of data streams are consistent and further implement synchronous playing, the initial delay time of each path of data stream needs to be uniformly adjusted to obtain an adjusted target delay time, and the specific implementation manner is as follows:
the determining the target delay time of each data stream according to the time difference value of each data stream, the current delay time and the current delay time of the synchronous data stream includes:
determining the initial delay time of each path of data stream according to the time difference value of each path of data stream, the current delay time and the current delay time of the synchronous data stream;
judging whether the initial delay time of each path of data flow is positive number,
if yes, taking the initial delay time of each data flow as the target delay time of each data flow,
if not, taking the data stream with the minimum initial delay time as an adjusting data stream, and determining the target delay time of each data stream based on the initial delay time of each data stream and the initial delay time of the adjusting data stream.
Wherein the determining the initial delay time of each data stream according to the time difference value of each data stream, the current delay time and the current delay time of the synchronous data stream includes:
obtaining a delay time difference value between the current delay time of each path of data stream and the current delay time of the synchronous data stream;
and determining the initial delay time of each path of data stream according to the time difference value of each path of data stream and the delay time difference value of each path of data stream.
Specifically, the manner of obtaining the initial delay time of each data stream is the same as that in the above embodiment, and is not described herein again.
After the initial delay time is obtained, traversing the initial delay time of each data stream, taking the initial delay time of each data stream as the target delay time of the data stream under the condition that the initial delay time of all the data streams is positive, and taking the initial delay time of the data stream with the negative initial delay time as an adjusting data stream under the condition that the initial delay time of any data stream is negative, and then calculating the target delay time of each data stream based on the initial delay time of each data stream and the initial delay time of the adjusting data stream.
In this embodiment of the present specification, the target delay time is to guide the magnitude and direction of the delay time change of each data stream, so as to implement synchronous playing of multiple data streams, and if a certain data stream does not support delay reduction, synchronous adjustment of multiple data streams cannot be implemented, so that the target delay time of each data stream is adjusted to be positive in the above manner, so that each data stream implements synchronization of each data stream in a manner of increasing corresponding delay.
In specific implementation, the determining the target delay time of each data stream based on the initial delay time of each data stream and the initial delay time of the adjusted data stream includes:
and adding the initial delay time of each data stream and the absolute value of the initial delay time of the adjusting data stream, and taking the sum obtained by adding as the target delay time of each data stream.
Still taking the above as an example, if the target delay time is denoted by adjust delay _ n', then the calculation of the target delay time of each data flow is denoted by equation 3, and then:
AdjustDelay _ N' = AdjustDelay _ N + | AdjustDelay _ N | equation 3
If the initial delay time of the data stream _0 is 0; the initial delay time of the data stream _1 is-10; the initial delay time of the data stream _2 is 20, then the target delay time of the data stream _0 is 0+ | -10| =10, the target delay time of the data stream _1 is-10 + | -10| =0, and the target delay time of the data stream _2 is 20+ | -10| =30, based on equation 3.
In this embodiment of the present specification, when a certain data stream of at least two data streams does not support delay time reduction, the initial delay time of each data stream is adjusted based on the above manner, it is not necessary to reduce the delay time of a negative data stream, and increase the delay time of a positive data stream, and only by increasing a corresponding target delay time of each data stream, synchronization of each data stream can be ensured more simply and conveniently.
Step 110: and realizing the synchronization of the at least two data streams based on the target delay time and the current delay time of each data stream.
Specifically, after the target delay time of each data stream is obtained, the delay time of each data stream may be adjusted based on the target delay time and the current delay time of each data stream, so that at least two data streams are synchronized.
Still taking the above target delay time of the data stream _0 as 10, the target delay time of the data stream _1 as =0, and the target delay time of the data stream _2 as 30 as an example, it can be understood that the data stream _0 plays the content with the transmission time stamp of 300 after 0+10 unit times (sequentially delaying, the content with transmission time stamp 320 is played after 50 unit time), the data stream _1 plays the content with transmission time stamp 310 after 0+40 unit time (the content with transmission time stamp 320 is played after 50 unit time with sequential delay), and the data stream _2 plays the content with transmission time stamp 320 after 20+30 unit time.
In the embodiment of the present specification, the data stream synchronization method adds a transmission timestamp to each data stream, calculates a target delay time of each data stream based on the received transmission timestamp and the current delay time of each data stream, and finally increases or decreases a playing time of playing each data stream at a receiving end according to the target delay time and the current delay time of each data stream, so that multiple data streams can be played synchronously at the receiving end, and user experience is enhanced.
In another embodiment of the present specification, the implementing synchronization of the at least two data streams based on the target delay time and the current delay time of each data stream includes:
and adjusting the playing time of the at least two data streams based on the target delay time and the current delay time of each data stream to realize the synchronous playing of the at least two data streams.
In this embodiment of the present description, the data stream synchronization method is applied to data stream playing, and the target delay time and the current delay time of each data stream obtained in the above embodiment may be used to adjust the playing time of at least two data streams, so as to implement synchronous playing of at least two data streams, and improve user experience.
Optionally, after determining the target delay time of each data stream according to the time difference value of each data stream, the current delay time, and the current delay time of the synchronous data stream, the method further includes:
and adding the target delay time of each path of data stream to the corresponding current delay time to update the current delay time of each path of data stream.
In this embodiment of this specification, in order to ensure that the receiving end can accurately perform synchronous adjustment on multiple data streams sent by the sending end next time, the target delay time of each current data stream may be added to the corresponding current delay time, so as to update the current delay time of each data stream, and ensure the accuracy of the target delay time of each data stream obtained based on the current delay time calculation next time.
The following description will further explain the data stream synchronization method by taking the application of the data stream synchronization method provided in this specification to the synchronous playing of multiple data streams as an example, with reference to fig. 2.
Referring to fig. 2, the data stream synchronization method includes a transmitting end and a receiving end.
The method comprises the following steps: and the sending end simultaneously sends the three data streams carrying the sending time stamps.
Wherein, the three data streams are stream _0, stream _1, stream _2, and the transmission time stamp of the data stream _0 can be: 300. 310, 320, 330, the transmission timestamp of the data stream _1 may be: 300. 310, 320, 330, the transmission timestamp of the data stream _2 may be: 300. 310, 320, 330, see in particular table 1.
TABLE 1
Figure BDA0002701826560000171
Figure BDA0002701826560000181
Step two: the receiving end receives the three paths of data streams and acquires the sending time stamp and the current delay time of each received data stream.
Wherein the transmission timestamp of the data stream _0 is 300, the transmission timestamp of the data stream _1 is 310, and the transmission timestamp of the data stream _2 is 320; the current delay time of the data stream _0 is 20, the current delay time of the data stream _1 is 40 and the current delay time of the data stream _2 is 20.
Step three: and respectively calculating to obtain the time difference value of each data stream based on formula 1.
That is, the time difference value of the data stream _0 is 300 to 300=0, the time difference value of the data stream _1 is 310 to 300=10, and the time difference value of the data stream _2 is 320 to 300=20;
step four: and calculating and obtaining the target delay time of each data flow based on the formula 2 and the formula 3.
The initial delay time of each path of data stream calculated and obtained based on formula 2 is as follows: the initial delay time of the data stream _0 is 0- (20-20) =0; the initial delay time of the data stream _1 is 10- (40-20) = -10; the initial delay time of the data stream _2 is 20- (20-20) =20.
Calculating and obtaining the target delay time of each data stream based on formula 3 as follows: the target delay time of the data stream _0 is 0+ | -10| =10, the target delay time of the data stream _1 is-10 + | -10| =0, and the target delay time of the data stream _2 is 20+ | -10| =30.
Step five: and adjusting the playing time of each data stream according to the target delay time and the current delay time of each data stream to obtain three synchronous data streams, so that the three data streams can be played synchronously.
Then, after the final adjustment, the final adjustment delay time of the data stream _0 is 30, the final adjustment delay time of the data stream _1 is 40, and the final adjustment delay time of the data stream _2 is 50, which means that the content with the transmission timestamp of 300 is played after 0+10 unit time of the data stream _0 (the content with the transmission timestamp of 320 is played after 50 unit time of the data stream _ 2) and the content with the transmission timestamp of 310 is played after 0+40 unit time of the data stream _1 (the content with the transmission timestamp of 320 is played after 50 unit time of the data stream _ 1) and the content with the transmission timestamp of 320 is played after 20+30 unit time of the data stream _ 2.
In the embodiment of the present specification, the data stream synchronization method adds a transmission timestamp to each data stream, calculates a target delay time of each data stream based on the received transmission timestamp and the current delay time of each data stream, and finally increases a play time for playing each data stream at a receiving end according to the target delay time and the current delay time of each data stream, so that multiple data streams can be played synchronously at the receiving end, and user experience is enhanced.
Corresponding to the above method embodiment, this specification further provides an embodiment of a data stream synchronization apparatus, and fig. 3 shows a schematic structural diagram of a data stream synchronization apparatus provided in an embodiment of this specification. As shown in fig. 3, the apparatus includes:
a data stream receiving module 302, configured to receive at least two data streams sent by a sending end, where each data stream carries a sending timestamp;
a time obtaining module 304 configured to determine a sending timestamp and a current delay time of each received data stream;
a time difference determination module 306 configured to determine a synchronous data stream of the at least two data streams, and determine a time difference of each data stream based on a transmission time stamp of the synchronous data stream;
a delay time determination module 308 configured to determine a target delay time of each data stream according to the time difference value of each data stream, the current delay time, and the current delay time of the synchronous data stream;
a data stream synchronization module 310 configured to implement the at least two data streams synchronization based on the target delay time and the current delay time of each data stream.
Optionally, the time difference value determining module 306 is further configured to:
determining any one of the at least two data streams as a synchronous data stream;
acquiring the received sending time stamp of the synchronous data stream and the sending time stamp of each path of data stream;
and taking the difference value of the received sending time stamp of each path of data stream and the sending time stamp of the synchronous data stream as the time difference value of each path of data stream.
Optionally, the delay time determining module 308 is further configured to:
determining the initial delay time of each path of data stream according to the time difference value of each path of data stream, the current delay time and the current delay time of the synchronous data stream;
judging whether the initial delay time of each data flow is a positive number,
if yes, taking the initial delay time of each data flow as the target delay time of each data flow,
if not, taking the data stream with the minimum initial delay time as an adjusting data stream, and determining the target delay time of each data stream based on the initial delay time of each data stream and the initial delay time of the adjusting data stream.
Optionally, the delay time determining module 308 is further configured to:
and adding the initial delay time of each data stream and the absolute value of the initial delay time of the adjusting data stream, and taking the sum obtained by adding as the target delay time of each data stream.
Optionally, the delay time determining module 308 is further configured to:
obtaining a delay time difference value between the current delay time of each path of data stream and the current delay time of the synchronous data stream;
and determining the initial delay time of each path of data stream according to the time difference value of each path of data stream and the delay time difference value of each path of data stream.
Optionally, the data stream synchronization module 310 is further configured to:
and adjusting the playing time of the at least two data streams based on the target delay time and the current delay time of each data stream to realize the synchronous playing of the at least two data streams.
Optionally, the sending timestamp carried by each data stream is monotonically increased according to a preset time interval.
Optionally, the apparatus further includes:
and the updating module is configured to add the target delay time of each data stream to the corresponding current delay time to update the current delay time of each data stream.
In this embodiment of the present specification, the data stream synchronization apparatus adds a sending timestamp to each data stream, calculates a target delay time of each data stream based on the received sending timestamp and the current delay time of each data stream, and finally increases or decreases a playing time of each data stream played by a receiving end according to the target delay time of each data stream, so that multiple data streams can be played synchronously at the receiving end, and user experience is enhanced.
The above is a schematic scheme of a data stream synchronization apparatus of the present embodiment. It should be noted that the technical solution of the data stream synchronization apparatus belongs to the same concept as the technical solution of the data stream synchronization method, and for details that are not described in detail in the technical solution of the data stream synchronization apparatus, reference may be made to the description of the technical solution of the data stream synchronization method.
FIG. 4 illustrates a block diagram of a computing device 400 provided in accordance with one embodiment of the present description. The components of the computing device 400 include, but are not limited to, a memory 410 and a processor 420. Processor 420 is coupled to memory 410 via bus 430 and database 450 is used to store data.
Computing device 400 also includes access device 440, access device 440 enabling computing device 400 to communicate via one or more networks 460. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. The access device 440 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 400, as well as other components not shown in FIG. 4, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 4 is for purposes of example only and is not limiting as to the scope of the present description. Other components may be added or replaced as desired by those skilled in the art.
Computing device 400 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smartphone), wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 400 may also be a mobile or stationary server.
Wherein processor 420 is configured to execute the following computer-executable instructions:
receiving at least two paths of data streams sent by a sending end, wherein each path of data stream carries a sending timestamp;
determining a sending time stamp and current delay time of each received data stream;
determining a synchronous data stream in the at least two data streams, and determining a time difference value of each data stream based on a sending time stamp of the synchronous data stream;
determining the target delay time of each data stream according to the time difference value of each data stream, the current delay time and the current delay time of the synchronous data stream;
and realizing the synchronization of the at least two data streams based on the target delay time and the current delay time of each data stream.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the data stream synchronization method belong to the same concept, and details that are not described in detail in the technical solution of the computing device can be referred to the description of the technical solution of the data stream synchronization method.
An embodiment of the present specification also provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the data stream synchronization method.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the data stream synchronization method, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the data stream synchronization method.
The foregoing description of specific embodiments has been presented for purposes of illustration and description. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in source code form, object code form, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U.S. disk, removable hard disk, magnetic diskette, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signal, telecommunications signal, and software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts, but those skilled in the art should understand that the present embodiment is not limited by the described acts, because some steps may be performed in other sequences or simultaneously according to the present embodiment. Further, those skilled in the art should also appreciate that the embodiments described in this specification are preferred embodiments and that acts and modules referred to are not necessarily required for an embodiment of the specification.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are intended only to aid in the description of the specification. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the teaching of the embodiments of the present disclosure. The embodiments were chosen and described in order to best explain the principles of the embodiments and the practical application, and to thereby enable others skilled in the art to best understand the specification and utilize the specification. The specification is limited only by the claims and their full scope and equivalents.

Claims (9)

1. A method for data stream synchronization, comprising:
receiving at least two paths of data streams sent by a sending end, wherein each path of data stream carries a sending time stamp;
determining a sending time stamp and current delay time of each received data stream, wherein the current delay time is composed of delay generated by system processing and target delay time superposed before;
determining any one of the at least two data streams as a synchronous data stream, and determining a time difference value of each data stream based on a sending time stamp of the synchronous data stream;
determining the target delay time of each path of data stream according to the time difference value of each path of data stream, the current delay time and the current delay time of the synchronous data stream;
adjusting the playing time of the at least two data streams based on the target delay time and the current delay time of each data stream to realize synchronous playing of the at least two data streams;
determining a target delay time of each data stream according to the time difference value of each data stream, the current delay time and the current delay time of the synchronous data stream, including:
determining the initial delay time of each path of data stream according to the time difference value of each path of data stream, the current delay time and the current delay time of the synchronous data stream;
judging whether the initial delay time of each path of data flow is positive number,
if yes, the initial delay time of each data stream is used as the target delay time of each data stream,
if not, taking the data stream with the minimum initial delay time as an adjusting data stream, and determining the target delay time of each data stream based on the initial delay time of each data stream and the initial delay time of the adjusting data stream.
2. The data stream synchronization method of claim 1, wherein the determining the time difference value of each data stream based on the transmission time stamp of the synchronized data stream comprises:
acquiring the received sending time stamp of the synchronous data stream and the sending time stamp of each path of data stream;
and taking the difference value of the received sending time stamp of each path of data stream and the sending time stamp of the synchronous data stream as the time difference value of each path of data stream.
3. The data stream synchronization method according to claim 1, wherein the determining the target delay time of each data stream based on the initial delay time of each data stream and the initial delay time of the adjusted data stream comprises:
and adding the initial delay time of each data stream and the absolute value of the initial delay time of the adjusting data stream, and taking the sum obtained by adding as the target delay time of each data stream.
4. The data stream synchronization method according to claim 3, wherein the determining the initial delay time of each data stream according to the time difference value of each data stream, the current delay time, and the current delay time of the synchronous data stream comprises:
obtaining a delay time difference value between the current delay time of each path of data stream and the current delay time of the synchronous data stream;
and determining the initial delay time of each path of data stream according to the time difference value of each path of data stream and the delay time difference value of each path of data stream.
5. The data stream synchronization method according to claim 1, wherein the transmission time stamp carried by each data stream is monotonically increased according to a preset time interval.
6. The data stream synchronization method according to claim 1, wherein after determining the target delay time of each data stream according to the time difference value of each data stream, the current delay time, and the current delay time of the synchronous data stream, the method further comprises:
and adding the target delay time of each path of data stream to the corresponding current delay time to update the current delay time of each path of data stream.
7. A data stream synchronization apparatus, comprising:
the data stream receiving module is configured to receive at least two data streams sent by a sending end, wherein each data stream carries a sending timestamp;
the time acquisition module is configured to determine a sending timestamp and a current delay time of each received data stream, wherein the current delay time is composed of delay generated by system processing and target delay time superposed before;
a time difference determination module configured to determine any one of the at least two data streams as a synchronous data stream, and determine a time difference of each data stream based on a transmission time stamp of the synchronous data stream;
a delay time determining module configured to determine an initial delay time of each data stream according to the time difference value of each data stream, a current delay time and a current delay time of the synchronous data stream; judging whether the initial delay time of each path of data stream is a positive number, if so, taking the initial delay time of each path of data stream as the target delay time of each path of data stream, if not, taking the data stream with the minimum initial delay time as an adjustment data stream, and determining the target delay time of each path of data stream based on the initial delay time of each path of data stream and the initial delay time of the adjustment data stream;
and the data stream synchronization module is configured to adjust the playing time of the at least two data streams based on the target delay time and the current delay time of each data stream, so as to realize the synchronous playing of the at least two data streams.
8. A computing device, comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
receiving at least two paths of data streams sent by a sending end, wherein each path of data stream carries a sending timestamp;
determining a sending time stamp and current delay time of each received data stream, wherein the current delay time is composed of delay generated by system processing and target delay time superposed before;
determining any one of the at least two data streams as a synchronous data stream, and determining a time difference value of each data stream based on a sending time stamp of the synchronous data stream;
determining the target delay time of each data stream according to the time difference value of each data stream, the current delay time and the current delay time of the synchronous data stream;
adjusting the playing time of the at least two data streams based on the target delay time and the current delay time of each data stream to realize synchronous playing of the at least two data streams;
wherein, determining the target delay time of each data stream according to the time difference value of each data stream, the current delay time and the current delay time of the synchronous data stream comprises:
determining the initial delay time of each path of data stream according to the time difference value of each path of data stream, the current delay time and the current delay time of the synchronous data stream;
judging whether the initial delay time of each path of data flow is positive number,
if yes, the initial delay time of each data stream is used as the target delay time of each data stream,
if not, taking the data stream with the minimum initial delay time as an adjusting data stream, and determining the target delay time of each data stream based on the initial delay time of each data stream and the initial delay time of the adjusting data stream.
9. A computer-readable storage medium, characterized in that it stores computer instructions which, when executed by a processor, implement the steps of the data stream synchronization method according to any one of claims 1 to 6.
CN202011024783.9A 2020-09-25 2020-09-25 Data stream synchronization method and device Active CN112135177B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011024783.9A CN112135177B (en) 2020-09-25 2020-09-25 Data stream synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011024783.9A CN112135177B (en) 2020-09-25 2020-09-25 Data stream synchronization method and device

Publications (2)

Publication Number Publication Date
CN112135177A CN112135177A (en) 2020-12-25
CN112135177B true CN112135177B (en) 2022-10-21

Family

ID=73840701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011024783.9A Active CN112135177B (en) 2020-09-25 2020-09-25 Data stream synchronization method and device

Country Status (1)

Country Link
CN (1) CN112135177B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115310501A (en) * 2021-05-07 2022-11-08 北京图森智途科技有限公司 Sensor data processing method and device, computing equipment and storage medium
CN117837201A (en) * 2022-08-03 2024-04-05 北京小米移动软件有限公司 Multi-stream synchronization threshold processing method and device, communication equipment and storage medium
WO2024098347A1 (en) * 2022-11-10 2024-05-16 北京小米移动软件有限公司 Data stream synchronization method and apparatus, communication device, and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4958748B2 (en) * 2007-11-27 2012-06-20 キヤノン株式会社 Audio processing device, video processing device, and control method thereof
EP2529531B1 (en) * 2010-01-27 2019-10-09 Koninklijke KPN N.V. Method, system and device for synchronization of media streams
GB2545181A (en) * 2015-12-07 2017-06-14 Fujitsu Ltd Synchronisation device, method, program and system
US20170289609A1 (en) * 2016-03-31 2017-10-05 Le Holdings(Beijing)Co., Ltd. Method and device for playing multimedia data synchronously
CN107682715B (en) * 2016-08-01 2019-12-24 腾讯科技(深圳)有限公司 Video synchronization method and device
CN108965971B (en) * 2018-07-27 2021-05-14 北京数码视讯科技股份有限公司 Multi-channel audio synchronous control method, control device and electronic equipment
CN109729391B (en) * 2018-12-18 2021-07-02 北京华夏电通科技股份有限公司 Method and system for sending multi-path media streams

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种视音频同步系统的综合解决方案;纪雯等;《西安科技大学学报》;20050330(第01期);全文 *
一种面向互联网应用的多路实时流媒体同步合成方案;王英兰等;《东华大学学报(自然科学版)》;20180119;全文 *

Also Published As

Publication number Publication date
CN112135177A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN112135177B (en) Data stream synchronization method and device
CN111817811B (en) TWS earphone audio frequency synchronous playing method and system, TWS earphone
EP1971905B1 (en) Media data synchronization in a wireless network
CN108111997B (en) Bluetooth device audio synchronization method and system
KR101355059B1 (en) Synchronizing media streams using time signal(s) from an independent time source
AU2022252735B2 (en) Method and apparatus for synchronizing applications&#39; consumption of remote data
US20160150008A1 (en) Clock synchronization using wifi beacons
US20190190692A1 (en) Method for obtaining phase detection signal in clock recovery circuit and phase detector
WO2014128360A1 (en) Synchronization of audio and video content
CN110633798B (en) Parameter updating method and device in distributed training
CN105611191B (en) Voice and video file synthesis method, apparatus and system
KR101174386B1 (en) Method and system for the extension of frequency offset estimation range based on correlation of complex sequences
CN107239253B (en) Wireless local area network player, system and method for synchronizing playing speed
CN109039994A (en) A kind of method and apparatus calculating the audio and video asynchronous time difference
CN113316001B (en) Video alignment method and device
CN113873344B (en) Streaming media playing method, device and system
KR101480331B1 (en) Time synchronization method and electronic device
CN117676222A (en) Multimedia file playing method and device, computing equipment and storage medium
EP3540735A1 (en) Spatial audio processing
US20230353813A1 (en) Synchronized audio streams for live broadcasts
KR20030024236A (en) Apparatus and method for synchronizing video data with audio data
CN117956564A (en) SIB9 time service method, network equipment and storage medium
CN117896817A (en) Parallel time synchronization method and device suitable for broadband communication system
CN116962795A (en) Playing buffer zone adjusting method and device, storage medium and electronic equipment
CN117375791A (en) Timer adjustment method and device, 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