WO2019140747A1 - Method for synchronous playing of multiple playing devices, and playing device - Google Patents

Method for synchronous playing of multiple playing devices, and playing device Download PDF

Info

Publication number
WO2019140747A1
WO2019140747A1 PCT/CN2018/077612 CN2018077612W WO2019140747A1 WO 2019140747 A1 WO2019140747 A1 WO 2019140747A1 CN 2018077612 W CN2018077612 W CN 2018077612W WO 2019140747 A1 WO2019140747 A1 WO 2019140747A1
Authority
WO
WIPO (PCT)
Prior art keywords
playing
playback
code information
control code
play
Prior art date
Application number
PCT/CN2018/077612
Other languages
French (fr)
Chinese (zh)
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 WO2019140747A1 publication Critical patent/WO2019140747A1/en

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
    • 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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/242Synchronization processes, e.g. processing of PCR [Program Clock References]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to a method and a playback device for synchronous playback of multiple playback devices.
  • the main purpose of the present invention is to provide a method for synchronous playback of multiple playback devices, which aims to solve the technical problem that multiple smart devices cannot achieve synchronous playback.
  • the present invention provides a method for synchronous playback of multiple playback devices, including:
  • the second playing device receives the control code information that is transmitted by the first playing device through the cloud server;
  • the method before the step of the second playback device receiving the control code information that is transmitted by the first playback device through the cloud server, the method includes:
  • the second playing device receives the request instruction to join the group, and joins the group
  • the method includes:
  • the playback progress of the second playback device is fine-tuned according to the error.
  • the method further includes:
  • the method further includes:
  • the invention also provides a playback device, comprising:
  • a first receiving module configured to receive control code information that is transmitted by the first playing device through the cloud server
  • a first acquiring module configured to acquire, according to the control code information, a first playing progress of the first playing device, and a time difference between the local time of the first playing device and the standard time, to obtain the first playing device to send the control a first standard time of the code information; and obtaining a second standard time for the second playback device to receive the control code information according to a time difference between the local time of the second playback device and the standard time;
  • a calculating module configured to obtain, according to the first standard time and the second standard time, a network delay time difference of the control code information, add a network delay time difference to the first playing progress, and calculate the second playing device Second play progress;
  • a switching module configured to switch a play progress of the second play device to the second play progress.
  • the playing device includes:
  • a second receiving module configured to receive a request instruction to join the group, and join the group
  • a determining module configured to determine that a playing device corresponding to a group member assigned by the group owner in the group is a first playing device
  • a second acquiring module configured to acquire a synchronous play file shared by the first playing device, and store the synchronous play file.
  • the playing device includes:
  • a third receiving module configured to receive updated control code information
  • a verification module configured to check an error of the synchronous play according to the updated control code information
  • a fine adjustment module configured to fine tune a play progress of the second playback device according to the error.
  • the playing device further includes:
  • a fourth receiving module configured to receive a control command of the control code information sent by the first playing device
  • control module configured to control a playing state of the second playing device according to the control command.
  • the playing device further includes:
  • a fifth receiving module configured to receive the assignment of the group to become a master playback device
  • the sending module is configured to send the shared synchronized play file and the control code information to the cloud server.
  • the present invention realizes synchronous play of a plurality of playback devices by transmitting control code information through a cloud server, obtains playback progress and standard time of the synchronous playback file from the control code information, and calculates a network delay time, thereby obtaining The accurate playback progress of the synchronized playback state of each playback device.
  • group activities are performed by the above synchronous play mode, each person only needs to wear a headset to listen to the synchronous play file, thereby avoiding the problem of noise disturbance.
  • square dance no need for high-pitched speakers, through each group of members to listen to the playback of their respective playback devices by wearing headphones, you can jump out of a quiet square dance; such as outings / climbing / small gatherings, etc., can be played through the above synchronous
  • the method consists of a small open contact area, simultaneous listening to songs, simultaneous tour guide attractions, etc., only the leader team establishes the APP group in advance through the cloud server, and shares the play file list with other group members. All the group members control their respective according to the control code information.
  • the intelligent terminal can realize the synchronous play effect, and the activities of each group do not interfere with each other, which solves the problem of noise disturbance, and saves the consumption of information traffic.
  • FIG. 1 is a schematic flowchart of a method for synchronously playing a plurality of playback devices according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a playback device according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an optimized structure of a playback device according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an optimized structure of a playback device according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an optimized structure of a playback device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a playback device according to another embodiment of the present invention.
  • a method for synchronously playing a plurality of playback devices includes:
  • the second playing device receives the control code information that is transmitted by the first playing device through the cloud server.
  • the first playing device is the main control playing device, and the control code information sent by the main control playing device is transmitted through the cloud server, so that the multiple playing devices synchronously play the respective local files, and the information of the control code information is very small, and the consumption is very small.
  • the traffic is also small, and at the same time, each playback device can smoothly play files without being affected by the state of the network.
  • the playback device of the embodiment includes: a smart phone/PAD/smart speaker that installs a “synchronized broadcast” APP, and the “synchronous broadcast” APP in this embodiment is a software based on ANDROID or IOS, and has group management, group member management, Function modules such as group messages, playlist management, file upload and download, and assignment of anchors.
  • S2 Acquire, according to the control code information, a first play progress of the first play device, and a time difference between the local time of the first play device and the standard time, to obtain the first message that the first play device sends the control code information. a standard time; and according to the time difference between the local time of the second playing device and the standard time, obtaining a second standard time for the second playing device to receive the control code information.
  • the control code information of this embodiment includes: a network standard time, a time difference between the first playback device and the network standard time, an initiation time of the initiated play file, a play file list number, a play file number, and a play status instruction.
  • the network standard time of this embodiment such as Beijing time in the East Eight Time Zone.
  • S3 obtaining, according to the first standard time and the second standard time, a network delay time difference of the control code information, adding a network delay time difference to the first play progress, and calculating a second second playing device. Play progress.
  • the first playback device and the second playback device in this step have different differences from the network standard time, and the synchronization play progress of the first playback device and the second playback device is adjusted based on the network standard time, which is beneficial to improve synchronization.
  • the precision of playback is beneficial to improve synchronization.
  • S4 Switch the playing progress of the second playing device to the second playing progress.
  • the playback progress of the second playback device is controlled according to the control code information.
  • the second playback device in this embodiment may be multiple, and respectively receive control code information sent by the first playback device through the cloud, to implement multiple second playback devices. Play synchronously with the first playback device.
  • step S1 the method includes:
  • the second playing device receives the request instruction for joining the group, and joins the group.
  • the playing device in this embodiment is a smart phone.
  • the smart phone of the other group members of the "synchronized broadcast” APP is installed through the component group in the "synchronous broadcast” APP of the group master smart phone, and the two-dimensional code is scanned. , or enter the registered ID to join the group.
  • S11 Determine that the playing device corresponding to a group member assigned by the group owner in the group is the first playing device.
  • the group owner can assign a member's smartphone to be the first playback device on the "host" side.
  • S12 Acquire a synchronized play file shared by the first playing device, and store the synchronous play file.
  • the first playing device can create a play file list and upload the selected play files to the cloud server in batches under WIFI traffic.
  • Other group members can update the play file list and play files uploaded by the first play device to their respective smartphones for local storage under WIFI.
  • the cloud server obtains the local time of the smartphones of all the group members, and compares with the standard time of the network, and generates control code information according to information such as the time/network standard time/play file list of each group member's smartphone, and controls The code information will be updated to the smartphones of all group members as needed.
  • step S4 the method includes:
  • control code information is updated according to the playback progress of the first playback device every fixed time.
  • the synchronous play effect of multiple playback devices is synchronously monitored according to the control code information updated in real time.
  • the volume of the play is increased/decreased by pressing and holding the volume +/- button of the mobile phone, but the volume of the +/- button can be adjusted by a double tap to adjust the progress time of the synchronous play to Further improve the consistency of synchronous playback.
  • step S4 the method further includes:
  • the "synchronous broadcast” APP of the "host" smartphone of this embodiment has the control right of the control code information, and can play/pause/switch the play file, etc., such as switching to play the next song or the previous song.
  • step S4 the method further includes:
  • the second playing device of this embodiment may be converted into an anchor playing device, that is, a first playing device, according to the group owner's assignment, and has control authority of the control code information.
  • the "synchronous broadcast” APP of the "host” smartphone selects a playlist, selects a song and clicks "play", and the "synchronous broadcast” APP of the "host” smartphone will play the file information and control synchronously.
  • the code information is sent to the cloud server, and the control code information stored by the cloud server is updated, and sent to each smartphone of the group member through the cloud server.
  • Each group member receives the control code information through the "synchronization broadcast” APP on the smart phone, and then corrects according to the network transmission time delay carried in the control code information, generates a playback start position of the corresponding play file, and then associates with the "host” intelligence.
  • the phone plays the playback file synchronously.
  • a playback device includes:
  • the first receiving module 1 is configured to receive control code information that is transmitted by the first playing device through the cloud server.
  • the playing device in this embodiment is used as the second playing device, and the first playing device is the main playing device, and the first receiving module 1 receives the control code information sent by the cloud server to the master playing device, so that multiple playing devices are synchronized. Playing the respective local files, the amount of information of the control code information is very small, and the consumed traffic is also small, and at the same time, the playback device can be smoothly played by the playback device without being affected by the network state.
  • the playback device of the embodiment includes: a smart phone/PAD/smart speaker that installs a “synchronized broadcast” APP, and the “synchronous broadcast” APP in this embodiment is a software based on ANDROID or IOS, and has group management, group member management, Function modules such as group messages, playlist management, file upload and download, and assignment of anchors.
  • the first obtaining module 2 is configured to obtain, according to the control code information, a first playing progress of the first playing device, and a time difference between the local time of the first playing device and the standard time, to obtain the first playing device to send the The first standard time of the control code information is obtained; and the second standard time for the second playback device to receive the control code information is obtained according to the time difference between the local time of the second playback device and the standard time.
  • the control code information of this embodiment includes: a network standard time, a time difference between the first playback device and the network standard time, an initiation time of the initiated play file, a play file list number, a play file number, and a play status instruction.
  • the network standard time of this embodiment such as Beijing time in the East Eight Time Zone.
  • the calculating module 3 is configured to obtain a network delay time difference of the control code information according to the first standard time and the second standard time, and calculate the network delay time difference plus the first playing progress to calculate the second playing device The second playback progress.
  • the first playback device and the second playback device in this embodiment have different differences from the network standard time, and the synchronization play progress of the first playback device and the second playback device is adjusted based on the network standard time, which is beneficial to improve.
  • the precision of synchronized playback is beneficial to improve.
  • the switching module 4 is configured to switch the playing progress of the second playing device to the second playing progress.
  • the switching module 4 controls the playing progress of the second playing device according to the control code information.
  • the second playing device in this embodiment may be multiple, and respectively receive the control code information sent by the first playing device through the cloud to implement multiple
  • the second playing device plays synchronously with the first playing device.
  • the playback device of this embodiment further includes:
  • the second receiving module 10 is configured to receive a request instruction for joining the group, and join the group.
  • the playing device in this embodiment is a smart phone, and the component group in the "synchronous broadcast" APP of the group master smart phone in this embodiment is installed with the smart phone of the other group members of the "synchronized broadcast” APP, and receives the second through the second Module 10 scans the two-dimensional code or enters the registered ID to join the group.
  • the determining module 11 is configured to determine that the playing device corresponding to a group member assigned by the group owner in the group is the first playing device.
  • the group owner can assign a member's smartphone to be the first playback device on the "host" side.
  • the second obtaining module 12 is configured to acquire a synchronous play file shared by the first playing device, and store the synchronous play file.
  • the first playing device can create a play file list and upload the selected play files to the cloud server in batches under WIFI traffic.
  • the other group members can update the play file list and the play file uploaded by the first play device to the respective smart phones for local storage under the WIFI through the second obtaining module 12.
  • the cloud server obtains the local time of the smartphones of all the group members, and compares with the standard time of the network, and generates control code information according to information such as the time/network standard time/play file list of each group member's smartphone, and controls The code information will be updated to the smartphones of all group members as needed.
  • the playback device of this embodiment further includes:
  • the third receiving module 40 is configured to receive updated control code information.
  • control code information is updated according to the playback progress of the first playback device every fixed time.
  • the verification module 41 is configured to check the error of the synchronous play according to the updated control code information.
  • the verification module 41 synchronously monitors the synchronized play effects of the plurality of playback devices according to the control code information updated in real time.
  • the fine adjustment module 42 is configured to fine tune the playback progress of the second playback device according to the error.
  • the volume of the play is increased/decreased by pressing and holding the volume +/- button of the mobile phone, but the volume of the +/- button can be adjusted by the fine adjustment module 42 to adjust the synchronous play. Progress time to further improve the consistency of synchronized playback.
  • the apparatus for synchronously playing the multiple playback devices of the embodiment further includes:
  • the fourth receiving module 43 is configured to receive a control command carried by the control code information sent by the first playing device.
  • the "synchronous broadcast” APP of the "host" smartphone of this embodiment has the control right of the control code information, and can play/pause/switch the play file, etc., such as switching to play the next song or the previous song.
  • the control module 44 is configured to control a playing state of the second playing device according to the control command.
  • an apparatus for synchronously playing a plurality of playback devices further includes:
  • the fifth receiving module 45 is configured to receive the assignment of the group to become a master playback device.
  • the second playing device of this embodiment can receive the group owner's assignment by the fifth receiving module 45 to be converted into the anchor playing device, that is, the first playing device, and has the control authority of the control code information.
  • the sending module 46 is configured to send the shared synchronous play file and the control code information to the cloud server.
  • the "synchronous broadcast” APP of the "host” smartphone selects a playlist, selects a song and clicks "play", and the "synchronous broadcast” APP of the "host” smartphone will play the file information and control synchronously.
  • the code information is sent to the cloud server through the sending module 46, and the control code information stored by the cloud server is updated, and sent to each smart phone of the group member through the cloud server.
  • Each group member receives the control code information through the "synchronization broadcast” APP on the smart phone, and then corrects according to the network transmission time delay carried in the control code information, generates a playback start position of the corresponding play file, and then associates with the "host” intelligence.
  • the phone plays the playback file synchronously.
  • the method for transmitting control code information by the cloud server enables multiple playback devices to play synchronously, obtains the playback progress and standard time of the synchronous playback file from the control code information, and calculates the network delay time, thereby obtaining the playback time of each playback device.
  • the exact playback progress of the synchronized playback state When group activities are performed by the above synchronous play mode, each person only needs to wear a headset to listen to the synchronous play file, thereby avoiding the problem of noise disturbance.
  • square dance no need for high-pitched speakers, through each group of members to listen to the playback of their respective playback devices by wearing headphones, you can jump out of a quiet square dance; such as outings / climbing / small gatherings, etc., can be played through the above synchronous
  • the method consists of a small open contact area, simultaneous listening to songs, simultaneous tour guide attractions, etc., only the leader team establishes the APP group in advance through the cloud server, and shares the play file list with other group members. All the group members control their respective according to the control code information.
  • the intelligent terminal can realize the synchronous play effect, and the activities of each group do not interfere with each other, which solves the problem of noise disturbance, and saves the consumption of information traffic.

