CN111541531A - Double-end time delay alignment method and device, server and storage medium - Google Patents

Double-end time delay alignment method and device, server and storage medium Download PDF

Info

Publication number
CN111541531A
CN111541531A CN202010345606.4A CN202010345606A CN111541531A CN 111541531 A CN111541531 A CN 111541531A CN 202010345606 A CN202010345606 A CN 202010345606A CN 111541531 A CN111541531 A CN 111541531A
Authority
CN
China
Prior art keywords
time
terminal
starting
offset
data packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010345606.4A
Other languages
Chinese (zh)
Inventor
刘腾飞
雷勇
黄斯亮
欧阳金凯
文绍斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Music Entertainment Technology Shenzhen Co Ltd
Original Assignee
Tencent Music Entertainment Technology Shenzhen 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 Tencent Music Entertainment Technology Shenzhen Co Ltd filed Critical Tencent Music Entertainment Technology Shenzhen Co Ltd
Priority to CN202010345606.4A priority Critical patent/CN111541531A/en
Publication of CN111541531A publication Critical patent/CN111541531A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors
    • H04L7/0033Correction by delay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0008Synchronisation information channels, e.g. clock distribution lines
    • H04L7/0012Synchronisation information channels, e.g. clock distribution lines by comparing receiver clock with transmitter clock
    • 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/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • 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/81Monomedia components thereof
    • H04N21/8106Monomedia components thereof involving special audio data, e.g. different tracks for different languages

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the application discloses a double-end time delay alignment method and device, a server and a storage medium, and the method comprises the following steps: the first terminal sends a first data packet to the second terminal at a first moment; the first terminal receives a second data packet sent by the second terminal at a second moment and a third moment for sending the second data packet; the first terminal obtains a reference time offset based on the first time, the second time and the third time, and determines the correction starting time of the first terminal according to the reference time offset and the initial time; the data is played at the modified start time. By adopting the method and the device, the double-end receiving delay time can be effectively shortened.

Description

