[go: up one dir, main page]

CN111464957A - Bluetooth audio transmission method and device, electronic equipment and storage medium - Google Patents

Bluetooth audio transmission method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111464957A
CN111464957A CN202010244622.4A CN202010244622A CN111464957A CN 111464957 A CN111464957 A CN 111464957A CN 202010244622 A CN202010244622 A CN 202010244622A CN 111464957 A CN111464957 A CN 111464957A
Authority
CN
China
Prior art keywords
bluetooth
broadcast
terminal
audio data
scanning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010244622.4A
Other languages
Chinese (zh)
Inventor
郑华江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202010244622.4A priority Critical patent/CN111464957A/en
Publication of CN111464957A publication Critical patent/CN111464957A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • 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
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a Bluetooth audio transmission method, which is applied to a terminal supporting a Bluetooth protocol and comprises the following steps: when the Bluetooth broadcast data packet sent by the Bluetooth equipment through the scannable unidirectional broadcast is scanned, analyzing the Bluetooth broadcast data packet to obtain broadcast content; when the broadcast content meets the connectionless audio transmission service condition and the distance between the Bluetooth device and the terminal is within a preset distance range, sending a scanning request to the Bluetooth device; and when receiving a scanning response returned by the Bluetooth equipment according to the scanning request, sending audio data broadcast so that the Bluetooth equipment plays the received audio data broadcast. The application also discloses a Bluetooth audio transmission device, an electronic device and a computer readable storage medium. The method and the device can realize audio data transmission between the Bluetooth equipment and the terminal under the condition that software and hardware design is more simplified.

Description