Abstract

The provided method for the synchronous playing of multiple playing devices comprises: a second playing device receiving control code information transmitted by a first playing device by means of a cloud server; acquiring, according to the control code information, a first playing progress of the first playing device, and the time difference between a local time of the first playing device and a standard time, so as to obtain a first standard moment at which the first playing device sends the control code information; obtaining, according to the time difference between a local time of the second playing device and the standard time, a second standard moment at which the second playing device receives the control code information; obtaining, according to the first standard moment and the second standard moment, a network delay time difference of the control code information, and adding the network delay time difference to the first playing progress to calculate a second playing progress moment of the second playing device; and switching the playing progress of the second playing device to a second playing progress. Multiple playing devices synchronously carry out playing by means of a cloud server.

Description

多个播放设备同步播放的方法与播放设备Method and device for synchronous playback of multiple playback devices 技术领域Technical field
本发明涉及到电子技术领域,特别是涉及到多个播放设备同步播放的方法与播放设备。The present invention relates to the field of electronic technologies, and in particular, to a method and a playback device for synchronous playback of multiple playback devices.
背景技术Background technique
随着人们的生活水平提高,越来越多的人追求丰富的业余生活,以满足对精神食量的需求,也随之出现了不同兴趣爱好的小群体娱乐组织,但在群体活动中为满足群体活动的同步性要求,需要通过声音广播、音乐广播等实现同步活动,提高群体活动的组织性。比如,广场舞群体组织,通常通过大功率的音箱来播放歌曲,来同步群体组织的舞步,但大功率的音箱播放歌曲带来的噪音扰民问题,由于噪音扰民而引起的矛盾冲突事件也屡见不鲜。随着电子科技的逐渐进步,智能设备的应用越来越普遍,通过带耳机的智能设备进行群体活动,可解决噪音扰民问题,但多个智能设备进行同步播放,仍是技术难题。As people's living standards improve, more and more people pursue rich amateur life to meet the demand for spiritual food, and there are also small group entertainment organizations with different interests and hobbies, but in the group activities to meet the group Synchronization requirements of activities require synchronization activities through sound broadcasting, music broadcasting, etc., to improve the organization of group activities. For example, the square dance group organization usually plays songs through high-powered speakers to synchronize the dance steps of the group organization. However, the noise caused by the high-powered speakers playing the songs disturbs the people, and the contradictions and conflicts caused by the noise disturbance are also common. With the gradual advancement of electronic technology, the application of smart devices is becoming more and more popular. The group activities of smart devices with headphones can solve the problem of noise disturbance, but the simultaneous playback of multiple smart devices is still a technical problem.
因此,现有技术还有待改进。Therefore, the prior art has yet to be improved.
技术问题technical problem
本发明的主要目的为提供一种多个播放设备同步播放的方法,旨在解决现有多个智能设备无法实现同步播放的技术问题。The main purpose of the present invention is to provide a method for synchronous playback of multiple playback devices, which aims to solve the technical problem that multiple smart devices cannot achieve synchronous playback.
技术解决方案Technical solution
本发明提出多个播放设备同步播放的方法,包括:The present invention provides a method for synchronous playback of multiple playback devices, including:
第二播放设备接收第一播放设备通过云端服务器传递的控制码信息;The second playing device receives the control code information that is transmitted by the first playing device through the cloud server;
根据所述控制码信息获取第一播放设备的第一播放进度,以及第一播放设备的本机时间与标准时间的时间差量,以得到第一播放设备发送所述控制码信息的第一标准时刻;并根据第二播放设备的本机时间与标准时间的时间差量,得到第二播放设备接收所述控制码信息的第二标准时刻;Obtaining, according to the control code information, a first playing progress of the first playing device, and a time difference between the local time of the first playing device and the standard time, to obtain a first standard time for the first playing device to send the control code information And obtaining, according to the time difference between the local time of the second playing device and the standard time, obtaining a second standard time for the second playing device to receive the control code information;
根据所述第一标准时刻与第二标准时刻,得到所述控制码信息的网络延迟时间差量,将网络延迟时间差量加上第一播放进度,计算出所述第二播放设备的第二播放进度;Obtaining a network delay time difference of the control code information according to the first standard time and the second standard time, adding a network delay time difference to the first play progress, and calculating a second play progress of the second play device ;
将所述第二播放设备的播放进度切换至所述第二播放进度。Switching the playback progress of the second playback device to the second playback progress.
优选地,所述第二播放设备接收第一播放设备通过云端服务器传递的控制码信息的步骤之前,包括:Preferably, before the step of the second playback device receiving the control code information that is transmitted by the first playback device through the cloud server, the method includes:
第二播放设备接收加入群组的请求指令,加入所述群组;The second playing device receives the request instruction to join the group, and joins the group;
确定所述群组中群主指派的一群组成员对应的播放设备为第一播放设备;Determining, by the first playback device, a playback device corresponding to a group member assigned by the group owner in the group;
获取所述第一播放设备共享的同步播放文件,并存储所述同步播放文件。Acquiring a synchronized play file shared by the first playback device, and storing the synchronous play file.
优选地,所述将所述第二播放设备的播放进度切换至所述第二播放进度的步骤之后,包括:Preferably, after the step of switching the playing progress of the second playing device to the second playing progress, the method includes:
接收更新的控制码信息;Receiving updated control code information;
根据所述更新的控制码信息检验同步播放的误差;Verifying the error of the synchronous play according to the updated control code information;
根据所述误差微调所述第二播放设备的播放进度。The playback progress of the second playback device is fine-tuned according to the error.
优选地,所述将所述第二播放设备的播放进度切换至所述第二播放进度的步骤之后,还包括:Preferably, after the step of switching the playing progress of the second playing device to the second playing progress, the method further includes:
接收所述第一播放设备发送的控制码信息的控制命令;Receiving a control command of the control code information sent by the first playback device;
根据所述控制命令控制所述第二播放设备的播放状态。Controlling a play status of the second playback device according to the control command.
优选地,所述将所述第二播放设备的播放进度切换至所述第二播放进度的步骤之后,还包括:Preferably, after the step of switching the playing progress of the second playing device to the second playing progress, the method further includes:
接收所述群组的指派成为主控播放设备;Receiving the assignment of the group to become a master playback device;
发送共享的同步播放文件以及控制码信息至云端服务器。Send the shared sync play file and control code information to the cloud server.
本发明还提供播放设备,包括:The invention also provides a playback device, comprising:
第一接收模块,用于接收第一播放设备通过云端服务器传递的控制码信息;a first receiving module, configured to receive control code information that is transmitted by the first playing device through the cloud server;
第一获取模块,用于根据所述控制码信息获取第一播放设备的第一播放进度,以及第一播放设备的本机时间与标准时间的时间差量,以得到第一播放设备发送所述控制码信息的第一标准时刻;并根据第二播放设备的本机时间与标准时间的时间差量,得到第二播放设备接收所述控制码信息的第二标准时刻;a first acquiring module, configured to acquire, according to the control code information, a first playing progress of the first playing device, and a time difference between the local time of the first playing device and the standard time, to obtain the first playing device to send the control a first standard time of the code information; and obtaining a second standard time for the second playback device to receive the control code information according to a time difference between the local time of the second playback device and the standard time;
计算模块,用于根据所述第一标准时刻与第二标准时刻,得到所述控制码信息的网络延迟时间差量,将网络延迟时间差量加上第一播放进度,计算出所述第二播放设备的第二播放进度;a calculating module, configured to obtain, according to the first standard time and the second standard time, a network delay time difference of the control code information, add a network delay time difference to the first playing progress, and calculate the second playing device Second play progress;
切换模块,用于将所述第二播放设备的播放进度切换至所述第二播放进度。And a switching module, configured to switch a play progress of the second play device to the second play progress.
优选地,所述播放设备,包括:Preferably, the playing device includes:
第二接收模块,用于接收加入群组的请求指令,加入所述群组;a second receiving module, configured to receive a request instruction to join the group, and join the group;
确定模块,用于确定所述群组中群主指派的一群组成员对应的播放设备为第一播放设备;a determining module, configured to determine that a playing device corresponding to a group member assigned by the group owner in the group is a first playing device;
第二获取模块,用于获取所述第一播放设备共享的同步播放文件,并存储所述同步播放文件。And a second acquiring module, configured to acquire a synchronous play file shared by the first playing device, and store the synchronous play file.
优选地,所述播放设备,包括:Preferably, the playing device includes:
第三接收模块,用于接收更新的控制码信息;a third receiving module, configured to receive updated control code information;
检验模块,用于根据所述更新的控制码信息检验同步播放的误差;a verification module, configured to check an error of the synchronous play according to the updated control code information;
微调模块,用于根据所述误差微调所述第二播放设备的播放进度。And a fine adjustment module, configured to fine tune a play progress of the second playback device according to the error.
优选地,所述播放设备,还包括:Preferably, the playing device further includes:
第四接收模块,用于接收所述第一播放设备发送的控制码信息的控制命令;a fourth receiving module, configured to receive a control command of the control code information sent by the first playing device;
控制模块,用于根据所述控制命令控制所述第二播放设备的播放状态。And a control module, configured to control a playing state of the second playing device according to the control command.
优选地,所述播放设备,还包括:Preferably, the playing device further includes:
第五接收模块,用于接收所述群组的指派成为主控播放设备;a fifth receiving module, configured to receive the assignment of the group to become a master playback device;
发送模块,用于发送共享的同步播放文件以及控制码信息至云端服务器。The sending module is configured to send the shared synchronized play file and the control code information to the cloud server.
有益效果Beneficial effect
本发明有益技术效果:本发明通过云端服务器传递控制码信息的方式,实现多个播放设备同步播放,从控制码信息中获取同步播放文件的播放进度以及标准时间,计算出网络延迟时间,从而得到各播放设备的同步播放状态的准确播放进度。通过上述同步播放方式进行群体活动时,只需每人佩戴耳机接听同步播放文件即可,避免了噪音扰民的问题。比如广场舞,不需要高音喇叭,通过每各组员通过佩戴耳机分别接听各自播放设备的播放,就可以跳出一个安静的广场舞;再比如郊游/爬山/小聚会等等,可通过上述同步播放方式组成小型开放的联络区,同步听歌、同步导游景点介绍等,只需领队人通过云端服务器事先建立APP群,并向其他组员分享播放文件列表,所有组员根据控制码信息控制各自的智能终端即可实现同步播放效果,各群体活动间不互相干扰,解决了噪音扰民问题,同时节省了信息流量的耗量。Advantageous technical effects of the present invention: The present invention realizes synchronous play of a plurality of playback devices by transmitting control code information through a cloud server, obtains playback progress and standard time of the synchronous playback file from the control code information, and calculates a network delay time, thereby obtaining The accurate playback progress of the synchronized playback state of each playback device. When group activities are performed by the above synchronous play mode, each person only needs to wear a headset to listen to the synchronous play file, thereby avoiding the problem of noise disturbance. For example, square dance, no need for high-pitched speakers, through each group of members to listen to the playback of their respective playback devices by wearing headphones, you can jump out of a quiet square dance; such as outings / climbing / small gatherings, etc., can be played through the above synchronous The method consists of a small open contact area, simultaneous listening to songs, simultaneous tour guide attractions, etc., only the leader team establishes the APP group in advance through the cloud server, and shares the play file list with other group members. All the group members control their respective according to the control code information. The intelligent terminal can realize the synchronous play effect, and the activities of each group do not interfere with each other, which solves the problem of noise disturbance, and saves the consumption of information traffic.
附图说明DRAWINGS
图1 本发明一实施例的多个播放设备同步播放的方法流程示意图;1 is a schematic flowchart of a method for synchronously playing a plurality of playback devices according to an embodiment of the present invention;
图2 本发明一实施例的播放设备的结构示意图;2 is a schematic structural diagram of a playback device according to an embodiment of the present invention;
图3 本发明一实施例的播放设备的优化结构示意图;FIG. 3 is a schematic diagram of an optimized structure of a playback device according to an embodiment of the present invention; FIG.
图4 本发明一实施例的播放设备的优化结构示意图;4 is a schematic diagram of an optimized structure of a playback device according to an embodiment of the present invention;
图5 本发明一实施例的播放设备的优化结构示意图;FIG. 5 is a schematic diagram of an optimized structure of a playback device according to an embodiment of the present invention; FIG.
图6 本发明另一实施例的播放设备的结构示意图。FIG. 6 is a schematic structural diagram of a playback device according to another embodiment of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
本发明的最佳实施方式BEST MODE FOR CARRYING OUT THE INVENTION
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
参照图1,本发明一实施例的多个播放设备同步播放的方法,包括:Referring to FIG. 1, a method for synchronously playing a plurality of playback devices according to an embodiment of the present invention includes:
S1:第二播放设备接收第一播放设备通过云端服务器传递的控制码信息。S1: The second playing device receives the control code information that is transmitted by the first playing device through the cloud server.
本实施例中第一播放设备为主控播放设备,通过云端服务器传递主控播放设备发送的控制码信息,实现多个播放设备同步播放各自的本地文件,控制码信息的信息量非常少,消耗的流量也很少,同时可保证各播放设备流畅地播放文件,不受网络状态的影响。本实施例的播放设备包括:安装“同步播”APP的智能手机/PAD/智能音箱等,本实施例的“同步播”APP,为基于ANDROID或者IOS的软件,具有建群、群成员管理、群消息、播放文件列表管理、文件上传下载以及指派主播等功能模块。In this embodiment, the first playing device is the main control playing device, and the control code information sent by the main control playing device is transmitted through the cloud server, so that the multiple playing devices synchronously play the respective local files, and the information of the control code information is very small, and the consumption is very small. The traffic is also small, and at the same time, each playback device can smoothly play files without being affected by the state of the network. The playback device of the embodiment includes: a smart phone/PAD/smart speaker that installs a “synchronized broadcast” APP, and the “synchronous broadcast” APP in this embodiment is a software based on ANDROID or IOS, and has group management, group member management, Function modules such as group messages, playlist management, file upload and download, and assignment of anchors.
S2:根据所述控制码信息获取第一播放设备的第一播放进度,以及第一播放设备的本机时间与标准时间的时间差量,以得到第一播放设备发送所述控制码信息的第一标准时刻;并根据第二播放设备的本机时间与标准时间的时间差量,得到第二播放设备接收所述控制码信息的第二标准时刻。S2: Acquire, according to the control code information, a first play progress of the first play device, and a time difference between the local time of the first play device and the standard time, to obtain the first message that the first play device sends the control code information. a standard time; and according to the time difference between the local time of the second playing device and the standard time, obtaining a second standard time for the second playing device to receive the control code information.
本实施例的控制码信息包括:网络标准时间、第一播放设备与网络标准时间的时间差量、发起播放文件的发起时间、播放文件列表编号、播放文件编号以及播放状态指令等。本实施例的网络标准时间,比如东八时区的北京时间等。The control code information of this embodiment includes: a network standard time, a time difference between the first playback device and the network standard time, an initiation time of the initiated play file, a play file list number, a play file number, and a play status instruction. The network standard time of this embodiment, such as Beijing time in the East Eight Time Zone.
S3: 根据所述第一标准时刻与第二标准时刻,得到所述控制码信息的网络延迟时间差量,将网络延迟时间差量加上第一播放进度,计算出所述第二播放设备的第二播放进度。S3: obtaining, according to the first standard time and the second standard time, a network delay time difference of the control code information, adding a network delay time difference to the first play progress, and calculating a second second playing device. Play progress.
本步骤的第一播放设备与第二播放设备均与网络标准时间存在不同的差量,通过以网络标准时间为基准,调整第一播放设备与第二播放设备的同步播放进度,有利于提高同步播放的精度。The first playback device and the second playback device in this step have different differences from the network standard time, and the synchronization play progress of the first playback device and the second playback device is adjusted based on the network standard time, which is beneficial to improve synchronization. The precision of playback.
S4:将所述第二播放设备的播放进度切换至所述第二播放进度。S4: Switch the playing progress of the second playing device to the second playing progress.
本实施例根据控制码信息控制第二播放设备的播放进度,本实施例的第二播放设备可为多个,分别接收第一播放设备通过云端发送的控制码信息,实现多个第二播放设备与第一播放设备进行同步播放。In this embodiment, the playback progress of the second playback device is controlled according to the control code information. The second playback device in this embodiment may be multiple, and respectively receive control code information sent by the first playback device through the cloud, to implement multiple second playback devices. Play synchronously with the first playback device.
进一步地,本实施例中,步骤S1之前,包括:Further, in this embodiment, before step S1, the method includes:
S10:第二播放设备接收加入群组的请求指令,加入所述群组。S10: The second playing device receives the request instruction for joining the group, and joins the group.
本实施例的播放设备为智能手机,本步骤通过群主端智能手机的“同步播”APP中组件群组,安装有“同步播”APP的其他群组成员的智能手机,通过扫描二维码,或者输入注册的ID加入群组。The playing device in this embodiment is a smart phone. In this step, the smart phone of the other group members of the "synchronized broadcast" APP is installed through the component group in the "synchronous broadcast" APP of the group master smart phone, and the two-dimensional code is scanned. , or enter the registered ID to join the group.
S11:确定所述群组中群主指派的一群组成员对应的播放设备为第一播放设备。S11: Determine that the playing device corresponding to a group member assigned by the group owner in the group is the first playing device.
群主可以指派一成员的智能手机为“主播”端的第一播放设备。The group owner can assign a member's smartphone to be the first playback device on the "host" side.
S12:获取所述第一播放设备共享的同步播放文件,并存储所述同步播放文件。S12: Acquire a synchronized play file shared by the first playing device, and store the synchronous play file.
第一播放设备可以创建播放文件列表,并在WIFI流量下批量上传选好的播放文件到云端服务器。其它群组成员可以在WIFI下更新第一播放设备上传的播放文件列表和播放文件到各自的智能手机进行本地存储。云端服务器会获得所有群组成员的智能手机的本地时间,并与网络标准时间比对,根据每名群组成员的智能手机的时间/网络标准时间/播放文件列表等信息生成控制码信息,控制码信息会按需要更新到所有群组成员的智能手机上。The first playing device can create a play file list and upload the selected play files to the cloud server in batches under WIFI traffic. Other group members can update the play file list and play files uploaded by the first play device to their respective smartphones for local storage under WIFI. The cloud server obtains the local time of the smartphones of all the group members, and compares with the standard time of the network, and generates control code information according to information such as the time/network standard time/play file list of each group member's smartphone, and controls The code information will be updated to the smartphones of all group members as needed.
进一步地,本实施例中,步骤S4之后,包括:Further, in this embodiment, after step S4, the method includes:
S40:接收更新的控制码信息。S40: Receive updated control code information.
本实施例中控制码信息每隔固定时间根据第一播放设备的播放进度进行更新。In this embodiment, the control code information is updated according to the playback progress of the first playback device every fixed time.
S41:根据所述更新的控制码信息检验同步播放的误差。S41: Verify the error of the synchronous play according to the updated control code information.
根据实时更新的控制码信息同步监控多个播放设备的同步播放效果。The synchronous play effect of multiple playback devices is synchronously monitored according to the control code information updated in real time.
S42:根据所述误差微调所述第二播放设备的播放进度。S42: Fine-tune the playing progress of the second playing device according to the error.
本实施例的智能手机的“同步播”APP运行时,通过按住手机音量+/-按键控制播放的音量增加/减小,但双击音量+/-按键可微量调整同步播放的进度时刻,以进一步提高同步播放的一致性。When the "synchronous broadcast" APP of the smart phone of the embodiment is running, the volume of the play is increased/decreased by pressing and holding the volume +/- button of the mobile phone, but the volume of the +/- button can be adjusted by a double tap to adjust the progress time of the synchronous play to Further improve the consistency of synchronous playback.
进一步地,本发明实施例中,步骤S4之后,还包括:Further, in the embodiment of the present invention, after step S4, the method further includes:
S43:接收所述第一播放设备发送的控制码信息的控制命令。S43: Receive a control command of the control code information sent by the first playback device.
本实施例的“主播”的智能手机的“同步播”APP具有控制码信息的控制权,可以播放/暂停/切换播放文件等,比如切换播放下一歌曲或上一歌曲等。The "synchronous broadcast" APP of the "host" smartphone of this embodiment has the control right of the control code information, and can play/pause/switch the play file, etc., such as switching to play the next song or the previous song.
S44:根据所述控制命令控制所述第二播放设备的播放状态。S44: Control a playing state of the second playing device according to the control command.
进一步地,本发明另一实施例中,步骤S4之后,还包括:Further, in another embodiment of the present invention, after step S4, the method further includes:
S45:接收所述群组的指派成为主播播放设备。S45: Receive the assignment of the group to become an anchor playback device.
本实施例的第二播放设备可根据群主的指派变换成主播播放设备,即第一播放设备,而具有控制码信息的控制权限。The second playing device of this embodiment may be converted into an anchor playing device, that is, a first playing device, according to the group owner's assignment, and has control authority of the control code information.
S46:发送共享的同步播放文件以及控制码信息至云端服务器。S46: Send the shared synchronized play file and the control code information to the cloud server.
本实施例的“主播”智能手机的“同步播”APP中选择一个播放列表,选择一个歌曲点击“播放”,并通过“主播”智能手机的“同步播”APP会把同步播放文件信息以及控制码信息发到云端服务器,更新云端服务器存储的控制码信息,并通过云端服务器发送到群组成员的各智能手机。各群组成员通过智能手机上的“同步播”APP接收控制码信息,然后根据控制码信息中携带的网络传输时间延迟做校正,生成对应播放文件的播放起始位置,然后与“主播”智能手机同步播放播放文件。In this embodiment, the "synchronous broadcast" APP of the "host" smartphone selects a playlist, selects a song and clicks "play", and the "synchronous broadcast" APP of the "host" smartphone will play the file information and control synchronously. The code information is sent to the cloud server, and the control code information stored by the cloud server is updated, and sent to each smartphone of the group member through the cloud server. Each group member receives the control code information through the "synchronization broadcast" APP on the smart phone, and then corrects according to the network transmission time delay carried in the control code information, generates a playback start position of the corresponding play file, and then associates with the "host" intelligence. The phone plays the playback file synchronously.
参照图2,本发明一实施例的播放设备,包括:Referring to FIG. 2, a playback device according to an embodiment of the present invention includes:
第一接收模块1,用于接收第一播放设备通过云端服务器传递的控制码信息。The first receiving module 1 is configured to receive control code information that is transmitted by the first playing device through the cloud server.
本实施例中的播放设备作为第二播放设备使用,第一播放设备为主控播放设备,通过第一接收模块1接收云端服务器传递主控播放设备发送的控制码信息,实现多个播放设备同步播放各自的本地文件,控制码信息的信息量非常少,消耗的流量也很少,同时可保证各播放设备流畅地播放文件,不受网络状态的影响。本实施例的播放设备包括:安装“同步播”APP的智能手机/PAD/智能音箱等,本实施例的“同步播”APP,为基于ANDROID或者IOS的软件,具有建群、群成员管理、群消息、播放文件列表管理、文件上传下载以及指派主播等功能模块。The playing device in this embodiment is used as the second playing device, and the first playing device is the main playing device, and the first receiving module 1 receives the control code information sent by the cloud server to the master playing device, so that multiple playing devices are synchronized. Playing the respective local files, the amount of information of the control code information is very small, and the consumed traffic is also small, and at the same time, the playback device can be smoothly played by the playback device without being affected by the network state. The playback device of the embodiment includes: a smart phone/PAD/smart speaker that installs a “synchronized broadcast” APP, and the “synchronous broadcast” APP in this embodiment is a software based on ANDROID or IOS, and has group management, group member management, Function modules such as group messages, playlist management, file upload and download, and assignment of anchors.
第一获取模块2,用于根据所述控制码信息获取第一播放设备的第一播放进度,以及第一播放设备的本机时间与标准时间的时间差量,以得到第一播放设备发送所述控制码信息的第一标准时刻;并根据第二播放设备的本机时间与标准时间的时间差量,得到第二播放设备接收所述控制码信息的第二标准时刻。The first obtaining module 2 is configured to obtain, according to the control code information, a first playing progress of the first playing device, and a time difference between the local time of the first playing device and the standard time, to obtain the first playing device to send the The first standard time of the control code information is obtained; and the second standard time for the second playback device to receive the control code information is obtained according to the time difference between the local time of the second playback device and the standard time.
本实施例的控制码信息包括:网络标准时间、第一播放设备与网络标准时间的时间差量、发起播放文件的发起时间、播放文件列表编号、播放文件编号以及播放状态指令等。本实施例的网络标准时间,比如东八时区的北京时间等。The control code information of this embodiment includes: a network standard time, a time difference between the first playback device and the network standard time, an initiation time of the initiated play file, a play file list number, a play file number, and a play status instruction. The network standard time of this embodiment, such as Beijing time in the East Eight Time Zone.
计算模块3,用于根据所述第一标准时刻与第二标准时刻,得到所述控制码信息的网络延迟时间差量,将网络延迟时间差量加上第一播放进度计算出所述第二播放设备的第二播放进度。The calculating module 3 is configured to obtain a network delay time difference of the control code information according to the first standard time and the second standard time, and calculate the network delay time difference plus the first playing progress to calculate the second playing device The second playback progress.
本实施例的第一播放设备与第二播放设备均与网络标准时间存在不同的差量,通过以网络标准时间为基准,调整第一播放设备与第二播放设备的同步播放进度,有利于提高同步播放的精度。The first playback device and the second playback device in this embodiment have different differences from the network standard time, and the synchronization play progress of the first playback device and the second playback device is adjusted based on the network standard time, which is beneficial to improve. The precision of synchronized playback.
切换模块4,用于将所述第二播放设备的播放进度切换至所述第二播放进度。The switching module 4 is configured to switch the playing progress of the second playing device to the second playing progress.
本实施例通过切换模块4根据控制码信息控制第二播放设备的播放进度,本实施例的第二播放设备可为多个,分别接收第一播放设备通过云端发送的控制码信息,实现多个第二播放设备与第一播放设备进行同步播放。In this embodiment, the switching module 4 controls the playing progress of the second playing device according to the control code information. The second playing device in this embodiment may be multiple, and respectively receive the control code information sent by the first playing device through the cloud to implement multiple The second playing device plays synchronously with the first playing device.
参照图3,进一步地,本实施例的播放设备,包括:Referring to FIG. 3, the playback device of this embodiment further includes:
第二接收模块10,用于接收加入群组的请求指令,加入所述群组。The second receiving module 10 is configured to receive a request instruction for joining the group, and join the group.
本实施例的播放设备为智能手机,本实施例的群主端智能手机的“同步播”APP中组件群组,安装有“同步播”APP的其他群组成员的智能手机,通过第二接收模块10扫描二维码,或者输入注册的ID加入群组。The playing device in this embodiment is a smart phone, and the component group in the "synchronous broadcast" APP of the group master smart phone in this embodiment is installed with the smart phone of the other group members of the "synchronized broadcast" APP, and receives the second through the second Module 10 scans the two-dimensional code or enters the registered ID to join the group.
确定模块11,用于确定所述群组中群主指派的一群组成员对应的播放设备为第一播放设备。The determining module 11 is configured to determine that the playing device corresponding to a group member assigned by the group owner in the group is the first playing device.
群主可以指派一成员的智能手机为“主播”端的第一播放设备。The group owner can assign a member's smartphone to be the first playback device on the "host" side.
第二获取模块12,用于获取所述第一播放设备共享的同步播放文件,并存储所述同步播放文件。The second obtaining module 12 is configured to acquire a synchronous play file shared by the first playing device, and store the synchronous play file.
第一播放设备可以创建播放文件列表,并在WIFI流量下批量上传选好的播放文件到云端服务器。其它群组成员可以通过第二获取模块12在WIFI下更新第一播放设备上传的播放文件列表和播放文件到各自的智能手机进行本地存储。云端服务器会获得所有群组成员的智能手机的本地时间,并与网络标准时间比对,根据每名群组成员的智能手机的时间/网络标准时间/播放文件列表等信息生成控制码信息,控制码信息会按需要更新到所有群组成员的智能手机上。The first playing device can create a play file list and upload the selected play files to the cloud server in batches under WIFI traffic. The other group members can update the play file list and the play file uploaded by the first play device to the respective smart phones for local storage under the WIFI through the second obtaining module 12. The cloud server obtains the local time of the smartphones of all the group members, and compares with the standard time of the network, and generates control code information according to information such as the time/network standard time/play file list of each group member's smartphone, and controls The code information will be updated to the smartphones of all group members as needed.
参照图4,进一步地,本实施例的播放设备,包括:Referring to FIG. 4, the playback device of this embodiment further includes:
第三接收模块40,用于接收更新的控制码信息。The third receiving module 40 is configured to receive updated control code information.
本实施例中控制码信息每隔固定时间根据第一播放设备的播放进度进行更新。In this embodiment, the control code information is updated according to the playback progress of the first playback device every fixed time.
检验模块41,用于根据所述更新的控制码信息检验同步播放的误差。The verification module 41 is configured to check the error of the synchronous play according to the updated control code information.
检验模块41根据实时更新的控制码信息同步监控多个播放设备的同步播放效果。The verification module 41 synchronously monitors the synchronized play effects of the plurality of playback devices according to the control code information updated in real time.
微调模块42,用于根据所述误差微调所述第二播放设备的播放进度。The fine adjustment module 42 is configured to fine tune the playback progress of the second playback device according to the error.
本实施例的智能手机的“同步播”APP运行时,通过按住手机音量+/-按键控制播放的音量增加/减小,但双击音量+/-按键可通过微调模块42微量调整同步播放的进度时刻,以进一步提高同步播放的一致性。When the "synchronous broadcast" APP of the smart phone of the embodiment is running, the volume of the play is increased/decreased by pressing and holding the volume +/- button of the mobile phone, but the volume of the +/- button can be adjusted by the fine adjustment module 42 to adjust the synchronous play. Progress time to further improve the consistency of synchronized playback.
参照图5,进一步地,本实施例的多个播放设备同步播放的装置,还包括:Referring to FIG. 5, further, the apparatus for synchronously playing the multiple playback devices of the embodiment further includes:
第四接收模块43,用于接收所述第一播放设备发送的控制码信息携带的控制命令。The fourth receiving module 43 is configured to receive a control command carried by the control code information sent by the first playing device.
本实施例的“主播”的智能手机的“同步播”APP具有控制码信息的控制权,可以播放/暂停/切换播放文件等,比如切换播放下一歌曲或上一歌曲等。The "synchronous broadcast" APP of the "host" smartphone of this embodiment has the control right of the control code information, and can play/pause/switch the play file, etc., such as switching to play the next song or the previous song.
控制模块44,用于根据所述控制命令控制所述第二播放设备的播放状态。The control module 44 is configured to control a playing state of the second playing device according to the control command.
参照图6,本发明另一实施例的多个播放设备同步播放的装置,还包括:Referring to FIG. 6 , an apparatus for synchronously playing a plurality of playback devices according to another embodiment of the present invention further includes:
第五接收模块45,用于接收所述群组的指派成为主控播放设备。The fifth receiving module 45 is configured to receive the assignment of the group to become a master playback device.
本实施例的第二播放设备可通过第五接收模块45接收群主的指派变换成主播播放设备,即第一播放设备,而具有控制码信息的控制权限。The second playing device of this embodiment can receive the group owner's assignment by the fifth receiving module 45 to be converted into the anchor playing device, that is, the first playing device, and has the control authority of the control code information.
发送模块46,用于发送共享的同步播放文件以及控制码信息至云端服务器。The sending module 46 is configured to send the shared synchronous play file and the control code information to the cloud server.
本实施例的“主播”智能手机的“同步播”APP中选择一个播放列表,选择一个歌曲点击“播放”,并通过“主播”智能手机的“同步播”APP会把同步播放文件信息以及控制码信息通过发送模块46发到云端服务器,更新云端服务器存储的控制码信息,并通过云端服务器发送到群组成员的各智能手机。各群组成员通过智能手机上的“同步播”APP接收控制码信息,然后根据控制码信息中携带的网络传输时间延迟做校正,生成对应播放文件的播放起始位置,然后与“主播”智能手机同步播放播放文件。In this embodiment, the "synchronous broadcast" APP of the "host" smartphone selects a playlist, selects a song and clicks "play", and the "synchronous broadcast" APP of the "host" smartphone will play the file information and control synchronously. The code information is sent to the cloud server through the sending module 46, and the control code information stored by the cloud server is updated, and sent to each smart phone of the group member through the cloud server. Each group member receives the control code information through the "synchronization broadcast" APP on the smart phone, and then corrects according to the network transmission time delay carried in the control code information, generates a playback start position of the corresponding play file, and then associates with the "host" intelligence. The phone plays the playback file synchronously.
本发明实施例通过云端服务器传递控制码信息的方式,实现多个播放设备同步播放,从控制码信息中获取同步播放文件的播放进度以及标准时间,计算出网络延迟时间,从而得到各播放设备的同步播放状态的准确播放进度。通过上述同步播放方式进行群体活动时,只需每人佩戴耳机接听同步播放文件即可,避免了噪音扰民的问题。比如广场舞,不需要高音喇叭,通过每各组员通过佩戴耳机分别接听各自播放设备的播放,就可以跳出一个安静的广场舞;再比如郊游/爬山/小聚会等等,可通过上述同步播放方式组成小型开放的联络区,同步听歌、同步导游景点介绍等,只需领队人通过云端服务器事先建立APP群,并向其他组员分享播放文件列表,所有组员根据控制码信息控制各自的智能终端即可实现同步播放效果,各群体活动间不互相干扰,解决了噪音扰民问题,同时节省了信息流量的耗量。In the embodiment of the present invention, the method for transmitting control code information by the cloud server enables multiple playback devices to play synchronously, obtains the playback progress and standard time of the synchronous playback file from the control code information, and calculates the network delay time, thereby obtaining the playback time of each playback device. The exact playback progress of the synchronized playback state. When group activities are performed by the above synchronous play mode, each person only needs to wear a headset to listen to the synchronous play file, thereby avoiding the problem of noise disturbance. For example, square dance, no need for high-pitched speakers, through each group of members to listen to the playback of their respective playback devices by wearing headphones, you can jump out of a quiet square dance; such as outings / climbing / small gatherings, etc., can be played through the above synchronous The method consists of a small open contact area, simultaneous listening to songs, simultaneous tour guide attractions, etc., only the leader team establishes the APP group in advance through the cloud server, and shares the play file list with other group members. All the group members control their respective according to the control code information. The intelligent terminal can realize the synchronous play effect, and the activities of each group do not interfere with each other, which solves the problem of noise disturbance, and saves the consumption of information traffic.
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are directly or indirectly applied to other related The technical field is equally included in the scope of patent protection of the present invention.