Double-end time delay alignment method and device, server and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for aligning two-port time delays, a server, and a storage medium.
Background
At present, in some interactive scenes, two terminals establishing communication align delay time of receiving data of the other party by negotiating reference time for starting mutual data transmission between the two parties, so that experience in the interactive scenes is good, but due to time difference between local clocks of different terminals, two ends are difficult to start simultaneously at absolute time, and in addition, network delay time of the mutual data transmission between the two ends is often different, and the end-to-end delay time is difficult to accurately calculate under the condition of different places. Therefore, how to effectively shorten the double-end receiving delay time is a problem to be solved.
Content of application
The embodiment of the application provides a double-end time delay alignment method and device, a server and a storage medium, so as to shorten double-end receiving delay time and improve experience of an interactive scene.
In a first aspect, a method for aligning two-port time delays is provided in an embodiment of the present application, including:
the first terminal sends a first data packet to the second terminal at a first moment;
the first terminal receives a second data packet sent by the second terminal at a second moment and a third moment for sending the second data packet, wherein the second data packet is a data packet returned to the first terminal by the second terminal when the first data packet sent by the first terminal is received by the second terminal at the third moment;
the first terminal obtains a reference time offset based on the first time, the second time and the third time, and determines a correction starting time of the first terminal according to the reference time offset and an initial time, wherein the initial time is obtained by jointly determining the first terminal and the second terminal;
playing the data at the modified start time.
Optionally, obtaining a reference time offset based on the first time, the second time, and the third time includes:
and the first terminal calculates the time difference between the intermediate time of the first time and the second time and the third time to obtain the reference time offset.
Optionally, the determining the modified start time of the first terminal according to the reference time offset and the initial start time includes:
if the reference time offset is greater than 0, the first terminal delays the absolute value of the reference time offset backward by taking the initial time as a starting point to obtain the corrected starting time of the first terminal; or
And if the reference time offset is smaller than 0, the first terminal advances the absolute value of the reference time offset forward by taking the initial time as the starting point to obtain the corrected starting time of the first terminal.
Optionally, the determining the correction start time of the first terminal according to the reference time offset and the initial time further includes:
if the offset of the reference time is greater than 0, the first terminal delays a first preset time length backwards by taking the initial time as a first starting point to obtain the corrected starting time of the first terminal, and sends a delay message to the second terminal so as to enable the second terminal to advance a second preset time length forwards by taking the initial time as a second starting point to obtain the corrected starting time of the second terminal, wherein the sum of the first preset time length and the second preset time length is the absolute value of the offset of the reference time; or
If the offset of the reference time is less than 0, the first terminal advances the first preset time length forward by taking the initial time as the first starting point to obtain the correction starting time of the first terminal, and sends an advance message to the second terminal, so that the second terminal delays the second preset time length backward by taking the initial time as the second starting point to obtain the correction starting time of the second terminal.
Optionally, before determining the correction start time of the first terminal according to the reference time offset and the initial time, the method includes:
the method comprises the steps that a first starting signal sent by a first user through clicking a first starting key in a first starting interface is sent to a server by a first terminal, so that after the server receives the first starting signal sent by the first terminal and a second starting signal sent by a second terminal, the initial time is determined according to the time of receiving the first starting signal and the second starting signal, and the initial time is sent to the first terminal and the second terminal, wherein the second starting signal is a starting signal generated by a second user through clicking a second starting key in a second starting interface.
Optionally, before determining the correction start time of the first terminal according to the reference time offset and the initial time, the method further includes:
the first terminal receives a first starting signal sent by a first user by clicking a first starting key in a first starting interface;
receiving a second start signal sent by the second terminal, wherein the second start signal is a start signal generated by a second user by clicking a second start key in a second start interface;
after receiving the first start signal and the second start signal, determining the initial time according to the time of receiving the first start signal and the second start signal, and sending the initial time to the second terminal.
Optionally, after the first terminal receives a first start signal sent by a first user by clicking a first start key in a first start interface, the method further includes:
if the first terminal receives the first starting signal and does not receive the second starting signal, displaying a first waiting message to the first user through the first starting interface, and sending a first reminding message to the second terminal, wherein the first reminding message is used for informing the second terminal of the message that the first terminal is ready;
and if the first terminal receives the second starting signal and does not receive the first starting signal, displaying a second reminding message to the first user through the first starting interface.
In a second aspect, a dual-end delay alignment apparatus is provided for an embodiment of the present application, including:
the first sending unit is used for sending a first data packet to the second terminal at a first moment;
a first receiving unit, configured to receive, at a second time, a second data packet sent by the second terminal and a third time for sending the second data packet, where the second data packet is a data packet that is returned by the second terminal to the first terminal when the second terminal receives the first data packet sent by the first terminal at the third time;
a correction start time determining unit, configured to obtain a reference time offset based on the first time, the second time, and the third time, and determine a correction start time of the first terminal according to the reference time offset and an initial time, where the initial time is determined by the first terminal and the second terminal together;
a playing unit for playing the data at the corrected start time.
Optionally, the correction start time determining unit is specifically configured to: and calculating the time difference between the intermediate time of the first time and the second time and the third time to obtain the reference time offset.
Optionally, the correction start time determining unit is specifically configured to:
if the reference time offset is greater than 0, delaying the absolute value of the reference time offset backwards by taking the initial time as a starting point to obtain the corrected starting time of the first terminal; or
And if the reference time offset is less than 0, advancing the absolute value of the reference time offset forward by taking the initial time as the starting point to obtain the corrected starting time of the first terminal.
Optionally, the correction start time determining unit is further specifically configured to:
if the offset of the reference time is greater than 0, delaying backward for a first preset time length by taking the initial time as a first starting point to obtain the corrected starting time of the first terminal, and sending a delay message to the second terminal to enable the second terminal to advance forward for a second preset time length by taking the initial time as a second starting point to obtain the corrected starting time of the second terminal, wherein the sum of the first preset time length and the second preset time length is the absolute value of the offset of the reference time; or
If the offset of the reference time is less than 0, advancing the first preset time length forward by taking the initial time as the first starting point to obtain the correction starting time of the first terminal, and sending an advance message to the second terminal, so that the second terminal delays the second preset time length backward by taking the initial time as the second starting point to obtain the correction starting time of the second terminal.
Optionally, the apparatus further comprises:
the second sending unit is used for sending a first start signal sent by a first user by clicking a first start key in a first start interface to the server, so that the server determines the initial time according to the time for receiving the first start signal and the second start signal sent by the first terminal and sends the initial time to the first terminal and the second terminal after receiving the first start signal and the second start signal sent by the second terminal, wherein the second start signal is a start signal generated by a second user by clicking a second start key in a second start interface.
Optionally, the apparatus further comprises:
the second receiving unit is used for receiving a first starting signal sent by a first user by clicking a first starting key in a first starting interface;
the third receiving unit is used for receiving a second starting signal sent by the second terminal, wherein the second starting signal is a starting signal generated by a second user by clicking a second starting key in a second starting interface;
and the determining and sending unit is used for determining the initial time according to the time of receiving the first starting signal and the second starting signal after receiving the first starting signal and the second starting signal, and sending the initial time to the second terminal.
Optionally, the apparatus further comprises:
a first display unit, configured to display a first waiting message to the first user through the first start interface and send a first reminding message to the second terminal if the first terminal receives the first start signal and does not receive the second start signal, where the first reminding message is used to notify the second terminal of a message that the first terminal is ready;
and the second display unit is used for displaying a second reminding message to the first user through the first starting interface if the first terminal receives the second starting signal and does not receive the first starting signal.
In a third aspect, a server is provided for an embodiment of the present application, and includes a processor, a memory, and a transceiver, where the processor, the memory, and the transceiver are connected to each other, where the memory is used to store a computer program that supports the electronic device to execute the above-mentioned dual-ended delay alignment method, and the computer program includes program instructions; the processor is configured to invoke the program instructions to perform the double ended delay alignment method as described in an aspect of an embodiment of the present application.
In a fourth aspect, a storage medium is provided for embodiments of the present application, the storage medium storing a computer program, the computer program comprising program instructions; the program instructions, when executed by a processor, cause the processor to perform a double ended delay alignment method as described in an aspect of an embodiment of the present application.
In the embodiment of the application, a first terminal sends a first data packet to a second terminal at a first moment; receiving a second data packet sent by a second terminal at a second moment and a third moment for sending the second data packet; obtaining a reference time offset based on the first time, the second time and the third time, and determining the correction starting time of the first terminal according to the reference time offset and the initial starting time; the data is played at the modified start time. Therefore, the double-end receiving delay time can be shortened, and the experience of an interactive scene is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a double-ended delay alignment method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a process for determining a correction start time according to an embodiment of the present application;
FIGS. 3a and 3b are schematic diagrams of a human-computer interaction interface for chorus initiation according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another double-ended delay alignment method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of another process for determining a correction start time according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a double-ended delay alignment apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, a schematic flow chart of a double-ended delay alignment method is provided in an embodiment of the present application. As shown in fig. 1, this method embodiment comprises the steps of:
s101, the first terminal sends a first data packet to the second terminal at a first moment.
The first time may be a random time, and the specific time of the first time and the content of the first data packet are not limited in this embodiment.
And S102, the first terminal receives the second data packet sent by the second terminal at the second moment and the third moment for sending the second data packet.
And the second data packet is a data packet returned to the first terminal by the second terminal when receiving the first data packet sent by the first terminal at the third moment.
S103, the first terminal obtains a reference time offset based on the first time, the second time and the third time, and determines the correction starting time of the first terminal according to the reference time offset and the initial time.
In a possible implementation manner, the first terminal calculates a time difference between the intermediate time of the first time and the second time and the third time to obtain the reference time offset, and determines the correction start time of the first terminal according to the reference time offset and an initial time, where the initial time is determined by the first terminal and the second terminal together.
Step S103 will be described in detail in the order of determining the reference time offset amount, the initial time, and the correction start time of the first terminal.
Please refer to fig. 2, which is a schematic diagram illustrating a process for determining a correction start time according to an embodiment of the present application. As shown in fig. 2, TA3 is an intermediate time between first time TA1 and second time TA2, and the time difference between intermediate time TA3 and third time TB1 is reference time offset Δ T.
For example, in the case that the network delay (e.g. 1 second) for the first terminal to transmit data to the second terminal and the network delay (e.g. 0.5 second) for the second terminal to transmit data to the first terminal are both fixed, the first terminal transmits a first data packet to the second terminal at a first time TA1, namely 14 o 'clock 50, the second terminal receives the first data packet transmitted by the first terminal at a third time TB1, namely 14 o' clock 50 min 01 sec, and immediately transmits the second data packet to the first terminal, the first terminal receives the second data packet transmitted by the second terminal at a second time TA2, i.e. 14 o' clock 50 minutes and 1.5 seconds, an intermediate time TA3 between 14 o ' clock and 50 min at 14 o ' clock, i.e., first time TA1, and 14 o ' clock and 50 min at 14 o ' clock, i.e., second time TA2, i.e., 1.5 sec, was calculated to be 14 o ' clock and 50 min at 0.75 sec, and then a time difference between 14 o ' clock and 50 min at 0.75 sec, i.e., intermediate time TA3, and third time TB1, i.e., 14 o ' clock and 50 min at 01 sec, was calculated to obtain a reference time offset amount Δ T of-0.
It should be noted that the intermediate time and the third time may be respectively understood as a reference time of the first terminal and a reference time of the second terminal, and TA3 is an intermediate time between TA1 and TA2, so that Δ T1 is Δ T2, which is equal to half of a first receiving delay time of the first terminal (a time difference between the second time TA2 when the first terminal receives the second data packet and a time when the first terminal sends the first data packet to the second terminal, i.e., the first time TA 1), and since a network delay of data transmission from the first terminal to the second terminal is fixed, the second receiving delay time Δ T2 of the first terminal is equal to the receiving delay time Δ T3 of the second terminal according to the parallelogram opposite side equality principle, and the receiving delay time is the minimum.
Before the first terminal determines the correction start time of the first terminal according to the reference time offset and the initial time, the specific implementation process of the first terminal determining the initial time is as follows:
in a possible implementation manner, the first terminal sends, to a server, a first start signal sent by a first user by clicking a first start key in a first start interface, so that the server determines the initial time according to the time for receiving the first start signal and the second start signal sent by the first terminal after receiving the first start signal sent by the first terminal and a second start signal sent by the second terminal, and sends the initial time to the first terminal and the second terminal, where the second start signal is a start signal generated by a second user by clicking a second start key in a second start interface.
For example, a first user clicks a first start key in a first start interface of a first terminal, so that the first terminal sends a first start signal to a server, a second user clicks a second start key in a second start interface of a second terminal, so that the second terminal sends a second start signal to the server, the server receives the first start signal sent by the first terminal and the second start signal sent by the second terminal at 15 points and 15 points 01 respectively, the server delays the time by 1 minute according to 15 points 01 minutes of the last received second start signal in the received first start signal and the received second start signal, and obtains an initial time of 15 points 02 minutes, and sends the initial time to the first terminal and the second terminal respectively.
In another possible implementation manner, the first terminal receives a first start signal sent by a first user by clicking a first start key in a first start interface; receiving a second start signal sent by the second terminal, wherein the second start signal is a start signal generated by a second user by clicking a second start key in a second start interface; after receiving the first start signal and the second start signal, determining the initial time according to the time of receiving the first start signal and the second start signal, and sending the initial time to the second terminal.
For example, a first user sends a first start signal to a first terminal by clicking a first start key in a first start interface of the first terminal, a second user clicks a second start key in a second start interface of a second terminal, so that the second terminal sends a second start signal to the first terminal, the first terminal receives the first start signal sent by the first user and the second start signal sent by the second terminal at 15 points and 14 points 59 respectively, and then the first terminal delays the time for 10 seconds according to the time 15 point of the first start signal received last in the first start signal and the second start signal, and sends the initial time to the second terminal, where the time is 15 points and 10 seconds.
After receiving a first start signal sent by a first user by clicking a first start key in a first start interface, the first terminal further executes the following operations:
if the first terminal receives the first starting signal and does not receive the second starting signal, displaying a first waiting message to the first user through the first starting interface, and sending a first reminding message to the second terminal, wherein the first reminding message is used for informing the second terminal of the message that the first terminal is ready;
and if the first terminal receives the second starting signal and does not receive the first starting signal, displaying a second reminding message to the first user through the first starting interface.
For example, please refer to fig. 3a, which is a schematic diagram of a human-computer interaction interface for starting chorus provided in the embodiment of the present application. As shown in fig. 3a, when the first terminal receives a first start signal generated by the first user by clicking the "start" key in the first start interface 300a, and does not receive a second start signal sent by the second terminal, the second user does not prepare for chorus and please wait patiently by showing a first waiting message of the human-computer interaction interface 301a to the first user, and sends a first reminding message to the second terminal, and after receiving the first reminding message, the second terminal shows the first reminding message "the first user is prepared for chorus by the human-computer interaction interface 302a, and whether to start chorus now" to the second user, so that the second user can perform chorus by clicking the "start" key in the human-computer interaction interface 302a, and can continue to prepare by clicking the "cancel" key.
For another example, please refer to fig. 3b, which is a schematic diagram of a human-computer interaction interface for starting chorus provided in the embodiment of the present application. As shown in fig. 3b, when the second terminal receives the second start signal generated by the second user by clicking the "start" key in the second start interface 300b and sends the second start signal to the first terminal, and the first terminal receives the second start signal and does not receive the first start signal sent by the first user, the second terminal displays a second reminding message "the second user is ready to sing and needs to start to sing now" of the human-computer interaction interface 301b to the first user, so that the first user can perform the chorusing by clicking the "start" key in the human-computer interaction interface 301b and can also continue the preparation by clicking the "cancel" key.
After the first terminal determines the initial time according to the above manner, determining a correction start time of the first terminal according to the reference time offset and the initial time includes:
if the reference time offset is greater than 0, the first client delays the absolute value of the reference time offset backward by taking the initial time as a starting point to obtain the corrected starting time of the first terminal; or
And if the reference time offset is smaller than 0, the first client advances the absolute value of the reference time offset forward by taking the initial time as the starting point to obtain the corrected starting time of the first terminal.
For example, as shown in fig. 2, after the first terminal determines that the reference time offset Δ T is-0.25 seconds and the initial time T is 15 o 'clock 10 seconds, since the reference time offset Δ T-0.25 seconds is less than 0, the first terminal advances 0.25 seconds forward with the initial time T, i.e., 15 o' clock 10 seconds, as a starting point, to obtain a corrected start time TA of the first terminal as 15 o 'clock 9.75 seconds, and further obtain a corrected start time TB of the second terminal as 15 o' clock 10 seconds, i.e., a time when the first terminal starts playing the chorus song accompaniment audio is 15 o 'clock 9.75 seconds, and a time when the second terminal plays the chorus song accompaniment audio is 15 o' clock 10 seconds.
For another example, after the first terminal determines that the reference time offset Δ T is 0.25 seconds and the initial time T is 15 o 'clock 10 seconds, since the reference time offset Δ T0.25 seconds is greater than 0, the first terminal delays backward by 0.25 seconds with the initial time T, i.e., 15 o' clock 10 seconds, as a starting point, obtains a corrected start time TA of the first terminal as 15 o 'clock 10.25 seconds, further obtains a corrected start time TB of the second terminal as 15 o' clock 10 seconds, i.e., the time when the first terminal starts playing the chorus song accompaniment audio is 15 o 'clock 10.25 seconds, and the time when the second terminal plays the chorus song accompaniment audio is 15 o' clock 10 seconds, which is the initial time.
S104, playing the data at the corrected starting time.
Specifically, the first terminal plays the accompaniment audio at the corrected start time and starts to acquire the chorus audio of the user.
For example, as shown in fig. 2, the first terminal starts playing the accompaniment audio of the chorus song at 15 o 'clock 10.25 sec, which is the modified start time TA of the first terminal, then transmits the acquired audio signal of the first user recorded by the microphone to sing along with the accompaniment audio and the lyric caption to the second terminal after 5 sec, which is the prelude time Δ TA1, which is the fourth time TA4, which is 15 o' clock 15.25 sec, the second terminal starts playing the accompaniment audio of the chorus song at 15 o 'clock 10 sec, which is the modified start time TB of the second terminal, then transmits the acquired audio signal of the second user recorded by the microphone to sing along with the accompaniment audio and the lyric caption to the first terminal after 5 sec, which is the fifth time TB2, which is 15 o' clock 15 sec, after which the first terminal and the second terminal receive the first user audio signal and the first user audio signal at sixth time TA5 and the seventh time TA3, since the introduction duration of the same song is the same, Δ TA1 is Δ TB1, and since the network delay for mutual data transmission between the first terminal and the second terminal is fixed, therefore, a time difference Δ TA2 between the time TA5 when the first terminal receives the second user audio signal and the time TA4 when the first terminal transmits the first user audio signal to the second terminal is equal to a time difference Δ TB2 between the time TB3 when the second terminal receives the first user audio signal and the time TB2 when the second terminal transmits the second user audio signal to the first terminal, which is equal to the second reception delay time of the first terminal, and further, a time difference Δ TA between the time TA5 when the first terminal receives the second user audio signal and the time TA when the first terminal starts playing the chorus audio and a time difference Δ TB between the time TB3 when the second terminal receives the first user audio signal and the time TB when the second terminal starts playing the chorus audio are equal to each other.
Referring to fig. 4, a schematic flow chart of another double-ended delay alignment method is provided in the present embodiment. As shown in fig. 4, this method embodiment includes the steps of:
s201, the first terminal sends a first data packet to the second terminal at a first time.
The first time may be a random time, and the specific time of the first time and the content of the first data packet are not limited in this embodiment.
And S202, the first terminal receives the second data packet sent by the second terminal at the second moment and the third moment for sending the second data packet.
And the second data packet is a data packet returned to the first terminal by the second terminal when receiving the first data packet sent by the first terminal at the third moment.
And S203, the first terminal and the second terminal jointly determine an initial time.
Here, the specific implementation manner of step 203 may refer to the description of the specific implementation process of determining the initial time by the first terminal in step S103 in the embodiment corresponding to fig. 1, and is not described herein again.
And S204, the first terminal obtains a reference time offset based on the first time, the second time and the third time.
Here, a specific implementation manner of step S204 may refer to a description of a specific implementation process of determining the reference time offset in step S103 in the embodiment corresponding to fig. 1, and is not described herein again.
S205, if the offset of the reference time is smaller than 0, the first terminal advances forward by a first preset duration with the initial time as the first starting point, so as to obtain a modified starting time of the first terminal.
Specifically, if the reference time offset is less than 0, the first terminal advances forward by taking the initial time as the first starting point by the first preset time length to obtain the correction starting time of the first terminal, and sends an advance message to the second terminal, so that the second terminal delays backward by taking the initial time as the second starting point by the second preset time length to obtain the correction starting time of the second terminal, wherein the sum of the first preset time length and the second preset time length is the absolute value of the reference time offset.
For example, as shown in fig. 5, after determining that the reference time offset Δ T is-0.4 seconds and the initial start time T is 15 o ' clock 10 seconds, the first terminal advances forward by a first preset time duration Δ T1 ', i.e. 0.1 seconds, with the initial time T, i.e. 15 o ' clock 10 seconds, as a starting point, to obtain a corrected start time TA of the first terminal as 15 o ' clock 09 seconds, and sends an advance message to the second terminal, where the advance message includes that the first terminal advances forward by the first preset time duration Δ T1 ', i.e. 0.1 seconds, and the reference time offset Δ T as a starting point, the second terminal obtains a second preset time duration Δ T2 ', i.e. 0.3 seconds, and delays backward by the initial time T, i.e. 15 o ' clock 10 seconds, by a second preset time duration Δ T2 ', i.e. 0.3 seconds, after receiving the advance message, to obtain a corrected start time TA of the second terminal as 15 o ' clock 9.7 seconds, namely, the time for the first terminal to start playing the chorus-song accompaniment audio is 15 o 'clock 09 seconds, and the time for the second terminal to play the chorus-song accompaniment audio is 15 o' clock 9.7 seconds.
And S206, if the offset of the reference time is greater than 0, delaying the first terminal by a first preset time length backwards by taking the initial time as a first starting point to obtain the corrected starting time of the first terminal.
Specifically, if the offset of the reference time is greater than 0, the first terminal delays the initial time serving as a first starting point backwards for a first preset time to obtain the correction starting time of the first terminal, and sends a delay message to the second terminal, so that the second terminal advances the initial time serving as a second starting point forwards for a second preset time to obtain the correction starting time of the second terminal, wherein the sum of the first preset time and the second preset time is the absolute value of the offset of the reference time.
For example, after determining that the offset Δ T of the reference time is 0.4 seconds and the initial time T is 15 o 'clock 10 seconds, the first terminal delays backward by a first preset time Δ T1', i.e. 0.2 seconds, with the initial time T, i.e. 15 o 'clock 10 seconds, as a starting point, to obtain a modified start time TA of the first terminal as 15 o' clock 10.2 seconds, and sends a delay message to the second terminal, where the delay message includes that the first terminal delays backward by the first preset time and the offset of the reference time, with the initial time as a starting point, the second terminal, after receiving the delay message, obtains a second preset time Δ T2 'as 0.2 seconds, according to the first preset time Δ T1', i.e. 0.2 seconds, and the offset Δ T of the reference time, i.e. 0.4 seconds, and advances forward by the second preset time Δ T2 ', i.e. 0.2 seconds, with the initial time T, i.e. 15 o' clock 10 seconds, as a starting point, to obtain a modified start time TA of the second terminal of 15 o, namely, the time for the first terminal to start playing the chorus song accompaniment audio is 15 o 'clock 10.2 seconds, and the time for the second terminal to play the chorus song accompaniment audio is 15 o' clock 9.8 seconds.
S207, the data is played at the corrected start time.
For example, as shown in fig. 5, the first terminal starts playing the accompaniment audio of a song at 15 o ' clock 10.2 seconds, which is the modified start time TA of the first terminal, then transmits the acquired audio signal of the first user recorded by the microphone to sing along with the accompaniment audio and the lyric subtitle to the second terminal after 5 seconds, which is the prelude time Δ TA1, which is the fourth time TA4, which is 15 o ' clock 15.2 seconds, the second terminal starts playing the accompaniment audio of the chorus song at 15 o ' clock 9.8 seconds, which is the modified start time TB of the second terminal, then transmits the acquired audio signal of the second user recorded by the microphone to sing along with the lyric audio and the subtitle to the first terminal after 5 seconds, which is the prelude time Δ TB1, which is the fifth time TB2, which is 15 o clock 14.8 seconds, after which the first terminal and the second terminal receive the first user audio signal and the second user audio signal to sing along with the lyric at sixth time TA5 and the seventh time TB3, since the introduction duration of the same song is the same, Δ TA1 is Δ TB1, and since the network delay for mutual data transmission between the first terminal and the second terminal is fixed, therefore, a time difference Δ TA2 between the time TA5 when the first terminal receives the second user audio signal and the time TA4 when the first terminal transmits the first user audio signal to the second terminal is equal to a time difference Δ TB2 between the time TB3 when the second terminal receives the first user audio signal and the time TB2 when the second terminal transmits the second user audio signal to the first terminal, which is equal to the second reception delay time of the first terminal, and further, a time difference Δ TA between the time TA5 when the first terminal receives the second user audio signal and the time TA when the first terminal starts playing the chorus audio and a time difference Δ TB between the time TB3 when the second terminal receives the first user audio signal and the time TB when the second terminal starts playing the chorus audio are equal to each other.
In the embodiment of the present application, a first terminal and a second terminal determine a time difference between a middle time and a third time of a first time and a second time as a reference time offset by sending a data packet to each other, determine a modification start time of the first terminal according to the reference time offset and an initial time, and send data to an opposite side at the modification start time of the first terminal and the modification start time of the second terminal respectively because network delay for mutual data transmission between the first terminal and the second terminal is fixed, so that a receiving delay duration of the first terminal is equal to a receiving delay duration of the second terminal and is equal to a half of the time difference between the second time and the first time, thereby obtaining that receiving delay durations at both ends are equal and minimum, and avoiding the problems of clock difference at both ends and inconsistency of end-to-end transmission time, the time difference between the second time and the first time may be understood as the sum of the network delay of the first terminal for transmitting data to the second terminal and the network delay of the second terminal for transmitting data to the first terminal.
It should be noted that the double-end delay alignment method in the embodiment of the present application is applicable to all entertainment interaction scenes requiring equal delay, and is not limited to chorus interaction scenes.
Fig. 6 is a schematic structural diagram of a double-ended delay alignment apparatus according to an embodiment of the present application. As shown in fig. 6, the double-ended delay alignment apparatus includes a first sending unit 601, a first receiving unit 602, a correction start time determining unit 603, a play acquiring unit 604, a second sending unit 605, a second receiving unit 606, a third receiving unit 607, a determination sending unit 608, a first presenting unit 609, and a second presenting unit 610.
A first sending unit 601, configured to send a first data packet to a second terminal at a first time;
a first receiving unit 602, configured to receive a second data packet sent by the second terminal at a second time and a third time for sending the second data packet, where the second data packet is a data packet that is returned to the first terminal by the second terminal when the second terminal receives the first data packet sent by the first terminal at the third time;
a correction start time determining unit 603, configured to obtain a reference time offset based on the first time, the second time, and the third time, and determine a correction start time of the first terminal according to the reference time offset and an initial time, where the initial time is determined by the first terminal and the second terminal together;
a playing unit 604 for playing the data at the modified start time.
Optionally, the modified start time determining unit 603 is specifically configured to: and calculating the time difference between the intermediate time of the first time and the second time and the third time to obtain the reference time offset.
Optionally, the modified start time determining unit 603 is specifically configured to:
if the reference time offset is greater than 0, the first terminal delays the absolute value of the reference time offset backward by taking the initial time as a starting point to obtain the corrected starting time of the first terminal; or
And if the reference time offset is smaller than 0, the first terminal advances the absolute value of the reference time offset forward by taking the initial time as the starting point to obtain the corrected starting time of the first terminal.
Optionally, the modified start time determining unit 603 is further specifically configured to:
if the offset of the reference time is greater than 0, the first terminal delays a first preset time length backwards by taking the initial time as a first starting point to obtain the corrected starting time of the first terminal, and sends a delay message to the second terminal so as to enable the second terminal to advance a second preset time length forwards by taking the initial time as a second starting point to obtain the corrected starting time of the second terminal, wherein the sum of the first preset time length and the second preset time length is the absolute value of the offset of the reference time; or
If the offset of the reference time is less than 0, the first terminal advances the first preset time length forward by taking the initial time as the first starting point to obtain the correction starting time of the first terminal, and sends an advance message to the second terminal, so that the second terminal delays the second preset time length backward by taking the initial time as the second starting point to obtain the correction starting time of the second terminal.
Optionally, the apparatus further comprises:
a second sending unit 605, configured to send a first start signal sent by a first user by clicking a first start key in a first start interface to a server, so that after receiving the first start signal sent by the first terminal and a second start signal sent by the second terminal, the server determines the initial time according to the time when receiving the first start signal and the second start signal, and sends the initial time to the first terminal and the second terminal, where the second start signal is a start signal generated by a second user by clicking a second start key in a second start interface.
Optionally, the apparatus further comprises:
a second receiving unit 606, configured to receive a first start signal sent by a first user by clicking a first start key in a first start interface;
a third receiving unit 607, configured to receive a second start signal sent by the second terminal, where the second start signal is a start signal generated by a second user clicking a second start key in a second start interface;
a determining and sending unit 608, configured to determine the initial time according to the time when the first start signal and the second start signal are received after the first start signal and the second start signal are received, and send the initial time to the second terminal.
Optionally, the apparatus further comprises:
a first displaying unit 609, configured to display a first waiting message to the first user through the first start interface and send a first reminding message to the second terminal if the first terminal receives the first start signal and does not receive the second start signal, where the first reminding message is used to notify the second terminal of a message that the first terminal is ready;
a second displaying unit 610, configured to display a second reminding message to the first user through the first starting interface if the first terminal receives the second starting signal and does not receive the first starting signal.
It is understood that the double-ended delay alignment apparatus 600 is used to implement the steps performed by the first terminal in the embodiments of fig. 1 and 4. For a specific implementation manner and corresponding advantageous effects of the functional blocks included in the dual-end delay alignment apparatus 600 of fig. 6, reference may be made to the specific description of the embodiments of fig. 1 and fig. 4, which is not described herein again.
The double-ended delay alignment apparatus 600 in the embodiment shown in fig. 6 may be implemented by the server 700 shown in fig. 7. Please refer to fig. 7, which provides a schematic structural diagram of a server according to an embodiment of the present application. As shown in fig. 7, the server 700 may include: one or more processors 701, a memory 702, and a transceiver 703. The processor 701, the memory 702, and the transceiver 703 are connected by a bus 704. The transceiver 703 is configured to acquire data transmitted by a second terminal, and the memory 702 is configured to store a computer program, where the computer program includes program instructions; the processor 701 is configured to execute the program instructions stored in the memory 702 to perform the following operations:
sending a first data packet to a second terminal at a first moment;
receiving a second data packet sent by the second terminal at a second time and a third time for sending the second data packet, wherein the second data packet is a data packet returned to the first terminal by the second terminal when receiving the first data packet sent by the first terminal at the third time;
obtaining a reference time offset based on the first time, the second time and the third time, and determining a correction starting time of the first terminal according to the reference time offset and an initial time, wherein the initial time is determined by the first terminal and the second terminal together;
playing the data at the modified start time.
Optionally, the processor 701 obtains a reference time offset based on the first time, the second time, and the third time, and specifically performs the following operations:
and calculating the time difference between the intermediate time of the first time and the second time and the third time to obtain the reference time offset.
Optionally, the processor 701 determines the correction start time of the first terminal according to the reference time offset and the initial time, and specifically performs the following operations:
if the reference time offset is greater than 0, delaying the absolute value of the reference time offset backwards by taking the initial time as a starting point to obtain the corrected starting time of the first terminal; or
And if the reference time offset is less than 0, advancing the absolute value of the reference time offset forward by taking the initial time as the starting point to obtain the corrected starting time of the first terminal.
Optionally, the processor 701 determines the correction start time of the first terminal according to the reference time offset and the initial time, and further specifically performs the following operations:
if the offset of the reference time is greater than 0, delaying backward for a first preset time length by taking the initial time as a first starting point to obtain the corrected starting time of the first terminal, and sending a delay message to the second terminal to enable the second terminal to advance forward for a second preset time length by taking the initial time as a second starting point to obtain the corrected starting time of the second terminal, wherein the sum of the first preset time length and the second preset time length is the absolute value of the offset of the reference time; or
If the offset of the reference time is less than 0, advancing the first preset time length forward by taking the initial time as the first starting point to obtain the correction starting time of the first terminal, and sending an advance message to the second terminal, so that the second terminal delays the second preset time length backward by taking the initial time as the second starting point to obtain the correction starting time of the second terminal.
Optionally, before determining the correction start time of the first terminal according to the reference time offset and the initial time, the processor 701 specifically performs the following operations:
sending a first start signal sent by a first user by clicking a first start key in a first start interface to a server, so that the server determines the initial time according to the time for receiving the first start signal and the second start signal after receiving the first start signal sent by the first terminal and the second start signal sent by the second terminal, and sends the initial time to the first terminal and the second terminal, wherein the second start signal is a start signal generated by a second user by clicking a second start key in a second start interface.
Optionally, before determining the correction start time of the first terminal according to the reference time offset and the initial time, the processor 701 further specifically performs the following operations:
receiving a first starting signal sent by a first user by clicking a first starting key in a first starting interface;
receiving a second start signal sent by the second terminal, wherein the second start signal is a start signal generated by a second user by clicking a second start key in a second start interface;
after receiving the first start signal and the second start signal, determining the initial time according to the time of receiving the first start signal and the second start signal, and sending the initial time to the second terminal.
Optionally, after receiving a first start signal sent by the first user by clicking a first start key in the first start interface, the processor 701 further specifically performs the following operations:
if the first terminal receives the first starting signal and does not receive the second starting signal, displaying a first waiting message to the first user through the first starting interface, and sending a first reminding message to the second terminal, wherein the first reminding message is used for informing the second terminal of the message that the first terminal is ready;
and if the first terminal receives the second starting signal and does not receive the first starting signal, displaying a second reminding message to the first user through the first starting interface.
In an embodiment of the present application, a computer storage medium may be provided, which may be used to store computer software instructions for the above-mentioned double-ended delay alignment apparatus in the embodiment shown in fig. 6, and which includes a program designed to execute the above-mentioned embodiment for the double-ended delay alignment apparatus. The storage medium includes, but is not limited to, flash memory, hard disk, solid state disk.
In an embodiment of the present application, a computer program product is further provided, which when executed by a computing device, can execute the double-ended delay alignment apparatus designed in the embodiment shown in fig. 6.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
In the present application, "a and/or B" means one of the following cases: a, B, A and B. "at least one of … …" refers to any combination of the listed items or any number of the listed items, e.g., "at least one of A, B and C" refers to one of: any one of seven cases, a, B, C, a and B, B and C, a and C, A, B and C.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The method and the related apparatus provided by the embodiments of the present application are described with reference to the flowchart and/or the structural diagram of the method provided by the embodiments of the present application, and each flow and/or block of the flowchart and/or the structural diagram of the method, and the combination of the flow and/or block in the flowchart and/or the block diagram can be specifically implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block or blocks of the block diagram. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block or blocks of the block diagram. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block or blocks.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A method of double-ended delay alignment, comprising:
the first terminal sends a first data packet to the second terminal at a first moment;
the first terminal receives a second data packet sent by the second terminal at a second moment and a third moment for sending the second data packet, wherein the second data packet is a data packet returned to the first terminal by the second terminal when the first data packet sent by the first terminal is received by the second terminal at the third moment;
the first terminal obtains a reference time offset based on the first time, the second time and the third time, and determines a correction starting time of the first terminal according to the reference time offset and an initial time, wherein the initial time is obtained by jointly determining the first terminal and the second terminal;
playing the data at the modified start time.
2. The method of claim 1, wherein deriving a reference time offset based on the first time, the second time, and the third time comprises:
and the first terminal calculates the time difference between the intermediate time of the first time and the second time and the third time to obtain the reference time offset.
3. The method of claim 1, wherein determining the modified start time of the first terminal according to the reference time offset and the initial time comprises:
if the reference time offset is greater than 0, the first terminal delays the absolute value of the reference time offset backward by taking the initial time as a starting point to obtain the corrected starting time of the first terminal; or
And if the reference time offset is smaller than 0, the first terminal advances the absolute value of the reference time offset forward by taking the initial time as the starting point to obtain the corrected starting time of the first terminal.
4. The method of claim 1, wherein determining the modified start time of the first terminal according to the reference time offset and an initial time further comprises:
if the offset of the reference time is greater than 0, the first terminal delays a first preset time length backwards by taking the initial time as a first starting point to obtain the corrected starting time of the first terminal, and sends a delay message to the second terminal so as to enable the second terminal to advance a second preset time length forwards by taking the initial time as a second starting point to obtain the corrected starting time of the second terminal, wherein the sum of the first preset time length and the second preset time length is the absolute value of the offset of the reference time; or
If the offset of the reference time is less than 0, the first terminal advances the first preset time length forward by taking the initial time as the first starting point to obtain the correction starting time of the first terminal, and sends an advance message to the second terminal, so that the second terminal delays the second preset time length backward by taking the initial time as the second starting point to obtain the correction starting time of the second terminal.
5. The method of claim 1, wherein determining the modified start time of the first terminal based on the reference time offset and the initial time comprises:
the method comprises the steps that a first starting signal sent by a first user through clicking a first starting key in a first starting interface is sent to a server by a first terminal, so that after the server receives the first starting signal sent by the first terminal and a second starting signal sent by a second terminal, the initial time is determined according to the time of receiving the first starting signal and the second starting signal, and the initial time is sent to the first terminal and the second terminal, wherein the second starting signal is a starting signal generated by a second user through clicking a second starting key in a second starting interface.
6. The method of claim 1, wherein before determining the modified start time of the first terminal according to the reference time offset and the initial time, further comprising:
the first terminal receives a first starting signal sent by a first user by clicking a first starting key in a first starting interface;
receiving a second start signal sent by the second terminal, wherein the second start signal is a start signal generated by a second user by clicking a second start key in a second start interface;
after receiving the first start signal and the second start signal, determining the initial time according to the time of receiving the first start signal and the second start signal, and sending the initial time to the second terminal.
7. The method of claim 6, wherein after the first terminal receives the first start signal sent by the first user by clicking the first start key in the first start interface, the method further comprises:
if the first terminal receives the first starting signal and does not receive the second starting signal, displaying a first waiting message to the first user through the first starting interface, and sending a first reminding message to the second terminal, wherein the first reminding message is used for informing the second terminal of the message that the first terminal is ready;
and if the first terminal receives the second starting signal and does not receive the first starting signal, displaying a second reminding message to the first user through the first starting interface.
8. A two-terminal delay alignment apparatus, comprising:
the first sending unit is used for sending a first data packet to the second terminal at a first moment;
a first receiving unit, configured to receive, at a second time, a second data packet sent by the second terminal and a third time for sending the second data packet, where the second data packet is a data packet that is returned by the second terminal to the first terminal when the second terminal receives the first data packet sent by the first terminal at the third time;
a correction start time determining unit, configured to obtain a reference time offset based on the first time, the second time, and the third time, and determine a correction start time of the first terminal according to the reference time offset and an initial time, where the initial time is determined by the first terminal and the second terminal together;
a playing unit for playing the data at the corrected start time.
9. A server, comprising a processor, a memory and a transceiver, the processor, the memory and the transceiver being interconnected, wherein the transceiver is configured to receive or transmit data, the memory is configured to store program code, and the processor is configured to invoke the program code to perform the double ended delay alignment method according to any of claims 1-7.
10. A storage medium, characterized in that the storage medium stores a computer program comprising program instructions; the program instructions, when executed by a processor, cause the processor to perform the double ended latency alignment method of any one of claims 1 to 7.
CN202010345606.4A 2020-04-27 2020-04-27 Double-end time delay alignment method and device, server and storage medium Pending CN111541531A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010345606.4A CN111541531A (en) 2020-04-27 2020-04-27 Double-end time delay alignment method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010345606.4A CN111541531A (en) 2020-04-27 2020-04-27 Double-end time delay alignment method and device, server and storage medium

