WO2019140746A1 - 多个播放设备同步播放的方法与播放设备 - Google Patents
多个播放设备同步播放的方法与播放设备 Download PDFInfo
- Publication number
- WO2019140746A1 WO2019140746A1 PCT/CN2018/077608 CN2018077608W WO2019140746A1 WO 2019140746 A1 WO2019140746 A1 WO 2019140746A1 CN 2018077608 W CN2018077608 W CN 2018077608W WO 2019140746 A1 WO2019140746 A1 WO 2019140746A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- playing
- control code
- code information
- playback
- bluetooth
- Prior art date
Links
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 66
- 238000000034 method Methods 0.000 title claims abstract description 19
- 230000000694 effects Effects 0.000 description 18
- 230000005540 biological transmission Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000008054 signal transmission Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000008520 organization Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009194 climbing Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
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 Bluetooth information of the first playing device
- the first playing device is a master intelligent terminal
- the Bluetooth information includes control code information
- the step of the second playing device receiving the Bluetooth information of the first playing device includes:
- the second playing device scans each control code information broadcast by the other playing device at the current location
- the Bluetooth information includes control code information
- the step of the second playback device receiving the Bluetooth information of the first playback device includes:
- the second playing device scans each control code information broadcast by the other playing device at the current location
- the second playback device before the step of scanning the control code information broadcasted by the other playback device at the current location, the second playback device includes:
- the second playing device receives the request instruction to join the group, and joins the group
- the step of the second playback device scanning the control code information broadcast by the other playback device at the current location includes:
- the second playback device scans each of the control code information in a location area
- a selection command is generated in which the specified playback device is selected as the source of the broadcast signal within the range of the broadcast signal.
- the invention also provides a playing device, comprising:
- a first receiving module configured to receive Bluetooth information of the first playing device
- a first acquiring module configured to acquire, according to the Bluetooth 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 Bluetooth information a first standard time; and obtaining, according to a time difference between the local time of the second playback device and the standard time, a second standard time at which the second playback device receives the Bluetooth information;
- a calculation module configured to obtain, according to the first standard time and the second standard time, a network delay time difference of the Bluetooth information, and calculate a network delay time difference plus a first play progress to calculate a second play device Second playback progress;
- a switching module configured to switch a play progress of the second play device to the second play progress.
- the first playing device is a master control smart terminal
- the Bluetooth information includes control code information
- the first receiving module includes:
- a first scanning unit configured to scan, by the second playback device, the control code information broadcast by the other playback device at the current location
- An identifying unit configured to identify a master intelligent terminal according to each of the control code information and a device code of a playback device that broadcasts the control code information;
- the first receiving unit is configured to receive control code information broadcast by the master intelligent terminal, and record a time instant of receiving the control code information.
- the Bluetooth information includes control code information
- the first receiving module includes:
- a second scanning unit configured to scan, by the second playback device, the control code information broadcasted by the other playback device at the current location
- a selecting unit configured to select, according to the broadcast signal strength of each of the control code information, a playing device with the strongest broadcast signal strength as the first playing device;
- the second receiving unit is configured to receive control code information broadcasted by the first playing device, and record a time instant of receiving the control code information.
- the playing device includes:
- a second receiving module configured to receive, by the second playing device, a request to join the group, to join the group
- the second obtaining module is configured to acquire a synchronous play file shared by the group.
- the first scanning unit or the second scanning unit includes:
- a scanning subunit configured to scan, by the second playing device, each of the control code information in a location area
- a determining subunit configured to determine, according to the group number carried in each of the control code information, whether to enter a broadcast signal range that is synchronously played;
- Generating a subunit if YES, generating a selection instruction to select a designated playback device as a broadcast signal source within the range of the broadcast signal.
- the present invention realizes synchronous play of a plurality of playback devices by means of a BL-EDR and BLE-enabled Bluetooth device by means of BLE broadcast control code information, and obtains playback progress and standard time of the synchronized play file from the control code information. Calculate the network delay time, so as to obtain the accurate playback progress of the synchronized playback state of each playback device.
- 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 structural diagram of a first receiving module according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a first receiving module according to another 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 first scanning unit according to an embodiment of the present invention.
- a method for synchronously playing a plurality of playback devices includes:
- the second playing device receives the Bluetooth information of the first playing device.
- the playback device of this embodiment includes a smart terminal connected to a Bluetooth headset supporting BR/EDR and BLE, a Bluetooth headset or a Bluetooth speaker with a playback function supporting BR/EDR and BLE.
- S2 acquiring, according to the foregoing Bluetooth 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 Bluetooth 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 Bluetooth information.
- the Bluetooth information of this embodiment includes a standard time, a play file progress time, and the like.
- the standard time in this embodiment is the standard time of the current time zone of the network, such as Beijing time.
- the difference between the local time of each playback device and the standard time is different, which affects the synchronous playback effect.
- each playing device does not need to consume network traffic during the synchronous playing process, and the Bluetooth information sent by the Bluetooth wireless technology realizes synchronous playing, thereby reducing the use cost.
- S3 Obtain a network delay time difference of the Bluetooth information according to the first standard time and the second standard time, and calculate a second playback progress of the second playing device by adding a network delay time difference to the first playing progress.
- the second playback device is implemented by the first playback progress of the first playback device, the time difference between the local time of the first playback device and the standard time, and the time difference between the local time and the standard time of the second playback device.
- the second playback progress of the first playback device synchronously playing.
- S4 Switch the playing progress of the second playing device to the second playing progress.
- synchronous playback is achieved by automatically switching the playback progress of the second playback device to the second playback progress.
- the main playback mode of the "synchronous broadcast" is entered, and the Bluetooth headset volume +/- button is pressed to select a playlist. Press the power button to start playing the files in the play file list, such as songs, in order.
- the Bluetooth headset of the master intelligent terminal of the embodiment starts playing, the BLE broadcast control code information is used, and the Bluetooth headset of the other slave intelligent terminal controls the volume-and power-on button for 2 seconds to enter the slave play of "synchronous broadcast”.
- the BLE scan is started from the Bluetooth headset of the control intelligent terminal, the surrounding BLE broadcast signal is scanned, the control code information of the Bluetooth headset of the master intelligent terminal is obtained, and the playback progress time of the slave intelligent terminal is recalculated after time error conversion, Determine the progress of the playback of the file being played and start playing the file, such as a song, from this playback progress.
- the Bluetooth headset of the slave intelligent terminal also broadcasts the control code information obtained by the BLE.
- the playback progress is adjusted by controlling the volume +/- buttons. In order to achieve the basic and accurate synchronous playback of the master intelligent terminal and the slave intelligent terminal.
- the first playing device of the embodiment is a master control smart terminal, and the Bluetooth information includes control code information, and the step S1 includes:
- the second playing device scans each control code information broadcast by the other playing device at the current location.
- the smart terminal includes a smart phone.
- the playback device in this embodiment is a smart phone connected to a Bluetooth headset.
- the audio connection between the smart phone and the Bluetooth headset includes an A2DP protocol (Advanced Audio Distribution Profile).
- BLE Bluetooth Low Energy, Bluetooth low power.
- the Bluetooth headset of this embodiment supports the BR/EDR point-to-point radio communication function and the BLE broadcast function, and the BR (Basic Rate) operation, the instantaneous rate can reach 1 Mbit/s, EDR (Enhanced Data) Rate, enhanced data rate) runs as ⁇ /4-DPSK and 8DPSK scheme, instantaneous rate up to 2 Mbit/s and 3Mbit/s.
- multiple playback devices are synchronously played by the Bluetooth radio technology to save network traffic.
- the Bluetooth information in this embodiment refers to the control code information of the BLE broadcast through the Bluetooth headset.
- the control code information includes: a group number, a standard time, a broadcast time, a playlist number, a play song number, a play progress time, and the like.
- the playback device of the other embodiments of the present invention is a smart terminal with a Bluetooth function or a Bluetooth device with a play function. The user can implement the technical solution of the present invention by wearing a common earphone.
- S11 Identify the master intelligent terminal according to each of the control code information and the device code of the playback device that broadcasts the control code information.
- the synchronous control is implemented by using the slave intelligent terminal as the standard by the other slave intelligent terminals, which is beneficial to improving the consistency of the synchronous play.
- the Bluetooth headset connected to the master intelligent terminal is found by identifying the device code of the Bluetooth headset carried in the control code information, and then the master intelligent terminal is found to receive the playing state information of the master intelligent terminal. Synchronous playback with the master smart terminal.
- S12 Receive control code information broadcast by the master intelligent terminal, and record a time instant of receiving the control code information.
- the receiving time and time are simultaneously recorded to calculate the second playing progress of the second playing device more accurately, so as to improve The accuracy of the playback in synchronization with the first playback device.
- the Bluetooth information includes control code information
- step S1 includes:
- S13 The second playing device scans each control code information broadcast by the other playing device at the current location.
- S14 Select, according to the broadcast signal strength of each of the control code information, a playback device with the strongest broadcast signal strength as the first playback device.
- the BLE signal transmission distance of this embodiment can theoretically reach more than 100 meters, but considering the interference, power consumption and other factors, the Bluetooth wireless signal becomes worse after the distance is greater than 50 meters, and the group is directly connected with the master when the number of members is large or dispersed.
- the effect of synchronizing the smart terminal with the reference standard is not good.
- the control code information is transmitted from the Bluetooth headset of the main control intelligent terminal by the Bluetooth headset of the adjacent smart terminal, and the relay transmission is sequentially performed.
- This embodiment expands the Bluetooth wireless technology.
- the scope of networking is suitable for a large number of group activities.
- the BLE broadcast information of the embodiment is open, and the Bluetooth headsets of the surrounding smart terminals can be scanned.
- the Bluetooth headset remotely controlling the smart terminal from the Bluetooth headset of the master intelligent terminal can obtain the control code information from the Bluetooth headset of other slave intelligent terminals in the vicinity thereof, so that the control code information is sent from the Bluetooth headset of the master intelligent terminal.
- the transmission delay time is calculated according to the playback progress carried in the control code information and the time difference with the standard time, and then obtained by adding the transmission delay time.
- the control code information obtained from the Bluetooth headset of the control smart terminal is simultaneously broadcasted to the Bluetooth headset of other adjacent slave intelligent terminals.
- the principle of synchronous play by the control code information in this embodiment is the same as the previous embodiment, except that the reference standard for synchronous play is different, and the reference standard for playback progress conversion is also different.
- S15 Receive control code information broadcast by the first playing device, and record a time instant of receiving the control code information.
- step S10 or S13 the method includes:
- S16 The second playing device receives the request instruction to join the group, and joins the group.
- the synchronous play file is downloaded to the host smart phone end in the WIFI environment, for example, an audio file such as a song.
- the group is formed by the "synchronous play" APP of the master smartphone, and the synchronized play file list is shared to the slave smartphones of the group members and stored in the slave smartphones.
- the Bluetooth headset of the embodiment of the present invention does not have a play function
- the play device is a smart phone connected to a Bluetooth headset
- the play file is stored in a smart phone that has established an A2DP connection with the Bluetooth headset.
- the playback device of another embodiment of the present invention is a Bluetooth headset or a Bluetooth speaker with a play function, and the play file is locally stored by a Bluetooth headset or a Bluetooth speaker.
- the storage folder/file name of the synchronized play file obtained in this embodiment is customized according to the play file list by the “synchronous play” APP, and cannot be changed arbitrarily, so that the serial number of the play file list of each member is the same as the content, so that the play file is The serial number of the list enables simultaneous playback of the playback content.
- a Bluetooth headset or a Bluetooth speaker that supports local playback is stored by copying a folder of a synchronously played file to a storage space of a Bluetooth headset or a Bluetooth speaker, and then storing the list number and file name generated by playing the file list, and the same. It can't be changed.
- step S10 or S13 includes:
- the second playback device scans each of the control code information in a location area.
- the control code information broadcasted by the Bluetooth device is an open signal area.
- the control code information broadcasted by other groups of Bluetooth devices may exist around the Bluetooth headset, and the different groups are identified by the group number carried in the control code information.
- S102 Determine, according to the group number carried in each of the control code information, whether to enter a range of broadcast signals for synchronous play.
- the BLE signal transmission distance in this embodiment can theoretically reach 100 meters or more, but considering the interference/power consumption and other factors, the broadcast signal range area is 50 meters away, and the group number carried in the control code information is simultaneously determined whether it needs to enter. Synchronizing the broadcast signal range of the active group to stably receive the synchronization progress information of the play file currently played by the group.
- the playback device that refers to the synchronization is selected within the defined range of the Bluetooth wireless signal to improve the stability and continuity of the synchronous playback.
- the playback device selected according to the selection instruction includes, but is not limited to, a master intelligent terminal and a playback device having the strongest broadcast signal strength.
- a playback device is used as a second playback device, and includes:
- the first receiving module 1 is configured to receive, by the second playing device, Bluetooth information of the first playing device.
- the playback device of this embodiment includes a smart terminal connected to a Bluetooth headset supporting BR/EDR and BLE, or a Bluetooth headset or Bluetooth speaker with a playback function supporting BR/EDR and BLE.
- the first obtaining module 2 is configured to obtain, according to the Bluetooth 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 that the first playing device sends the Bluetooth The first standard time of the information; and according to the time difference between the local time of the second playing device and the standard time, obtaining the second standard time for the second playing device to receive the Bluetooth information.
- the Bluetooth information of this embodiment includes a standard time, a play file progress time, and the like.
- the standard time in this embodiment is the standard time of the current time zone of the network, such as Beijing time.
- the difference between the local time of each playback device and the standard time is different, which affects the synchronous playback effect.
- each playing device does not need to consume network traffic during the synchronous playing process, and the Bluetooth information sent by the Bluetooth wireless technology realizes synchronous playing, thereby reducing the use cost.
- the calculation module 3 is configured to obtain a network delay time difference of the Bluetooth information according to the first standard time and the second standard time, and calculate a network delay time difference plus a first play progress to calculate the second playback device. The second playback progress.
- the second playback device is implemented by the first playback progress of the first playback device, the time difference between the local time and the standard time of the first playback device, and the time difference between the local time and the standard time of the second playback device.
- the second playback progress played in synchronization with the first playback device.
- the switching module 4 is configured to switch the playing progress of the second playing device to the second playing progress.
- synchronous playback is achieved by automatically switching the playback progress of the second playback device to the second playback progress.
- the main playback mode of the "synchronous broadcast" is entered, and the Bluetooth headset volume +/- button is pressed to select a playlist. Press the power button to start playing the files in the play file list, such as songs, in order.
- the Bluetooth headset of the master intelligent terminal of the embodiment starts playing, the BLE broadcast control code information is used, and the Bluetooth headset of the other slave intelligent terminal controls the volume-and power-on button for 2 seconds to enter the slave play of "synchronous broadcast”.
- the BLE scan is started from the Bluetooth headset of the control intelligent terminal, the surrounding BLE broadcast signal is scanned, the control code information of the Bluetooth headset of the master intelligent terminal is obtained, and the playback progress of the slave intelligent terminal is recalculated through time error conversion to determine The playback progress time of the file is being played, and the playback of the file, such as a song, is started from this playback progress.
- the Bluetooth headset of the slave intelligent terminal also broadcasts the control code information obtained by the BLE.
- the playback progress is adjusted by controlling the volume +/- buttons. In order to achieve the basic and accurate synchronous playback of the master intelligent terminal and the slave intelligent terminal.
- the first playback device in this embodiment is a master control smart terminal, and the Bluetooth information includes control code information, and the first receiving module 1 includes:
- the first scanning unit 10 is configured to scan, by the second playing device, the control code information broadcasted by other playing devices at the current location.
- the smart terminal includes a smart phone.
- the playback device in this embodiment is a smart phone connected to a Bluetooth headset.
- the audio connection between the smart phone and the Bluetooth headset includes an A2DP protocol (Advanced Audio Distribution Profile).
- BLE Bluetooth Low Energy, Bluetooth low power.
- the Bluetooth headset of this embodiment supports the BR/EDR point-to-point radio communication function and the BLE broadcast function, and the BR (Basic Rate) operation, the instantaneous rate can reach 1 Mbit/s, EDR (Enhanced Data) Rate, enhanced data rate) runs as ⁇ /4-DPSK and
- the 8DPSK scheme has instantaneous rates of up to 2 and 3 Mbit/s.
- multiple playback devices are synchronously played by the Bluetooth radio technology to save network traffic.
- the Bluetooth information in this embodiment refers to the control code information of the BLE broadcast through the Bluetooth headset.
- the control code information includes: a group number, a standard time, a broadcast time, a playlist number, a play song number, a play progress time, and the like.
- the playback device of the other embodiments of the present invention is a smart terminal with a Bluetooth function or a Bluetooth device with a play function. The user can implement the technical solution of the present invention by wearing a common earphone.
- the identifying unit 11 is configured to identify the master smart terminal according to each of the control code information and a device code of a playing device that broadcasts the control code information.
- the synchronous control is implemented by using the slave intelligent terminal as the standard by the other slave intelligent terminals, which is beneficial to improving the consistency of the synchronous play.
- the Bluetooth headset connected to the master intelligent terminal is found by identifying the device code of the Bluetooth headset carried in the control code information, and then the master intelligent terminal is found to receive the playing state information of the master intelligent terminal. Synchronous playback with the master smart terminal.
- the first receiving unit 12 is configured to receive control code information broadcast by the master intelligent terminal, and record a time instant of receiving the control code information.
- the receiving time and time are simultaneously recorded to calculate the second playing progress of the second playing device more accurately, so as to improve the first The accuracy of the playback of the playback device.
- the Bluetooth information includes control code information
- the first receiving module 1 includes:
- the second scanning unit 13 is configured to scan, by the second playback device, the control code information broadcasted by the other playback devices at the current location.
- the functions of the second scanning unit 13 and the content of the control code information of the playback device of this embodiment are the same as those of the first scanning unit 10 in the previous embodiment, and are not described herein.
- the selecting unit 14 is configured to select, as the first playing device, the playing device with the strongest broadcast signal strength according to the broadcast signal strength of each of the control code information.
- the BLE signal transmission distance of this embodiment can theoretically reach more than 100 meters, but considering the interference, power consumption and other factors, the Bluetooth wireless signal becomes worse after the distance is greater than 50 meters, and the group is directly connected with the master when the number of members is large or dispersed.
- the effect of synchronizing the smart terminal with the reference standard is not good.
- the control code information is transmitted from the Bluetooth headset of the main control intelligent terminal by the Bluetooth headset of the adjacent smart terminal, and the relay transmission is sequentially performed.
- This embodiment expands the Bluetooth wireless technology.
- the scope of networking is suitable for a large number of group activities.
- the BLE broadcast information of the embodiment is open, and the Bluetooth headsets of the surrounding smart terminals can be scanned by the second scanning unit 13.
- the Bluetooth headset of the slave intelligent terminal far away from the Bluetooth headset of the master intelligent terminal can obtain the control code information from the Bluetooth headset of other slave intelligent terminals in the vicinity thereof, so that the control code information is from the master intelligent terminal.
- the transmission delay time is calculated according to the playback progress carried in the control code information and the time difference with the standard time, and then passed.
- the transmission delay time is obtained by subtracting the transmission delay time, and the obtained control code information is simultaneously broadcasted by the Bluetooth headset of the intelligent terminal to be transmitted to the Bluetooth headset of other adjacent slave intelligent terminals.
- the principle of synchronous play by the control code information in this embodiment is the same as the previous embodiment, except that the reference standard for synchronous play is different, and the reference standard for playback progress conversion is also different.
- the second receiving unit 15 is configured to receive control code information broadcast by the first playing device, and record a time instant of receiving the control code information.
- the playback device of this embodiment includes:
- the second receiving module 16 is configured to receive, by the second playing device, a request instruction to join the group, and join the group.
- the synchronous play file is downloaded to the host smart phone end in the WIFI environment, for example, an audio file such as a song.
- the group is formed by the "synchronous play" APP of the master smartphone, and the synchronized play file list is shared to the slave smartphones of the group members and stored in the slave smartphones.
- the Bluetooth headset according to an embodiment of the present invention does not have a play function, the play device is a smart phone connected to a Bluetooth headset, and the play file is stored in a smart phone that has established an A2DP connection with the Bluetooth headset.
- the playback device of another embodiment of the present invention is a Bluetooth headset or a Bluetooth speaker with a play function, and the play file is locally stored by a Bluetooth headset or a Bluetooth speaker.
- the second obtaining module 17 is configured to acquire a synchronized play file shared by the group.
- the storage folder/file name of the synchronized play file obtained in this embodiment is customized according to the play file list by the “synchronous play” APP, and cannot be changed arbitrarily, so that the serial number of the play file list of each member is the same as the content, so that the play file is The serial number of the list enables simultaneous playback of the playback content.
- a Bluetooth headset or a Bluetooth speaker that supports local playback is stored by copying a folder of a synchronously played file to a storage space of a Bluetooth headset or a Bluetooth speaker, and then storing the list number and file name generated by playing the file list, and the same. It can't be changed.
- the first scanning unit 10 of the present embodiment has the same structure as the second scanning unit 13 of another embodiment. Taking the first scanning unit 10 as an example, the method includes:
- the scanning subunit 101 is configured to scan, by the second playing device, each of the control code information in a location area.
- the control code information broadcasted by the Bluetooth device is an open signal area.
- the control code information broadcasted by other groups of Bluetooth devices may exist around the Bluetooth headset, and the control code information is scanned by the scanning subunit 101 to identify the carried group.
- Group numbers identify different groups.
- the determining sub-unit 102 is configured to determine, according to the group number carried in each of the control code information, whether to enter the broadcast signal range of the synchronous play.
- the BLE signal transmission distance in this embodiment can theoretically reach 100 meters or more, but considering the interference/power consumption and other factors, the broadcast signal range area is 50 meters away, and the group number carried in the control code information is simultaneously determined whether it needs to enter. Synchronizing the broadcast signal range of the active group to stably receive the synchronization progress information of the play file currently played by the group.
- the generating subunit 103 is configured to, if yes, generate a selection instruction for selecting a designated playback device as a broadcast signal source within the broadcast signal range.
- the playback device selected according to the selection instruction includes, but is not limited to, a master intelligent terminal and a playback device having the strongest broadcast signal strength.
- the playback device that refers to the synchronization is selected within the defined range of the Bluetooth wireless signal to improve the stability and continuity of the synchronous playback.
- a Bluetooth device supporting BR/EDR and BLE is used to realize synchronous play of multiple playback devices by means of BLE broadcast control code information, and the playback progress and standard time of the synchronous play file are obtained from the control code information, and the network is calculated. The delay time is obtained, thereby obtaining each accurate playback progress of the synchronized playback state of each playback device.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
本发明揭示了多个播放设备同步播放的方法,包括:第二播放设备接收第一播放设备的蓝牙信息;根据所述蓝牙信息获取第一播放设备的第一播放进度,以及第一播放设备的本机时间与标准时间的时间差量,以得到第一播放设备发送所述蓝牙信息的第一标准时刻;并根据第二播放设备的本机时间与标准时间的时间差量,得到第二播放设备接收所述蓝牙信息的第二标准时刻;根据所述第一标准时刻与第二标准时刻,得到所述蓝牙信息的网络延迟时间差量,将网络延迟时间差量加上第一播放进度,计算出所述第二播放设备的第二播放进度时刻;将所述第二播放设备的播放进度切换至所述第二播放进度。本发明通过BLE广播控制码信息的方式实现多个播放设备同步播放。
Description
本发明涉及到电子技术领域,特别是涉及到多个播放设备同步播放的方法与播放设备。
随着人们的生活水平提高,越来越多的人追求丰富的业余生活,以满足对精神食量的需求,也随之出现了不同兴趣爱好的小群体娱乐组织,但在群体活动中为满足群体活动的同步性要求,需要通过声音广播、音乐广播等实现同步活动,提高群体活动的组织性。比如,广场舞群体组织,通常通过大功率的音箱来播放歌曲,来同步群体组织的舞步,但大功率的音箱播放歌曲带来的噪音扰民问题,由于噪音扰民而引起的矛盾冲突事件也屡见不鲜。随着电子科技的逐渐进步,智能设备的应用越来越普遍,通过带耳机的智能设备进行群体活动,可解决噪音扰民问题,但多个智能设备进行同步播放,仍是技术难题。
因此,现有技术还有待改进。
本发明的主要目的为提供一种多个播放设备同步播放的方法,旨在解决现有多个智能设备无法实现同步播放的技术问题。
本发明提出一种多个播放设备同步播放的方法,包括:
第二播放设备接收第一播放设备的蓝牙信息;
根据所述蓝牙信息获取第一播放设备的第一播放进度,以及第一播放设备的本机时间与标准时间的时间差量,以得到第一播放设备发送所述蓝牙信息的第一标准时刻;并根据第二播放设备的本机时间与标准时间的时间差量,得到第二播放设备接收所述蓝牙信息的第二标准时刻;
根据所述第一标准时刻与第二标准时刻,得到所述蓝牙信息的网络延迟时间差量,将网络延迟时间差量加上第一播放进度计算出所述第二播放设备的第二播放进度;
将所述第二播放设备的播放进度切换至所述第二播放进度。
优选地,所述第一播放设备为主控智能终端,所述蓝牙信息包括控制码信息,所述第二播放设备接收第一播放设备的蓝牙信息的步骤,包括:
第二播放设备,于当前位置扫描其他播放设备广播的各控制码信息;
根据各所述控制码信息以及广播所述控制码信息的播放设备的设备编码,识别主控智能终端;
接收与所述主控智能终端连接的蓝牙耳机广播的控制码信息,并记录接收控制码信息的时间时刻。
优选地,所述蓝牙信息包括控制码信息,所述第二播放设备接收第一播放设备的蓝牙信息的步骤,包括:
第二播放设备,于当前位置扫描其他播放设备广播的各控制码信息;
根据各所述控制码信息的广播信号强度,选择广播信号强度最强的播放设备为第一播放设备;
接收所述第一播放设备广播的控制码信息,并记录接收控制码信息的时间时刻。
优选地,所述第二播放设备,于当前位置扫描其他播放设备广播的各控制码信息的步骤之前,包括:
第二播放设备接收加入群组的请求指令,加入所述群组;
获取所述群组共享的同步播放文件。
优选地,所述第二播放设备,于当前位置扫描其他播放设备广播的各控制码信息的步骤,包括:
第二播放设备在所处位置区域扫描各所述控制码信息;
根据各所述控制码信息中携带的群组编号判断是否进入同步播放的广播信号范围;
若是,则生成在所述广播信号范围内选择指定播放设备作为广播信号源的选择指令。
本发明还提供了一种播放设备,包括:
第一接收模块,用于接收第一播放设备的蓝牙信息;
第一获取模块,用于根据所述蓝牙信息获取第一播放设备的第一播放进度,以及第一播放设备的本机时间与标准时间的时间差量,以得到第一播放设备发送所述蓝牙信息的第一标准时刻;并根据第二播放设备的本机时间与标准时间的时间差量,得到第二播放设备接收所述蓝牙信息的第二标准时刻;
计算模块,用于根据所述第一标准时刻与第二标准时刻,得到所述蓝牙信息的网络延迟时间差量,将网络延迟时间差量加上第一播放进度计算出所述第二播放设备的第二播放进度;
切换模块,用于将所述第二播放设备的播放进度切换至所述第二播放进度。
优选地,所述第一播放设备为主控智能终端,所述蓝牙信息包括控制码信息,所述第一接收模块,包括:
第一扫描单元,用于第二播放设备,于当前位置扫描其他播放设备广播的各控制码信息;
识别单元,用于根据各所述控制码信息以及广播所述控制码信息的播放设备的设备编码,识别主控智能终端;
第一接收单元,用于接收所述主控智能终端广播的控制码信息,并记录接收控制码信息的时间时刻。
优选地,所述蓝牙信息包括控制码信息,所述第一接收模块,包括:
第二扫描单元,用于第二播放设备,于当前位置扫描其他播放设备广播的各控制码信息;
选择单元,用于根据各所述控制码信息的广播信号强度,选择广播信号强度最强的播放设备为第一播放设备;
第二接收单元,用于接收与所述第一播放设备广播的控制码信息,并记录接收控制码信息的时间时刻。
优选地,所述播放设备,包括:
第二接收模块,用于第二播放设备接收加入群组的请求指令,加入所述群组;
第二获取模块,用于获取所述群组共享的同步播放文件。
优选地,所述第一扫描单元或所述第二扫描单元,包括:
扫描子单元,用于第二播放设备在所处位置区域扫描各所述控制码信息;
判断子单元,用于根据各所述控制码信息中携带的群组编号判断是否进入同步播放的广播信号范围;
生成子单元,用于若是,则生成在所述广播信号范围内选择指定播放设备作为广播信号源的选择指令。
本发明有益技术效果:本发明通过支持BR/EDR和BLE的蓝牙设备,借助BLE广播控制码信息的方式实现多个播放设备同步播放,从控制码信息中获取同步播放文件的播放进度以及标准时间,计算出网络延迟时间,从而得到各播放设备的同步播放状态的各准确播放进度。通过上述同步播放方式进行群体活动时,只需每人佩戴耳机即可,避免了噪音扰民的问题。比如广场舞,不需要高音喇叭,通过每各组员佩戴耳机就可以跳出一个安静的广场舞;再比如郊游/爬山/小聚会等等,可通过上述同步播放方式组成小型开放的联络区,同步听歌、同步导游景点介绍等,只需领队人通过智能设备事先建立APP群,向其他组员分享列表,所有组员根据控制码信息控制各自的智能终端同步播放更新好的播放文件即可,各群体活动间不互相干扰,解决了噪音扰民问题。
图1 本发明一实施例的多个播放设备同步播放的方法流程示意图;
图2 本发明一实施例的播放设备结构示意图;
图3 本发明一实施例的第一接收模块的结构示意图;
图4 本发明另一实施例的第一接收模块的结构示意图;
图5 本发明一实施例的播放设备优化结构示意图;
图6 本发明一实施例的第一扫描单元的结构示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
参照图1,本发明一实施例的多个播放设备同步播放的方法,包括:
S1:第二播放设备接收第一播放设备的蓝牙信息。
本实施例的播放设备包括连接支持BR/EDR和BLE的蓝牙耳机的智能终端、支持BR/EDR和BLE的具有播放功能的蓝牙耳机或蓝牙音箱。
S2:根据上述蓝牙信息获取第一播放设备的第一播放进度,以及第一播放设备的本机时间与标准时间的时间差量,以得到第一播放设备发送所述蓝牙信息的第一标准时刻;并根据第二播放设备的本机时间与标准时间的时间差量,得到第二播放设备接收所述蓝牙信息的第二标准时刻。
本实施例的蓝牙信息包括标准时间、播放文件进度时刻等。本实施例的标准时间为网络当前时区的标准时间,比如北京时间等,每个播放设备的本机时间与标准时间的差量不同,影响同步播放效果。本实施例中各播放设备在同步播放过程中无需耗费网络流量,通过蓝牙无线技术发送的蓝牙信息实现同步播放,降低使用成本。
S3:根据所述第一标准时刻与第二标准时刻,得到所述蓝牙信息的网络延迟时间差量,将网络延迟时间差量加上第一播放进度计算出上述第二播放设备的第二播放进度。
本步骤通过第一播放设备的第一播放进度、第一播放设备的本机时间与标准时间的时间差量以及第二播放设备的本机时间与标准时间的时间差量,计算第二播放设备实现与第一播放设备同步播放的第二播放进度。
S4:将上述第二播放设备的播放进度切换至上述第二播放进度。
本步骤通过自动切换第二播放设备的播放进度至第二播放进度,实现同步播放。本发明一实施例中通过同时按住主控智能终端的蓝牙耳机的音量+和开机键2秒,进入“同步播”的主控播放模式,按住蓝牙耳机音量+/-键选择播放列表,按开机键,开始按顺序播放播放文件列表中的文件,比如歌曲。本实施例的主控智能终端的蓝牙耳机开始播放的同时,通过BLE广播控制码信息,其它从控智能终端的蓝牙耳机通过控制音量-和开机键2秒,进入“同步播”的从控播放模式,同时从控智能终端的蓝牙耳机开启BLE扫描,扫描周边的BLE广播信号,获得主控智能终端的蓝牙耳机的控制码信息,经过时间误差换算重新计算从控智能终端的播放进度时刻,以确定正在播放文件的播放进度,开始从此播放进度播放文件,比如歌曲。同时从控智能终端的蓝牙耳机也通过BLE广播其获得的控制码信息。本实施例在播放过程中,为了保证同步播放效果,通过控制音量+/-按键调整播放进度。以达到主控智能终端和从控智能终端达到基本准确的同步播放。
进一步地,本实施例的第一播放设备为主控智能终端,蓝牙信息包括控制码信息,步骤S1,包括:
S10:第二播放设备,于当前位置扫描其他播放设备广播的各控制码信息。
本实施例中智能终端包括智能手机等,本实施例的播放设备为连接蓝牙耳机的智能手机,智能手机与蓝牙耳机之间的音频连接方式包括A2DP协议(Advanced Audio Distribution Profile 蓝牙音频传输模型协议)或BLE(Bluetooth Low
Energy,蓝牙低功耗)。本实施例的蓝牙耳机支持BR/EDR点对点射频通讯功能和BLE广播功能,BR(Basic Rate,基础速率)运行,瞬时速率可达1Mbit/s,EDR(Enhanced Data
Rate,增强数据率)运行为π/4-DPSK 和
8DPSK 方案,瞬时速率分别可达2
Mbit/s 和 3Mbit/s。本实施例通过蓝牙无线电技术实现多个播放设备同步播放,以节约网络流量。本实施例的蓝牙信息指通过蓝牙耳机使用BLE广播的控制码信息,上述控制码信息包括:群组编号,标准时间,发出广播时刻,播放列表序号,播放歌曲编号,播放歌曲进度时刻等。本发明其他实施例的播放设备为具有蓝牙功能的智能终端或具有播放功能的蓝牙设备,用户通过佩戴普通耳机也可实现本发明的技术方案。
S11:根据各所述控制码信息以及广播所述控制码信息的播放设备的设备编码,识别主控智能终端。
本实施例通过其他的从控智能终端分别以主控智能终端为标准,实现同步播放,有利于提高同步播放的一致性。本实施例通过识别各所述控制码信息中携带的蓝牙耳机的设备编码找到与主控智能终端连接的蓝牙耳机,进而找到主控智能终端,以接收主控智能终端的播放状态在信息,实现与主控智能终端的同步播放。
S12:接收所述主控智能终端广播的控制码信息,并记录接收控制码信息的时间时刻。
本步骤通过主控智能终端广播的蓝牙信息中携带的主控智能终端的播放状态的控制码信息时,同时记录接收时间时刻,以更精准地计算第二播放设备的第二播放进度,以提高与第一播放设备同步播放的准确度。
进一步地,本发明另一实施例中,蓝牙信息包括控制码信息,步骤S1,包括:
S13:第二播放设备,于当前位置扫描其他播放设备广播的各控制码信息。
本实施例的播放设备的功能以及控制码信息的内容与上实施例中的S10相同,不赘述。
S14:根据各所述控制码信息的广播信号强度,选择广播信号强度最强的播放设备为第一播放设备。
本实施例的BLE信号传输距离理论上可以达到100米以上,但考虑干扰、功耗等因素,距离大于50米后蓝牙无线信号变差,群体成员较多时或交分散时,都直接与主控智能终端为参照标准进行同步的效果不佳,本实施例通过相邻智能终端的蓝牙耳机把控制码信息从主控智能终端的蓝牙耳机开始,依次进行接力传输,本实施例扩大了蓝牙无线技术组网的范围,适合人数众多的群体活动。本实施例的BLE广播信息是开放的,周边的各智能终端的蓝牙耳机都可以扫描到,当连接蓝牙耳机的智能终端比较多时,周边存在很多的广播信息,形成了开放的广播信号网络区域,距离主控智能终端的蓝牙耳机远的从控智能终端的蓝牙耳机可以从其附近的其它从控智能终端的蓝牙耳机获得控制码信息,使得控制码信息从主控智能终端的蓝牙耳机发出后,通过接力传递,每个从控智能终端的蓝牙耳机获得控制码信息后,均会根据控制码信息中携带的播放进度以及与标准时间的时间差量计算传输延迟时间,然后通过加上传输延迟时间获得准确的同步播放的播放进度时刻,从控智能终端的蓝牙耳机同时广播获得的控制码信息,以传递给其它相邻的从控智能终端的蓝牙耳机。本实施例通过控制码信息实现同步播放的原理同上一实施例,只是同步播放的参照标准不同、播放进度换算的参照标准也不同而已。
S15:接收所述第一播放设备广播的控制码信息,并记录接收控制码信息的时间时刻。
进一步地,步骤S10或S13之前,包括:
S16:第二播放设备接收加入群组的请求指令,加入所述群组。
本实施例通过在WIFI环境下下载同步播放文件到主控智能手机端,比如:歌曲等音频文件。然后通过主控智能手机端的“同步播放”APP中组建群组,将同步播放文件列表共享给各位群组成员的从控智能手机端并存储于各从控智能手机端。本发明实施例的蓝牙耳机不具有播放功能,播放设备为连接蓝牙耳机的智能手机,播放文件为与蓝牙耳机建立了A2DP连接的智能手机中存储的。本发明另一实施例的播放设备为具有播放功能的蓝牙耳机或蓝牙音箱,播放文件为蓝牙耳机或蓝牙音箱本地存储的。
S17:获取所述群组共享的同步播放文件。
本实施例获取的同步播放文件的存储文件夹/文件名通过“同步播放”APP根据播放文件列表进行自定义,不可随便更改,以便每个成员的播放文件列表序号与内容相同,以便根据播放文件列表的序号实现播放内容的同步播放。本发明其他实施例中支持本地播放的蓝牙耳机或蓝牙音箱,通过拷贝同步播放文件的文件夹到蓝牙耳机或蓝牙音箱的存储空间,然后按照播放文件列表生成的列表序号和文件名字来存储,同样也不可以更改。
进一步地,步骤S10或S13,包括:
S101:第二播放设备在所处位置区域扫描各所述控制码信息。
蓝牙设备广播的控制码信息是一个开放的信号区域,本实施例中蓝牙耳机的周围可能存在其他群体的蓝牙设备广播的控制码信息,通过控制码信息中携带的群组编号识别不同群体。
S102:根据各所述控制码信息中携带的群组编号判断是否进入同步播放的广播信号范围。
本实施例的BLE信号传输距离理论上可以达到100米以上,但考虑干扰/功耗等因素,以50米远为广播信号范围区域,通过控制码信息中携带的群组编号同时确定是否进入需要同步活动的群组的广播信号范围内,以便稳定接收群组当前同步播放的播放文件的同步进度信息。
S103:若是,则生成在所述广播信号范围内选择指定播放设备作为广播信号源的选择指令。
本实施例通过在界定的蓝牙无线信号范围内选择参照同步的播放设备,以提高同步播放的稳定性、持续性。根据选择指令所选择的播放设备包括但不限于主控智能终端、广播信号强度最强的播放设备。
参照图2,本发明一实施例的播放设备,作为第二播放设备使用,包括:
第一接收模块1,用于第二播放设备接收第一播放设备的蓝牙信息。
本实施例的播放设备包括连接支持BR/EDR和BLE的蓝牙耳机的智能终端,或者支持BR/EDR和BLE的具有播放功能的蓝牙耳机或蓝牙音箱。
第一获取模块2,用于根据所述蓝牙信息获取第一播放设备的第一播放进度,以及第一播放设备的本机时间与标准时间的时间差量,以得到第一播放设备发送所述蓝牙信息的第一标准时刻;并根据第二播放设备的本机时间与标准时间的时间差量,得到第二播放设备接收所述蓝牙信息的第二标准时刻。
本实施例的蓝牙信息包括标准时间、播放文件进度时刻等。本实施例的标准时间为网络当前时区的标准时间,比如北京时间等,每个播放设备的本机时间与标准时间的差量不同,影响同步播放效果。本实施例中各播放设备在同步播放过程中无需耗费网络流量,通过蓝牙无线技术发送的蓝牙信息实现同步播放,降低使用成本。
计算模块3,用于根据所述第一标准时刻与第二标准时刻,得到所述蓝牙信息的网络延迟时间差量,将网络延迟时间差量加上第一播放进度计算出所述第二播放设备的第二播放进度。
本实施例通过第一播放设备的第一播放进度、第一播放设备的本机时间与标准时间的时间差量以及第二播放设备的本机时间与标准时间的时间差量,计算第二播放设备实现与第一播放设备同步播放的第二播放进度。
切换模块4,用于将所述第二播放设备的播放进度切换至所述第二播放进度。
本步骤通过自动切换第二播放设备的播放进度至第二播放进度,实现同步播放。本发明一实施例中通过同时按住主控智能终端的蓝牙耳机的音量+和开机键2秒,进入“同步播”的主控播放模式,按住蓝牙耳机音量+/-键选择播放列表,按开机键,开始按顺序播放播放文件列表中的文件,比如歌曲。本实施例的主控智能终端的蓝牙耳机开始播放的同时,通过BLE广播控制码信息,其它从控智能终端的蓝牙耳机通过控制音量-和开机键2秒,进入“同步播”的从控播放模式,同时从控智能终端的蓝牙耳机开启BLE扫描,扫描周边的BLE广播信号,获得主控智能终端的蓝牙耳机的控制码信息,经过时间误差换算重新计算从控智能终端的播放进度,以确定正在播放文件的播放进度时刻,开始从此播放进度播放文件,比如歌曲。同时从控智能终端的蓝牙耳机也通过BLE广播其获得的控制码信息。本实施例在播放过程中,为了保证同步播放效果,通过控制音量+/-按键调整播放进度。以达到主控智能终端和从控智能终端达到基本准确的同步播放。
参照图3,本实施例的第一播放设备为主控智能终端,蓝牙信息包括控制码信息,所述第一接收模块1,包括:
第一扫描单元10,用于第二播放设备,于当前位置扫描其他播放设备广播的各控制码信息。
本实施例中智能终端包括智能手机等,本实施例的播放设备为连接蓝牙耳机的智能手机,智能手机与蓝牙耳机之间的音频连接方式包括A2DP协议(Advanced Audio Distribution Profile 蓝牙音频传输模型协议)或BLE(Bluetooth Low
Energy,蓝牙低功耗)。本实施例的蓝牙耳机支持BR/EDR点对点射频通讯功能和BLE广播功能,BR(Basic Rate,基础速率)运行,瞬时速率可达1Mbit/s,EDR(Enhanced Data
Rate,增强数据率)运行为π/4-DPSK 和
8DPSK 方案,瞬时速率分别可达2 和 3Mbit/s。本实施例通过蓝牙无线电技术实现多个播放设备同步播放,以节约网络流量。本实施例的蓝牙信息指通过蓝牙耳机使用BLE广播的控制码信息,上述控制码信息包括:群组编号,标准时间,发出广播时刻,播放列表序号,播放歌曲编号,播放歌曲进度时刻等。本发明其他实施例的播放设备为具有蓝牙功能的智能终端或具有播放功能的蓝牙设备,用户通过佩戴普通耳机也可实现本发明的技术方案。
识别单元11,用于根据各所述控制码信息以及广播所述控制码信息的播放设备的设备编码,识别主控智能终端。
本实施例通过其他的从控智能终端分别以主控智能终端为标准,实现同步播放,有利于提高同步播放的一致性。本实施例通过识别各所述控制码信息中携带的蓝牙耳机的设备编码找到与主控智能终端连接的蓝牙耳机,进而找到主控智能终端,以接收主控智能终端的播放状态在信息,实现与主控智能终端的同步播放。
第一接收单元12,用于接收所述主控智能终端广播的控制码信息,并记录接收控制码信息的时间时刻。
本实施例通过第一接收单元12接收携带主控智能终端的播放状态的控制码信息时,同时记录接收时间时刻,以更精准地计算第二播放设备的第二播放进度,以提高与第一播放设备同步播放的准确度。
参照图4,本发明另一实施例中,蓝牙信息包括控制码信息,所述第一接收模块1,包括:
第二扫描单元13,用于第二播放设备,于当前位置扫描其他播放设备广播的各控制码信息。
本实施例的播放设备的第二扫描单元13的功能以及控制码信息的内容与上一实施例中的第一扫描单元10相同,不赘述。
选择单元14,用于根据各所述控制码信息的广播信号强度,选择广播信号强度最强的播放设备为第一播放设备。
本实施例的BLE信号传输距离理论上可以达到100米以上,但考虑干扰、功耗等因素,距离大于50米后蓝牙无线信号变差,群体成员较多时或交分散时,都直接与主控智能终端为参照标准进行同步的效果不佳,本实施例通过相邻智能终端的蓝牙耳机把控制码信息从主控智能终端的蓝牙耳机开始,依次进行接力传输,本实施例扩大了蓝牙无线技术组网的范围,适合人数众多的群体活动。本实施例的BLE广播信息是开放的,周边的各智能终端的蓝牙耳机都可以通过第二扫描单元13扫描到,当连接蓝牙耳机的智能终端比较多时,周边存在很多的广播信息,形成了开放的广播信号网络区域,距离主控智能终端的蓝牙耳机远的从控智能终端的蓝牙耳机可以从其附近的其它从控智能终端的蓝牙耳机获得控制码信息,使得控制码信息从主控智能终端的蓝牙耳机发出后,通过接力传递,每个从控智能终端的蓝牙耳机获得控制码信息后,均会根据控制码信息中携带的播放进度以及与标准时间的时间差量计算传输延迟时间,然后通过减去传输延迟时间获得准确的同步播放的播放进度时刻,从控智能终端的蓝牙耳机同时广播获得的控制码信息,以传递给其它相邻的从控智能终端的蓝牙耳机。本实施例通过控制码信息实现同步播放的原理同上一实施例,只是同步播放的参照标准不同、播放进度换算的参照标准也不同而已。
第二接收单元15,用于接收所述第一播放设备广播的控制码信息,并记录接收控制码信息的时间时刻。
参照图5,本实施例的播放设备,包括:
第二接收模块16,用于第二播放设备接收加入群组的请求指令,加入所述群组。
本实施例通过在WIFI环境下下载同步播放文件到主控智能手机端,比如:歌曲等音频文件。然后通过主控智能手机端的“同步播放”APP中组建群组,将同步播放文件列表共享给各位群组成员的从控智能手机端并存储于各从控智能手机端。本发明一实施例的蓝牙耳机不具有播放功能,播放设备为连接蓝牙耳机的智能手机,播放文件为与蓝牙耳机建立了A2DP连接的智能手机中存储的。本发明另一实施例的播放设备为具有播放功能的蓝牙耳机或蓝牙音箱,播放文件为蓝牙耳机或蓝牙音箱本地存储的。
第二获取模块17,用于获取所述群组共享的同步播放文件。
本实施例获取的同步播放文件的存储文件夹/文件名通过“同步播放”APP根据播放文件列表进行自定义,不可随便更改,以便每个成员的播放文件列表序号与内容相同,以便根据播放文件列表的序号实现播放内容的同步播放。本发明其他实施例中支持本地播放的蓝牙耳机或蓝牙音箱,通过拷贝同步播放文件的文件夹到蓝牙耳机或蓝牙音箱的存储空间,然后按照播放文件列表生成的列表序号和文件名字来存储,同样也不可以更改。
参照图6,本实施例的第一扫描单元10和另一实施例的第二扫描单元13的结构相同,以第一扫描单元10为例,包括:
扫描子单元101,用于第二播放设备在所处位置区域扫描各所述控制码信息。
蓝牙设备广播的控制码信息是一个开放的信号区域,本实施例中蓝牙耳机的周围可能存在其他群体的蓝牙设备广播的控制码信息,通过扫描子单元101扫描控制码信息,以识别携带的群组编号识别不同群体。
判断子单元102,用于根据各所述控制码信息中携带的群组编号判断是否进入同步播放的广播信号范围。
本实施例的BLE信号传输距离理论上可以达到100米以上,但考虑干扰/功耗等因素,以50米远为广播信号范围区域,通过控制码信息中携带的群组编号同时确定是否进入需要同步活动的群组的广播信号范围内,以便稳定接收群组当前同步播放的播放文件的同步进度信息。
生成子单元103,用于若是,则生成在所述广播信号范围内选择指定播放设备作为广播信号源的选择指令。根据选择指令所选择的播放设备包括但不限于主控智能终端、广播信号强度最强的播放设备。
本实施例通过在界定的蓝牙无线信号范围内选择参照同步的播放设备,以提高同步播放的稳定性、持续性。
本发明实施例通过支持BR/EDR和BLE的蓝牙设备,借助BLE广播控制码信息的方式实现多个播放设备同步播放,从控制码信息中获取同步播放文件的播放进度以及标准时间,计算出网络延迟时间,从而得到各播放设备的同步播放状态的各准确播放进度。通过上述同步播放方式进行群体活动时,只需每人佩戴耳机即可,避免了噪音扰民的问题。比如广场舞,不需要高音喇叭,通过每各组员佩戴耳机就可以跳出一个安静的广场舞;再比如郊游/爬山/小聚会等等,可通过上述同步播放方式组成小型开放的联络区,同步听歌、同步导游景点介绍等,只需领队人通过智能设备事先建立APP群,向其他组员分享列表,所有组员根据控制码信息控制各自的智能终端同步播放更新好的播放文件即可,各群体活动间不互相干扰,解决了噪音扰民问题。
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (11)
- 一种多个播放设备同步播放的方法,其特征在于,包括:第二播放设备接收第一播放设备的蓝牙信息;根据所述蓝牙信息获取第一播放设备的第一播放进度,以及第一播放设备的本机时间与标准时间的时间差量,以得到第一播放设备发送所述蓝牙信息的第一标准时刻;并根据第二播放设备的本机时间与标准时间的时间差量,得到第二播放设备接收所述蓝牙信息的第二标准时刻;根据所述第一标准时刻与第二标准时刻,得到所述蓝牙信息的网络延迟时间差量,将网络延迟时间差量加上第一播放进度计算出所述第二播放设备的第二播放进度;将所述第二播放设备的播放进度切换至所述第二播放进度。
- 根据权利要求1所述的多个播放设备同步播放的方法,其特征在于,所述第一播放设备为主控智能终端,所述蓝牙信息包括控制码信息,所述第二播放设备接收第一播放设备的蓝牙信息的步骤,包括:第二播放设备,用于当前位置扫描其他播放设备广播的各控制码信息;根据各所述控制码信息以及广播所述控制码信息的播放设备的设备编码,识别主控智能终端;接收所述主控智能终端广播的控制码信息,并记录接收控制码信息的时间时刻。
- 根据权利要求1所述的多个播放设备同步播放的方法,其特征在于,所述蓝牙信息包括控制码信息,所述第二播放设备接收第一播放设备的蓝牙信息的步骤,包括:第二播放设备,于当前位置扫描其他播放设备广播的各控制码信息;根据各所述控制码信息的广播信号强度,选择广播信号强度最强的播放设备为第一播放设备;接收所述第一播放设备广播的控制码信息,并记录接收控制码信息的时间时刻。
- 根据权利要求2或3所述的多个播放设备同步播放的方法,其特征在于,所述第二播放设备,于当前位置扫描其他播放设备广播的各控制码信息的步骤之前,包括:第二播放设备接收加入群组的请求指令,加入所述群组;获取所述群组共享的同步播放文件。
- 根据权利要求2或3所述的多个播放设备同步播放的方法,其特征在于,所述第二播放设备,于当前位置扫描其他播放设备广播的各控制码信息的步骤,包括:第二播放设备在所处位置区域扫描各所述控制码信息;根据各所述控制码信息中携带的群组编号判断是否进入同步播放的广播信号范围;若是,则生成在所述广播信号范围内选择指定播放设备作为广播信号源的选择指令。
- 根据权利要求1所述的多个播放设备同步播放的方法,其特征在于,所述第一播放设备和所述第二播放设备为具有播放功能的蓝牙耳机或蓝牙音箱。
- 一种播放设备,其特征在于,包括:第一接收模块,用于接收第一播放设备的蓝牙信息;第一获取模块,用于根据所述蓝牙信息获取第一播放设备的第一播放进度,以及第一播放设备的本机时间与标准时间的时间差量,以得到第一播放设备发送所述蓝牙信息的第一标准时刻;并根据第二播放设备的本机时间与标准时间的时间差量,得到第二播放设备接收所述蓝牙信息的第二标准时刻;计算模块,用于根据所述第一标准时刻与第二标准时刻,得到所述蓝牙信息的网络延迟时间差量,将网络延迟时间差量加上第一播放进度计算出所述第二播放设备的第二播放进度;切换模块,用于将所述第二播放设备的播放进度切换至所述第二播放进度。
- 根据权利要求7所述的播放设备,其特征在于,所述第一播放设备为主控智能终端,所述蓝牙信息包括控制码信息,所述第一接收模块,包括:第一扫描单元,用于第二播放设备,于当前位置扫描其他播放设备广播的各控制码信息;识别单元,用于根据各所述控制码信息以及广播所述控制码信息的播放设备的设备编码,识别主控智能终端;第一接收单元,用于接收所述主控智能终端广播的控制码信息,并记录接收控制码信息的时间时刻。
- 根据权利要求7所述的播放设备,其特征在于,所述蓝牙信息包括控制码信息,所述第一接收模块,包括:第二扫描单元,用于第二播放设备,于当前位置扫描其他播放设备广播的各控制码信息;选择单元,用于根据各所述控制码信息的广播信号强度,选择广播信号强度最强的播放设备为第一播放设备;第二接收单元,用于接收与所述第一播放设备广播的控制码信息,并记录接收控制码信息的时间时刻。
- 根据权利要求8或9所述的播放设备,其特征在于,包括:第二接收模块,用于第二播放设备接收加入群组的请求指令,加入所述群组;第二获取模块,用于获取所述群组共享的同步播放文件。
- 根据权利要求8或9所述的播放设备,其特征在于,所述第一扫描单元或所述第二扫描单元,包括:扫描子单元,用于第二播放设备在所处位置区域扫描各所述控制码信息;判断子单元,用于根据各所述控制码信息中携带的群组编号判断是否进入同步播放的广播信号范围;生成子单元,用于若是,则生成在所述广播信号范围内选择指定播放设备作为广播信号源的选择指令。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810054207.5A CN108108146A (zh) | 2018-01-19 | 2018-01-19 | 多个播放设备同步播放的方法与播放设备 |
CN201810054207.5 | 2018-01-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019140746A1 true WO2019140746A1 (zh) | 2019-07-25 |
Family
ID=62220193
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/077608 WO2019140746A1 (zh) | 2018-01-19 | 2018-02-28 | 多个播放设备同步播放的方法与播放设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108108146A (zh) |
WO (1) | WO2019140746A1 (zh) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109379490B (zh) * | 2018-09-30 | 2021-02-05 | Oppo广东移动通信有限公司 | 音频播放方法、装置、电子设备及计算机可读介质 |
CN109525882B (zh) * | 2018-11-30 | 2021-08-31 | 中国联合网络通信集团有限公司 | 一种同步播放方法、桥接设备和信宿设备 |
WO2020132818A1 (zh) * | 2018-12-24 | 2020-07-02 | 华为技术有限公司 | 无线短距离音频共享方法及电子设备 |
DE102019201605B3 (de) * | 2019-02-07 | 2020-04-23 | Audi Ag | Verfahren zum Betreiben einer Medienwiedergabevorrichtung sowie Medienwiedergabevorrichtung |
US11363382B2 (en) | 2019-05-31 | 2022-06-14 | Apple Inc. | Methods and user interfaces for audio synchronization |
EP3817466B1 (en) | 2019-09-04 | 2023-06-07 | Shenzhen Goodix Technology Co., Ltd. | Data synchronization method and apparatus, device, system, and storage medium |
CN111541926B (zh) * | 2020-05-08 | 2022-05-03 | 浙江大华技术股份有限公司 | 多媒体文件的播放方法、装置、存储介质及电子装置 |
CN114679918A (zh) * | 2020-10-26 | 2022-06-28 | Oppo广东移动通信有限公司 | 一种建立广播同步的方法、电子设备及存储介质 |
KR102523889B1 (ko) | 2020-11-05 | 2023-04-19 | 선전 구딕스 테크놀로지 컴퍼니, 리미티드 | 오디오 동시 재생 방법, 장치, 및 설비 |
CN113179468B (zh) * | 2020-11-05 | 2022-10-11 | 深圳市汇顶科技股份有限公司 | 音频同步播放方法、装置、设备及存储介质 |
CN113938737B (zh) * | 2021-10-19 | 2023-12-15 | 山东亚华电子股份有限公司 | 一种基于消息通讯的音视频同步方法、系统及设备 |
CN114554270A (zh) * | 2022-02-28 | 2022-05-27 | 维沃移动通信有限公司 | 音视频播放方法及其装置 |
CN117750492B (zh) * | 2024-02-20 | 2024-06-25 | 荣耀终端有限公司 | 一种同步播放方法、电子设备及计算机可读存储介质 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105161124A (zh) * | 2015-09-02 | 2015-12-16 | 广东欧珀移动通信有限公司 | 一种多播放设备的音频播放方法及装置 |
US20170069338A1 (en) * | 2015-09-08 | 2017-03-09 | Bose Corporation | Wireless Audio Synchronization |
CN107239253A (zh) * | 2016-03-29 | 2017-10-10 | 扬智科技股份有限公司 | 同步播放速度的无线局域网播放器、系统及其方法 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101571338B1 (ko) * | 2013-03-13 | 2015-11-24 | 삼성전자주식회사 | 복수의 재생 장치들이 스트리밍 컨텐트를 동기화하여 재생하는 방법 및 이를 위한 장치 |
CN104464767B (zh) * | 2013-09-17 | 2018-03-20 | 惠州超声音响有限公司 | 同步多个播放装置的音频播放的方法及音频播放系统 |
CN105763933A (zh) * | 2014-12-19 | 2016-07-13 | 中兴通讯股份有限公司 | 一种媒体文件当前播放位置的共享方法 |
-
2018
- 2018-01-19 CN CN201810054207.5A patent/CN108108146A/zh active Pending
- 2018-02-28 WO PCT/CN2018/077608 patent/WO2019140746A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105161124A (zh) * | 2015-09-02 | 2015-12-16 | 广东欧珀移动通信有限公司 | 一种多播放设备的音频播放方法及装置 |
US20170069338A1 (en) * | 2015-09-08 | 2017-03-09 | Bose Corporation | Wireless Audio Synchronization |
CN107239253A (zh) * | 2016-03-29 | 2017-10-10 | 扬智科技股份有限公司 | 同步播放速度的无线局域网播放器、系统及其方法 |
Also Published As
Publication number | Publication date |
---|---|
CN108108146A (zh) | 2018-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019140746A1 (zh) | 多个播放设备同步播放的方法与播放设备 | |
US11356777B2 (en) | Playback transitions | |
US11188294B2 (en) | Detecting the nearest playback device | |
US7747338B2 (en) | Audio system employing multiple mobile devices in concert | |
JP2021505078A (ja) | 待ち時間の少ない無線による音声コンテンツ共有 | |
US11916991B2 (en) | Hybrid sniffing and rebroadcast for Bluetooth mesh networks | |
CN104867513B (zh) | 一种播放控制方法及设备 | |
US9143544B2 (en) | Information processing apparatus for reproducing and identifying content streams at plural network devices | |
US20220261212A1 (en) | Playback Transitions | |
KR20100018459A (ko) | 애드혹 적응형 무선 이동 사운드 시스템 및 그 방법 | |
WO2019140747A1 (zh) | 多个播放设备同步播放的方法与播放设备 | |
US11740857B2 (en) | Playback session transitions across different platforms | |
US10425758B2 (en) | Apparatus and method for reproducing multi-sound channel contents using DLNA in mobile terminal | |
WO2014042101A1 (ja) | 近接通信システムおよび近接通信装置 | |
US20070197160A1 (en) | Music share | |
CN101132474A (zh) | 由多个移动终端实现视听内容播放的方法和系统 | |
JP2017041755A (ja) | オーディオシステム、オーディオ機器およびオーディオ機器設定方法 | |
CN117296348A (zh) | 用于蓝牙音频多流的方法和电子设备 | |
CN116866874A (zh) | 显示设备、音频接收设备及多路音频接收设备的配置方法 | |
CN106954111B (zh) | 蓝牙耳机、蓝牙耳机系统、音频内容发送方法、音频内容接收方法 | |
KR20070080381A (ko) | 휴대단말기의 멀티미디어 데이터 재생 방법 | |
TW202224444A (zh) | 多媒體播放同步 | |
KR200368679Y1 (ko) | 복수개의 이동통신 단말기를 이용한 다채널 스트리밍 서비스 장치 | |
US20240061643A1 (en) | Techniques for re-bonding playback devices | |
KR101436443B1 (ko) | 이어마이크셋 기반의 오디오신호 증폭 출력 자동전환 방법 및 이를 위한 컴퓨터로 판독가능한 기록매체 |
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: 18900807 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: 18900807 Country of ref document: EP Kind code of ref document: A1 |