Claims (11)

  1. 一种多个播放设备同步播放的方法,其特征在于,包括:A method for synchronously playing a plurality of playing devices, comprising:
    第二播放设备接收第一播放设备通过云端服务器传递的控制码信息;The second playing device receives the control code information that is transmitted by the first playing device through the cloud server;
    根据所述控制码信息获取第一播放设备的第一播放进度,以及第一播放设备的本机时间与标准时间的时间差量,以得到第一播放设备发送所述控制码信息的第一标准时刻;并根据第二播放设备的本机时间与标准时间的时间差量,得到第二播放设备接收所述控制码信息的第二标准时刻;Obtaining, according to the control code information, a first playing progress of the first playing device, and a time difference between the local time of the first playing device and the standard time, to obtain a first standard time for the first playing device to send the control code information And obtaining, according to the time difference between the local time of the second playing device and the standard time, obtaining a second standard time for the second playing device to receive the control code information;
    根据所述第一标准时刻与第二标准时刻,得到所述控制码信息的网络延迟时间差量,将网络延迟时间差量加上第一播放进度,计算出所述第二播放设备的第二播放进度;Obtaining a network delay time difference of the control code information according to the first standard time and the second standard time, adding a network delay time difference to the first play progress, and calculating a second play progress of the second play device ;
    将所述第二播放设备的播放进度切换至所述第二播放进度。Switching the playback progress of the second playback device to the second playback progress.
  2. 根据权利要求1所述的多个播放设备同步播放的方法,其特征在于,所述第二播放设备接收第一播放设备通过云端服务器传递的控制码信息的步骤之前,包括:The method for synchronously playing a plurality of playback devices according to claim 1, wherein before the step of receiving the control code information transmitted by the first playback device through the cloud server, the second playback device includes:
    第二播放设备接收加入群组的请求指令,加入所述群组;The second playing device receives the request instruction to join the group, and joins the group;
    确定所述群组中群主指派的一群组成员对应的播放设备为第一播放设备;Determining, by the first playback device, a playback device corresponding to a group member assigned by the group owner in the group;
    获取所述第一播放设备共享的同步播放文件,并存储所述同步播放文件。Acquiring a synchronized play file shared by the first playback device, and storing the synchronous play file.
  3. 根据权利要求1所述的多个播放设备同步播放的方法,其特征在于,所述将所述第二播放设备的播放进度切换至所述第二播放进度的步骤之后,包括:The method for synchronously playing a plurality of playback devices according to claim 1, wherein the step of switching the playback progress of the second playback device to the second playback progress comprises:
    接收更新的控制码信息;Receiving updated control code information;
    根据所述更新的控制码信息检验同步播放的误差;Verifying the error of the synchronous play according to the updated control code information;
    根据所述误差微调所述第二播放设备的播放进度。The playback progress of the second playback device is fine-tuned according to the error.
  4. 根据权利要求1所述的多个播放设备同步播放的方法,其特征在于,所述将所述第二播放设备的播放进度切换至所述第二播放进度的步骤之后,还包括:The method for synchronously playing a plurality of playback devices according to claim 1, wherein the step of switching the playback progress of the second playback device to the second playback progress further comprises:
    接收所述第一播放设备发送的控制码信息的控制命令;Receiving a control command of the control code information sent by the first playback device;
    根据所述控制命令控制所述第二播放设备的播放状态。Controlling a play status of the second playback device according to the control command.
  5. 根据权利要求1所述的多个播放设备同步播放的方法,其特征在于,所述将所述第二播放设备的播放进度切换至所述第二播放进度的步骤之后,还包括:The method for synchronously playing a plurality of playback devices according to claim 1, wherein the step of switching the playback progress of the second playback device to the second playback progress further comprises:
    接收所述群组的指派成为主控播放设备;Receiving the assignment of the group to become a master playback device;
    发送共享的同步播放文件以及控制码信息至云端服务器。Send the shared sync play file and control code information to the cloud server.
  6. 根据权利要求1-5任意一项所述的多个播放设备同步播放的方法,其特征在于,所述控制码信息包括:网络标准时间、第一播放设备与网络标准时间的时间差量、发起播放文件的发起时间、播放文件列表编号、播放文件编号以及播放状态指令的至少一个。The method for synchronously playing a plurality of playback devices according to any one of claims 1 to 5, wherein the control code information comprises: a network standard time, a time difference between the first playback device and the network standard time, and the playback is initiated. At least one of a file start time, a play file list number, a play file number, and a play status command.
  7. 一种播放设备,其特征在于,包括:A playback device, comprising:
    第一接收模块,用于接收第一播放设备通过云端服务器传递的控制码信息;a first receiving module, configured to receive control code information that is transmitted by the first playing device through the cloud server;
    第一获取模块,用于根据所述控制码信息获取第一播放设备的第一播放进度,以及第一播放设备的本机时间与标准时间的时间差量,以得到第一播放设备发送所述控制码信息的第一标准时刻;并根据第二播放设备的本机时间与标准时间的时间差量,得到第二播放设备接收所述控制码信息的第二标准时刻;a first acquiring module, configured to acquire, according to the control code information, a first playing progress of the first playing device, and a time difference between the local time of the first playing device and the standard time, to obtain the first playing device to send the control a first standard time of the code information; and obtaining a second standard time for the second playback device to receive the control code information according to a time difference between the local time of the second playback device and the standard time;
    计算模块,用于根据所述第一标准时刻与第二标准时刻,得到所述控制码信息的网络延迟时间差量,将网络延迟时间差量加上第一播放进度计算出所述第二播放设备的第二播放进度;a calculation module, configured to obtain, according to the first standard time and the second standard time, a network delay time difference of the control code information, and calculate a network delay time difference plus a first play progress to calculate the second playback device Second playback progress;
    切换模块,用于将所述第二播放设备的播放进度切换至所述第二播放进度。And a switching module, configured to switch a play progress of the second play device to the second play progress.
  8. 根据权利要求7所述的播放设备,其特征在于,包括:The playback device of claim 7, comprising:
    第二接收模块,用于接收加入群组的请求指令,加入所述群组;a second receiving module, configured to receive a request instruction to join the group, and join the group;
    确定模块,用于确定所述群组中群主指派的一群组成员对应的播放设备为第一播放设备;a determining module, configured to determine that a playing device corresponding to a group member assigned by the group owner in the group is a first playing device;
    第二获取模块,用于获取所述第一播放设备共享的同步播放文件,并存储所述同步播放文件。And a second acquiring module, configured to acquire a synchronous play file shared by the first playing device, and store the synchronous play file.
  9. 根据权利要求7所述的播放设备,其特征在于,包括:The playback device of claim 7, comprising:
    第三接收模块,用于接收更新的控制码信息;a third receiving module, configured to receive updated control code information;
    检验模块,用于根据所述更新的控制码信息检验同步播放的误差;a verification module, configured to check an error of the synchronous play according to the updated control code information;
    微调模块,用于根据所述误差微调所述第二播放设备的播放进度。And a fine adjustment module, configured to fine tune a play progress of the second playback device according to the error.
  10. 根据权利要求7所述的播放设备,其特征在于,还包括:The playback device of claim 7, further comprising:
    第四接收模块,用于接收所述第一播放设备发送的控制码信息的控制命令;a fourth receiving module, configured to receive a control command of the control code information sent by the first playing device;
    控制模块,用于根据所述控制命令控制所述第二播放设备的播放状态。And a control module, configured to control a playing state of the second playing device according to the control command.
  11. 根据权利要求7所述的播放设备,其特征在于,还包括: The playback device of claim 7, further comprising:
    第五接收模块,用于接收所述群组的指派成为主控播放设备;a fifth receiving module, configured to receive the assignment of the group to become a master playback device;
    发送模块,用于发送共享的同步播放文件以及控制码信息至云端服务器。The sending module is configured to send the shared synchronized play file and the control code information to the cloud server.