Bluetooth audio transmission method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a bluetooth audio transmission method and apparatus, an electronic device, and a computer-readable storage medium.
Background
In recent years, with the rapid development of electronic device technologies, the market of bluetooth electronic devices is exploded, such as bluetooth headsets and bluetooth audio players, and the connection speed of bluetooth electronic devices is also an important index. An NFC (near field Communication) Bluetooth electronic device appears in the market, the Bluetooth electronic device supporting the NFC function can be connected with a mobile phone through the NFC, the electronic device transmits a device address to the mobile phone through the NFC, and the mobile phone can directly initiate connection to an address device to transmit data, so that a process of searching for the device is omitted.
However, in the conventional method, when the bluetooth electronic device performs audio transmission, the headset is required to support both bluetooth and NFC functions, the design of hardware and software is complex, and NFC also causes higher power consumption.
Disclosure of Invention
Embodiments of the present application provide a bluetooth audio transmission method, an apparatus, an electronic device, and a computer-readable storage medium, which can implement audio data transmission between a bluetooth device and a terminal under the condition that software and hardware design is more simplified.
A Bluetooth audio transmission method is applied to a terminal supporting a Bluetooth protocol, and comprises the following steps:
when a Bluetooth broadcast data packet sent by a Bluetooth device through scannable unidirectional broadcast is scanned, analyzing the Bluetooth broadcast data packet to obtain broadcast content;
when the broadcast content meets the connectionless audio transmission service condition and the distance between the Bluetooth device and the terminal is within a preset distance range, sending a scanning request to the Bluetooth device;
and when receiving a scanning response returned by the Bluetooth equipment according to the scanning request, sending audio data broadcast so that the Bluetooth equipment plays the received audio data broadcast.
A Bluetooth audio transmission method is applied to Bluetooth equipment and comprises the following steps:
transmitting a Bluetooth broadcast data packet through scannable unidirectional broadcast;
receiving a scanning request sent by a terminal, wherein the scanning request is sent when the terminal determines that the broadcast content of the Bluetooth broadcast data packet accords with a connectionless audio transmission service condition and the distance between the Bluetooth equipment and the terminal is within a preset distance range;
generating a corresponding scanning response according to the scanning request, and returning the scanning response to the terminal;
receiving audio data broadcast sent by the terminal after receiving the scanning response;
and playing the audio data broadcast.
A Bluetooth audio transmission device is applied to a terminal supporting a Bluetooth protocol, and comprises:
the scanning and analyzing module is used for analyzing the Bluetooth broadcast data packet to obtain broadcast content when the Bluetooth broadcast data packet sent by the Bluetooth equipment through the scannable unidirectional broadcast is scanned;
a scanning request sending module, configured to send a scanning request to the bluetooth device when the broadcast content meets a connectionless audio transmission service condition and a distance between the bluetooth device and the terminal is within a preset distance range;
and the audio data transmission module is used for sending audio data broadcast when receiving a scanning response returned by the Bluetooth equipment according to the scanning request so that the Bluetooth equipment plays the received audio data broadcast.
A Bluetooth audio transmission device is applied to Bluetooth equipment and comprises:
the broadcasting module is used for sending the Bluetooth broadcasting data packet through scannable unidirectional broadcasting;
the terminal comprises a receiving module and a processing module, wherein the receiving module is used for receiving a scanning request sent by the terminal, and the scanning request is sent when the terminal determines that the broadcast content of the Bluetooth broadcast data packet accords with the connectionless audio transmission service condition and the distance between the Bluetooth equipment and the terminal is within a preset distance range;
the scanning response module is used for generating a corresponding scanning response according to the scanning request and returning the scanning response to the terminal;
and the playing module is used for receiving the audio data broadcast sent by the terminal after receiving the scanning response and playing the audio data broadcast.
An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of:
when a Bluetooth broadcast data packet sent by a Bluetooth device through scannable unidirectional broadcast is scanned, analyzing the Bluetooth broadcast data packet to obtain broadcast content;
when the broadcast content meets the connectionless audio transmission service condition and the distance between the Bluetooth device and the terminal is within a preset distance range, sending a scanning request to the Bluetooth device;
and when receiving a scanning response returned by the Bluetooth equipment according to the scanning request, sending audio data broadcast so that the Bluetooth equipment plays the received audio data broadcast.
An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of:
transmitting a Bluetooth broadcast data packet through scannable unidirectional broadcast;
receiving a scanning request sent by a terminal, wherein the scanning request is sent when the terminal determines that the broadcast content of the Bluetooth broadcast data packet accords with a connectionless audio transmission service condition and the distance between the Bluetooth equipment and the terminal is within a preset distance range;
generating a corresponding scanning response according to the scanning request, and returning the scanning response to the terminal;
receiving audio data broadcast sent by the terminal after receiving the scanning response;
and playing the audio data broadcast.
A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of:
when a Bluetooth broadcast data packet sent by a Bluetooth device through scannable unidirectional broadcast is scanned, analyzing the Bluetooth broadcast data packet to obtain broadcast content;
when the broadcast content meets the connectionless audio transmission service condition and the distance between the Bluetooth device and the terminal is within a preset distance range, sending a scanning request to the Bluetooth device;
and when receiving a scanning response returned by the Bluetooth equipment according to the scanning request, sending audio data broadcast so that the Bluetooth equipment plays the received audio data broadcast.
A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of:
transmitting a Bluetooth broadcast data packet through scannable unidirectional broadcast;
receiving a scanning request sent by a terminal, wherein the scanning request is sent when the terminal determines that the broadcast content of the Bluetooth broadcast data packet accords with a connectionless audio transmission service condition and the distance between the Bluetooth equipment and the terminal is within a preset distance range;
generating a corresponding scanning response according to the scanning request, and returning the scanning response to the terminal;
receiving audio data broadcast sent by the terminal after receiving the scanning response;
and playing the audio data broadcast.
According to the Bluetooth audio transmission method, the Bluetooth audio transmission device, the electronic equipment and the computer readable storage medium, the Bluetooth equipment only needs to support Bluetooth, the software and hardware design is simplified, the cost is saved, the power consumption is reduced, the Bluetooth equipment does not need to be connected with the terminal, the Bluetooth address of the Bluetooth equipment can be obtained under the condition of no connection, and then the Bluetooth audio data transmission based on no connection is used, so that the Bluetooth audio transmission method, the Bluetooth audio transmission device, the electronic equipment and the computer readable storage medium are efficient and convenient.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an exemplary embodiment of a Bluetooth (R) audio transmission method;
FIG. 2 is a block diagram of a portion of the structure of a handset associated with an electronic device as provided in one embodiment;
FIG. 3 is a flowchart illustrating a Bluetooth audio transmission method according to an embodiment;
FIG. 4 is a schematic diagram of the composition of structures in a data packet in one embodiment;
FIG. 5 is a flowchart illustrating a Bluetooth audio transmission method according to an embodiment;
FIG. 6 is a block diagram of a Bluetooth audio transmission device according to an embodiment;
FIG. 7 is a block diagram showing the structure of a Bluetooth audio transmission device according to another embodiment;
fig. 8 is a block diagram showing an internal configuration of an electronic device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is a schematic diagram of an application environment of a bluetooth audio transmission method according to an embodiment. As shown in fig. 1, the application environment includes a first electronic device 102 and a second electronic device 104. The first electronic device 102 may communicate with the second electronic device 104 via bluetooth. The first electronic device 102 may specifically be an electronic device capable of playing audio and having at least bluetooth low energy, such as, but not limited to, a bluetooth headset, a bluetooth sound, a bluetooth mobile phone, or a wearable device. The second electronic device 104 may be an electronic device with a processor supporting bluetooth protocol, such as, but not limited to, a personal computer, a laptop computer, a smart phone, a tablet computer, a portable wearable device, and the like.
In one embodiment, fig. 2 is a block diagram of a partial structure of a mobile phone related to an electronic device provided in an embodiment of the present application. Referring to fig. 2, the handset includes: a Radio Frequency (RF) circuit 210, a memory 220, an input unit 230, a display unit 240, a bluetooth module 250, an audio circuit 260, a wireless fidelity (WiFi) module 270, a processor 280, and a power supply 290. Those skilled in the art will appreciate that the handset configuration shown in fig. 2 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein bluetooth module 250 supports bluetooth functionality. The bluetooth technology is a radio technology supporting short-distance communication of devices, and can perform wireless information interaction among various wireless terminal devices including smart phones, personal computers, notebook computers, tablet computers, portable wearable devices, wireless earphones, wireless sound boxes and the like.
Fig. 3 is a flow chart of a bluetooth audio transmission method in one embodiment. The bluetooth audio transmission method shown in fig. 3 can be applied to the second electronic device 104, and includes:
step 202, when the bluetooth broadcast data packet sent by the bluetooth device through the scannable unidirectional broadcast is scanned, the bluetooth broadcast data packet is analyzed to obtain the broadcast content.
The bluetooth device may be the first electronic device, and the scannable undirected broadcast allows other devices to scan the broadcast device, which may be discovered, and may send broadcast data, or may send scan response data in response to the scanning, but may not establish a connection. Is a broadcasting form suitable for broadcasting data, and different data can be carried in the broadcasting data or in the scanning response data.
Specifically, the bluetooth low energy of the bluetooth device has a function of sending a scannable unidirectional broadcast, and can send a bluetooth broadcast data packet through the scannable unidirectional broadcast at a preset time interval after the bluetooth device is powered on, wherein the preset time interval can be customized through a setting interface. The Bluetooth device can also be provided with a key, and the key triggers the Bluetooth device to send the Bluetooth broadcast data packet through scannable unidirectional broadcast. In one example, the bluetooth broadcast packet may stop being sent over the scannable unidirectional broadcast if the bluetooth device does not receive the scan request beyond a preset time interval.
The second electronic device may continuously scan the Bluetooth low Energy broadcast after the Bluetooth function is turned on, and when a Bluetooth broadcast packet transmitted through a scannable unidirectional broadcast is scanned, the Bluetooth broadcast packet may be parsed to obtain broadcast contents, the Bluetooth broadcast packet may include a broadcast header and a broadcast packet body, wherein the broadcast header may include a broadcast type, such as a scannable unidirectional broadcast, a sender's own B L E (Bluetooth L ow Energy ) Bluetooth address, and since the address may be a random address, a Bluetooth address field may be further required to be set in the broadcast packet body to describe the Bluetooth address of the Bluetooth device.
And step 204, when the broadcast content meets the connectionless audio transmission service condition and the distance between the bluetooth device and the terminal is within the preset distance range, sending a scanning request to the bluetooth device.
Specifically, in order to enable the bluetooth device to support the connectionless audio transmission service, before the bluetooth device leaves the factory, the bluetooth device needs to define the format and content of a bluetooth broadcast packet that is sent by scannable unidirectional broadcast, so that the broadcast content of the bluetooth broadcast packet conforms to the connectionless audio transmission service condition. Therefore, the terminal can analyze the Bluetooth broadcast data packet when scanning to obtain the Bluetooth broadcast data packet, and can perform the next connectionless audio transmission only if the connectionless audio transmission service condition is met. The Bluetooth device can also support the connectionless audio transmission service in the form of installing an upgrade package after the Bluetooth device leaves the factory. The distance measuring device can be used for judging whether the distance between the Bluetooth device and the terminal is within a preset distance range, if so, the first position information of the Bluetooth device is obtained through the positioning device of the Bluetooth device, the second position information of the terminal is obtained through the positioning device of the terminal, and the distance between the Bluetooth device and the terminal is calculated through the first position information and the second position information.
The preset distance range can be self-defined, and as the scannable non-directional broadcast data packet sent by broadcast is non-directional, a plurality of scanning terminals can receive the data packet, and generally when the audio data of the terminal needs to be played, the bluetooth equipment is close to the terminal, so that the scanning request is sent to the bluetooth equipment only when the distance between the bluetooth equipment and the terminal is within the preset distance range.
The SCAN request SCAN _ REQ is sent by a device in a SCAN state and received by a device in a broadcast state, and the SCAN request is used for sending a bluetooth address of a terminal to the bluetooth device, so that the bluetooth device confirms to play audio data sent by the device corresponding to the bluetooth address next after receiving the SCAN request.
In one embodiment, the distance between the bluetooth device and the terminal is determined through a field which is carried in the bluetooth broadcast data packet and used for calculating the distance between the bluetooth device and the terminal, wherein the field for calculating the distance between the bluetooth device and the terminal can carry the first position information or is used for carrying broadcast transmission power of the bluetooth device, and the distance between the terminal and the bluetooth device is calculated according to the broadcast transmission power of the bluetooth device. Other custom information for calculating distance may also be carried in the fields.
And step 206, when receiving a scanning response returned by the bluetooth device according to the scanning request, sending an audio data broadcast, so that the bluetooth device plays the received audio data broadcast.
Wherein, the scanning response SCAN _ RSP is sent by the device in the broadcast state, and the device in the scanning state receives the scanning response SCAN _ RSP. The Bluetooth device confirms the terminal to receive the Bluetooth address of the terminal and indicates that the terminal can start to send the audio data broadcast. And the Bluetooth device records the Bluetooth address of the terminal in the scanning request and generates a corresponding scanning response.
The terminal receives a scanning response of the Bluetooth device, switches to a broadcast sending role, starts to send audio data broadcast, the audio data broadcast adopts B L E extended broadcast, the B L E extended air broadcast packet is 265 bytes long enough to support audio data, the data packet broadcast in the audio data broadcast can be music data stream, voice data and the like.
In the bluetooth audio transmission method in this embodiment, when a bluetooth broadcast data packet sent by a bluetooth device through scannable unidirectional broadcast is scanned, the bluetooth broadcast data packet is analyzed to obtain broadcast content; when the broadcast content meets the connectionless audio transmission service condition and the distance between the Bluetooth device and the terminal is within a preset distance range, sending a scanning request to the Bluetooth device; when a scanning response returned by the Bluetooth device according to the scanning request is received, the audio data broadcast is sent, so that the Bluetooth device plays the received audio data broadcast, the Bluetooth device only needs to support Bluetooth, the software and hardware design is simplified, the cost is saved, the power consumption is reduced, the Bluetooth device does not need to be connected with the terminal, the Bluetooth address of the Bluetooth device can be known under the condition of no connection, and then the Bluetooth audio data transmission based on no connection is used, so that the Bluetooth device is efficient and convenient.
In one embodiment, parsing the bluetooth broadcast packet to obtain the broadcast content in step 202 includes: and analyzing the equipment service field of the Bluetooth broadcast data packet to obtain equipment service information. Step 202 is followed by: and when the equipment service information supports the connectionless audio transmission service, determining that the broadcast content meets the connectionless audio transmission service condition.
The device service field is a preset field of the Bluetooth broadcast data packet and is used for describing device service information, and the device service information represents service types supported by the Bluetooth device. For example, a field value of the device service field is 1 to indicate that the bluetooth device supports the connectionless audio transmission service, and 2 to indicate that the bluetooth device supports the fast pairing service. The specific field value can be customized.
In particular, since there are a variety of bluetooth devices in a space, a terminal may scan many broadcast packets, and therefore device service information is carried in the broadcast packets to indicate whether such broadcasted bluetooth devices support a connectionless audio transmission service.
In this embodiment, whether the bluetooth device supports the connectionless audio transmission service can be quickly determined by the field value of the preset field of the bluetooth broadcast packet, thereby avoiding the step of performing invalidation subsequently.
In one embodiment, parsing the bluetooth broadcast packet to obtain the broadcast content in step 202 includes: and analyzing the transmission power field of the Bluetooth broadcast data packet to obtain the broadcast transmission power of the Bluetooth equipment. Step 102 is followed by: calculating the distance between the terminal and the Bluetooth equipment according to the received broadcast signal strength and the broadcast transmitting power; and comparing the calculated distance with a preset distance range, and determining that the distance between the Bluetooth device and the terminal is within the preset distance range when the distance is less than or equal to the preset distance range.
Since the transmission distance of bluetooth broadcast is longer than that of NFC, the terminal generally only uses near-field bluetooth devices to transmit and play audio data, and therefore, the device distance is calculated by carrying broadcast transmission power in the bluetooth broadcast packet.
Specifically, it may be defined before shipment that a specific transmission power field is included in a bluetooth broadcast packet sent by scannable non-directional broadcast, and different field values written in the transmission power field indicate different powers, so that the terminal may determine the broadcast transmission power of the bluetooth device by only parsing the transmission power field in the bluetooth broadcast packet. And the terminal calculates the distance between the terminal and the Bluetooth equipment through the path loss. The broadcast transmission power is recorded as TX power level, the actually measured received broadcast signal strength is recorded as RSSI, and the calculation of the path loss can be represented as: the Pathloss corresponds to the device distance according to an empirical value, for example, when the Pathloss is 41dbm, the actual measured device distance is 1 meter. So that the distance between the terminal and the bluetooth device can be determined according to the path loss. The preset distance range can be customized, for example, 10CM, and when the distance between the terminal and the bluetooth device is less than or equal to the preset distance range, the distance between the bluetooth device and the terminal is determined to be within the preset distance range.
In the embodiment, the distance between the Bluetooth equipment and the terminal can be quickly calculated through the field value of the preset field of the Bluetooth broadcast data packet, the method is convenient and quick, and the equipment distance can be quickly obtained without installing a positioning device in the Bluetooth equipment and the terminal.
In one embodiment, the sending the scan request to the bluetooth device in step 204 includes: determining a Bluetooth address of the Bluetooth device from the broadcast content, and generating a scanning request according to the Bluetooth address of the terminal; and sending a scanning request to the Bluetooth equipment corresponding to the Bluetooth address so that the Bluetooth equipment records the Bluetooth address of the terminal when receiving the scanning request, and generating a scanning response according to the Bluetooth address of the terminal.
Specifically, the broadcast content carries the bluetooth address of the bluetooth device, and the generated scanning request includes the bluetooth address of the terminal, so that when the bluetooth device receives the scanning request, the bluetooth address of the terminal in the scanning request can be locally recorded, and only audio data sent by the terminal corresponding to the recorded bluetooth address locally existing in the bluetooth device can be played subsequently, thereby avoiding the situation that audio data playing errors are generated due to the fact that audio data packets broadcast by a plurality of different terminals are received. The number of bluetooth addresses recorded in the local presence of a typical bluetooth device is one. The generated scanning response comprises the Bluetooth address of the terminal, so that the scanning response is sent to the terminal corresponding to the Bluetooth address to indicate the terminal to start broadcasting the audio data packet.
In this embodiment, mutual identification between the bluetooth device and the terminal is realized by carrying the bluetooth address of the terminal in the scan request and the scan response, and only the terminal identified by the bluetooth device can receive the scan response and start broadcasting the audio data packet.
In one embodiment, step 206 includes: acquiring a response Bluetooth address from the scanning response, and sending audio data broadcast when the response Bluetooth address is consistent with the Bluetooth address of the terminal; the audio data broadcast comprises a Bluetooth address of the terminal, and when the Bluetooth address recorded by the Bluetooth equipment comprises the Bluetooth address in the received audio data broadcast, the Bluetooth equipment starts to play the received audio data broadcast.
The response Bluetooth address is that the Bluetooth address of the terminal in the scanning request is extracted and written into the scanning response by the Bluetooth equipment, the response of the Bluetooth equipment to the scanning request of the terminal is represented, and only when the response Bluetooth address is consistent with the Bluetooth address of the terminal, the Bluetooth equipment and the terminal are mutually confirmed, so that the terminal starts to send audio data broadcast.
Specifically, the audio data broadcast carries the bluetooth address of the terminal, when the bluetooth device receives the audio data broadcast, the bluetooth address of the terminal is extracted from the audio data and compared with the locally recorded bluetooth address, the received audio data broadcast is played only when the recorded bluetooth address includes the bluetooth address in the received audio data broadcast, and through confirmation of the address, the audio data broadcast sent by other unrelated terminals is avoided being received, and the effectiveness of audio data playing is improved.
In one embodiment, step 206 includes: and when receiving a scanning response returned by at least 2 Bluetooth devices according to the scanning request, sending audio data broadcast so that the at least 2 Bluetooth devices play the received audio data broadcast.
Specifically, when 2 or more than 2 bluetooth devices exist near the terminal and each bluetooth device sends a bluetooth broadcast data packet through scannable unidirectional broadcast, the terminal scans to obtain a plurality of different bluetooth broadcast data packets, obtains the distance between the bluetooth device and the connection-free audio transmission service condition within a preset distance range through analysis, and sends a scanning request to the bluetooth device meeting the condition if 2 or more than 2 bluetooth devices meet the condition, so as to receive a scanning response returned by the 2 or more than 2 bluetooth devices. After the terminal sends the audio data broadcast, 2 or more than 2 Bluetooth devices which meet the conditions receive the audio data broadcast and start playing.
In this embodiment, if there are 2 or more than 2 bluetooth devices meeting the condition, the audio data will be played at the same time, improving the efficiency of audio data transmission and playing.
In a specific embodiment, a bluetooth audio transmission method is provided, in which a terminal supporting a bluetooth protocol is a mobile phone, and a bluetooth device is a bluetooth headset, and the specific process is as follows:
1. the Bluetooth earphone scans the Bluetooth broadcast data packet through the scannable Bluetooth broadcast data packet sent by the unidirectional broadcast.
The bluetooth broadcast packet carries a bluetooth address of the bluetooth headset, and also carries Flag, service UUID (universal Unique Identifier), broadcast transmission power, and the like, and each field of the bluetooth broadcast packet is as follows:
Figure BDA0002433660680000121
each structure is designed as shown in FIG. 4, L ength indicates the length of the whole structure, ADType indicates the type of the structure, and AD Data is specific content.
The AD Head is a common broadcast packet header, and the BT address represents a bluetooth address of the bluetooth headset. Flag is a Flag field indicating the discovery mode of the device. The Service UUID is a device Service information field indicating whether the device supports the connectionless audio transmission Service. After the mobile phone scans the field and confirms that the Bluetooth headset supports the connectionless audio transmission service, the following steps are carried out. The TX power level represents broadcast transmitting power and is used for calculating the distance between the Bluetooth headset and the mobile phone, and audio data transmission is performed only when the distance is close enough, so that the mobile phone is prevented from performing audio data transmission on redundant equipment.
2. And the mobile phone analyzes the scanned Bluetooth broadcast data packet and analyzes the Bluetooth broadcast data packet to obtain each field.
3. If the Bluetooth broadcast data packet carries the connectionless audio transmission service, the mobile phone calculates the path loss according to the broadcast sending signal strength and the broadcast receiving signal strength, and obtains the distance between the mobile phone and the Bluetooth earphone by contrasting a path loss table. And if the Bluetooth broadcast data packet does not carry the connectionless audio transmission service, returning to the step 1.
4. And if the distance is within the preset distance range, sending a scanning request to the Bluetooth headset, wherein the scanning request carries the Bluetooth address of the mobile phone, and if the distance is not within the preset distance range, returning to the step 1.
5. And after receiving the scanning request, the Bluetooth headset locally records the Bluetooth address of the mobile phone and replies a scanning response, wherein the scanning response carries the Bluetooth address of the mobile phone.
6. And after receiving the scanning response, the mobile phone sends audio data broadcast, wherein the audio data broadcast carries the Bluetooth address of the mobile phone.
7. The Bluetooth earphone receives the audio data broadcast, and the broadcast address is the Bluetooth address of the mobile phone, and starts to play music.
In this embodiment, only need support the bluetooth through bluetooth headset, the software and hardware design is more retrencied, has also practiced thrift the cost, and bluetooth headset and cell-phone need not to be connected, just alright learn bluetooth headset's bluetooth address under the condition of no any connection, then use the bluetooth audio data transmission based on not having the connection, and is high-efficient convenient.
In one embodiment, as shown in fig. 5, there is provided a bluetooth audio transmission method applied to a bluetooth device, including:
step 302, sending a bluetooth broadcast packet via scannable unidirectional broadcast.
Step 304, receiving a scanning request sent by the terminal, wherein the scanning request is sent when the terminal determines that the broadcast content of the Bluetooth broadcast data packet accords with the connectionless audio transmission service condition and the distance between the Bluetooth device and the terminal is within a preset distance range;
and step 306, generating a corresponding scanning response according to the scanning request, and returning the scanning response to the terminal.
Step 308, the receiving terminal receives the audio data broadcast sent after the scanning response, and plays the audio data broadcast.
In this embodiment, bluetooth equipment only need support the bluetooth, and the software and hardware design is more retrencied, has also practiced thrift the cost, has reduced the consumption, and bluetooth equipment and terminal need not to be connected, just alright learn bluetooth equipment's bluetooth address under the condition of no any connection, then use the bluetooth audio data transmission based on no connection, and is high-efficient convenient.
In one embodiment, the bluetooth broadcast packet includes a device service field, and the device service information carried in the device service field is for supporting a connectionless audio transmission service.
In one embodiment, the bluetooth broadcast packet includes a transmission power field, the transmission power field carries broadcast transmission power of the bluetooth device, and the broadcast transmission power is used for calculating the distance between the terminal and the bluetooth device.
In one embodiment, step 306 includes: acquiring a Bluetooth address of the terminal from the scanning request, and recording the Bluetooth address of the terminal; and generating a scanning response according to the Bluetooth address of the terminal.
In one embodiment, step 308 comprises: and when the recorded Bluetooth address comprises the Bluetooth address in the audio data broadcast, playing the audio data broadcast.
In one embodiment, the method further comprises: and when the Bluetooth address of the terminal carried by the next received scanning request is different from the recorded Bluetooth address of the terminal, deleting the recorded Bluetooth address of the terminal, and recording the Bluetooth address of the terminal carried by the next scanning request.
Specifically, it is ensured that only one record of the bluetooth address of the terminal exists in the bluetooth device, thereby avoiding audio data mixing and playing errors caused by playing audio data sent by a plurality of different terminals.
The embodiments and various possible implementations of the bluetooth audio transmission method described above take a bluetooth device as an execution main body, and the specific method and the interaction process with the terminal may refer to the description of the embodiments, which are not described herein again.
It should be understood that, although the steps in the flowcharts of fig. 3 and 5 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 3 and 5 may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
Fig. 6 is a block diagram of a bluetooth audio transmission apparatus 600 according to an embodiment. As shown in fig. 6, a bluetooth audio transmission apparatus 600 applied to a terminal supporting a bluetooth protocol includes: a scan parsing module 602, a scan request sending module 604, and an audio data transmission module 606. Wherein:
a scanning and analyzing module 602, configured to analyze a bluetooth broadcast data packet to obtain broadcast content when a bluetooth broadcast data packet sent by a bluetooth device through a scannable unidirectional broadcast is scanned;
a scanning request sending module 604, configured to send a scanning request to the bluetooth device when the broadcast content meets a connectionless audio transmission service condition and a distance between the bluetooth device and the terminal is within a preset distance range;
and an audio data transmission module 606, configured to send an audio data broadcast when receiving a scan response returned by the bluetooth device according to the scan request, so that the bluetooth device plays the received audio data broadcast.
In the bluetooth audio transmission apparatus 600 in this embodiment, when scanning a bluetooth broadcast data packet that is sent by a bluetooth device through scannable unidirectional broadcast, the bluetooth broadcast data packet is analyzed to obtain broadcast content, and when the broadcast content meets a connectionless audio transmission service condition and the distance between the bluetooth device and the terminal is within a preset distance range, a scanning request is sent to the bluetooth device; when a scanning response returned by the Bluetooth device according to the scanning request is received, the audio data broadcast is sent, so that the Bluetooth device plays the received audio data broadcast, the Bluetooth device only needs to support Bluetooth, the software and hardware design is simplified, the cost is saved, the power consumption is reduced, the Bluetooth device does not need to be connected with the terminal, the Bluetooth address of the Bluetooth device can be known under the condition of no connection, and then the Bluetooth audio data transmission based on no connection is used, so that the Bluetooth device is efficient and convenient.
In an embodiment, the scan parsing module 602 is further configured to parse the device service information from the device service field of the bluetooth broadcast packet. The device further comprises:
a determining module, configured to determine that the broadcast content meets a connectionless audio transmission service condition when the device service information is that connectionless audio transmission service is supported.
In the bluetooth audio transmission apparatus 600 in this embodiment, it can be quickly determined whether the bluetooth device supports the connectionless audio transmission service through the field value of the preset field of the bluetooth broadcast packet, so as to avoid the step of performing invalidation subsequently.
In an embodiment, the scan parsing module 602 is further configured to parse a transmission power field of the bluetooth broadcast packet to obtain a broadcast transmission power of the bluetooth device. The device further comprises:
and the distance calculation module is used for calculating the distance between the terminal and the Bluetooth device according to the received broadcast signal strength and the broadcast transmitting power, comparing the calculated distance with a preset distance range, and determining that the distance between the Bluetooth device and the terminal is within the preset distance range when the distance is less than or equal to the preset distance range.
The bluetooth audio transmission device 600 in this implementation can calculate the distance between the bluetooth device and the terminal quickly through the field value of the preset field of the bluetooth broadcast data packet, is convenient and quick, and can obtain the device distance quickly without installing a positioning device in the bluetooth device and the terminal.
In one embodiment, the scan request sending module 604 is further configured to determine a bluetooth address of the bluetooth device from the broadcast content; generating a scanning request according to the Bluetooth address of the terminal; and sending a scanning request to the Bluetooth equipment corresponding to the Bluetooth address so that the Bluetooth equipment records the Bluetooth address of the terminal when receiving the scanning request, and generating a scanning response according to the Bluetooth address of the terminal.
In this embodiment, mutual identification between the bluetooth device and the terminal is realized by carrying the bluetooth address of the terminal in the scan request and the scan response, and only the terminal identified by the bluetooth device can receive the scan response and start broadcasting the audio data packet.
In one embodiment, the audio data transmission module 606 is further configured to obtain the answer bluetooth address from the scan answer; when the response Bluetooth address is consistent with the Bluetooth address of the terminal, audio data broadcast is sent; the audio data broadcast comprises a Bluetooth address of the terminal, and when the Bluetooth address recorded by the Bluetooth equipment comprises the Bluetooth address in the received audio data broadcast, the received audio data broadcast is played through the Bluetooth equipment
In this embodiment, only when the recorded bluetooth address includes the bluetooth address in the received audio data broadcast, the received audio data broadcast is played, and by confirming the address, the audio data broadcast sent by other unrelated terminals is prevented from being received, thereby improving the effectiveness of playing the audio data.
In one embodiment, the audio data transmission module 606 is further configured to send an audio data broadcast when receiving a scan response returned by at least 2 bluetooth devices according to the scan request, so that the at least 2 bluetooth devices play the received audio data broadcast.
In this embodiment, if there are 2 or more than 2 bluetooth devices meeting the condition, the audio data will be played at the same time, improving the efficiency of audio data transmission and playing.
Fig. 7 is a block diagram of a bluetooth audio transmission apparatus 700 according to an embodiment. As shown in fig. 7, a bluetooth audio transmission apparatus 700 applied to a bluetooth device includes: a broadcast module 702, a receive module 704, a scan reply module 706, and a play module 708. Wherein:
a broadcast module 702, configured to send a bluetooth broadcast packet via scannable non-directional broadcast.
A receiving module 704, configured to receive a scan request sent by the terminal. And the scanning request is sent when the terminal determines that the broadcast content of the Bluetooth broadcast data packet accords with the connectionless audio transmission service condition and the distance between the Bluetooth device and the terminal is within a preset distance range.
And the scanning response module 706 is configured to generate a corresponding scanning response according to the scanning request, and return the scanning response to the terminal.
The playing module 708 is configured to receive the audio data broadcast sent by the terminal after receiving the scanning response, and play the audio data broadcast.
In one embodiment, the bluetooth broadcast packet includes a device service field, and the device service information carried in the device service field is for supporting a connectionless audio transmission service.
In one embodiment, the bluetooth broadcast packet includes a transmit power field carrying a broadcast transmit power of the bluetooth device, the broadcast transmit power being used to calculate a distance between the terminal and the bluetooth device.
In one embodiment, the scan response module 706 is further configured to obtain a bluetooth address of the terminal from the scan request, record the bluetooth address of the terminal, and generate a scan response according to the bluetooth address of the terminal.
In one embodiment, the playing module 708 is further configured to play the audio data broadcast when the recorded bluetooth address includes a bluetooth address in the audio data broadcast.
In one embodiment, the apparatus further comprises:
and the Bluetooth address management module is used for deleting the recorded Bluetooth address of the terminal and recording the Bluetooth address of the terminal carried by the next scanning request when the Bluetooth address of the terminal carried by the next scanning request received is different from the recorded Bluetooth address of the terminal.
For specific limitations of the bluetooth audio transmission apparatus, reference may be made to the above limitations of the bluetooth audio transmission method, which will not be described herein again. The various modules in the bluetooth audio transmission device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 8 is a schematic diagram of an internal structure of an electronic device in one embodiment. As shown in fig. 8, the electronic device includes a processor, a memory, and a bluetooth module connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor for implementing the bluetooth audio transmission method provided in the above embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The electronic device may be a cell phone, a bluetooth headset, etc.
The implementation of each module in the bluetooth audio transmission apparatus provided in the embodiments of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored on the memory of the terminal or the server. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the bluetooth audio transmission method.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a bluetooth audio transmission method.
As used herein, any reference to memory, storage, database or other medium may include non-volatile and/or volatile memory, which may include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory, volatile memory may include Random Access Memory (RAM), which acts as external cache memory, RAM is available in a variety of forms, such as, by way of illustration and not limitation, Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (S L DRAM), Rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic (DRDRAM), and memory bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (16)