Publications (1)

Publication Number Publication Date
CN111541531A true CN111541531A (en) 2020-08-14

Family

ID=71971514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010345606.4A Pending CN111541531A (en) 2020-04-27 2020-04-27 Double-end time delay alignment method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN111541531A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022042748A1 (en) * 2020-08-31 2022-03-03 华为技术有限公司 Method and device
CN115174981A (en) * 2022-08-03 2022-10-11 湖南广播电视台 Remote joint singing method, device, equipment and storage medium based on micro service

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104467928A (en) * 2013-09-18 2015-03-25 华为技术有限公司 Method and equipment for cooperation between terminal equipment
CN108696762A (en) * 2017-04-12 2018-10-23 中兴通讯股份有限公司 A kind of synchronous broadcast method, device and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104467928A (en) * 2013-09-18 2015-03-25 华为技术有限公司 Method and equipment for cooperation between terminal equipment
CN108696762A (en) * 2017-04-12 2018-10-23 中兴通讯股份有限公司 A kind of synchronous broadcast method, device and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022042748A1 (en) * 2020-08-31 2022-03-03 华为技术有限公司 Method and device
CN115174981A (en) * 2022-08-03 2022-10-11 湖南广播电视台 Remote joint singing method, device, equipment and storage medium based on micro service
CN115174981B (en) * 2022-08-03 2024-02-23 湖南广播电视台 Remote joint singing method, device, equipment and storage medium based on micro-service

