WO2023165384A1 - 一种同步播放方法、装置、终端设备和存储介质 - Google Patents

一种同步播放方法、装置、终端设备和存储介质 Download PDF

Info

Publication number
WO2023165384A1
WO2023165384A1 PCT/CN2023/077529 CN2023077529W WO2023165384A1 WO 2023165384 A1 WO2023165384 A1 WO 2023165384A1 CN 2023077529 W CN2023077529 W CN 2023077529W WO 2023165384 A1 WO2023165384 A1 WO 2023165384A1
Authority
WO
WIPO (PCT)
Prior art keywords
control operation
broadcast control
operation number
current
client
Prior art date
Application number
PCT/CN2023/077529
Other languages
English (en)
French (fr)
Inventor
刘天昊
Original Assignee
北京字跳网络技术有限公司
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 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2023165384A1 publication Critical patent/WO2023165384A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/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/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
    • H04N21/43076Synchronising 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 of the same content streams on multiple devices, e.g. when family members are watching the same movie on different devices
    • 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
    • H04N21/43078Synchronising 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 for seamlessly watching content streams when changing device, e.g. when watching the same program sequentially on a TV and then on a tablet
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • Embodiments of the present disclosure relate to information sharing technologies, for example, to a synchronous playback method, device, terminal device and storage medium.
  • the sharing participants of audio and video information are divided into different identities.
  • the participant identities include host, guest, and audience.
  • the host has video control functions such as switching and pausing. Permission to interact with guests by voice; guests can watch the video shared by the host and interact with the host, but have no video control authority; viewers can only watch the video shared by the host, and cannot interact with the host and have no video Control permissions.
  • each sharing participant does not have the same control authority in essence, no shared broadcast control is realized, the participation of sharing participants is extremely low, and the user experience is poor.
  • the present disclosure provides a synchronous playback method, device, terminal equipment and storage medium, so as to ensure that the playback information of each user in a playback group is consistent through shared playback control.
  • an embodiment of the present disclosure provides a synchronous playback method, including:
  • the first play control operation number in the message is greater than the current play control operation number of the first client; wherein, the first play control operation
  • the operation number includes the play control count value and the group serial number of the second client in the play group;
  • an embodiment of the present disclosure provides a synchronous playback device, including:
  • the broadcast control operation number judging module is configured to, in response to obtaining the message sent by the second client in the play group, judge whether the first broadcast control operation number in the message is greater than the current broadcast control operation number of the first client; Wherein, the first broadcast control operation number includes a broadcast control count value and the group serial number of the second client in the play group;
  • the broadcast control operation number update module is configured to update the current broadcast control operation number to the first broadcast control operation number in response to the first broadcast control operation number being greater than the current broadcast control operation number, and according to the The playback information snapshot in the above message updates the current playback information;
  • the message discarding module is configured to discard the message in response to the first broadcast control operation number being smaller than the current broadcast control operation number.
  • an embodiment of the present disclosure provides a terminal device, including a memory, a processing device, and a computer program stored on the memory and operable on the processing device.
  • the processing device executes the program, the synchronous playback of any embodiment of the present disclosure is realized. method.
  • an embodiment of the present disclosure provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute the synchronous playback method of any embodiment of the present disclosure when executed by a computer processor.
  • FIG. 1A is a flowchart of an embodiment of a synchronous playback method of the present disclosure
  • FIG. 1B is a schematic flow diagram of a synchronous playback in the present disclosure
  • Fig. 2 is a flowchart of another embodiment of a synchronous playback method of the present disclosure
  • Fig. 3 is a flowchart of another embodiment of a synchronous playback method of the present disclosure.
  • FIG. 4 is a structural block diagram of a synchronous playback device in Embodiment 4 of the present disclosure.
  • Fig. 5 is a structural block diagram of a terminal device in Embodiment 5 of the present disclosure.
  • the term “comprise” and its variations are open-ended, ie “including but not limited to”.
  • the term “based on” is “based at least in part on”.
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one further embodiment”; the term “some embodiments” means “at least some embodiments.” Relevant definitions of other terms will be given in the description below.
  • Fig. 1A is a flowchart of a synchronous playback method provided by Embodiment 1 of the present disclosure.
  • This embodiment can be adapted to It is used for the current client to update the current playback information according to the playback control operations of other clients in the playback group.
  • This method can be performed by the synchronous playback device in the embodiment of the present disclosure.
  • the device can be implemented by software and/or hardware, and integrated in the In the client, the client can be installed in a terminal device such as a mobile phone or a computer, and the method includes the following steps:
  • the playback group is a sharing group of audio and/or video information created by users.
  • Each user in the playback group has the same playback control authority in the group, and each client displays the same playback information; among them, the playback Information includes audio and video information currently being played, playback progress, playback status (pause, stop or play), playlist cycle mode, and other business information (for example, whether it is liked, whether it is favorited), etc.
  • the first client is in response to obtaining the creation instruction of the play group sent by the user, creates a play group and records the group ID of the play group and the group serial number of the first client in the play group; wherein the group ID is that the server is the play group
  • the identification information assigned; the serial number in the group is the group identification assigned by the server to each client according to the order in which the client joins the play group; when the first client is the creator of the play group, obviously the group of the first client
  • the internal sequence number is 1, that is, the first client to join the play group; the first client sends an invitation request for the play group to at least one target client in response to obtaining the share instruction of the play group sent by the user, so as to guide the target The client joins the playgroup.
  • the first client In response to obtaining the invitation request of the play group sent by other clients, the first client presents the invitation request to the user, and when obtaining the joining instruction sent by the user, joins the play group and records the group ID and the first order of the play group.
  • the group serial number of a client in the play group when the first client is not the creator of the play group, obviously the group serial number of the first client is not 1, and the server follows the order in which the first client joins the play group, Assign the first client a serial number within the group, for example, the first client is the second client to join the playing group, and the server assigns the first client a group serial number of 2.
  • the play control count value in the current play control operation number of the first client is 4, and the first client When the user's play control operation action is obtained, the play control count value is added by 1, that is, the play control count value is updated to 5; the play control operation includes pausing play, starting play, switching to the next song, and switching the list loop mode , Adjust playback progress, and other business operations (such as likes, favorites), etc.
  • the broadcast control count value is [1, 0] which means that the current play control operation number is the play control action triggered by itself
  • the serial number in the group is its own serial number is 1, and because the broadcast group does not have any client to trigger the broadcast control operation action, therefore, the broadcast control count value is 0;
  • the first client acts as When the non-creator of the playback group joins the playback group Mth, the current playback control operation number at the initial moment is [M, 0], which means that the current playback control operation number is the playback control of the playback control action triggered by itself
  • the operation number so the serial number in the group is its own serial number, which is M.
  • the playback control count value is 0.
  • the message is implemented based on declarative programming, so as to avoid the loss of playing information through the declarative synchronous message protocol, thereby causing the problem of permanent inconsistency of playing information.
  • the judging whether the first broadcast control operation number in the message is greater than the current broadcast control operation number of the first client includes: if the first broadcast control operation number The broadcast control count value of the broadcast control operation number is equal to the broadcast control count value of the current broadcast control operation number, then it is judged whether the sequence number in the group of the first broadcast control operation number is greater than the sequence number in the group of the current broadcast control operation number; if the The sequence number in the group of the first broadcast control operation number is greater than the sequence number in the group of the current broadcast control operation number, then it is determined that the first broadcast control operation number is smaller Based on the current broadcast control operation number; if the group sequence number of the first broadcast control operation number is less than the group sequence number of the current broadcast control operation number, it is determined that the first broadcast control operation number is greater than the current broadcast control operation number control operation number.
  • the two play control operation numbers are compared by comparing the serial numbers in the group.
  • the playback control operation of the client that joined the playback group earlier The number is larger to ensure that when the play control count is equal, the creator of the play group (the sequence number in the group is 1) and the earlier joiner (the sequence number in the group is smaller) can control the play information, and at the same time ensure that each client in the play group Consistency of playback information at the end.
  • the first broadcast control operation number further includes a broadcast control trigger time; the judging whether the first broadcast control operation number in the message is greater than the current broadcast of the first client control operation number, further comprising: if the broadcast control count value of the first broadcast control operation number is equal to the broadcast control count value of the current broadcast control operation number, then judging the broadcast control trigger time of the first broadcast control operation number Whether the broadcast control trigger time of the current broadcast control operation number is closer to the current moment; if the broadcast control trigger time of the first broadcast control operation number is closer to the current moment than the broadcast control trigger time of the current broadcast control operation number , it is determined that the first broadcast control operation number is greater than the current broadcast control operation number; if the broadcast control trigger time of the first broadcast control operation number is farther from the current moment than the broadcast control trigger time of the current broadcast control operation number If it is far, it is determined that the first broadcast control operation number is smaller than the current broadcast control operation number.
  • the two broadcast control operation numbers can also be compared by comparing the broadcast control trigger time.
  • the play control operation number whose play control trigger time is closer to the current time is larger, so as to ensure that when the play control count values are equal, the playback information is completed according to the user's current real play control wishes. control, and at the same time ensure the consistency of playback information of each client in the playback group.
  • the first client does not adopt the playback information snapshots of the broadcast information, so as to avoid the first client’s jumping back to the playback information, resulting in incoherent playback; the flow diagram of synchronous playback shown in Figure 1B
  • the play control operation number is represented by "LT”
  • the current play information is represented by "V”
  • the value of "V” is used to refer to the current play information.
  • the value itself has no practical significance and can be any Values, which are only used to indicate whether the current playback information in each client is the same, if the values are the same, it means that the current playback information is the same, if the values are different, it means that the current playback information is different.
  • the current playback control operation numbers of client A, client B, and client C are respectively [ 1, 0], [2, 0], [3, 0], indicating that the current play control operation number is the play control operation number of the play control operation action triggered by the client itself, and because the play group does not have any client trigger
  • the above-mentioned clients have not obtained any playback control actions, so the playback control counts are all 0; at this time, the current playback information of client A, client B, and client C are the same, all of which are Pre-set initial playback information (for example, displaying a blank directory without songs), represented by V: 0; then a playback control operation is performed in client B, and client B sets the current playback control count value (that is, 0 ) to add 1, the current play control operation number is changed to [2, 1], and the play information is 4; client B send
  • client A Before client A obtains the message sent by client B, client A also performs a playback control operation. Client A adds 1 to the current playback control count value (ie 0). At this time, client A The current broadcast control operation number is changed to [1, 1], and the playback information is 5; after receiving the message sent by client B, client A compares the current broadcast control operation number [1, 1] with the received broadcast control The operation number [2, 1] is compared, and based on the above comparison rules, it is determined that [1, 1] is greater than [2, 1], that is, the current broadcast control operation number is greater than the received broadcast control operation number, so the message is discarded (corresponding to In Figure 1B with Indicated node), that is, the current play control operation number [1, 1] is retained, and the play information continues to play according to the original play information, and is not updated according to the play information V: 4 of client B; client C obtains client B After sending the message, compare the current operation version number [3, 0] with the received operation version number [2, 1], and determine
  • client A After client A changes the current play control operation number to [1, 1] and the play information to 5, it sends LT: [1, 1], V: 5 to client B and client C; client B sends The current broadcast control operation number [2, 1] is compared with the received broadcast control operation number [1, 1], and it is determined that [2, 1] is smaller than [1, 1], that is, the current broadcast control operation number is smaller than the received broadcast control operation number.
  • the current broadcast control operation number is updated to LT: [1, 1], and the playback information is updated to V: 5; client C compares the current broadcast control operation number [2, 1] with the received broadcast control operation number Operation number [1, 1] is compared, and it is determined that [2, 1] is smaller than [1, 1], that is, the current broadcast control operation number is smaller than the received broadcast control operation number, therefore, the current broadcast control operation number is also updated to LT : [1, 1], the playback information is updated to V: 5, which ensures the consistency of the playback information of each client in the playback group.
  • the client B executes the playback control operation again, and the client B adds 1 to the current playback control count value (i.e. 1), the current playback control operation number is changed to [2, 2], and the playback information is 10;
  • the client Terminal B sends LT: [2, 2], V: 10 to client A and client C;
  • client A compares the current broadcast control operation number [1, 1] with the received broadcast control operation number [2, 2] Compare and determine that [1, 1] is less than [2, 2], that is, the current broadcast control operation number is less than the received broadcast control operation number, therefore, the current broadcast control operation number is updated to LT: [2, 2] , the playback information is updated to V: 10;
  • client C compares the current playback control operation number [1, 1] with the received playback control operation number [2, 2], and determines that [1, 1] is less than [2, 2] ], that is, the current play control operation number is less than the received Therefore, the current broadcast control operation number is updated to LT: [2, 2], and the play
  • the client A executes another broadcast control operation, and the client A adds 1 to the current broadcast control count value (i.e. 2).
  • the current broadcast control operation number of the client A is changed to [1, 3].
  • the play information is 20, client A sends LT: [1, 3], V: 20 to client B and client C; client B compares the current play control operation number [2, 2] with the received play
  • the control operation number [1, 3] is compared, and it is determined that [2, 2] is smaller than [1, 3], that is, the current play control operation number is smaller than the received play control operation number, therefore, the current play control operation number is updated to LT : [1, 3], the playback information is updated to V: 20; client C has not obtained the broadcast information sent by client A because it is in the disconnected state (or weak network state), so the current broadcast information in client C
  • the control operation number is still [2, 2], and the play information is still played according to the original play information.
  • the client A performs another playback control operation, and the client A adds 1 to the current playback control count value (ie 3).
  • the current playback control operation number of the client A is changed to [1, 4].
  • the play information is 30, client A sends LT: [1, 4], V: 30 to client B and client C; client B compares the current play control operation number [1, 3] with the received play
  • the control operation number [1, 4] is compared, and it is determined that [1, 3] is smaller than [1, 4], that is, the current broadcast control operation number is smaller than the received broadcast control operation number, therefore, the current broadcast control operation number is updated to LT : [1, 4], the playback information is updated to V: 30; client C is still in the disconnected state (or weak network state), and has not obtained the broadcast information sent by client A this time. Therefore, client C
  • the current play control operation number is still [2, 2], and the play information continues to play according to the original play information.
  • client C After the network status of client C returns to normal, client C performs a playback control operation, and client C adds 1 to the current playback control count value (that is, 2). At this time, the current playback control operation of client C The number is changed to [3, 3], the playback information is 11, client C sends LT: [3, 3], V: 11 to client A and client B; client A and client B receive
  • the current broadcast control operation number [1, 4] is compared with the received broadcast control operation number [3, 3], and it is determined that [1, 4] is greater than [3, 3], that is The current broadcast control operation number is greater than the received broadcast control operation number, so the message is discarded, that is, the current broadcast control operation number LT: [1, 4] is retained, and the playback information continues to be played according to the original playback information, not according to the client C
  • the playback information of V: 11 is updated to ensure that client C returns to In a normal network state, when a snapshot of playback information is issued, client A and client B do not adopt
  • client B executes another playback control operation
  • client B adds 1 to the current playback control count value (ie 4), the current playback control operation number is changed to [2, 5], and the playback information is 35
  • Terminal B sends LT: [2, 5], V: 35 to client A and client C
  • client A compares the current broadcast control operation number [1, 4] with the received broadcast control operation number [2, 5] Compare and determine that [1, 4] is less than [2, 5], that is, the current broadcast control operation number is less than the received broadcast control operation number, therefore, the current broadcast control operation number is updated to LT: [2, 5] , the playback information is updated to V: 35
  • client C compares the current playback control operation number [3, 3] with the received playback control operation number [2, 5], and determines that [3, 3] is less than [2, 5] ], that is, the current broadcast control operation number is smaller than the received broadcast control operation number, so the current broadcast control operation number is updated to LT: [2, 5], and the playback information is updated to V
  • the technical solution of the embodiment of the present disclosure obtains the message sent by other clients in the play group, and when it is judged that the first play control operation number in the message is greater than the current play control operation number of the current client, the current play control operation number is updated It is the first broadcast control operation number, and the current playback information is updated according to the playback information snapshot in the message, so that each user in the playback group has the same control authority, which improves the sharing participation of users and ensures that the playback information in the playback group is consistent , and when it is judged that the first broadcast control operation number is less than the current broadcast control operation number, the message is discarded, which avoids the broadcast control operation of the network abnormal client, causes the broadcast information of the normal network client to bounce back, and ensures the continuity of the broadcast information.
  • Figure 2 is a synchronous playback method provided by Embodiment 2 of the present disclosure. This example is refined on the basis of the above-mentioned embodiments.
  • the method includes:
  • S220 Determine whether the first broadcast control operation number in the message is greater than the current broadcast control operation number of the first client; the first broadcast control operation number in the message is greater than the current broadcast control operation number of the first client In the case of the operation number, perform S230; in the case that the first broadcast control operation number in the message is smaller than the current broadcast control operation number of the first client, perform S270.
  • the preset display information can include dynamic special effect information, such as double likes and double favorites; if two likes have been obtained in the current playback information, the client will display the matching double likes; if the current playback information Two favorites have been obtained in the client, and the client will display the matching double favorites dynamic effect; the preset display information can also include static prompt information, for example, reminding the user that the next song is about to be played; if the remaining playing time of the currently playing song is less than After 10 seconds, the client will display the above prompt information to remind the user that the next song is about to be played.
  • dynamic special effect information such as double likes and double favorites
  • the first client updates the current playback information according to the playback information snapshot sent by the second client, if it is judged that two likes have been displayed in the current playback information, then it is determined that the current playback information complies with the display rules for double-like dynamic effects; if it is judged that two collections have been displayed in the current playback information, then it is determined that the current playback information complies with the display rules for double favorites; if it is judged that the remaining playback time in the current playback information is less than 10 seconds, then it is determined that the current playback information complies with the upcoming next song Song display rules.
  • the message sent by the client not only includes the broadcast control count value and the serial number in the group, but also includes the broadcast control operation type of this broadcast control operation; the first client root According to the message sent by the second client, the broadcast control operation type is obtained, and the matching preset display information is obtained according to the broadcast control operation type; Let the display information be the double-like animation effect; if the obtained broadcast control operation type is favorite, the default display information is the double-favorite animation effect; if the obtained broadcast control operation type is to adjust the playback progress, the preset display information is The next song is about to be played; then according to the obtained preset display information, it is enough to judge whether the current playback information conforms to the display rules of the preset display information, avoiding the display of the current playback information and various preset display information The rules are matched one by one, which greatly improves the matching efficiency between the current playback information and the display rules.
  • the preset display information after determining that the current playback information conforms to the display rules of the preset display information, it further includes: judging whether the software version of the first client meets the software version requirements of the preset display information ; If the software version of the first client does not meet the software version requirements of the preset display information, the preset display information is not displayed, and a software version update prompt is issued to guide the user to complete the first client. Updating the software version: displaying the preset display information includes: displaying the preset display information if the software version of the first client meets the software version requirements of the preset display information. Different preset display information has different requirements for the software version.
  • the double-like animation requires a software version of 4.0 or above
  • the double-favorite animation requires a software version of 5.0 or above. If the software version of the client used by the user is too low, the The above-mentioned special effect information is displayed. Therefore, by issuing a software version update prompt, the user is guided to complete the software version update of the client. While ensuring that the preset display information can be displayed normally and improving the user experience, software update guidance on the user side is realized.
  • the current playback information after updating the current playback information according to the snapshot of the playback information in the message, it is judged whether the current playback information conforms to the display rules of the preset display information, and after determining that the current playback information conforms to the display rules of the preset display information , display preset display information, which improves user experience
  • the current playback information is matched with the specific preset display information display rules, which greatly improves the matching efficiency of the current playback information and display rules.
  • Figure 3 is a synchronous playback method provided by Embodiment 3 of the present disclosure. This example is refined on the basis of the above-mentioned embodiments.
  • the first client sends messages to other clients in the playback group , the method includes:
  • the first client after the first client updates the current playback information according to the playback control operation, it can determine whether to display the preset display information by judging whether the current playback information conforms to the display rules of the preset display information; it can also obtain the display information of the playback control operation Play control operation type, and obtain the preset display information that matches the play control operation type, and then judge whether the current playback information conforms to the display rules of the preset display information; it can also determine whether the software version of the first client meets the preset display information The software version requirements of the information; if not met, the user is guided to complete the software version update of the first client by issuing a software version update prompt.
  • the other clients After obtaining the message sent by the first client, the other clients compare the broadcast control operation number in the obtained message with their own current broadcast control operation number through the technical solution disclosed in the above embodiment, and then judge Whether to update its current play control operation number and play information.
  • the technical solution of the embodiment of the present disclosure after acquiring the broadcast control operation, obtain the second broadcast control operation number of the broadcast control operation, update the current broadcast control operation number to the second broadcast control operation number, and update the current broadcast control operation number according to the broadcast control operation. Play information, and then send the second broadcast control operation number and playback information snapshot to other clients in the play group through messages, ensuring the consistency of play information in the play group and improving the sharing participation of users.
  • FIG. 4 is a structural block diagram of a synchronous playback device provided in Embodiment 4 of the present disclosure, including: a playback control operation number judgment module 410, a playback control operation number update module 420, and a message abandonment module 430;
  • the broadcast control operation number judging module 410 is configured to, in response to obtaining the message sent by the second client in the play group, judge whether the first broadcast control operation number in the message is greater than the current broadcast control operation number of the first client ; Wherein, the first broadcast control operation number includes a broadcast control count value and the group serial number of the second client in the play group;
  • the broadcast control operation number updating module 420 is configured to update the current broadcast control operation number to the first broadcast control operation number if the first broadcast control operation number is greater than the current broadcast control operation number, and according to The playback information snapshot in the message updates the current playback information;
  • the message discarding module 430 is configured to discard the message if the first broadcast control operation number is smaller than the current broadcast control operation number.
  • the technical solution of the embodiment of the present disclosure obtains the message sent by other clients in the play group, and when it is judged that the first play control operation number in the message is greater than the current play control operation number of the current client, the current play control operation number is updated It is the first broadcast control operation number, and the current playback information is updated according to the playback information snapshot in the message, so that each user in the playback group has the same control authority, which improves the sharing participation of users and ensures that the playback information in the playback group is consistent , and when it is judged that the first broadcast control operation number is less than the current broadcast control operation number, the message is discarded, which avoids the broadcast control operation of the network abnormal client, causes the broadcast information of the normal network client to bounce back, and ensures the continuity of the broadcast information.
  • the synchronous playback device also includes;
  • the broadcast control operation number acquisition module is configured to acquire the second broadcast control operation number of the broadcast control operation in response to the broadcast control operation obtained by the first client; wherein, the second broadcast control operation number includes the broadcast control operation number. a count value and the group sequence number of the first client;
  • the play information update module is configured to update the current play control operation number of the first client to the second play control operation number, and update the current play information according to the play control operation;
  • the message sending module is configured to send the second play control operation number and the play information snapshot to other clients in the play group through a message, so as to guide the other clients to update their respective current play according to the message. Control operation number and current playback information.
  • the broadcast control operation number judging module 410 includes:
  • the serial number judging unit in the group is configured to judge the group in-group of the first broadcast control operation number if the broadcast control count value of the first broadcast control operation number is equal to the broadcast control count value of the current broadcast control operation number. Whether the sequence number is greater than the sequence number in the group of the current broadcast control operation number; if the sequence number in the group of the first broadcast control operation number is greater than the sequence number in the group of the current broadcast control operation number, then determine the first broadcast The control operation number is less than the current broadcast control operation number; if the group sequence number of the first broadcast control operation number is less than the group sequence number of the current broadcast control operation number, then it is determined that the first broadcast control operation number is greater than The current play control operation number.
  • the first play control operation number further includes a play control trigger time.
  • the broadcast control operation number judging module 410 includes:
  • the broadcast control trigger time judging unit is configured to judge the broadcast control of the first broadcast control operation number if the broadcast control count value of the first broadcast control operation number is equal to the broadcast control count value of the current broadcast control operation number. Whether the trigger time is closer to the current moment than the broadcast control trigger time of the current broadcast control operation number; if the broadcast control trigger time of the first broadcast control operation number is closer to the current When the time is close, it is determined that the first broadcast control operation number is greater than the current broadcast control operation number; if the broadcast control trigger time of the first broadcast control operation number is farther than the broadcast control trigger time of the current broadcast control operation number If the current time is far away, it is determined that the first broadcast control operation number is smaller than the current broadcast control operation number.
  • the synchronous playback device also includes:
  • the display rule judging module is set to judge whether the current playing information conforms to the preset display information. display rules; if it is determined that the current playback information conforms to the display rules for preset display information, then display the preset display information; if it is determined that the current playback information does not comply with the display rules for preset display information, then do not display the preset display information .
  • the message also includes the playback control operation type.
  • the display rule judging module is set to obtain the broadcast control operation type in the message, and obtain preset display information matching the broadcast control operation type; judge the current broadcast information Whether it conforms to the display rules of the preset display information.
  • the synchronous playback device also includes:
  • the software version requirement judging module is configured to judge whether the software version of the first client meets the software version requirements of the preset display information; if the software version of the first client does not meet the requirements of the preset display information If the software version is required, the preset display information will not be displayed, and a software version update prompt will be issued to guide the user to complete the software version update of the first client; if the software version of the first client meets the preset If the software version of the displayed information is not required, the preset displayed information is displayed.
  • the above-mentioned device can execute the synchronous playback method provided by any embodiment of the present disclosure, and has corresponding functional modules for executing the method.
  • the above-mentioned device can execute the synchronous playback method provided by any embodiment of the present disclosure, and has corresponding functional modules for executing the method.
  • Fig. 5 shows a schematic structural diagram of a terminal device 500 suitable for implementing an embodiment of the present disclosure.
  • the terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, personal digital assistant (Personal Digital Assistant, PDA), PAD (tablet computer), portable multimedia player (Portable Media Player , PMP), mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital televisions (Television, TV), desktop computers, and the like.
  • PDA Personal Digital Assistant
  • PAD tablet computer
  • PMP portable multimedia player
  • mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals)
  • fixed terminals such as digital televisions (Television, TV), desktop computers, and the like.
  • the terminal device shown in FIG. 5 is only an example, and should not limit the functions and scope of use of this embodiment of the present disclosure.
  • a terminal device 500 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) Various appropriate actions and processes are performed by a program loaded into random access memory (Random Access Memory, RAM) 503 by 508 . In the RAM 503, various programs and data necessary for the operation of the terminal device 500 are also stored.
  • the processing device 501, ROM 502, and RAM 503 are connected to each other through a bus 504.
  • An input/output (Input/Output, I/O) interface 505 is also connected to the bus 504 .
  • an input device 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; including, for example, a liquid crystal display (Liquid Crystal Display, LCD) , an output device 507 such as a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509.
  • the communication means 509 may allow the terminal device 500 to perform wireless or wired communication with other devices to exchange data. While FIG. 5 shows a terminal device 500 having various means, it is to be understood that implementing or possessing all of the illustrated means is not a requirement. More or fewer means may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, where the computer program includes program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from a network via communication means 509, or from storage means 508, or from ROM 502.
  • the processing device 501 When the computer program is executed by the processing device 501, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof.
  • Computer readable storage media may include, but are not limited to, electrical connections having at least one lead, portable computer disks, hard disks, random access Interrogation memory (RAM), read-only memory (ROM), erasable programmable read-only memory ((Erasable Programmable Read-Only Memory, EPROM) or flash memory), optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • the program code contained on the computer readable medium can be transmitted by any appropriate medium, including but not limited to: electric wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • the client and the server can communicate using any currently known or future network protocols such as HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and can communicate with digital data in any form or medium
  • HTTP HyperText Transfer Protocol
  • the communication eg, communication network
  • Examples of communication networks include local area networks (Local Area Network, LAN), wide area networks (Wide Area Network, WAN), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently existing networks that are known or developed in the future.
  • the above-mentioned computer-readable medium may be contained in the above-mentioned terminal device, or may exist independently without being assembled into the terminal device.
  • the above-mentioned computer-readable medium carries at least one program, and when the above-mentioned at least one program is executed by the terminal device, the terminal device: in response to obtaining a message sent by the second client in the playback group, judges that the first Whether a broadcast control operation number is greater than the current broadcast control operation number of the first client; wherein, the first broadcast control operation number includes a broadcast control count value and the second client is in the group in the play group sequence number; if the first broadcast control operation number is greater than the current broadcast control operation number, the current The broadcast control operation number is updated to the first broadcast control operation number, and the current playback information is updated according to the playback information snapshot in the message; if the first broadcast control operation number is smaller than the current broadcast control operation number, then give up said message.
  • Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer and partly on a remote computer, or entirely on a remote computer or terminal device.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each block in the flowchart or block diagram may represent a module, program segment, or part of code that contains at least one programmable logic function for implementing the specified logical function.
  • Execute instructions may also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the modules involved in the embodiments described in the present disclosure may be implemented by software or by hardware.
  • the name of the module does not constitute a limitation on the module itself in some cases, for example, the message abandonment module can be described as "used if the first play control operation number is smaller than the current play control operation number , discard the module for said message".
  • the functions described above in this article can be to be performed at least in part by at least one hardware logic component.
  • exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Parts, ASSP), System on Chip (System on Chip, SOC), Complex Programmable Logic Device (Complex Programmable Logic Device, CPLD), etc.
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include at least one wire-based electrical connection, a portable computer disk, a hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM), or flash memory), optical fiber, compact disc read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM erasable programmable read only memory
  • flash memory flash memory
  • optical fiber compact disc read only memory
  • CD-ROM compact disc read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • Example 1 provides a synchronous playback method, including:
  • the first play control operation number in the message is greater than the current play control operation number of the first client; wherein, the first play control operation The number includes the playback control count value and the group sequence number of the second client in the playback group;
  • first broadcast control operation number is greater than the current broadcast control operation number, update the current broadcast control operation number to the first broadcast control operation number, and update the current broadcast control operation number according to the playback information snapshot in the message play information;
  • Example 2 provides the method of Example 1, further comprising:
  • the second broadcast control operation number includes a broadcast control count value and the first client's s serial number
  • Example 3 provides the method of Example 1, further comprising:
  • the broadcast control count value of the first broadcast control operation number is equal to the broadcast control count value of the current broadcast control operation number, then judge whether the group sequence number of the first broadcast control operation number is greater than the current broadcast control operation number The group sequence number of the control operation number;
  • the intra-group serial number of the first broadcast control operation number is greater than the intra-group serial number of the current broadcast control operation number, then determine that the first broadcast control operation number is smaller than the current broadcast control operation number;
  • the group sequence number of the first broadcast control operation number is smaller than the group sequence number of the current broadcast control operation number, it is determined that the first broadcast control operation number is greater than the current broadcast control operation number.
  • Example 4 provides the method of Example 1, the first play control operation number also includes the play control trigger time; the method further includes:
  • the broadcast control count value of the first broadcast control operation number is equal to the broadcast control count value of the current broadcast control operation number, it is judged whether the broadcast control trigger time of the first broadcast control operation number is shorter than the current broadcast control operation number The broadcast control trigger time of the broadcast control operation number is close to the current moment;
  • the broadcast control trigger time of the first broadcast control operation number is closer to the current moment than the broadcast control trigger time of the current broadcast control operation number, it is determined that the first broadcast control operation number is greater than the current broadcast control operation Number;
  • the broadcast control trigger time of the first broadcast control operation number is farther than the current broadcast control trigger time of the current broadcast control operation number, it is determined that the first broadcast control operation number is less than the current broadcast control operation number Number.
  • Example 5 provides the method of Example 1, further comprising:
  • the preset display information is not displayed.
  • Example 6 provides the method of Example 5, the message also includes the playback control operation type, and the method further includes:
  • Example 7 provides the method described in Example 5 or 6, further comprising:
  • the preset display information will not be displayed, and a software version update prompt will be sent to guide the user to complete the first client.
  • Example 8 provides a synchronous playback device, including:
  • the broadcast control operation number judging module is configured to, in response to obtaining the message sent by the second client in the play group, judge whether the first broadcast control operation number in the message is greater than the current broadcast control operation number of the first client; Wherein, the first broadcast control operation number includes a broadcast control count value and the group serial number of the second client in the play group;
  • the broadcast control operation number update module is set to update the current broadcast control operation number to the first broadcast control operation number if the first broadcast control operation number is greater than the current broadcast control operation number, and according to the The playback information snapshot in the above message updates the current playback information;
  • the message abandonment module is set to if the first broadcast control operation number is smaller than the current broadcast control operation number, The message is discarded.
  • Example 9 provides the device of Example 8, further comprising;
  • the broadcast control operation number acquisition module is configured to acquire the second broadcast control operation number of the broadcast control operation in response to the broadcast control operation obtained by the first client; wherein, the second broadcast control operation number includes the broadcast control operation number. a count value and the group sequence number of the first client;
  • the play information update module is configured to update the current play control operation number of the first client to the second play control operation number, and update the current play information according to the play control operation;
  • the message sending module is configured to send the second play control operation number and the play information snapshot to other clients in the play group through a message, so as to guide the other clients to update their respective current play according to the message. Control operation number and current playback information.
  • Example 10 provides the device of Example 8, the broadcast control operation number judgment module, including:
  • the serial number judging unit in the group is configured to judge the group in-group of the first broadcast control operation number if the broadcast control count value of the first broadcast control operation number is equal to the broadcast control count value of the current broadcast control operation number. Whether the sequence number is greater than the sequence number in the group of the current broadcast control operation number; if the sequence number in the group of the first broadcast control operation number is greater than the sequence number in the group of the current broadcast control operation number, then determine the first broadcast The control operation number is less than the current broadcast control operation number; if the group sequence number of the first broadcast control operation number is less than the group sequence number of the current broadcast control operation number, then it is determined that the first broadcast control operation number is greater than The current play control operation number.
  • Example 11 provides the device of Example 8, the first broadcast control operation number also includes the broadcast control trigger time, and the broadcast control operation number judging module includes:
  • the broadcast control trigger time judging unit is set to judge the broadcast control count value of the first broadcast control operation number if the broadcast control count value of the first broadcast control operation number is equal to the broadcast control count value of the current broadcast control operation number. Whether the trigger time of broadcast control is closer to the current moment than the trigger time of broadcast control operation number of the current broadcast control operation number; if the trigger time of broadcast control of the first broadcast control operation number is shorter than the trigger time of broadcast control When the time is close to the current moment, it is determined that the first broadcast control operation number is greater than the current broadcast control operation number; if the broadcast control trigger time of the first broadcast control operation number is greater than the broadcast control trigger time of the current broadcast control operation number Control trigger time distance from current If the time is far away, it is determined that the first broadcast control operation number is smaller than the current broadcast control operation number.
  • Example 12 provides the device described in Example 8, further comprising:
  • the display rule judging module is configured to judge whether the current playback information conforms to the display rules of the preset display information; if it is determined that the current playback information meets the display rules of the preset display information, then display the preset display information; If the display rules of the preset display information are met, the preset display information will not be displayed.
  • Example 13 provides the device described in Example 12, and the message further includes the broadcast control operation type;
  • the display rule judging module is configured to obtain the broadcast control operation type in the message, and obtain preset display information matching the broadcast control operation type; judge whether the current broadcast information conforms to the display rules of the preset display information.
  • Example 14 provides the device described in Example 12 or 13, further comprising:
  • the software version requirement judging module is configured to judge whether the software version of the first client meets the software version requirements of the preset display information; if the software version of the first client does not meet the requirements of the preset display information If the software version is required, the preset display information will not be displayed, and a software version update prompt will be issued to guide the user to complete the software version update of the first client; if the software version of the first client meets the preset If the software version of the displayed information is not required, the preset displayed information is displayed.
  • Example 15 provides a terminal device, including a memory, a processing device, and a computer program stored on the memory and operable on the processing device.
  • the processing device executes the program, the implementation is as in Example 1.
  • Example 16 provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute any one of Examples 1-7 when executed by a computer processor. synchronous playback method.