PCT/CN2018/077612 2018-01-19 2018-02-28 Method for synchronous playing of multiple playing devices, and playing device WO2019140747A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810054912.5A CN108200457A (en) 2018-01-19 2018-01-19 The method and playback equipment that multiple playback equipments are played simultaneously
CN201810054912.5 2018-01-19

Publications (1)

Publication Number Publication Date
WO2019140747A1 true WO2019140747A1 (en) 2019-07-25

Family

ID=62590363

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/077612 WO2019140747A1 (en) 2018-01-19 2018-02-28 Method for synchronous playing of multiple playing devices, and playing device

Country Status (2)

Country Link
CN (1) CN108200457A (en)
WO (1) WO2019140747A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112350834A (en) * 2020-09-28 2021-02-09 深圳市奋达科技股份有限公司 AI voice conference system with screen and method
CN112866755A (en) * 2020-12-31 2021-05-28 北京小早科技有限公司 Video playing method and device, electronic equipment and storage medium
CN113949917A (en) * 2020-07-16 2022-01-18 深圳瞬玩科技有限公司 Online video synchronization method and system based on cloud mobile phone

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040819A (en) * 2018-07-13 2018-12-18 百度在线网络技术(北京)有限公司 Playback progress synchronous method, device, equipment and storage medium
CN109698973B (en) * 2018-12-29 2021-01-01 武汉斗鱼网络科技有限公司 Progress updating method and device, electronic equipment and medium
US20200275149A1 (en) * 2019-02-27 2020-08-27 Novatek Microelectronics Corp. Multi-screen synchronized playback system and method thereof
CN111541926B (en) * 2020-05-08 2022-05-03 浙江大华技术股份有限公司 Multimedia file playing method and device, storage medium and electronic device
CN112073791A (en) * 2020-08-03 2020-12-11 上海商泰汽车信息系统有限公司 Playing synchronization method and device, storage medium and user side
CN113259041B (en) * 2021-05-08 2023-04-28 广州酷狗计算机科技有限公司 Method, device and storage medium for synchronizing playing progress among multiple terminals

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104052562A (en) * 2013-03-13 2014-09-17 三星电子株式会社 Method and apparatus for allowing playback devices to perform synchronized playback of streaming content
CN104464767A (en) * 2013-09-17 2015-03-25 致伸科技股份有限公司 Audio frequency playing method and system synchronizing multi-player
CN106060680A (en) * 2016-06-30 2016-10-26 北京奇艺世纪科技有限公司 Playing progress synchronization method and device
CN106385611A (en) * 2016-10-08 2017-02-08 广东欧珀移动通信有限公司 Media data playing method, device and system
US20170338970A1 (en) * 2016-02-19 2017-11-23 Remote Media, Llc System and Method for Group Stream Broadcasting with Stateless Queuing Feature

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763933A (en) * 2014-12-19 2016-07-13 中兴通讯股份有限公司 Media file current playing position sharing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104052562A (en) * 2013-03-13 2014-09-17 三星电子株式会社 Method and apparatus for allowing playback devices to perform synchronized playback of streaming content
CN104464767A (en) * 2013-09-17 2015-03-25 致伸科技股份有限公司 Audio frequency playing method and system synchronizing multi-player
US20170338970A1 (en) * 2016-02-19 2017-11-23 Remote Media, Llc System and Method for Group Stream Broadcasting with Stateless Queuing Feature
CN106060680A (en) * 2016-06-30 2016-10-26 北京奇艺世纪科技有限公司 Playing progress synchronization method and device
CN106385611A (en) * 2016-10-08 2017-02-08 广东欧珀移动通信有限公司 Media data playing method, device and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113949917A (en) * 2020-07-16 2022-01-18 深圳瞬玩科技有限公司 Online video synchronization method and system based on cloud mobile phone
CN113949917B (en) * 2020-07-16 2023-09-15 深圳瞬玩科技有限公司 Online video synchronization method and system based on cloud mobile phone
CN112350834A (en) * 2020-09-28 2021-02-09 深圳市奋达科技股份有限公司 AI voice conference system with screen and method
CN112350834B (en) * 2020-09-28 2023-04-07 深圳市奋达科技股份有限公司 AI voice conference system with screen and method
CN112866755A (en) * 2020-12-31 2021-05-28 北京小早科技有限公司 Video playing method and device, electronic equipment and storage medium
CN112866755B (en) * 2020-12-31 2023-06-23 高途教育科技集团有限公司 Video playing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108200457A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
WO2019140747A1 (en) Method for synchronous playing of multiple playing devices, and playing device
US11706729B2 (en) Synchronized playback and control of media
US11758329B2 (en) Audio mixing based upon playing device location
WO2019140746A1 (en) Synchronous playing method of multiple playing devices and playing device
US20150172843A1 (en) Multi-terminal cooperative play method for multimedia file, and related apparatus and system
CN106464953A (en) Binaural audio systems and methods
CN109074826A (en) Live events audio stream is synchronous with the real-time radio of videograph
US8806021B2 (en) Methods, portable electronic devices, systems and computer program products for automatically creating social networking services (SNS)
US8515338B2 (en) Systems and methods for synchronized playout of music on several personal digital music players
US11153442B1 (en) Systems and methods for facilitating side-channel communications during shared communication session
CN106303648A (en) A kind of method and device synchronizing to play multi-medium data
JP5911613B2 (en) Method and apparatus for synchronized playback by multiple smart devices
CN108667798A (en) A kind of method and system of virtual viewing
US20160134911A1 (en) System and method for synchronizing public event music broadcast to mobile phones
CN110099242A (en) A kind of remote living broadcast method and device
US20150086024A1 (en) Apparatus and method for reproducing multi-sound channel contents using dlna in mobile terminal
US20160050244A1 (en) Systems and Methods for Shared Media Streaming
CN106303754A (en) A kind of audio data play method and device
CN107750000A (en) A kind of video and audio player method, video and audio Play Server and control terminal
CN105812935B (en) Control method for playing back and device in audio-video frequency playing system
US20190182557A1 (en) Method of presenting media
Hirabayashi et al. Sense of space: the audience participation music performance with high-frequency sound id.
WO2020213711A1 (en) Communication terminal, application program for communication terminal, and communication method
TWI697236B (en) Video conference audio and video sharing method
KR102149440B1 (en) Data outputting system by grouping

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: 18900725

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18900725

Country of ref document: EP

Kind code of ref document: A1