Similar Documents

Publication Publication Date Title
CN111524494A (en) Remote real-time chorus method and device and storage medium
CN106658133B (en) Audio and video synchronous playing method and terminal
CN109714622B (en) Video data processing method and device and electronic equipment
CN110166788B (en) Information synchronous playing method, device and storage medium
EP1995935A2 (en) Streaming video data to mobile devices
CN111541531A (en) Double-end time delay alignment method and device, server and storage medium
CN103209360A (en) Multi-party video sharing method and device
EP1220126A3 (en) Method, apparatus, and system for synchronizing timing of an auction through a computer network
US11632617B2 (en) Method, apparatus and device for synchronously playing audio
CN112130616B (en) Clock synchronization method, device and storage medium
CN110830823B (en) Play progress correction method and device, electronic equipment and readable storage medium
CN105451034A (en) Advertisement playing control method and system
CN110784747A (en) Synchronous playing method of advertisement player
CN108923875B (en) Time synchronization method and device
CN106604064A (en) Rapid broadcasting method and device
CN110390925B (en) Method for synchronizing voice and accompaniment, terminal, Bluetooth device and storage medium
WO2019024258A1 (en) Method and apparatus for cyclical playback of video file
CN111526411A (en) Video processing method, device, equipment and medium
CN105933741A (en) Advertisement playing method and device, and advertisement putting method, device and system
CN110418183B (en) Audio and video synchronization method and device, electronic equipment and readable medium
CN108737874A (en) A kind of video broadcasting method and electronic equipment
CN107770569A (en) Multimedia synchronous broadcast method, apparatus and system
CN111028818A (en) Chorus method, apparatus, electronic device and storage medium
CN106331820B (en) Audio and video synchronization processing method and device
CN104243133A (en) Synchronization method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200814