1. A Bluetooth audio transmission method is applied to a terminal supporting a Bluetooth protocol, and is characterized by comprising the following steps:
when a Bluetooth broadcast data packet sent by a Bluetooth device through scannable unidirectional broadcast is scanned, analyzing the Bluetooth broadcast data packet to obtain broadcast content;
when the broadcast content meets the connectionless audio transmission service condition and the distance between the Bluetooth device and the terminal is within a preset distance range, sending a scanning request to the Bluetooth device;
and when receiving a scanning response returned by the Bluetooth equipment according to the scanning request, sending audio data broadcast so that the Bluetooth equipment plays the received audio data broadcast.
2. The method of claim 1, wherein parsing the bluetooth broadcast packet to obtain broadcast content comprises:
analyzing the equipment service field of the Bluetooth broadcast data packet to obtain equipment service information;
after analyzing the bluetooth broadcast data packet to obtain the broadcast content, the method further includes:
and when the equipment service information supports the connectionless audio transmission service, determining that the broadcast content meets the connectionless audio transmission service condition.
3. The method of claim 1, wherein parsing the bluetooth broadcast packet to obtain broadcast content comprises:
analyzing the transmitting power field of the Bluetooth broadcast data packet to obtain the broadcast transmitting power of the Bluetooth equipment;
after analyzing the bluetooth broadcast data packet to obtain the broadcast content, the method further includes:
calculating the distance between the terminal and the Bluetooth equipment according to the strength of the received broadcast signal and the broadcast transmitting power;
and comparing the calculated distance with a preset distance range, and determining that the distance between the Bluetooth device and the terminal is within the preset distance range when the distance is smaller than or equal to the preset distance range.
4. The method of claim 1, wherein sending the scan request to the Bluetooth device comprises:
determining a Bluetooth address of the Bluetooth device from the broadcast content;
generating the scanning request according to the Bluetooth address of the terminal;
and sending the scanning request to the Bluetooth equipment corresponding to the Bluetooth address, so that the Bluetooth equipment records the Bluetooth address of the terminal when receiving the scanning request, and generates a scanning response according to the Bluetooth address of the terminal.
5. The method of claim 4, wherein the sending an audio data broadcast when receiving a scan response returned by the Bluetooth device according to the scan request, so that the Bluetooth device plays the received audio data broadcast comprises:
acquiring a response Bluetooth address from the scanning response;
when the response Bluetooth address is consistent with the Bluetooth address of the terminal, audio data broadcast is sent;
the audio data broadcast comprises a Bluetooth address of the terminal, and when the recorded Bluetooth address of the Bluetooth equipment comprises the Bluetooth address in the received audio data broadcast, the Bluetooth equipment starts to play the received audio data broadcast.
6. The method of claim 1, wherein the sending an audio data broadcast when receiving a scan response returned by the bluetooth device according to the scan request, so that the bluetooth device plays the received audio data broadcast comprises:
and when receiving a scanning response returned by at least 2 Bluetooth devices according to the scanning request, sending audio data broadcast so that the at least 2 Bluetooth devices play the received audio data broadcast.
7. A Bluetooth audio transmission method is applied to Bluetooth equipment and is characterized by comprising the following steps:
transmitting a Bluetooth broadcast data packet through scannable unidirectional broadcast;
receiving a scanning request sent by a terminal, wherein the scanning request is sent when the terminal determines that the broadcast content of the Bluetooth broadcast data packet accords with a connectionless audio transmission service condition and the distance between the Bluetooth equipment and the terminal is within a preset distance range;
generating a corresponding scanning response according to the scanning request, and returning the scanning response to the terminal;
receiving audio data broadcast sent by the terminal after receiving the scanning response;
and playing the audio data broadcast.
8. The method of claim 7, wherein the Bluetooth broadcast packet comprises a device service field, and the device service field carries device service information for supporting a connectionless audio transmission service.
9. The method of claim 7, wherein the Bluetooth broadcast packet comprises a transmit power field, and wherein the transmit power field carries a broadcast transmit power of the Bluetooth device, and wherein the broadcast transmit power is used for calculating the distance between the terminal and the Bluetooth device.
10. The method according to claim 7, wherein the generating of the corresponding scan response according to the scan request and the returning of the scan response to the terminal comprises:
acquiring the Bluetooth address of the terminal from the scanning request;
recording the Bluetooth address of the terminal;
and generating the scanning response according to the Bluetooth address of the terminal.
11. The method of claim 10, wherein the playing the audio data broadcast comprises:
and when the recorded Bluetooth address comprises the Bluetooth address in the audio data broadcast, playing the audio data broadcast.
12. The method of claim 10, further comprising:
and when the Bluetooth address of the terminal carried by the next received scanning request is different from the recorded Bluetooth address of the terminal, deleting the recorded Bluetooth address of the terminal and recording the Bluetooth address of the terminal carried by the next scanning request.
13. A Bluetooth audio transmission device applied to a terminal supporting a Bluetooth protocol, comprising:
the scanning and analyzing module is used for analyzing the Bluetooth broadcast data packet to obtain broadcast content when the Bluetooth broadcast data packet sent by the Bluetooth equipment through the scannable unidirectional broadcast is scanned;
a scanning request sending module, configured to send a scanning request to the bluetooth device when the broadcast content meets a connectionless audio transmission service condition and a distance between the bluetooth device and the terminal is within a preset distance range;
and the audio data transmission module is used for sending audio data broadcast when receiving a scanning response returned by the Bluetooth equipment according to the scanning request so that the Bluetooth equipment plays the received audio data broadcast.
14. The utility model provides a bluetooth audio transmission device, is applied to bluetooth equipment, its characterized in that includes:
the broadcasting module is used for sending the Bluetooth broadcasting data packet through scannable unidirectional broadcasting;
the terminal comprises a receiving module and a processing module, wherein the receiving module is used for receiving a scanning request sent by the terminal, and the scanning request is sent when the terminal determines that the broadcast content of the Bluetooth broadcast data packet accords with the connectionless audio transmission service condition and the distance between the Bluetooth equipment and the terminal is within a preset distance range;
the scanning response module is used for generating a corresponding scanning response according to the scanning request and returning the scanning response to the terminal;
and the playing module is used for receiving the audio data broadcast sent by the terminal after receiving the scanning response and playing the audio data broadcast.
15. An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 6 or claims 7 to 12.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6 or claims 7 to 12.
CN202010244622.4A 2020-03-31 2020-03-31 Bluetooth audio transmission method and device, electronic equipment and storage medium Pending CN111464957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010244622.4A CN111464957A (en) 2020-03-31 2020-03-31 Bluetooth audio transmission method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010244622.4A CN111464957A (en) 2020-03-31 2020-03-31 Bluetooth audio transmission method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111464957A true CN111464957A (en) 2020-07-28

Family

ID=71680147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010244622.4A Pending CN111464957A (en) 2020-03-31 2020-03-31 Bluetooth audio transmission method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111464957A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862549A (en) * 2019-03-28 2019-06-07 南昌黑鲨科技有限公司 Bluetooth connection method and device, readable storage medium and mobile device
CN112887952A (en) * 2021-01-28 2021-06-01 Oppo广东移动通信有限公司 Method and device for connecting Bluetooth device and terminal, and electronic device
CN112994754A (en) * 2021-02-03 2021-06-18 展讯通信(上海)有限公司 Bluetooth audio data transmission method and equipment
CN113115297A (en) * 2021-03-22 2021-07-13 联想(北京)有限公司 Information processing method and device based on UWB, equipment and storage medium
CN113194397A (en) * 2021-04-26 2021-07-30 歌尔股份有限公司 Control method and device of Bluetooth equipment and computer readable storage medium
CN113473435A (en) * 2021-08-19 2021-10-01 Oppo广东移动通信有限公司 Bluetooth-based equipment connection method and device, electronic equipment and storage medium
CN114648864A (en) * 2020-12-18 2022-06-21 瑞昱半导体股份有限公司 Bluetooth audio broadcasting system and multi-member Bluetooth device
CN114666744A (en) * 2022-03-22 2022-06-24 Oppo广东移动通信有限公司 Near field communication equipment connection method, device, equipment, storage medium and product
CN114666438A (en) * 2020-12-23 2022-06-24 医渡云(北京)技术有限公司 Bluetooth communication method, data receiving terminal, Bluetooth communication system, medium, and device
WO2022247558A1 (en) * 2021-05-27 2022-12-01 Oppo广东移动通信有限公司 Audio sharing method and apparatus, terminal, audio device and storage medium
CN115474180A (en) * 2021-06-11 2022-12-13 Oppo广东移动通信有限公司 Bluetooth headset box, wireless audio system, communication method and device
CN115708373A (en) * 2021-08-18 2023-02-21 Oppo广东移动通信有限公司 Bluetooth audio receiving method, device, terminal and storage medium
CN115767445A (en) * 2022-11-01 2023-03-07 美的集团股份有限公司 Bluetooth broadcast two-way communication method and device, electronic equipment and storage medium
CN115767446A (en) * 2022-11-01 2023-03-07 美的集团股份有限公司 Bluetooth broadcast two-way communication method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717279A (en) * 2013-12-16 2015-06-17 诺基亚公司 Method and apparatus for service discovery in wireless short-range communication
US20160359925A1 (en) * 2015-06-08 2016-12-08 Lg Electronics Inc. Method and apparatus for transmitting and receiving data in wireless communication system
US20190215673A1 (en) * 2016-08-22 2019-07-11 Lg Electronics Inc. Method for controlling device by using bluetooth technology, and apparatus
CN110213758A (en) * 2019-06-13 2019-09-06 桃芯科技(苏州)有限公司 Data communications method, storage medium and electronic equipment based on bluetooth

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717279A (en) * 2013-12-16 2015-06-17 诺基亚公司 Method and apparatus for service discovery in wireless short-range communication
US20160359925A1 (en) * 2015-06-08 2016-12-08 Lg Electronics Inc. Method and apparatus for transmitting and receiving data in wireless communication system
US20190215673A1 (en) * 2016-08-22 2019-07-11 Lg Electronics Inc. Method for controlling device by using bluetooth technology, and apparatus
CN110213758A (en) * 2019-06-13 2019-09-06 桃芯科技(苏州)有限公司 Data communications method, storage medium and electronic equipment based on bluetooth

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862549A (en) * 2019-03-28 2019-06-07 南昌黑鲨科技有限公司 Bluetooth connection method and device, readable storage medium and mobile device
CN114648864A (en) * 2020-12-18 2022-06-21 瑞昱半导体股份有限公司 Bluetooth audio broadcasting system and multi-member Bluetooth device
CN114648863A (en) * 2020-12-18 2022-06-21 瑞昱半导体股份有限公司 Bluetooth audio broadcasting system and multi-member Bluetooth device
CN114666438A (en) * 2020-12-23 2022-06-24 医渡云(北京)技术有限公司 Bluetooth communication method, data receiving terminal, Bluetooth communication system, medium, and device
CN114666438B (en) * 2020-12-23 2024-05-31 医渡云(北京)技术有限公司 Bluetooth communication method, data receiving end, bluetooth communication system, medium and device
CN112887952A (en) * 2021-01-28 2021-06-01 Oppo广东移动通信有限公司 Method and device for connecting Bluetooth device and terminal, and electronic device
CN112887952B (en) * 2021-01-28 2023-01-31 Oppo广东移动通信有限公司 Method and device for connecting Bluetooth device and terminal, and electronic device
CN112994754A (en) * 2021-02-03 2021-06-18 展讯通信(上海)有限公司 Bluetooth audio data transmission method and equipment
CN113115297A (en) * 2021-03-22 2021-07-13 联想(北京)有限公司 Information processing method and device based on UWB, equipment and storage medium
CN113194397A (en) * 2021-04-26 2021-07-30 歌尔股份有限公司 Control method and device of Bluetooth equipment and computer readable storage medium
WO2022247558A1 (en) * 2021-05-27 2022-12-01 Oppo广东移动通信有限公司 Audio sharing method and apparatus, terminal, audio device and storage medium
CN115474180A (en) * 2021-06-11 2022-12-13 Oppo广东移动通信有限公司 Bluetooth headset box, wireless audio system, communication method and device
CN115708373A (en) * 2021-08-18 2023-02-21 Oppo广东移动通信有限公司 Bluetooth audio receiving method, device, terminal and storage medium
CN113473435A (en) * 2021-08-19 2021-10-01 Oppo广东移动通信有限公司 Bluetooth-based equipment connection method and device, electronic equipment and storage medium
CN114666744A (en) * 2022-03-22 2022-06-24 Oppo广东移动通信有限公司 Near field communication equipment connection method, device, equipment, storage medium and product
CN114666744B (en) * 2022-03-22 2024-03-01 Oppo广东移动通信有限公司 Method, device, equipment, storage medium and product for connecting near field communication equipment
CN115767445A (en) * 2022-11-01 2023-03-07 美的集团股份有限公司 Bluetooth broadcast two-way communication method and device, electronic equipment and storage medium
CN115767446A (en) * 2022-11-01 2023-03-07 美的集团股份有限公司 Bluetooth broadcast two-way communication method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111464957A (en) Bluetooth audio transmission method and device, electronic equipment and storage medium
US20200107127A1 (en) Bluetooth earphone connecting method, electronic device and storage medium
CN110650408B (en) Earphone, anti-lost method, anti-lost system and computer readable storage medium
CN101500255B (en) A mobile terminal testing method and system
US11102645B2 (en) Network registration method of internet of things device, and device therefor
CN103559516B (en) NFC data transmission method, terminal equipment and server
CN113660650B (en) Method and related device for device reconnection
CN112887952A (en) Method and device for connecting Bluetooth device and terminal, and electronic device
CN103607236A (en) Method and device for outputting prompt information, wireless repeater and terminal equipment
CN106714131A (en) Method for searching electronic device and electronic device
CN112672328A (en) Data transmission method, device and equipment and environmental data acquisition method
CN104092658B (en) Audio data play method and device
CN114650522A (en) Method and device for realizing wireless network connection based on low-power-consumption Bluetooth broadcast
WO2018040621A1 (en) Hotspot sharing method, terminal, system and computer storage medium
CN113543022B (en) Method, device, intercom, equipment and storage medium for determining transmission power
CN108307485B (en) Wireless network scanning method, device, terminal device and storage medium
CN113438372A (en) Call function setting method, device, terminal equipment and storage medium
CN107659976B (en) Network access method and related products
CN115412387B (en) Audio playback method, system and electronic device
CN116017766A (en) Device communication method, device, device and storage medium
CN115604663A (en) Signal transmission method, information prompting method and device, and electronic equipment
CN107580358B (en) Network access method and related product
CN116074793A (en) Bluetooth pairing method, device, system and storage medium
CN118338183B (en) Bluetooth headset electric quantity estimation method and device, electronic equipment and storage medium
CN113660732B (en) Earphone communication method and system and earphone

Legal Events

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

Application publication date: 20200728