Landscapes

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

Abstract

本公开实施例公开了一种同步播放方法、装置、终端设备和存储介质,该方法包括:响应于获取到播放组中第二客户端发出的消息,判断消息中的第一播控操作号是否大于第一客户端的当前播控操作号;响应于第一播控操作号大于当前播控操作号,将当前播控操作号更新为第一播控操作号,并根据消息中的播放信息快照更新当前播放信息;响应于第一播控操作号小于当前播控操作号,放弃消息。

Description

一种同步播放方法、装置、终端设备和存储介质
本公开要求在2022年3月3日提交中国专利局、申请号为202210204584.9的中国专利申请的优先权,该申请的全部内容通过引用结合在本公开中。
技术领域
本公开实施例涉及信息共享技术,例如涉及一种同步播放方法、装置、终端设备和存储介质。
背景技术
随着网络技术的不断发展,泛娱乐场景下的体验共享成为了互联网领域关注的焦点,各个共享参与者通过对音视频信息的播放控制,同步欣赏音视频信息,体验共享播控。
相关技术中,音视频信息的共享参与者分为不同的身份,以带有视频分享的线上会议为例,参与者身份包括主持人、嘉宾和观众,主持人是具有切换、暂停等视频操控权限,可以语音与嘉宾进行互动;嘉宾可以观看主持人分享的视频,并与主持人进行互动,但无视频操控权限;观众仅可以观看主持人分享的视频,无法与主持人互动,也无视频操控权限。
但这样的共享方式,各个共享参与者实质上并不具备相同的控制权限,没有实现共享播控,共享参与者的参与度极低,用户体验较差。
发明内容
本公开提供了一种同步播放方法、装置、终端设备和存储介质,以通过共享播控,确保播放组中各用户的播放信息一致。
第一方面,本公开实施例提供了一种同步播放方法,包括:
响应于获取到播放组中第二客户端发出的消息,判断所述消息中的第一播控操作号是否大于所述第一客户端的当前播控操作号;其中,所述第一播控操 作号包括播控计数值和所述第二客户端在所述播放组中的组内序号;
响应于所述第一播控操作号大于所述当前播控操作号,将所述当前播控操作号更新为所述第一播控操作号,并根据所述消息中的播放信息快照更新当前播放信息;
响应于所述第一播控操作号小于所述当前播控操作号,放弃所述消息。
第二方面,本公开实施例提供了一种同步播放装置,包括:
播控操作号判断模块,设置为响应于获取到播放组中第二客户端发出的消息,判断所述消息中的第一播控操作号是否大于所述第一客户端的当前播控操作号;其中,所述第一播控操作号包括播控计数值和所述第二客户端在所述播放组中的组内序号;
播控操作号更新模块,设置为响应于所述第一播控操作号大于所述当前播控操作号,将所述当前播控操作号更新为所述第一播控操作号,并根据所述消息中的播放信息快照更新当前播放信息;
消息放弃模块,设置为响应于所述第一播控操作号小于所述当前播控操作号,放弃所述消息。
第三方面,本公开实施例提供了一种终端设备,包括存储器、处理装置及存储在存储器上并可在处理装置上运行的计算机程序,处理装置执行程序时实现本公开任意实施例的同步播放方法。
第四方面,本公开实施例提供了一种包含计算机可执行指令的存储介质,计算机可执行指令在由计算机处理器执行时用于执行本公开任意实施例的同步播放方法。
附图说明
贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1A是本公开一种同步播放方法的一个实施例的流程图;
图1B是本公开一种同步播放的流程示意图;
图2是本公开一种同步播放方法的另一个实施例的流程图;
图3是本公开一种同步播放方法的又一个实施例的流程图;
图4是本公开实施例四中的一种同步播放装置的结构框图;
图5是本公开实施例五中的一种终端设备的结构框图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“至少一个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
实施例一
图1A是本公开实施例一提供的一种同步播放方法的流程图,本实施例可适 用于当前客户端根据播放组中其它客户端的播控操作,更新当前播放信息,该方法可以由本公开实施例中的同步播放装置来执行,该装置可以通过软件和/或硬件实现,并集成在客户端中,该客户端可安装于手机或电脑等终端设备中,该方法包括如下步骤:
S110、响应于获取到播放组中第二客户端发出的消息,判断所述消息中的第一播控操作号是否大于所述第一客户端的当前播控操作号;其中,所述第一播控操作号包括播控计数值和所述第二客户端在所述播放组中的组内序号。
播放组是由用户创建的音频和/或视频信息的分享群组,播放组中的各个用户在该群组中拥有相同的播放控制权限,且各个客户端中展示相同的播放信息;其中,播放信息包括当前正在播放的音视频信息、播放进度、播放状态(暂停、停止或播放)、歌单循环模式以及其它业务信息(例如,是否被点赞、是否被收藏)等。
第一客户端响应于获取到用户发出的播放组的创建指令,创建播放组并记录播放组的组标识以及第一客户端在播放组中的组内序号;其中,组标识是服务器为播放组分配的标识信息;组内序号是由服务器根据客户端加入播放组的先后顺序,为各个客户端分配的组内标识;当第一客户端作为播放组的创建者时,显然第一客户端的组内序号为1,即第一个加入播放组的客户端;第一客户端响应于获取到用户发出的播放组的分享指令,向至少一个目标客户端发出该播放组的邀请请求,以引导目标客户端加入播放组中。
第一客户端响应于获取到其它客户端发出的播放组的邀请请求,向用户展示该邀请请求,并在获取到用户发出的加入指令时,加入该播放组并记录播放组的组标识和第一客户端在播放组内的组内序号;当第一客户端作为播放组的非创建者时,显然第一客户端的组内序号不为1,服务器根据第一客户端加入播放组的顺序,为第一客户端分配组内序号,例如,第一客户端是第二个加入该播放组的客户端,服务器为第一客户端分配的组内序号则为2。
用户通过客户端在播放组中进行播放控制时,客户端会为每个播控操作动 作分配一个播控操作号;其中,播控操作号包括组内序号和播控计数值,其可以通过K=[M,N]表示;其中,K为播控操作号、M为组内序号、N为播控计数值,组内序号即当前客户端在播放组中的组内序号,播控计数值是当前客户端记录的播放组中所有客户端已触发的播控操作的次数,客户端获取到用户的播控操作动作时,会在当前的播控计数值的基础上进行加1处理,例如,第一客户端的当前播控操作号中播控计数值为4,第一客户端在获取到用户的播控操作动作时,将播控计数值进行加1处理,即将播控计数值更新为5;播控操作包括暂停播放、开始播放、切至下一首、切换列表循环模式、调整播放进度,以及其它业务操作(例如,点赞、收藏)等。
两个播控操作号进行大小比较时,通过比较播控计数值的方式进行比较,播控计数值越大,播控操作号越大,播控计数值越小,播控操作号越小。特别的,当第一客户端作为播放组的创建者加入播放组时,初始时刻的当前播控操作号即为[1,0],其表示当前播控操作号为自身触发的播控操作动作的播控操作号,因此组内序号为自身的组内序号即为1,同时由于播放组并没有任何客户端触发播控操作动作,因此,播控计数值为0;当第一客户端作为播放组的非创建者,且第M个加入播放组时,初始时刻的当前播控操作号即为[M,0],其表示当前播控操作号为自身触发的播控操作动作的播控操作号,因此组内序号为自身的组内序号即为M,同时由于播放组并没有任何客户端触发播控操作动作,因此,播控计数值为0。在本公开实施例中,消息基于声明式编程(Declarative programming)实现,以通过声明式同步消息协议避免播放信息丢失,进而导致播放信息永久不一致的问题产生。
可选的,在本公开实施例中,所述判断所述消息中的第一播控操作号是否大于所述第一客户端的当前播控操作号,包括:若所述第一播控操作号的播控计数值等于所述当前播控操作号的播控计数值,则判断所述第一播控操作号的组内序号是否大于所述当前播控操作号的组内序号;若所述第一播控操作号的组内序号大于所述当前播控操作号的组内序号,则确定所述第一播控操作号小 于所述当前播控操作号;若所述第一播控操作号的组内序号小于所述当前播控操作号的组内序号,则确定所述第一播控操作号大于所述当前播控操作号。
示例性的,两个播控操作号进行大小比较时,如果播控计数值相等,则通过比较组内序号的方式比较两个播控操作号的大小,组内序号越小,表明该客户端越早加入播放组,组内序号越大,表明该客户端越晚加入播放组,因此,在两个播控操作号的播控计数值相等时,加入播放组较早的客户端的播控操作号较大,以确保在播控计数值相等时,播放组创建者(组内序号为1)以及较早加入者(组内序号较小)对播放信息的控制,同时确保播放组中各个客户端播放信息的一致性。
可选的,在本公开实施例中,所述第一播控操作号还包括播控触发时间;所述判断所述消息中的第一播控操作号是否大于所述第一客户端的当前播控操作号,还包括:若所述第一播控操作号的播控计数值等于所述当前播控操作号的播控计数值,则判断所述第一播控操作号的播控触发时间是否比所述当前播控操作号的播控触发时间距离当前时刻近;若所述第一播控操作号的播控触发时间比所述当前播控操作号的播控触发时间距离当前时刻近,则确定所述第一播控操作号大于所述当前播控操作号;若所述第一播控操作号的播控触发时间比所述当前播控操作号的播控触发时间距离当前时刻远,则确定所述第一播控操作号小于所述当前播控操作号。
示例性的,两个播控操作号进行大小比较时,如果播控计数值相等,还可以通过比较播控触发时间比较两个播控操作号的大小,播控触发时间距离当前时刻越近,越能反映用户当前真实的播控意愿,其播控操作动作的执行效力越强,播控触发时间距离当前时刻越远,其播控操作动作的执行效力越弱,因此,在两个播控操作号的播控计数值相等时,播控触发时间距离当前时刻较近的播控操作号较大,以确保在播控计数值相等时,根据用户当前真实的播控意愿完成对播放信息的控制,同时确保播放组中各个客户端播放信息的一致性。
S120、若所述第一播控操作号大于所述当前播控操作号,则将所述当前播 控操作号更新为所述第一播控操作号,并根据所述消息中的播放信息快照更新当前播放信息。
如果获取到的第二客户端发出的第一播控操作号大于当前播控操作号,将当前播控操作号更新为第一播控操作号,同时,根据消息中的播放信息快照更新当前播放信息,以使第一客户端展示的播放信息与第二客户端展示的播放信息一致,即确保播放组中播放信息的一致性。
S130、若所述第一播控操作号小于所述当前播控操作号,则放弃所述消息。
如果获取到的第二客户端发出的第一播控操作号小于当前播控操作号,则放弃接收到的消息,确保第二客户端由弱网或断网状态恢复为正常网络状态,且发出播放信息快照时,第一客户端不采纳该广播信息的播放信息快照,避免第一客户端对播放信息的回跳,导致播放不连贯的现象发生;以图1B所示的同步播放的流程示意图为例,图1B中,播控操作号用“LT”表示,当前播放信息用“V”表示,“V”的数值用于代指当前播放信息,该数值本身不具有实际意义,可以为任意数值,其仅用于表示各个客户端中的当前播放信息是否相同,若数值相同,则表示当前播放信息相同,若数值不同,则表示当前播放信息不同。
如图1B所示,客户端A创建播放组后,客户端B和客户端C依次加入播放组中;初始时刻,客户端A、客户端B、客户端C的当前播控操作号分别为[1,0]、[2,0]、[3,0],表示当前播控操作号均为客户端自身触发的播控操作动作的播控操作号,且由于播放组并没有任何客户端触发播控操作动作,上述客户端均未获取到任何播控操作动作,因此,播控计数值均为0;此时,客户端A、客户端B、客户端C的当前播放信息相同,均为预先设定的初始播放信息(例如,展示一个没有歌曲的空白目录),以V:0表示;然后客户端B中执行了一次播控操作,客户端B将当前的播控计数值(即0)进行加1处理,当前播控操作号变更为[2,1],播放信息为4;客户端B将LT:[2,1]、V:4,发送给客户端A和客户端C。
客户端A在获取到客户端B发送的消息之前,客户端A本身也执行了一次播控操作,客户端A将当前的播控计数值(即0)进行加1处理,此时客户端A的当前播控操作号变更为[1,1],播放信息为5;客户端A在接收到客户端B发送的消息后,将当前播控操作号[1,1]与接收到的播控操作号[2,1]进行比较,基于上述比较规则,确定[1,1]大于[2,1],即当前播控操作号大于接收到的播控操作号,因此,放弃该消息(对应图1B中以表示的节点),即保留当前播控操作号[1,1],播放信息仍按照原播放信息继续播放,不按照客户端B的播放信息V:4更新;客户端C在获取到客户端B发送的消息后,将当前操作版本号[3,0]与接收到的操作版本号[2,1]进行比较,确定[3,0]小于[2,1],即当前播控操作号小于接收到的播控操作号,因此,客户端C将当前播控操作号更新为LT:[2,1],播放信息更新为V:4。
客户端A在将当前播控操作号变更为[1,1],播放信息变更为5后,向客户端B和客户端C发出LT:[1,1]、V:5;客户端B将当前播控操作号[2,1]与接收到的播控操作号[1,1]进行比较,确定[2,1]小于[1,1],即当前播控操作号小于接收到的播控操作号,因此,将当前播控操作号更新为LT:[1,1],播放信息更新为V:5;客户端C将当前播控操作号[2,1]与接收到的播控操作号[1,1]进行比较,确定[2,1]小于[1,1],即当前播控操作号小于接收到的播控操作号,因此,也将当前播控操作号更新为LT:[1,1],播放信息更新为V:5,确保了播放组内各个客户端的播放信息一致性。
然后客户端B中再执行一次播控操作,客户端B将当前的播控计数值(即1)进行加1处理,当前播控操作号变更为[2,2],播放信息为10;客户端B将LT:[2,2]、V:10,发送给客户端A和客户端C;客户端A将当前播控操作号[1,1]与接收到的播控操作号[2,2]进行比较,确定[1,1]小于[2,2],即当前播控操作号小于接收到的播控操作号,因此,将当前播控操作号更新为LT:[2,2],播放信息更新为V:10;客户端C将当前播控操作号[1,1]与接收到的播控操作号[2,2]进行比较,确定[1,1]小于[2,2],即当前播控操作号小于接收到 的播控操作号,因此,将当前播控操作号更新为LT:[2,2],播放信息更新为V:10,再次确保了播放组内各个客户端的播放信息一致性。
接着客户端A中再执行一次播控操作,客户端A将当前的播控计数值(即2)进行加1处理,此时客户端A的当前播控操作号变更为[1,3],播放信息为20,客户端A将LT:[1,3]、V:20,发送给客户端B和客户端C;客户端B将当前播控操作号[2,2]与接收到的播控操作号[1,3]进行比较,确定[2,2]小于[1,3],即当前播控操作号小于接收到的播控操作号,因此,将当前播控操作号更新为LT:[1,3],播放信息更新为V:20;客户端C由于处于断网状态(或者弱网状态)下,未获取到客户端A发出的广播信息,因此,客户端C中当前播控操作号依然为[2,2],播放信息仍按照原播放信息继续播放。
之后客户端A中再执行一次播控操作,客户端A将当前的播控计数值(即3)进行加1处理,此时客户端A的当前播控操作号变更为[1,4],播放信息为30,客户端A将LT:[1,4]、V:30,发送给客户端B和客户端C;客户端B将当前播控操作号[1,3]与接收到的播控操作号[1,4]进行比较,确定[1,3]小于[1,4],即当前播控操作号小于接收到的播控操作号,因此,将当前播控操作号更新为LT:[1,4],播放信息更新为V:30;客户端C仍然处于断网状态(或者弱网状态)下,未获取到客户端A本次发出的广播信息,因此,客户端C中当前播控操作号依然为[2,2],播放信息按照原播放信息继续播放。
客户端C的网络状态恢复正常后,客户端C中执行了一次播控操作,客户端C将当前的播控计数值(即2)进行加1处理,此时客户端C的当前播控操作号变更为[3,3],播放信息为11,客户端C将LT:[3,3]、V:11,发送给客户端A和客户端B;客户端A和客户端B在接收到客户端C发送的消息后,均将当前播控操作号[1,4]与接收到的播控操作号[3,3]进行比较,确定[1,4]大于[3,3],即当前播控操作号大于接收到的播控操作号,因此,放弃该消息,即保留当前播控操作号LT:[1,4],播放信息仍按照原播放信息继续播放,不按照客户端C的播放信息V:11更新,确保了客户端C由弱网或断网状态恢复为 正常网络状态,且发出播放信息快照时,客户端A和客户端B不采纳该广播信息的播放信息快照,避免客户端A和客户端B对播放信息的回跳,导致播放不连贯的现象发生;同时,还确保了播放组内网络状态正常的客户端A和客户端B的播放信息一致性。
然后客户端B中又执行一次播控操作,客户端B将当前的播控计数值(即4)进行加1处理,当前播控操作号变更为[2,5],播放信息为35;客户端B将LT:[2,5]、V:35,发送给客户端A和客户端C;客户端A将当前播控操作号[1,4]与接收到的播控操作号[2,5]进行比较,确定[1,4]小于[2,5],即当前播控操作号小于接收到的播控操作号,因此,将当前播控操作号更新为LT:[2,5],播放信息更新为V:35;客户端C将当前播控操作号[3,3]与接收到的播控操作号[2,5]进行比较,确定[3,3]小于[2,5],即当前播控操作号小于接收到的播控操作号,因此,将当前播控操作号更新为LT:[2,5],播放信息更新为V:35,此时再次确保了播放组内各个客户端的播放信息一致性。
本公开实施例的技术方案,获取到播放组中其它客户端发出的消息,并在判断消息中的第一播控操作号大于当前客户端的当前播控操作号时,将当前播控操作号更新为第一播控操作号,且根据消息中的播放信息快照更新当前播放信息,使得播放组中的各个用户具备相同的控制权限,提升了用户的共享参与度,确保了播放组中播放信息一致,而在判断第一播控操作号小于当前播控操作号时,放弃消息,避免了网络异常客户端的播控操作,导致网络正常客户端的播放信息回跳,确保了播放信息的连贯性。
实施例二
图2是本公开实施例二提供的一种同步播放方法,本实例在上述实施例的基础上进行细化,在本公开实施例中,在根据消息中的播放信息快照更新当前播放信息后,判断当前播放信息是否符合预设展示信息的展示条件,该方法包括:
S210、获取播放组中第二客户端发出的消息;执行S220。
S220、判断所述消息中的第一播控操作号是否大于所述第一客户端的当前播控操作号;在所述消息中的第一播控操作号大于所述第一客户端的当前播控操作号的情况下,执行S230;在所述消息中的第一播控操作号小于所述第一客户端的当前播控操作号的情况下,执行S270。
S230、将所述当前播控操作号更新为所述第一播控操作号,并根据所述消息中的播放信息快照更新当前播放信息;执行S240。
S240、判断当前播放信息是否符合预设展示信息的展示规则;在当前播放信息符合预设展示信息的展示规则的情况下,执行S250;在当前播放信息不符合预设展示信息的展示规则的情况下,执行S260。
预设展示信息可以包括动态特效信息,例如,双赞动效和双收藏动效;如果当前播放信息中已获取到两个点赞,客户端即展示匹配的双赞动效;如果当前播放信息中已获取到两个收藏,客户端即展示匹配的双收藏动效;预设展示信息还可以包括静态提示信息,例如,提示用户即将播放下一首歌曲;如果当前播放歌曲的剩余播放时间小于10秒,客户端即展示上述提示信息,以提示用户即将播放下一首歌曲。因此,第一客户端根据第二客户端发出的播放信息快照更新当前播放信息后,如果判断当前播放信息中已显示两个点赞,则确定当前播放信息符合双赞动效的展示规则;如果判断当前播放信息中已显示两个收藏,则确定当前播放信息符合双收藏动效的展示规则;如果判断当前播放信息中的剩余播放时间小于10秒,则确定当前播放信息符合即将播放下一首歌曲的展示规则。
可选的,在本公开实施例中,所述消息还包括播控操作类型;所述判断当前播放信息是否符合预设展示信息的展示规则,包括:获取所述消息中的播控操作类型,并获取与所述播控操作类型匹配的预设展示信息;判断当前播放信息是否符合所述预设展示信息的展示规则。客户端发出的消息中除了包括播控计数值和组内序号之外,还包括本次播控操作的播控操作类型;第一客户端根 据第二客户端发出的消息,获取播控操作类型,并根据该播控操作类型获取匹配的预设展示信息;以上述技术方案为例,如果获取到的播控操作类型为点赞,预设展示信息即为双赞动效;如果获取到的播控操作类型为收藏,预设展示信息即为双收藏动效;如果获取到的播控操作类型为调整播放进度,预设展示信息即为即将播放下一首歌曲;然后针对获取到的预设展示信息,判断当前播放信息是否符合该预设展示信息的展示规则即可,避免了将当前播放信息与多种预设展示信息的展示规则一一匹配,极大地提高了当前播放信息与展示规则的匹配效率。
可选的,在本公开实施例中,在确定当前播放信息符合预设展示信息的展示规则后,还包括:判断所述第一客户端的软件版本是否符合所述预设展示信息的软件版本要求;若所述第一客户端的软件版本不符合所述预设展示信息的软件版本要求,则不展示所述预设展示信息,并发出软件版本更新提示,以引导用户完成所述第一客户端的软件版本更新;所述展示所述预设展示信息,包括:若所述第一客户端的软件版本符合所述预设展示信息的软件版本要求,则展示所述预设展示信息。不同的预设展示信息对于软件版本的要求不同,例如,双赞动效要求软件版本在4.0以上,双收藏动效要求软件版本在5.0以上,如果用户使用的客户端的软件版本过低,则无法展示上述特效信息,因此,通过发出软件版本更新提示,引导用户完成客户端的软件版本更新,在确保预设展示信息能够正常展示,提升用户体验的同时,实现了用户侧的软件更新引导。
S250、展示预设展示信息;执行S280。
S260、不展示预设展示信息;执行S280。
S270、放弃消息;执行S280。
S280、结束。
本公开实施例的技术方案,在根据消息中的播放信息快照更新当前播放信息后,判断当前播放信息是否符合预设展示信息的展示规则,并在确定当前播放信息符合预设展示信息的展示规则时,展示预设展示信息,提高了用户的共 享体验度,同时,根据消息中的播控操作类型,将当前播放信息与特定的预设展示信息的展示规则进行匹配,极大地提高了当前播放信息与展示规则的匹配效率。
实施例三
图3是本公开实施例三提供的一种同步播放方法,本实例在上述实施例的基础上进行细化,在本公开实施例中,第一客户端向播放组中的其它客户端发出消息,该方法包括:
S310、响应于获取到所述第一客户端的播控操作,获取所述播控操作的第二播控操作号;其中,所述第二播控操作号包括播控计数值和所述第一客户端的组内序号。
S320、将所述第一客户端的当前播控操作号更新为所述第二播控操作号,并根据所述播控操作更新当前播放信息。
特别的,第一客户端根据播控操作更新当前播放信息后,可以通过判断当前播放信息是否符合预设展示信息的展示规则,进而确定是否展示预设展示信息;也可以获取该播控操作的播控操作类型,并获取与该播控操作类型匹配的预设展示信息,进而判断当前播放信息是否符合该预设展示信息的展示规则;还可以判断第一客户端的软件版本是否符合预设展示信息的软件版本要求;如果不符合,则通过发出软件版本更新提示,引导用户完成第一客户端的软件版本更新。
S330、将所述第二播控操作号以及播放信息快照,通过消息发送给所述播放组中的其它客户端,以引导所述其他客户端根据所述消息更新各自的当前播控操作号以及当前播放信息。
其他客户端在获取到第一客户端发出的消息后,通过上述实施例公开的技术方案,将获取到的消息中的播控操作号,与自身当前的播控操作号进行比对,进而判断是否更新自身当前的播控操作号以及播放信息。
本公开实施例的技术方案,在获取播控操作后,获取该播控操作的第二播控操作号,将当前播控操作号更新为第二播控操作号,并根据播控操作更新当前播放信息,进而将第二播控操作号以及播放信息快照,通过消息发送给播放组中的其它客户端,确保了播放组中播放信息的一致性,提升了用户的共享参与度。
实施例四
图4是本公开实施例四提供的一种同步播放装置的结构框图,包括:播控操作号判断模块410、播控操作号更新模块420和消息放弃模块430;
播控操作号判断模块410,设置为响应于获取到播放组中第二客户端发出的消息,判断所述消息中的第一播控操作号是否大于所述第一客户端的当前播控操作号;其中,所述第一播控操作号包括播控计数值和所述第二客户端在所述播放组中的组内序号;
播控操作号更新模块420,设置为若所述第一播控操作号大于所述当前播控操作号,则将所述当前播控操作号更新为所述第一播控操作号,并根据所述消息中的播放信息快照更新当前播放信息;
消息放弃模块430,设置为若所述第一播控操作号小于所述当前播控操作号,则放弃所述消息。
本公开实施例的技术方案,获取到播放组中其它客户端发出的消息,并在判断消息中的第一播控操作号大于当前客户端的当前播控操作号时,将当前播控操作号更新为第一播控操作号,且根据消息中的播放信息快照更新当前播放信息,使得播放组中的各个用户具备相同的控制权限,提升了用户的共享参与度,确保了播放组中播放信息一致,而在判断第一播控操作号小于当前播控操作号时,放弃消息,避免了网络异常客户端的播控操作,导致网络正常客户端的播放信息回跳,确保了播放信息的连贯性。
可选的,在上述技术方案的基础上,同步播放装置,还包括;
播控操作号获取模块,设置为响应于获取到所述第一客户端的播控操作,获取所述播控操作的第二播控操作号;其中,所述第二播控操作号包括播控计数值和所述第一客户端的组内序号;
播放信息更新模块,设置为将所述第一客户端的当前播控操作号更新为所述第二播控操作号,并根据所述播控操作更新当前播放信息;
消息发出模块,设置为将所述第二播控操作号以及播放信息快照,通过消息发送给所述播放组中的其它客户端,以引导所述其他客户端根据所述消息更新各自的当前播控操作号以及当前播放信息。
可选的,在上述技术方案的基础上,播控操作号判断模块410,包括:
组内序号判断单元,设置为若所述第一播控操作号的播控计数值,等于所述当前播控操作号的播控计数值,则判断所述第一播控操作号的组内序号,是否大于所述当前播控操作号的组内序号;若所述第一播控操作号的组内序号,大于所述当前播控操作号的组内序号,则确定所述第一播控操作号小于所述当前播控操作号;若所述第一播控操作号的组内序号,小于所述当前播控操作号的组内序号,则确定所述第一播控操作号大于所述当前播控操作号。
可选的,在上述技术方案的基础上,第一播控操作号还包括播控触发时间。
可选的,在上述技术方案的基础上,播控操作号判断模块410,包括:
播控触发时间判断单元,设置为若所述第一播控操作号的播控计数值等于所述当前播控操作号的播控计数值,则判断所述第一播控操作号的播控触发时间是否比所述当前播控操作号的播控触发时间距离当前时刻近;若所述第一播控操作号的播控触发时间比所述当前播控操作号的播控触发时间距离当前时刻近,则确定所述第一播控操作号大于所述当前播控操作号;若所述第一播控操作号的播控触发时间比所述当前播控操作号的播控触发时间距离当前时刻远,则确定所述第一播控操作号小于所述当前播控操作号。
可选的,在上述技术方案的基础上,同步播放装置,还包括:
展示规则判断模块,设置为判断当前播放信息是否符合预设展示信息的展 示规则;若确定当前播放信息符合预设展示信息的展示规则,则展示所述预设展示信息;若确定当前播放信息不符合预设展示信息的展示规则,则不展示所述预设展示信息。
可选的,在上述技术方案的基础上,消息还包括播控操作类型。
可选的,在上述技术方案的基础上,展示规则判断模块,设置为获取所述消息中的播控操作类型,并获取与所述播控操作类型匹配的预设展示信息;判断当前播放信息是否符合所述预设展示信息的展示规则。
可选的,在上述技术方案的基础上,同步播放装置,还包括:
软件版本要求判断模块,设置为判断所述第一客户端的软件版本,是否符合所述预设展示信息的软件版本要求;若所述第一客户端的软件版本,不符合所述预设展示信息的软件版本要求,则不展示所述预设展示信息,并发出软件版本更新提示,以引导用户完成所述第一客户端的软件版本更新;若所述第一客户端的软件版本,符合所述预设展示信息的软件版本要求,则展示所述预设展示信息。
上述装置可执行本公开任意实施例所提供的同步播放方法,具备执行方法相应的功能模块。未在本实施例中详尽描述的技术细节,可参见本公开任意实施例提供的方法。
实施例五
图5示出了适于用来实现本公开实施例的终端设备500的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、PAD(平板电脑)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字电视(Television,TV)、台式计算机等等的固定终端。图5示出的终端设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图5所示,终端设备500可以包括处理装置(例如中央处理器、图形处理器等)501,其可以根据存储在只读存储器(Read-Only Memory,ROM)502中的程序或者从存储装置508加载到随机访问存储器(Random Access Memory,RAM)503中的程序而执行各种适当的动作和处理。在RAM 503中,还存储有终端设备500操作所需的各种程序和数据。处理装置501、ROM 502以及RAM503通过总线504彼此相连。输入/输出(Input/Output,I/O)接口505也连接至总线504。
通常,以下装置可以连接至I/O接口505:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置506;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置507;包括例如磁带、硬盘等的存储装置508;以及通信装置509。通信装置509可以允许终端设备500与其他设备进行无线或有线通信以交换数据。虽然图5示出了具有各种装置的终端设备500,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置509从网络上被下载和安装,或者从存储装置508被安装,或者从ROM 502被安装。在该计算机程序被处理装置501执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有至少一个导线的电连接、便携式计算机磁盘、硬盘、随机访 问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器((Erasable Programmable Read-Only Memory,EPROM)或闪存)、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述终端设备中所包含的;也可以是单独存在,而未装配入该终端设备中。
上述计算机可读介质承载有至少一个程序,当上述至少一个程序被该终端设备执行时,使得该终端设备:响应于获取到播放组中第二客户端发出的消息,判断所述消息中的第一播控操作号是否大于所述第一客户端的当前播控操作号;其中,所述第一播控操作号包括播控计数值和所述第二客户端在所述播放组中的组内序号;若所述第一播控操作号大于所述当前播控操作号,则将所述当前 播控操作号更新为所述第一播控操作号,并根据所述消息中的播放信息快照更新当前播放信息;若所述第一播控操作号小于所述当前播控操作号,则放弃所述消息。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或终端设备上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含至少一个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在某种情况下并不构成对该模块本身的限定,例如,消息放弃模块,可以被描述为“用于若所述第一播控操作号小于所述当前播控操作号,则放弃所述消息的模块”。本文中以上描述的功能可 以至少部分地由至少一个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、片上系统(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于至少一个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的至少一个实施例,【示例1】提供了一种同步播放方法,包括:
响应于获取到播放组中第二客户端发出的消息,判断所述消息中的第一播控操作号是否大于所述第一客户端的当前播控操作号;其中,所述第一播控操作号包括播控计数值和所述第二客户端在所述播放组中的组内序号;
若所述第一播控操作号大于所述当前播控操作号,则将所述当前播控操作号更新为所述第一播控操作号,并根据所述消息中的播放信息快照更新当前播放信息;
若所述第一播控操作号小于所述当前播控操作号,则放弃所述消息。
根据本公开的至少一个实施例,【示例2】提供了示例1的方法,还包括:
响应于获取到所述第一客户端的播控操作,获取所述播控操作的第二播控操作号;其中,所述第二播控操作号包括播控计数值和所述第一客户端的组内 序号;
将所述第一客户端的当前播控操作号更新为所述第二播控操作号,并根据所述播控操作更新当前播放信息;
将所述第二播控操作号以及播放信息快照,通过消息发送给所述播放组中的其它客户端,以引导所述其他客户端根据所述消息更新各自的当前播控操作号以及当前播放信息。
根据本公开的至少一个实施例,【示例3】提供了示例1的方法,还包括:
若所述第一播控操作号的播控计数值,等于所述当前播控操作号的播控计数值,则判断所述第一播控操作号的组内序号,是否大于所述当前播控操作号的组内序号;
若所述第一播控操作号的组内序号,大于所述当前播控操作号的组内序号,则确定所述第一播控操作号小于所述当前播控操作号;
若所述第一播控操作号的组内序号,小于所述当前播控操作号的组内序号,则确定所述第一播控操作号大于所述当前播控操作号。
根据本公开的至少一个实施例,【示例4】提供了示例1的方法,第一播控操作号还包括播控触发时间;该方法还包括:
若所述第一播控操作号的播控计数值,等于所述当前播控操作号的播控计数值,则判断所述第一播控操作号的播控触发时间,是否比所述当前播控操作号的播控触发时间距离当前时刻近;
若所述第一播控操作号的播控触发时间,比所述当前播控操作号的播控触发时间距离当前时刻近,则确定所述第一播控操作号大于所述当前播控操作号;
若所述第一播控操作号的播控触发时间,比所述当前播控操作号的播控触发时间距离当前时刻远,则确定所述第一播控操作号小于所述当前播控操作号。
根据本公开的至少一个实施例,【示例5】提供了示例1的方法,还包括:
判断当前播放信息是否符合预设展示信息的展示规则;
若确定当前播放信息符合预设展示信息的展示规则,则展示所述预设展示 信息;
若确定当前播放信息不符合预设展示信息的展示规则,则不展示所述预设展示信息。
根据本公开的至少一个实施例,【示例6】提供了示例5的方法,消息还包括播控操作类型,该方法还包括:
获取所述消息中的播控操作类型,并获取与所述播控操作类型匹配的预设展示信息;
判断当前播放信息是否符合所述预设展示信息的展示规则。
根据本公开的至少一个实施例,【示例7】提供了示例5或6所述的方法,还包括:
判断所述第一客户端的软件版本,是否符合所述预设展示信息的软件版本要求;
若所述第一客户端的软件版本,不符合所述预设展示信息的软件版本要求,则不展示所述预设展示信息,并发出软件版本更新提示,以引导用户完成所述第一客户端的软件版本更新;
若所述第一客户端的软件版本,符合所述预设展示信息的软件版本要求,则展示所述预设展示信息。
根据本公开的至少一个实施例,【示例8】提供了一种同步播放装置,包括:
播控操作号判断模块,设置为响应于获取到播放组中第二客户端发出的消息,判断所述消息中的第一播控操作号是否大于所述第一客户端的当前播控操作号;其中,所述第一播控操作号包括播控计数值和所述第二客户端在所述播放组中的组内序号;
播控操作号更新模块,设置为若所述第一播控操作号大于所述当前播控操作号,则将所述当前播控操作号更新为所述第一播控操作号,并根据所述消息中的播放信息快照更新当前播放信息;
消息放弃模块,设置为若所述第一播控操作号小于所述当前播控操作号, 则放弃所述消息。
根据本公开的至少一个实施例,【示例9】提供了示例8的装置,还包括;
播控操作号获取模块,设置为响应于获取到所述第一客户端的播控操作,获取所述播控操作的第二播控操作号;其中,所述第二播控操作号包括播控计数值和所述第一客户端的组内序号;
播放信息更新模块,设置为将所述第一客户端的当前播控操作号更新为所述第二播控操作号,并根据所述播控操作更新当前播放信息;
消息发出模块,设置为将所述第二播控操作号以及播放信息快照,通过消息发送给所述播放组中的其它客户端,以引导所述其他客户端根据所述消息更新各自的当前播控操作号以及当前播放信息。
根据本公开的至少一个实施例,【示例10】提供了示例8的装置,播控操作号判断模块,包括:
组内序号判断单元,设置为若所述第一播控操作号的播控计数值,等于所述当前播控操作号的播控计数值,则判断所述第一播控操作号的组内序号,是否大于所述当前播控操作号的组内序号;若所述第一播控操作号的组内序号,大于所述当前播控操作号的组内序号,则确定所述第一播控操作号小于所述当前播控操作号;若所述第一播控操作号的组内序号,小于所述当前播控操作号的组内序号,则确定所述第一播控操作号大于所述当前播控操作号。
根据本公开的至少一个实施例,【示例11】提供了示例8的装置,第一播控操作号还包括播控触发时间,播控操作号判断模块包括:
播控触发时间判断单元,设置为若所述第一播控操作号的播控计数值,等于所述当前播控操作号的播控计数值,则判断所述第一播控操作号的播控触发时间,是否比所述当前播控操作号的播控触发时间距离当前时刻近;若所述第一播控操作号的播控触发时间,比所述当前播控操作号的播控触发时间距离当前时刻近,则确定所述第一播控操作号大于所述当前播控操作号;若所述第一播控操作号的播控触发时间,比所述当前播控操作号的播控触发时间距离当前 时刻远,则确定所述第一播控操作号小于所述当前播控操作号。
根据本公开的至少一个实施例,【示例12】提供了示例8所述的装置,还包括:
展示规则判断模块,设置为判断当前播放信息是否符合预设展示信息的展示规则;若确定当前播放信息符合预设展示信息的展示规则,则展示所述预设展示信息;若确定当前播放信息不符合预设展示信息的展示规则,则不展示所述预设展示信息。
根据本公开的至少一个实施例,【示例13】提供了示例12所述的装置,消息还包括播控操作类型;
展示规则判断模块,设置为获取所述消息中的播控操作类型,并获取与所述播控操作类型匹配的预设展示信息;判断当前播放信息是否符合所述预设展示信息的展示规则。
根据本公开的至少一个实施例,【示例14】提供了示例12或13所述的装置,还包括:
软件版本要求判断模块,设置为判断所述第一客户端的软件版本,是否符合所述预设展示信息的软件版本要求;若所述第一客户端的软件版本,不符合所述预设展示信息的软件版本要求,则不展示所述预设展示信息,并发出软件版本更新提示,以引导用户完成所述第一客户端的软件版本更新;若所述第一客户端的软件版本,符合所述预设展示信息的软件版本要求,则展示所述预设展示信息。
根据本公开的至少一个实施例,【示例15】提供了一种终端设备,包括存储器、处理装置及存储在存储器上并可在处理装置上运行的计算机程序,处理装置执行程序时实现如示例1-7中任一所述的同步播放方法。
根据本公开的至少一个实施例,【示例16】提供了一种包含计算机可执行指令的存储介质,计算机可执行指令在由计算机处理器执行时用于执行如示例1-7中任一所述的同步播放方法。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。

Claims (10)

  1. 一种同步播放方法,应用于第一客户端中,包括:
    响应于获取到播放组中第二客户端发出的消息,判断所述消息中的第一播控操作号是否大于所述第一客户端的当前播控操作号;其中,所述第一播控操作号包括播控计数值和所述第二客户端在所述播放组中的组内序号;
    响应于所述第一播控操作号大于所述当前播控操作号,将所述当前播控操作号更新为所述第一播控操作号,并根据所述消息中的播放信息快照更新当前播放信息;
    响应于所述第一播控操作号小于所述当前播控操作号,放弃所述消息。
  2. 根据权利要求1所述的方法,还包括:
    响应于获取到所述第一客户端的播控操作,获取所述播控操作的第二播控操作号;其中,所述第二播控操作号包括播控计数值和所述第一客户端的组内序号;
    将所述第一客户端的当前播控操作号更新为所述第二播控操作号,并根据所述播控操作更新当前播放信息;
    将所述第二播控操作号以及播放信息快照,通过消息发送给所述播放组中的除所述第一客户端之外的客户端,以引导所述除所述第一客户端之外的客户端根据所述消息更新各自的当前播控操作号以及当前播放信息。
  3. 根据权利要求1所述的方法,其中,所述判断所述消息中的第一播控操作号是否大于所述第一客户端的当前播控操作号,包括:
    响应于所述第一播控操作号的播控计数值等于所述当前播控操作号的播控计数值,判断所述第一播控操作号的组内序号是否大于所述当前播控操作号的组内序号;
    响应于所述第一播控操作号的组内序号大于所述当前播控操作号的组内序号,确定所述第一播控操作号小于所述当前播控操作号;
    响应于所述第一播控操作号的组内序号小于所述当前播控操作号的组内序号,确定所述第一播控操作号大于所述当前播控操作号。
  4. 根据权利要求1所述的方法,其中,所述第一播控操作号还包括播控触发时间;
    所述判断所述消息中的第一播控操作号是否大于所述第一客户端的当前播控操作号,还包括:
    响应于所述第一播控操作号的播控计数值等于所述当前播控操作号的播控计数值,判断所述第一播控操作号的播控触发时间是否比所述当前播控操作号的播控触发时间距离当前时刻近;
    响应于所述第一播控操作号的播控触发时间比所述当前播控操作号的播控触发时间距离当前时刻近,确定所述第一播控操作号大于所述当前播控操作号;
    响应于所述第一播控操作号的播控触发时间比所述当前播控操作号的播控触发时间距离当前时刻远,确定所述第一播控操作号小于所述当前播控操作号。
  5. 根据权利要求1所述的方法,在根据所述消息中的播放信息快照更新当前播放信息后,还包括:
    判断当前播放信息是否符合预设展示信息的展示规则;
    响应于确定当前播放信息符合预设展示信息的展示规则,展示所述预设展示信息;
    响应于确定当前播放信息不符合预设展示信息的展示规则,不展示所述预设展示信息。
  6. 根据权利要求5所述的方法,其中,所述消息还包括播控操作类型;
    所述判断当前播放信息是否符合预设展示信息的展示规则,包括:
    获取所述消息中的播控操作类型,并获取与所述播控操作类型匹配的预设展示信息;
    判断当前播放信息是否符合所述预设展示信息的展示规则。
  7. 根据权利要求5或6所述的方法,在确定当前播放信息符合预设展示信息的展示规则后,还包括:
    判断所述第一客户端的软件版本是否符合所述预设展示信息的软件版本要 求;
    响应于所述第一客户端的软件版本不符合所述预设展示信息的软件版本要求,不展示所述预设展示信息,并发出软件版本更新提示,以引导用户完成所述第一客户端的软件版本更新;
    所述展示所述预设展示信息,包括:
    响应于所述第一客户端的软件版本符合所述预设展示信息的软件版本要求,展示所述预设展示信息。
  8. 一种同步播放装置,包括:
    播控操作号判断模块,设置为响应于获取到播放组中第二客户端发出的消息,判断所述消息中的第一播控操作号是否大于所述第一客户端的当前播控操作号;其中,所述第一播控操作号包括播控计数值和所述第二客户端在所述播放组中的组内序号;
    播控操作号更新模块,设置为响应于所述第一播控操作号大于所述当前播控操作号,将所述当前播控操作号更新为所述第一播控操作号,并根据所述消息中的播放信息快照更新当前播放信息;
    消息放弃模块,设置为响应于所述第一播控操作号小于所述当前播控操作号,放弃所述消息。
  9. 一种终端设备,包括存储器、处理装置及存储在存储器上并可在处理装置上运行的计算机程序,所述处理装置执行所述计算机程序时实现如权利要求1-7中任一所述的同步播放方法。
  10. 一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-7中任一所述的同步播放方法。
PCT/CN2023/077529 2022-03-03 2023-02-22 一种同步播放方法、装置、终端设备和存储介质 WO2023165384A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210204584.9A CN114584822B (zh) 2022-03-03 2022-03-03 一种同步播放方法、装置、终端设备和存储介质
CN202210204584.9 2022-03-03

Publications (1)

Publication Number Publication Date
WO2023165384A1 true WO2023165384A1 (zh) 2023-09-07

Family

ID=81772196

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/077529 WO2023165384A1 (zh) 2022-03-03 2023-02-22 一种同步播放方法、装置、终端设备和存储介质

Country Status (2)

Country Link
CN (1) CN114584822B (zh)
WO (1) WO2023165384A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584822B (zh) * 2022-03-03 2023-09-15 北京字跳网络技术有限公司 一种同步播放方法、装置、终端设备和存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110218656A1 (en) * 2010-03-02 2011-09-08 Microsoft Corporation Social media playback
CN105072482A (zh) * 2015-08-25 2015-11-18 广东欧珀移动通信有限公司 一种多媒体播放设备的播放控制方法及装置
CN106331821A (zh) * 2016-08-23 2017-01-11 广东欧珀移动通信有限公司 音视频播放系统中的数据同步方法和装置
US20190268669A1 (en) * 2016-11-11 2019-08-29 Alibaba Group Holding Limited Playing Control Method and Apparatus
CN111447480A (zh) * 2020-03-17 2020-07-24 深圳传音控股股份有限公司 同步播放控制方法及系统
CN112069353A (zh) * 2020-09-15 2020-12-11 杭州网易云音乐科技有限公司 音乐播放控制方法、装置、存储介质及电子设备
CN114584822A (zh) * 2022-03-03 2022-06-03 北京字跳网络技术有限公司 一种同步播放方法、装置、终端设备和存储介质

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10031647B2 (en) * 2013-05-14 2018-07-24 Google Llc System for universal remote media control in a multi-user, multi-platform, multi-device environment
JP6405809B2 (ja) * 2014-09-05 2018-10-17 村田機械株式会社 電子会議システム、電子会議システムにおける表示制御方法及びプログラム
JP2016192743A (ja) * 2015-03-31 2016-11-10 株式会社バンダイナムコライツマーケティング ストリーミング動画配信システム
CN105656986A (zh) * 2015-11-26 2016-06-08 乐视云计算有限公司 一种直播视频的播放方法、装置及系统
CN105898508A (zh) * 2016-06-01 2016-08-24 北京奇艺世纪科技有限公司 一种视频同步共享播放方法及装置
CN108038658A (zh) * 2017-11-10 2018-05-15 深圳市金立通信设备有限公司 一种群组内成员日程协调方法、以及终端
CN108449620B (zh) * 2018-04-03 2021-03-12 阿里巴巴(中国)有限公司 实现多人同步观看视频的播放控制方法、装置和终端设备
CN110719516A (zh) * 2019-10-21 2020-01-21 北京字节跳动网络技术有限公司 视频同步的方法及装置、终端和存储介质
CN111064987B (zh) * 2019-12-14 2021-06-25 北京字节跳动网络技术有限公司 信息展示方法、装置及电子设备
CN111107412A (zh) * 2019-12-30 2020-05-05 北京奇艺世纪科技有限公司 媒体播放进度同步方法、装置及存储介质
CN111343476A (zh) * 2020-03-06 2020-06-26 北京达佳互联信息技术有限公司 视频共享方法、装置、电子设备及存储介质
US20210289255A1 (en) * 2020-03-12 2021-09-16 Airtime Media, Inc. Synchronization of media content across multiple participant devices
KR20200084854A (ko) * 2020-07-06 2020-07-13 주식회사 브이알이지이노베이션 가상 현실 시네마 서비스 제공 방법 및 이를 위한 장치
CN113242291A (zh) * 2021-05-07 2021-08-10 北京字跳网络技术有限公司 一种数据处理方法、装置、设备及介质
CN113411652A (zh) * 2021-07-02 2021-09-17 广州酷狗计算机科技有限公司 媒体资源播放方法和装置、存储介质及电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110218656A1 (en) * 2010-03-02 2011-09-08 Microsoft Corporation Social media playback
CN105072482A (zh) * 2015-08-25 2015-11-18 广东欧珀移动通信有限公司 一种多媒体播放设备的播放控制方法及装置
CN106331821A (zh) * 2016-08-23 2017-01-11 广东欧珀移动通信有限公司 音视频播放系统中的数据同步方法和装置
US20190268669A1 (en) * 2016-11-11 2019-08-29 Alibaba Group Holding Limited Playing Control Method and Apparatus
CN111447480A (zh) * 2020-03-17 2020-07-24 深圳传音控股股份有限公司 同步播放控制方法及系统
CN112069353A (zh) * 2020-09-15 2020-12-11 杭州网易云音乐科技有限公司 音乐播放控制方法、装置、存储介质及电子设备
CN114584822A (zh) * 2022-03-03 2022-06-03 北京字跳网络技术有限公司 一种同步播放方法、装置、终端设备和存储介质

Also Published As

Publication number Publication date
CN114584822B (zh) 2023-09-15
CN114584822A (zh) 2022-06-03

Similar Documents

Publication Publication Date Title
WO2018010682A1 (zh) 直播方法、直播数据流展示方法和终端
WO2022121558A1 (zh) 一种直播演唱方法、装置、设备和介质
WO2022262459A1 (zh) 投屏方法、装置、电子设备和存储介质
WO2022237908A1 (zh) 信息展示方法、装置、电子设备和存储介质
WO2022095954A1 (zh) 基于直播的数据交互方法、装置、电子设备和可读介质
WO2023040791A1 (zh) 互动方法、装置、电子设备及存储介质
WO2022127523A1 (zh) 一种视频播放方法、装置、设备及介质
CN112291503B (zh) 交互方法、装置和电子设备
WO2023131104A1 (zh) 直播过程中的界面显示方法、装置、设备、介质及产品
WO2022095740A1 (zh) 基于直播的数据处理方法、装置、电子设备和可读介质
JP7490124B2 (ja) インタラクション方法、装置及び電子機器
WO2021233297A1 (zh) 资源分享方法、装置、电子设备及计算机可读介质
WO2023165384A1 (zh) 一种同步播放方法、装置、终端设备和存储介质
WO2023103889A1 (zh) 视频处理方法、装置、电子设备及存储介质
WO2021238931A1 (zh) 视频水印处理方法、装置、信息传输方法、电子设备和存储介质
WO2023165370A1 (zh) 一种信息交互方法、装置、显示设备及存储介质
WO2023138539A1 (zh) 消息的发送方法、装置、电子设备、存储介质和程序产品
WO2023116480A1 (zh) 多媒体内容的发布方法、装置、设备、介质和程序产品
WO2023143299A1 (zh) 消息展示方法、装置、设备及存储介质
CN112055252A (zh) 多屏互动方法、装置、计算机可读介质及电子设备
WO2023001066A1 (zh) 消息发送方法、装置、设备及存储介质
CN112337104A (zh) 直播数据处理方法、装置、电子设备及可读介质
CN114727146A (zh) 信息处理方法、装置、设备及存储介质
CN111163336B (zh) 视频资源推送方法、装置、电子设备及计算机可读介质
CN114527925B (zh) 一种会话的方法、装置、电子设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23762784

Country of ref document: EP

Kind code of ref document: A1