CN111343622A - Bluetooth sound box synchronous playing method, device and system - Google Patents

Bluetooth sound box synchronous playing method, device and system Download PDF

Info

Publication number
CN111343622A
CN111343622A CN202010133970.4A CN202010133970A CN111343622A CN 111343622 A CN111343622 A CN 111343622A CN 202010133970 A CN202010133970 A CN 202010133970A CN 111343622 A CN111343622 A CN 111343622A
Authority
CN
China
Prior art keywords
bluetooth
target
playing
audio data
nfc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010133970.4A
Other languages
Chinese (zh)
Other versions
CN111343622B (en
Inventor
李盈
肖学阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Institute of Clothing Technology
Original Assignee
Beijing Institute of Clothing Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Institute of Clothing Technology filed Critical Beijing Institute of Clothing Technology
Priority to CN202010133970.4A priority Critical patent/CN111343622B/en
Publication of CN111343622A publication Critical patent/CN111343622A/en
Application granted granted Critical
Publication of CN111343622B publication Critical patent/CN111343622B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a synchronous playing method, device and system of a Bluetooth sound box. According to the Bluetooth sound box device, the address information of the target Bluetooth sound box is acquired through NFC, and then the Bluetooth pairing request is initiated to the target Bluetooth sound box through the address information so as to complete Bluetooth pairing, so that the Bluetooth sound box device can be conveniently and quickly connected with other Bluetooth sound boxes in the form of main Bluetooth equipment, and audio data and synchronous playing time are sent to other Bluetooth equipment; the technical problems that the Bluetooth connection is too complex, the safety is insufficient and the synchronous playing with the plurality of sound boxes cannot be achieved in the prior art are solved, the Bluetooth pairing operation is simplified, the Bluetooth pairing safety is improved, and the technical effect that the plurality of sound boxes are connected and the synchronous playing is achieved.

Description

Bluetooth sound box synchronous playing method, device and system
Technical Field
The invention relates to the technical field of Bluetooth sound boxes, in particular to a synchronous playing method, device and system of a Bluetooth sound box.
Background
Bluetooth is a wireless technology standard, can realize the short distance data exchange between fixed equipment, mobile device and building personal area network, the connection of Bluetooth equipment must pair in certain range, this kind of pairing search is called short range temporary network mode, also called piconet, can hold the number and not more than 8 pieces of Bluetooth equipment at most and connect successfully, the master equipment has only one, the slave equipment can many, the Bluetooth technology possesses the radio frequency characteristic, TDMA (Time division multiple access) structure and network multilevel structure are adopted, frequency hopping technology, wireless technology, etc. have transmission efficiency height, security height, so applied by every industry.
Present bluetooth speaker is mostly single tone case mode, even front end equipment such as smart mobile phone also can only play the audio frequency through a bluetooth speaker with a plurality of bluetooth speaker connection, development and the continuous improvement of living standard along with science and technology, everybody has had higher requirement to bluetooth speaker's broadcast effect, present industry is mainly through increasing more speakers in a bluetooth speaker and improving bluetooth speaker's tone quality performance, because only a fixed sound source, there is certain limitation in this kind of scheme, tone quality's promotion is comparatively limited, and present bluetooth speaker pairing mode is comparatively complicated and the connection process is also insecure.
Disclosure of Invention
The invention mainly aims to provide a synchronous playing method of a Bluetooth sound box, and aims to solve the technical problems that the Bluetooth pairing mode of the Bluetooth sound box is complex, the Bluetooth pairing process is unsafe and the playing effect is poor in the prior art.
In order to achieve the above object, the present invention provides a synchronous playing method for bluetooth speakers, which comprises the following steps:
acquiring target address information of a target playing device by an NFC (Near Field Communication) based method;
initiating a Bluetooth pairing request to the target playing equipment according to the target address information, entering a waiting connection state, responding to connection success information returned by the target playing equipment to establish a Bluetooth data channel, and exiting the waiting connection state;
and sending preset audio data to the target playing device through the Bluetooth data channel, and synchronously playing time to the target playing device through the Bluetooth data channel so as to realize synchronous playing.
The invention uses the NFC function to enable the target playing device to exchange device address information through NFC when approaching to the Bluetooth speaker device, the Bluetooth speaker device is a Bluetooth speaker with Bluetooth connection and NFC connection functions, can be connected with a plurality of Bluetooth speakers, and sends audio data to the Bluetooth speakers connected with the Bluetooth speaker device, and can control the audio playing of the Bluetooth speaker connected with the Bluetooth speaker device, the Bluetooth speaker device initiates pairing through the address information of the target playing device and enters a waiting connection state, after completing pairing, sends the audio data to the target playing device and synchronizes the playing time of the Bluetooth speaker device, when the initiating party of Bluetooth pairing is the Bluetooth speaker device, the Bluetooth speaker device is the main Bluetooth device after Bluetooth connection is successful, when the Bluetooth speaker device stores audio data or receives audio data from other auxiliary Bluetooth devices, the audio data can be sent to all the slave Bluetooth devices, and the synchronous playing of the master device and the slave Bluetooth devices can be realized by synchronizing the playing time of the Bluetooth sound box device with the slave Bluetooth devices.
Preferably, the obtaining of the target address information of the target playback device by the NFC-based method includes;
and establishing an NFC radio frequency field, establishing NFC communication connection with the target playing device when the target playing device is detected by the NFC radio frequency field, and acquiring the target address information through the NFC communication connection.
The Bluetooth sound box device is used for establishing the NFC radio frequency field, so that when approaching to the Bluetooth sound box device, a target playing device is detected by the NFC radio frequency field established by the Bluetooth sound box device, NFC communication connection can be established quickly, and target address information of the target playing device is read.
Preferably, the synchronous playing method of the bluetooth speaker further includes:
establishing an NFC radio frequency field, establishing communication connection with front-end equipment when the front-end equipment is detected by the NFC radio frequency field, and acquiring front-end equipment address information of the front-end equipment by an NFC-based method;
initiating a Bluetooth pairing request to the front-end equipment according to the address information of the front-end equipment, entering a waiting connection state, responding to connection success information returned by the front-end equipment to establish a Bluetooth data channel, and exiting the waiting connection state;
and receiving the preset audio data sent by the front-end equipment through the Bluetooth data channel.
It should be noted that, because this bluetooth speaker equipment is as the initiator that the bluetooth pairs, can directly communicate with other bluetooth playback devices, the front-end equipment only needs to communicate with this bluetooth speaker equipment, any front-end equipment that has NFC function and bluetooth function can all realize the function of the synchronous broadcast of a plurality of bluetooth speakers when being connected with this bluetooth speaker equipment, the front-end equipment includes bluetooth equipment that can handle audio signal such as cell-phone, computer, intelligent wrist-watch, intelligent bracelet.
Preferably, before the sending preset audio data to the target playing device through the bluetooth data channel, the method further includes:
and acquiring the equipment type of the target playing equipment, and adjusting the preset audio data according to the equipment type of the target playing equipment.
Preferably, adjusting preset audio data according to the device type of the target playback device includes:
when the preset audio data are matched with the device type of the target playing device, adjusting the preset audio data to be left channel audio data or right channel audio data;
when the device type of the target playing device is a bass device, adjusting the preset audio data to be bass audio data;
and when the device type of the target playing device is a surround device, adjusting the preset audio data to be left front surround audio data or right front surround audio data or left back surround audio data or right back surround audio data.
It is worth emphasizing that the device type of the target device can be obtained in the process of bluetooth data connection or NFC data connection, and the audio data sent to the target device can be adjusted according to the device type of the target device, so that the bluetooth sound box can play multi-channel audio, the listening experience when multiple sound boxes are connected is effectively improved, and the playing effect of synchronous playing is further optimized.
Preferably, the synchronous playing method of the bluetooth speaker further includes:
when the Bluetooth data channel is abnormally disconnected, the target playing equipment is continuously reconnected according to the target address information;
and when the connection is successful, the time is synchronously played to the target playing equipment through the Bluetooth data channel.
The Bluetooth loudspeaker box equipment has the advantages that the Bluetooth connection is influenced by distance factors and environment, abnormal disconnection can occur in the use process, when the Bluetooth connection is abnormally disconnected, the Bluetooth loudspeaker box equipment is reconnected according to the address information of the disconnected Bluetooth equipment, the playing time of the Bluetooth loudspeaker box equipment is immediately synchronized after the Bluetooth loudspeaker box equipment is successfully connected, the problem that the audio playing is not synchronous after the Bluetooth loudspeaker box equipment is disconnected and reconnected is avoided, and the use experience of synchronous playing is improved.
Preferably, after acquiring the target address information of the target playback device by the NFC-based method, the method further includes:
identifying the target playing device according to the target address information;
when the identified target playing device is a connected device, the target playing device is a device to be disconnected, the Bluetooth pairing with the target playing device is disconnected, and the pairing information of the target playing device is deleted;
and when the identified target playing device is the unconnected device, the target playing device is the device to be paired.
It is worth mentioning that the bluetooth pairing information is stored after the bluetooth pairing is successful, when the target device is within the range of the bluetooth connection, the target device and the target device are automatically connected, sometimes a need for deleting the bluetooth pairing information occurs, and the need for deleting the bluetooth pairing information is faced.
The invention also provides a synchronous playing device of the Bluetooth sound box, which comprises a receiving module, a pairing module and a synchronizing module;
the receiving module is used for acquiring the target address information of the target playing device through an NFC-based method;
the pairing module is used for initiating a Bluetooth pairing request to the target playing equipment according to the target address information, entering a waiting connection state, responding to connection success information returned by the target playing equipment to establish a Bluetooth data channel, and exiting the waiting connection state;
the synchronous module is used for sending preset audio data to the target playing device through the Bluetooth data channel and synchronously playing time to the target playing device through the Bluetooth data channel so as to realize synchronous playing.
The invention also provides a synchronous playing device of the Bluetooth sound box, which comprises a memory and a processor;
the memory for storing a computer program;
the processor is configured to implement the above-mentioned synchronous playing method for the bluetooth speaker when executing the computer program.
The invention also provides a synchronous playing system of the Bluetooth sound box, which comprises the synchronous playing device of the Bluetooth sound box, an NFC connecting device and a Bluetooth connecting device;
the NFC connection device is used for establishing NFC connection and acquiring the target address information by an NFC-based method;
and the Bluetooth connecting device is used for rapidly carrying out Bluetooth pairing through the target address information and establishing a Bluetooth data channel.
According to the Bluetooth sound box, the NFC function is used for assisting Bluetooth connection, so that the pairing of two Bluetooth devices only needs to be close to the NFC module, the operation complexity of Bluetooth pairing is reduced, and when the Bluetooth sound box device is connected with other devices, the Bluetooth sound box device can be used as a Bluetooth main device, so that the purpose of directly communicating with other Bluetooth sound boxes is achieved, the synchronous playing time among the Bluetooth sound boxes can be realized, and the technical effect of synchronous playing among the Bluetooth sound boxes is achieved; the technical problems that the Bluetooth sound boxes are complex to pair and cannot be played synchronously in the prior art are solved, and user experience is improved.
Drawings
Fig. 1 is a schematic flow chart of a synchronous playing method of a bluetooth speaker according to a first embodiment of the present invention;
fig. 2 is a schematic flow chart of a synchronous playing method for bluetooth speakers according to a second embodiment of the present invention;
fig. 3 is a schematic flow chart of a synchronous playing method for bluetooth speakers according to a third embodiment of the present invention;
fig. 4 is a schematic flowchart of another embodiment of a synchronous playing method for a bluetooth speaker according to the present invention;
FIG. 5 is a schematic flow chart illustrating another embodiment of a synchronous playing method for Bluetooth speakers according to the present invention;
fig. 6 is a schematic flowchart of another embodiment of a synchronous playing method for bluetooth speakers according to the present invention;
fig. 7 is a flowchart illustrating another embodiment of the synchronous playing method for bluetooth speakers according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
The invention provides a synchronous playing method of a Bluetooth sound box,
referring to fig. 1, the method for synchronously playing the bluetooth speaker provided by the invention comprises the following steps:
s10, acquiring target address information of the target playing device by an NFC-based method;
it is easy to understand that, because the transmission distance of NFC is short, the communication of NFC is relatively secure and is not easy to be touched by mistake, and therefore when the playback device is connected through NFC, it is determined that the user initiates a pairing operation, and when the NFC is connected, the target Address information can be obtained through NFC, and in this embodiment, the target Address information includes bluetooth MAC Address (media access Control Address) information of the target device.
S20, initiating a Bluetooth pairing request to the target playing device according to the target address information and entering a waiting connection state, responding to connection success information returned by the target playing device to establish a Bluetooth data channel, and exiting the waiting connection state;
it is worth mentioning that after the target address information of the target device is acquired, the bluetooth pairing request can be directly initiated to the address, and since the target address information is not broadcasted in the bluetooth pairing process, the connection is safer than the connection mode needing broadcasting; after the pairing request is initiated, if the target device does not need security verification, connection success information can be directly returned, and if the target device needs security verification, a security verification key can be obtained through NFC, so that connection security is further guaranteed.
S30, sending preset audio data to the target playing device through the Bluetooth data channel, and synchronously playing time to the target playing device through the Bluetooth data channel to realize synchronous playing.
It should be emphasized that, because the bluetooth pairing request is initiated by the bluetooth speaker device, the bluetooth speaker device is a master device in bluetooth connection, and in consideration of the requirement of connecting multiple bluetooth devices, the playing time of the bluetooth speaker device is synchronized with the target device, so as to achieve synchronous playing with the target device.
The present embodiment improves the security of bluetooth pairing by using NFC to assist the bluetooth pairing process so that the bluetooth connection does not require broadcast device address information, because the operations of broadcasting address information and searching address information are reduced, the complexity of Bluetooth pairing is reduced, only the equipment needing Bluetooth pairing needs to be close, can pair fast, and guarantee the real-time and the degree of convenience of mutual communication between a plurality of bluetooth speaker as the main equipment that the bluetooth is connected with this bluetooth speaker equipment in connection process, it is comparatively complicated to have solved the bluetooth speaker that exists among the prior art to pair the process, it is dangerous and the technical problem that the synchronous broadcast can't be realized to the communication difficulty between a plurality of speakers to pair the process, reduce the complexity that the bluetooth pairs and improved the security that the bluetooth pairs, reached a plurality of bluetooth speaker through the synchronous broadcast time and carried out the technological effect of synchronous broadcast.
Optionally, referring to fig. 2, the obtaining of the target address information of the target playback device by the NFC-based method according to the present invention includes:
s11, establishing an NFC radio frequency field, establishing an NFC communication connection with the target playing device when the target playing device is detected by the NFC radio frequency field, and acquiring the target address information through the NFC communication connection.
It should be noted that, establishing the NFC radio frequency field may consume more electric energy, in order to implement synchronous playing of the bluetooth speaker, it is preferable to use this bluetooth speaker device as the master bluetooth device, in this embodiment, the NFC radio frequency field is established by the master bluetooth device, power consumption of the slave bluetooth device is reduced, placing of the slave bluetooth device is more flexible, and the effect of synchronous playing is improved to a certain extent by adjusting the placing position.
This embodiment has reduced the power consumptive from bluetooth equipment through using this bluetooth speaker equipment to establish the NFC radio frequency field for can work for a long time in the place that does not have the socket that charges from bluetooth equipment, improved from bluetooth equipment's the flexibility of putting, make from bluetooth equipment's the locating position more favourable to the performance of audio, improved the effect of synchronous broadcast to a certain extent.
Optionally, referring to fig. 3, the present invention further includes:
s12, establishing an NFC radio frequency field, establishing communication connection with the front-end equipment when the front-end equipment is detected by the NFC radio frequency field, and acquiring front-end equipment address information of the front-end equipment by an NFC-based method;
it is easy to understand that communication between slave devices in bluetooth connection is difficult, and synchronous playing requires mutual synchronization between bluetooth speakers, so in order to avoid that when a front-end device is connected, the bluetooth speaker device serves as a slave device in bluetooth connection, and an initiator of bluetooth pairing should be the bluetooth speaker device, in order to reduce operation complexity, the present embodiment obtains target address information through NFC, so as to initiate a pairing request to a target device according to a target address.
S13, initiating a Bluetooth pairing request to the front-end equipment according to the address information of the front-end equipment and entering a waiting connection state, responding to connection success information returned by the front-end equipment to establish a Bluetooth data channel, and exiting the waiting connection state;
it should be emphasized that, since the initiator is the bluetooth speaker device, the front-end device is a slave device in the bluetooth connection, the bluetooth speaker device is a master device in the bluetooth connection, data communication of the bluetooth speaker device in the front-end device is not affected, and the bluetooth speaker device can be connected with other bluetooth playing devices for data communication.
And S14, receiving the preset audio data sent by the front-end equipment through the Bluetooth data channel.
It should be noted that the connection between the bluetooth speaker and the front-end device is generally used to obtain audio data and play control information from the front-end device, and after receiving these pieces of information, the bluetooth speaker device can process the audio data and play control information and forward them to other bluetooth slave devices.
This embodiment is connected with the front end equipment through using NFC cooperation bluetooth, neither influences and acquires audio data from the front end equipment department, makes again at the in-process of bluetooth communication, and the front end equipment is the slave unit of bluetooth communication, has ensured that this bluetooth speaker equipment can communicate with other bluetooth speakers to realize synchronous broadcast.
Optionally, referring to fig. 4, before step S30, the present invention further includes:
s31, obtaining the device type of the target playing device, and adjusting the preset audio data according to the device type of the target playing device.
It is easy to understand that, because the playing device has multiple specifications, the embodiment selects appropriate audio data to improve the playing effect of synchronous playing according to the specification of the playing device; for example, when the target playing device cannot be identified, sending the complete audio data to the target device; when the target playing device is identified as a device capable of forming stereo with the Bluetooth sound box device, audio data capable of forming stereo with the Bluetooth sound box device is sent to the target playing device.
Specifically, referring to fig. 5, the adjusting preset audio data according to the device type of the target playback device in the present invention includes:
s32, when the device type of the target playing device is matched with the device type of the target playing device, adjusting the preset audio data to be left channel audio data or right channel audio data;
it should be noted that, in order to be compatible with more devices, the bluetooth speaker device may establish a database for the device types of the common identified playing devices, and when it is identified that the device type of the target playing device matches the device type of the bluetooth speaker device, it is considered that the bluetooth speaker device may form a stereo with the target playing device, so that the left channel audio data or the right channel audio data is sent to the target playing device, and the bluetooth speaker device plays the audio data of another channel, so as to form a stereo with the target playing device.
S33, when the device type of the target playing device is bass device, adjusting the preset audio data to be bass audio data;
it needs to be emphasized that, because most bluetooth playing devices in the market can acquire the specific models thereof through bluetooth connection, only need to match the bluetooth signal in the database, the device type of the device can be obtained, when the device type of the playing device is a bass device, bass audio data in the audio data is separated and sent to a target playing device, audio data needed by a part of bass devices is complete audio data, and at the moment, only the device type in the database needs to be adjusted.
And S34, when the device type of the target playing device is a surround device, adjusting the preset audio data to be left front surround audio data or right front surround audio data or left back surround audio data or right back surround audio data.
It is worth emphasizing that when only two surround devices are accessed, only the left back surround audio data and the right back surround audio data need to be sent to the two surround devices, and when the two surround devices are added, the left front surround audio data and the left back surround audio data are sent to the two newly added surround devices, so that a user can play debugging audio to adjust the placement positions of the surround devices, and preset audio data of each device can be switched between the left front surround audio data or the right front surround audio data or the left back surround audio data or the right back surround audio data through the front-end device.
In the embodiment, the audio data are processed, and the target playing device is identified, so that the embodiment can send the corresponding audio data according to the playing type of the target playing device, thereby improving the playing effect of synchronous playing, and can expand the compatibility of the method to the playing device by selecting a mode of establishing a database, thereby expanding the application range of the method and improving the user experience.
Optionally, referring to fig. 6, the method for synchronously playing a bluetooth sound box of the present invention further includes:
s40, when the Bluetooth data channel is disconnected abnormally, the target playing device is reconnected continuously according to the target address information;
it is easy to understand that, after the bluetooth is paired, when the paired devices meet the connection condition, the bluetooth connection can be realized without performing the pairing operation again, and therefore, when two disconnected devices perform the bluetooth connection, the bluetooth speaker device can directly establish the bluetooth connection with the target playing device after initiating the connection request to the target playing device.
And S50, when the connection is successful, the playing time is synchronized to the target playing device through the Bluetooth data channel.
It should be noted that, after the bluetooth data channel of the target playing device is disconnected and reconnected, the playing progress of the target playing device may slightly differ from that of the bluetooth speaker device, so in this embodiment, after the target playing device is disconnected and reconnected, the bluetooth speaker device is used as a reference to execute the synchronous playing time operation
According to the embodiment, the synchronous playing time operation is executed after the Bluetooth is disconnected and reconnected accidentally, the problem that the playing progress of the playing equipment is not synchronous after the disconnection and reconnection is avoided, the playing effect of synchronous playing is improved, and the user experience is improved.
Optionally, referring to fig. 7, after S10, the present invention further includes:
s21, identifying the target playing device according to the target address information;
it is easy to understand that NFC communication requires that a user actively approaches NFC coils of two devices, when two devices reuse NFC communication, it is determined that the user needs to perform bluetooth pairing or unpairing operation using the NFC coils, and at this time, it needs to be determined, and when receiving target address information, it can be identified whether a target playing device is already paired with the bluetooth speaker device.
S22, when the identified target playing device is a connected device, the target playing device is a device to be disconnected, the Bluetooth pairing with the target playing device is disconnected, and the pairing information of the target playing device is deleted;
it should be noted that, when the target playback device is connected to the bluetooth speaker device, it is determined that the user needs to delete the pairing information of the device, so that the bluetooth connection between the target playback device and the bluetooth speaker device is disconnected, and the pairing information of the target device is deleted.
S23, when the identified target playing device is the unconnected device, the target playing device is the device to be paired.
It should be emphasized that, when it is recognized that the target playback device is not connected to the bluetooth speaker device, it is determined that the user wants to connect the two devices in a pairing manner, and therefore, the reason for recognizing whether to connect instead of recognizing whether to pair is that: sometimes, the bluetooth cannot be normally connected due to environmental interference, and at this time, the user may repeatedly perform pairing operation and hope that the two establish a bluetooth data channel, and if whether to pair or not is taken as a determination condition, misoperation may be caused.
According to the embodiment, whether the target playing device is connected with the connected device or not is additionally identified, and whether the user has the requirement for deleting the pairing information or not is judged, so that the technical problem that the pairing information is deleted more complexly is solved, the technical scheme is perfected, and the user experience is improved.
Another embodiment of the present invention provides a synchronous playing device for bluetooth speakers, which includes a receiving module, a pairing module and a synchronization module;
the receiving module is used for acquiring target address information of the target playing device through an NFC-based method;
the pairing module is used for initiating a Bluetooth pairing request to the target playing equipment according to the target address information, entering a waiting connection state, responding to connection success information returned by the target playing equipment to establish a Bluetooth data channel, and exiting the waiting connection state;
the synchronous module is used for sending preset audio data to the target playing device through the Bluetooth data channel and synchronously playing time to the target playing device through the Bluetooth data channel so as to realize synchronous playing.
It is easy to understand that, after the receiving module receives the target address information through the NFC, the pairing module initiates a pairing request according to the target address information to complete pairing and establish a bluetooth data channel, thereby simplifying the bluetooth pairing step and improving the security of the bluetooth pairing connection. And the synchronous module utilizes the Bluetooth data channel to send the audio data to the target equipment and synchronously plays time to the target equipment, so that the effect of synchronously playing the Bluetooth sound box equipment and the target equipment is achieved.
In another embodiment of the present invention, a bluetooth speaker synchronous playing device is provided, which includes a memory and a processor; the memory for storing a computer program; the processor is configured to implement the above-mentioned synchronous playing method for the bluetooth speaker when executing the computer program. The device can be a single chip microcomputer and the like.
In another embodiment of the present invention, a bluetooth speaker synchronous playing system is provided, which includes the bluetooth speaker synchronous playing apparatus, the NFC connecting apparatus, and the bluetooth connecting apparatus as described above;
the NFC connection device is used for establishing NFC connection and acquiring the target address information by an NFC-based method;
and the Bluetooth connecting device is used for rapidly carrying out Bluetooth pairing through the target address information and establishing a Bluetooth data channel.
It should be noted that NFC possesses the characteristics that communication distance is short, carries out the communication through using NFC and has both ensured the bluetooth and has mated the security of connecting, has simplified the bluetooth again and has mated the operation of connecting, still makes bluetooth speaker can regard as the initiator that the bluetooth pairs, then the bluetooth pairs the back of connecting, and bluetooth speaker is as the main equipment that the bluetooth is connected, realizes through the purpose of bluetooth and other bluetooth speaker direct communication to reach the effect with other bluetooth speaker synchronous broadcast.
Although the present disclosure has been described above, the scope of the present disclosure is not limited thereto. Various changes and modifications may be effected therein by one of ordinary skill in the pertinent art without departing from the spirit and scope of the present disclosure, and these changes and modifications are intended to be within the scope of the present disclosure.

Claims (10)

1. A synchronous playing method of a Bluetooth sound box is characterized by comprising the following steps:
acquiring target address information of target playing equipment by an NFC-based method;
initiating a Bluetooth pairing request to the target playing equipment according to the target address information, entering a waiting connection state, responding to connection success information returned by the target playing equipment to establish a Bluetooth data channel, and exiting the waiting connection state;
and sending preset audio data to the target playing device through the Bluetooth data channel, and synchronously playing time to the target playing device through the Bluetooth data channel so as to realize synchronous playing.
2. The synchronous playing method of the bluetooth speaker according to claim 1, wherein the obtaining of the target address information of the target playing device by the NFC-based method includes;
and establishing an NFC radio frequency field, establishing NFC communication connection with the target playing device when the target playing device is detected by the NFC radio frequency field, and acquiring the target address information through the NFC communication connection.
3. The synchronous playing method of the Bluetooth speaker as claimed in claim 1, further comprising:
establishing an NFC radio frequency field, establishing communication connection with front-end equipment when the front-end equipment is detected by the NFC radio frequency field, and acquiring front-end equipment address information of the front-end equipment by an NFC-based method;
initiating a Bluetooth pairing request to the front-end equipment according to the address information of the front-end equipment, entering a waiting connection state, responding to connection success information returned by the front-end equipment to establish a Bluetooth data channel, and exiting the waiting connection state;
and receiving the preset audio data sent by the front-end equipment through the Bluetooth data channel.
4. The synchronous playing method of the bluetooth speaker according to claim 1, wherein before the sending preset audio data to the target playing device through the bluetooth data channel, the method further comprises:
and acquiring the equipment type of the target playing equipment, and adjusting the preset audio data according to the equipment type of the target playing equipment.
5. The synchronous playing method of the bluetooth speaker according to claim 4, wherein the adjusting the preset audio data according to the device type of the target playing device comprises:
when the preset audio data are matched with the device type of the target playing device, adjusting the preset audio data to be left channel audio data or right channel audio data;
when the device type of the target playing device is a bass device, adjusting the preset audio data to be bass audio data;
and when the device type of the target playing device is a surround device, adjusting the preset audio data to be left front surround audio data or right front surround audio data or left back surround audio data or right back surround audio data.
6. The synchronous playing method of the Bluetooth speaker as claimed in claim 1, further comprising:
when the Bluetooth data channel is abnormally disconnected, the target playing equipment is continuously reconnected according to the target address information;
and when the connection is successful, the time is synchronously played to the target playing equipment through the Bluetooth data channel.
7. The synchronous playing method of the bluetooth speaker according to claim 1, after the obtaining the target address information of the target playing device by the NFC-based method, further comprising:
identifying the target playing device according to the target address information;
when the identified target playing device is a connected device, the target playing device is a device to be disconnected, the Bluetooth pairing with the target playing device is disconnected, and the pairing information of the target playing device is deleted;
and when the identified target playing device is the unconnected device, the target playing device is the device to be paired.
8. A Bluetooth sound box synchronous playing device is characterized by comprising a receiving module, a pairing module and a synchronizing module;
the receiving module is used for acquiring target address information of the target playing device through an NFC-based method;
the pairing module is used for initiating a Bluetooth pairing request to the target playing equipment according to the target address information, entering a waiting connection state, responding to connection success information returned by the target playing equipment to establish a Bluetooth data channel, and exiting the waiting connection state;
the synchronous module is used for sending preset audio data to the target playing device through the Bluetooth data channel and synchronously playing time to the target playing device through the Bluetooth data channel so as to realize synchronous playing.
9. A Bluetooth sound box synchronous playing device is characterized by comprising a memory and a processor;
the memory for storing a computer program;
the processor, when executing the computer program, is configured to implement the bluetooth speaker synchronized playback method according to any one of claims 1 to 7.
10. A bluetooth speaker synchronous playing system, comprising the bluetooth speaker synchronous playing apparatus as claimed in claim 8, and an NFC connection apparatus and a bluetooth connection apparatus;
the NFC connection device is used for establishing NFC connection and acquiring target address information of the target playing equipment by an NFC-based method;
and the Bluetooth connecting device is used for rapidly carrying out Bluetooth pairing through the target address information and establishing a Bluetooth data channel.
CN202010133970.4A 2020-03-02 2020-03-02 Synchronous playing method, device and system of Bluetooth sound boxes Active CN111343622B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010133970.4A CN111343622B (en) 2020-03-02 2020-03-02 Synchronous playing method, device and system of Bluetooth sound boxes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010133970.4A CN111343622B (en) 2020-03-02 2020-03-02 Synchronous playing method, device and system of Bluetooth sound boxes

Publications (2)

Publication Number Publication Date
CN111343622A true CN111343622A (en) 2020-06-26
CN111343622B CN111343622B (en) 2024-04-09

Family

ID=71187285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010133970.4A Active CN111343622B (en) 2020-03-02 2020-03-02 Synchronous playing method, device and system of Bluetooth sound boxes

Country Status (1)

Country Link
CN (1) CN111343622B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021017909A1 (en) * 2019-07-26 2021-02-04 华为技术有限公司 Method, electronic device and system for realizing functions through nfc tag
CN112333510A (en) * 2020-11-13 2021-02-05 四川长虹电器股份有限公司 Method for optimizing pairing of Bluetooth remote controllers by using nfc
CN112449235A (en) * 2020-11-16 2021-03-05 深圳创维-Rgb电子有限公司 Pairing method, pairing device and television terminal
CN112492529A (en) * 2020-11-27 2021-03-12 努比亚技术有限公司 Audio transmission method, mobile terminal and computer readable storage medium
CN112911496A (en) * 2021-03-26 2021-06-04 潍坊歌尔电子有限公司 Pairing method of sounding components, audio system and readable storage medium
CN113316065A (en) * 2021-06-01 2021-08-27 格声智能科技(深圳)有限公司 Bluetooth headset group bridging method and headset device applied to square dance noise prevention
CN113490158A (en) * 2021-07-07 2021-10-08 荣耀终端有限公司 Bluetooth device pairing connection method, electronic device, Bluetooth device and terminal system
CN113965895A (en) * 2021-12-16 2022-01-21 深圳市晨北科技有限公司 Bluetooth connection switching method, equipment and storage medium
WO2022047968A1 (en) * 2020-09-04 2022-03-10 歌尔股份有限公司 Bluetooth device pairing method, device, and storage medium
WO2022088957A1 (en) * 2020-10-28 2022-05-05 华为技术有限公司 Communication method, electronic device, and system
CN114554350A (en) * 2020-11-26 2022-05-27 徐琳 Sound box and microphone all-in-one machine with TWS pairing function
CN115708373A (en) * 2021-08-18 2023-02-21 Oppo广东移动通信有限公司 Bluetooth audio receiving method, device, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789997A (en) * 2010-01-15 2010-07-28 宇龙计算机通信科技(深圳)有限公司 Method and device for linking bluetooth and mobile terminal
CN202907146U (en) * 2012-11-09 2013-04-24 深圳市盛天龙视听科技有限公司 A Bluetooth loudspeaker box based on NFC technology
CN107864432A (en) * 2017-10-25 2018-03-30 努比亚技术有限公司 Baffle Box of Bluetooth connection management method, terminal and computer-readable recording medium
CN108200495A (en) * 2018-01-23 2018-06-22 恒玄科技(上海)有限公司 A kind of method realized bluetooth headset and be played simultaneously
CN108650592A (en) * 2018-06-21 2018-10-12 珠海金山网络游戏科技有限公司 A kind of method and stereo control system for realizing neckstrap formula surround sound
CN110708582A (en) * 2019-09-18 2020-01-17 深圳酷派技术有限公司 Synchronous playing method, device, electronic equipment and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789997A (en) * 2010-01-15 2010-07-28 宇龙计算机通信科技(深圳)有限公司 Method and device for linking bluetooth and mobile terminal
CN202907146U (en) * 2012-11-09 2013-04-24 深圳市盛天龙视听科技有限公司 A Bluetooth loudspeaker box based on NFC technology
CN107864432A (en) * 2017-10-25 2018-03-30 努比亚技术有限公司 Baffle Box of Bluetooth connection management method, terminal and computer-readable recording medium
CN108200495A (en) * 2018-01-23 2018-06-22 恒玄科技(上海)有限公司 A kind of method realized bluetooth headset and be played simultaneously
CN108650592A (en) * 2018-06-21 2018-10-12 珠海金山网络游戏科技有限公司 A kind of method and stereo control system for realizing neckstrap formula surround sound
CN110708582A (en) * 2019-09-18 2020-01-17 深圳酷派技术有限公司 Synchronous playing method, device, electronic equipment and medium

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021017909A1 (en) * 2019-07-26 2021-02-04 华为技术有限公司 Method, electronic device and system for realizing functions through nfc tag
WO2022047968A1 (en) * 2020-09-04 2022-03-10 歌尔股份有限公司 Bluetooth device pairing method, device, and storage medium
EP4221276A4 (en) * 2020-10-28 2024-02-28 Huawei Technologies Co., Ltd. Communication method, electronic device, and system
WO2022088957A1 (en) * 2020-10-28 2022-05-05 华为技术有限公司 Communication method, electronic device, and system
CN112333510A (en) * 2020-11-13 2021-02-05 四川长虹电器股份有限公司 Method for optimizing pairing of Bluetooth remote controllers by using nfc
CN112449235A (en) * 2020-11-16 2021-03-05 深圳创维-Rgb电子有限公司 Pairing method, pairing device and television terminal
CN114554350A (en) * 2020-11-26 2022-05-27 徐琳 Sound box and microphone all-in-one machine with TWS pairing function
CN112492529A (en) * 2020-11-27 2021-03-12 努比亚技术有限公司 Audio transmission method, mobile terminal and computer readable storage medium
CN112492529B (en) * 2020-11-27 2022-09-23 努比亚技术有限公司 Audio transmission method, mobile terminal and computer readable storage medium
CN112911496A (en) * 2021-03-26 2021-06-04 潍坊歌尔电子有限公司 Pairing method of sounding components, audio system and readable storage medium
CN113316065A (en) * 2021-06-01 2021-08-27 格声智能科技(深圳)有限公司 Bluetooth headset group bridging method and headset device applied to square dance noise prevention
CN113490158A (en) * 2021-07-07 2021-10-08 荣耀终端有限公司 Bluetooth device pairing connection method, electronic device, Bluetooth device and terminal system
CN115708373A (en) * 2021-08-18 2023-02-21 Oppo广东移动通信有限公司 Bluetooth audio receiving method, device, terminal and storage medium
CN113965895A (en) * 2021-12-16 2022-01-21 深圳市晨北科技有限公司 Bluetooth connection switching method, equipment and storage medium

Also Published As

Publication number Publication date
CN111343622B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
CN111343622B (en) Synchronous playing method, device and system of Bluetooth sound boxes
CN109600694B (en) Wireless earphone pairing method and device, terminal and charging box
CN111436038B (en) Bluetooth connection method and system, bluetooth master and slave device connection method and Bluetooth master and slave devices
CN107277754B (en) Bluetooth connection method and Bluetooth peripheral equipment
CN110166877B (en) Audio playing method and device of TWS earphone and charging box
CN111629369B (en) Bluetooth headset, pairing connection method and device thereof, and TWS headset
US7747338B2 (en) Audio system employing multiple mobile devices in concert
WO2019015488A1 (en) Wireless earphone and pairing method thereof
US11368777B2 (en) Method and system for upgrading program of TWS headset, and TWS headset
CN106936987B (en) Method and device capable of identifying voice source of Bluetooth headset
CN110191389B (en) Multi-point connection method and device of wireless headset, Bluetooth headset and TWS headset
CN110650408B (en) Earphone, anti-lost method, anti-lost system and computer readable storage medium
CN109547897B (en) Wireless earphone connection method, device and system and wireless earphone box
US20200413456A1 (en) Method for pairing and connecting secondary earphone with sound source device
CN103686516A (en) Bluetooth headset capable of sharing audios and control method thereof
JP2022512019A (en) Extended connection method and extended connection system used for Bluetooth devices
WO2016173251A1 (en) Wi-fi network connection method, wireless speaker, and terminal
CN111447600A (en) Audio sharing method for wireless earphone, terminal device and storage medium
CN112261638B (en) Method and device for rapidly identifying dual-mode Bluetooth device, IOS device and medium
CN111629370A (en) Bluetooth headset, pairing connection method and device thereof, and TWS headset
WO2019019050A1 (en) Wireless communication pairing method, wireless receiving device, and wireless transmitting device and system
CN107148649B (en) Audio reproducing apparatus and audio reproducing system
CN108513196A (en) A kind of wireless headset and its matching method
CN115119190A (en) Bluetooth connection method and device, computer equipment and readable storage medium
CN112866855A (en) Hearing aid method and system, earphone charging box and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant