CN112740728A - Bluetooth communication method and electronic equipment - Google Patents
Bluetooth communication method and electronic equipment Download PDFInfo
- Publication number
- CN112740728A CN112740728A CN201880097872.0A CN201880097872A CN112740728A CN 112740728 A CN112740728 A CN 112740728A CN 201880097872 A CN201880097872 A CN 201880097872A CN 112740728 A CN112740728 A CN 112740728A
- Authority
- CN
- China
- Prior art keywords
- time interval
- data packet
- equal
- equal time
- packet
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application discloses a Bluetooth communication method and electronic equipment, relates to the technical field of short-distance communication, and can improve the resource utilization rate of Bluetooth transmission and reduce interference when a CIS transmission mode is adopted. The method comprises the following steps: transmitting a first data packet in a first equal time interval, wherein the first equal time interval comprises a plurality of sub-events, and the first data packet is transmitted in a part of the sub-events in the plurality of sub-events; transmitting a second data packet within the free sub-event of the first equal time interval; the first data packet is defined to be sent in a first equal time interval; the second data packet is a data packet defined to be transmitted within a second equal time interval, which is an equal time interval temporally subsequent to the first equal time interval.
Description
The present application relates to the field of short-distance communication technologies, and in particular, to a bluetooth communication method and an electronic device.
With the continuous development of bluetooth (bluetooth) technology, electronic devices with bluetooth connection function are widely used, for example, Bluetooth Low Energy (BLE) can meet the needs of people for high-quality bluetooth devices. The bluetooth Special Interest Group (SIG) specifies a BLE-based audio transmission protocol: isochronous channels (iso channels). The isochronous channel employs an isochronous transmission scheme, which includes two transmission modes, i.e., broadcast-based isochronous audio stream (BIS) and connection-based isochronous audio stream (CIS). Under the condition of adopting a CIS transmission mode, how to improve the resource utilization rate of Bluetooth transmission and reduce interference is a problem to be solved.
Disclosure of Invention
The application provides a Bluetooth communication method and an electronic device, which can improve the resource utilization rate of Bluetooth transmission and reduce interference when a CIS transmission mode is adopted.
In a first aspect, an embodiment of the present application provides a bluetooth communication method, which may include: transmitting a first data packet in a first equal time interval, wherein the first equal time interval comprises a plurality of sub-events, and the first data packet is transmitted in a part of the sub-events in the plurality of sub-events; transmitting a second data packet within the free sub-event of the first equal time interval; the first data packet is defined to be sent in a first equal time interval; the second data packet is a data packet defined to be transmitted within a second equal time interval, which is an equal time interval temporally subsequent to the first equal time interval.
In the method, after the first data packet is transmitted within the first waiting interval, if a vacant sub-event is included, the second data packet may be transmitted. Thus, under some conditions, for example, under the condition of better channel conditions, the whole iso interval can be left, scattered idle sub-intervals are gathered into the whole idle iso interval, continuous time slots are left, and the resource utilization rate is improved.
With reference to the first aspect, in a possible design, if the second packet fails to be sent, the second packet is sent again. In one implementation, the second data packet is stopped from being transmitted if the number of times the second data packet is transmitted is greater than or equal to a predetermined number of times. In one implementation, the predetermined number of times is determined based on the configuration parameters FT and BN.
With reference to the first aspect, in a possible design manner, if the number of the idle sub-events in the second equal-time interval is greater than or equal to the value of the configuration parameter NSE, a third data packet is sent in a third equal-time interval; wherein the third data packet is a data packet defined to be transmitted in a third equal time interval, and the third equal time interval is an equal time interval after the second equal time interval in the time domain. In the method, if the number of the vacant sub-events is larger than or equal to the value of the NSE, namely the whole section of iso interval is vacant, the transmission is not carried out in advance in the whole section of iso interval, and the vacant iso interval can be used for other services, thereby improving the resource utilization rate.
With reference to the first aspect, in another possible design manner, if the number of the idle sub-events in the second equal-time interval is greater than 0 and smaller than the value of the configuration parameter NSE, the third data packet is sent in the second equal-time interval; wherein the third data packet is a data packet defined to be transmitted in a third equal time interval, and the third equal time interval is an equal time interval after the second equal time interval in the time domain. In the method, if the number of the vacant sub-events is less than the value of NSE, that is, the entire iso interval is not vacant, the advance transmission is continued in the iso interval so as to vacant the entire iso interval in the following iso interval.
With reference to the first aspect, in another possible design manner, in the first equal time interval, if the first data packet and the second data packet are sent and there are spare sub-events, the third data packet may be sent in the spare sub-events; wherein the third data packet is a data packet defined to be transmitted in a third equal time interval, and the third equal time interval is an equal time interval after the second equal time interval in the time domain.
With reference to the first aspect, in another possible design manner, in a first equal time interval, before sending the first data packet, a fourth data packet may also be sent; the fourth data packet is a data packet defined to be transmitted in a fourth equal time interval, and the fourth equal time interval is an equal time interval before the first equal time interval in the time domain. In the method, if a data packet is not transmitted before a first waiting interval, the data packet can be postponed to be transmitted in the first waiting interval.
With reference to the first aspect, in one possible design, the first data packet is a data packet belonging to a first CIS, and the fifth data packet is a data packet belonging to a second CIS, defining data packets to be transmitted within a first latency interval. A fifth data packet may also be transmitted during the first isochronous interval.
With reference to the first aspect, in one possible design manner, the vacant sub-events of the second equal-time interval may be used for WIFI communication. Therefore, under the condition of not influencing the Bluetooth transmission stability, more continuous time slots can be used for the WIFI service, and the resource utilization rate is improved; when Bluetooth and WIFI coexist, the interference is reduced.
With reference to the first aspect, in another possible design manner, the first data packet and the second data packet sent within the first isochronous interval are data packets belonging to a first bluetooth service; after the transmission is carried out in advance, the data packet of the second Bluetooth service can be transmitted in the vacant sub-event of the second equal-time interval. Therefore, under the condition of not influencing the transmission of the current Bluetooth service, more continuous time slots can be used for other Bluetooth services, and the resource utilization rate is improved.
In a second aspect, an embodiment of the present application provides an electronic device, where the electronic device may implement the bluetooth communication method in the first aspect. The electronic device may be an electronic device with a bluetooth connection function, for example, the electronic device may be a terminal or a chip applied to the terminal, or the electronic device may be an earplug of a wireless bluetooth headset or a chip applied to the earplug, or other electronic devices capable of implementing the bluetooth communication, which may implement the method through software, hardware, or corresponding software executed through hardware.
In one possible design, the electronic device may include a processor and a memory. The processor is configured to enable the electronic device to perform the corresponding functions of the method of the first aspect. The memory is for coupling with the processor and holds the necessary program instructions and data for the electronic device. In addition, the electronic device may further include a communication interface for supporting communication between the electronic device and other electronic devices. The communication interface may be a transceiver or a transceiver circuit.
In a third aspect, embodiments of the present application provide a computer storage medium, which includes computer instructions, and when the computer instructions are run on an electronic device, the electronic device is caused to perform the bluetooth communication method according to the first aspect and possible design manners thereof.
In a fourth aspect, embodiments of the present application provide a computer program product, which when run on a computer, causes the computer to execute the bluetooth communication method according to the first aspect and possible designs thereof.
In a fifth aspect, an embodiment of the present application provides an electronic device, which may be a chip, for example, a baseband chip in a terminal, where the chip includes a processor and may further include a memory.
When the electronic device is based on a CIS transmission mode,
in one possible design, the processor is configured to determine to transmit the first packet within a first waiting interval; the first data packet is a data packet which is defined to be transmitted in a first equal time interval.
The processor is further configured to determine to send a second packet within a vacant sub-event of the first equal time interval; the second data packet is a data packet defined to be transmitted in a second equal time interval, and the second equal time interval is an equal time interval after the first equal time interval in the time domain.
With reference to the fifth aspect, in a possible design, the processor is further configured to determine whether the second data packet is successfully transmitted. And the processor is also used for determining to retransmit the second data packet under the condition that the second data packet is determined to be failed to be transmitted.
With reference to the fifth aspect, in one possible design, the processor is further configured to determine a number of times to send the second data packet. And the processor is further used for determining to stop sending the second data packet under the condition that the number of times of sending the second data packet is determined to be larger than or equal to the preset number of times.
With reference to the fifth aspect, in one possible design, the processor is specifically configured to determine the predetermined number of times according to the configuration parameters FT and BN.
With reference to the fifth aspect, in a possible design, the processor is further configured to determine a number of vacant sub-events of the second equal-time interval. The processor is further used for determining that a third data packet is sent in a third equal time interval under the condition that the number of the vacant sub-events in the second equal time interval is greater than or equal to the value of the configuration parameter NSE; wherein the third data packet is a data packet defined to be transmitted in a third equal time interval, and the third equal time interval is an equal time interval after the second equal time interval in the time domain.
With reference to the fifth aspect, in a possible design, the processor is further configured to determine a number of vacant sub-events of the second equal-time interval. The processor is further used for determining that a third data packet is sent in the second equal-time interval under the condition that the number of the vacant sub-events of the second equal-time interval is larger than 0 and smaller than the value of the configuration parameter NSE; wherein the third data packet is a data packet defined to be transmitted in a third equal time interval, and the third equal time interval is an equal time interval after the second equal time interval in the time domain.
With reference to the fifth aspect, in a possible design, the processor is further configured to determine that a third data packet is sent in a vacant sub-event of the first equal time interval; wherein the third data packet is a data packet defined to be transmitted in a third equal time interval, and the third equal time interval is an equal time interval after the second equal time interval in the time domain.
With reference to the fifth aspect, in a possible design manner, the processor is further configured to determine that a fourth data packet is sent before the first data packet is sent in the first equal time interval; the fourth data packet is a data packet defined to be transmitted in a fourth equal time interval, and the fourth equal time interval is an equal time interval before the first equal time interval in the time domain.
With reference to the fifth aspect, in a possible design manner, the first data packet is a data packet belonging to a first CIS, and the processor is further configured to determine that a fifth data packet is sent within a first equal time interval; wherein the fifth packet is of the second CIS, defining packets to be transmitted within the first isochronous interval.
With reference to the fifth aspect, in a possible design manner, the processor is further configured to determine to use the vacant sub-events of the second equal-time interval for WIFI communication.
With reference to the fifth aspect, in a possible design manner, the first data packet and the second data packet are data packets belonging to a first bluetooth service, and the processor is further configured to determine that a vacant sub-event of the second equal-time interval is used for transmitting a data packet of a second bluetooth service.
For technical effects brought by the electronic device according to the second aspect, the electronic device according to the fifth aspect, and any design manner of the electronic device, the computer storage medium according to the third aspect, and the computer program product according to the fourth aspect, reference may be made to the technical effects brought by the first aspect and the different design manners of the first aspect, and details are not described here.
Fig. 1 is a schematic diagram of a system framework to which a bluetooth communication method according to an embodiment of the present invention is applicable;
fig. 2-1 is a schematic diagram of a system framework applicable to the bluetooth communication method according to an embodiment of the present application;
fig. 2-2 is a schematic diagram of a system framework third to which the bluetooth communication method according to the embodiment of the present application is applicable;
fig. 3 is a schematic structural diagram of an electronic device to which the bluetooth communication method according to the embodiment of the present disclosure is applied;
fig. 3-1 is a schematic structural diagram of an electronic device to which the bluetooth communication method according to the embodiment of the present application is applied;
fig. 4 is a schematic structural diagram of an earplug for use in the bluetooth communication method according to the embodiment of the present application;
fig. 5 is a schematic structural diagram of an earplug applicable to the bluetooth communication method according to an embodiment of the present application;
FIG. 6-1 is a schematic diagram of a Bluetooth communication method based on CIS transmission;
FIG. 6-2 is a schematic diagram of a Bluetooth communication method based on CIS transmission;
FIG. 6-3 is a schematic diagram of a third Bluetooth communication method based on CIS transmission mode;
6-4 are schematic diagrams of a Bluetooth communication method based on CIS transmission mode;
fig. 7 is a schematic diagram of a bluetooth communication method according to an embodiment of the present application;
fig. 8-1 is a schematic diagram of a bluetooth communication method according to an embodiment of the present application;
fig. 8-2 is a schematic diagram of a bluetooth communication method according to an embodiment of the present application;
fig. 8-3 is a fourth schematic diagram of a bluetooth communication method according to an embodiment of the present application;
fig. 8-4 are schematic diagrams illustrating a bluetooth communication method according to an embodiment of the present application;
fig. 8-5 are a sixth schematic diagram of a bluetooth communication method according to an embodiment of the present application;
FIG. 9-1 is a schematic diagram of CIS serial transmission;
FIG. 9-2 is a schematic diagram of CIS interleaved transmission;
fig. 10-1 is a diagram illustrating a bluetooth communication method according to an embodiment of the present application;
fig. 10-2 is a schematic diagram eight illustrating a bluetooth communication method according to an embodiment of the present application;
fig. 10-3 is a diagram illustrating a bluetooth communication method according to an embodiment of the present application;
fig. 10-4 is a schematic diagram ten illustrating a bluetooth communication method according to an embodiment of the present application;
fig. 10-5 are eleven schematic diagrams of a bluetooth communication method according to an embodiment of the present application;
fig. 10-6 are twelve schematic diagrams illustrating a bluetooth communication method according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
The bluetooth communication method provided by the embodiment of the present application can be applied to the system shown in fig. 1. As shown in fig. 1, the system may include a host device and one or more peripheral devices (fig. 1 takes 2 peripheral devices as an example), and the host device and the peripheral devices may communicate with each other through bluetooth, and optionally, the peripheral devices may also communicate with each other through bluetooth. The host device or the peripheral device may be an electronic device having a bluetooth connection function, and the electronic device may include a smart phone, a high-sound-quality earphone, a notebook computer, a tablet computer, a media player, a smart watch, a robot system, a handheld device, a gamepad, a Virtual Reality (VR) device, an Augmented Reality (AR) device, an in-vehicle device, a smart wearable device, a modem, a smart home appliance, and the like.
In one example, the system of fig. 1 may be of the form shown in fig. 2-1, which includes an electronic device 100 and an earpiece 200, where the electronic device 100 is the master device and the earpiece 200 is the peripheral device. Alternatively, the system of fig. 1 may also be in the form shown in fig. 2-2, and include the electronic device 100 and the left and right earpieces 200-1 and 200-2, wherein the electronic device 100 is the main device and the left and right earpieces 200-1 and 200-2 are peripheral devices. The electronic device 100 may be a smart phone, a tablet computer, a notebook computer, a media player, a vehicle-mounted device, etc. with bluetooth connectivity; the earpiece 200, the left earpiece 200-1 or the right earpiece 200-2 may be an earpiece of a bluetooth wireless headset with bluetooth connection capability.
Please refer to fig. 3, which is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. For example, the wireless communication module 160 may be used to implement the bluetooth communication method provided in the embodiments of the present application. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
In one example, the electronic device 100 may include the hardware structure shown in fig. 3-1, and as shown in fig. 3-1, a system on a chip (SoC) may include a Central Processing Unit (CPU), an NPU, a GPU, a DSP, an ISP, a baseband chip, a radio chip, and a memory. The CPU is mainly used for interpreting computer instructions and processing data, and controlling and managing the whole electronic device 100, for example: timing control, digital system control, radio frequency control, power saving control, human-computer interface control and the like. The NPU, DSP, and ISP are used to implement the functions of the NPU, DSP, and ISP, respectively, in the processor 110 of the electronic device 100 shown in FIG. 3. The baseband chip is mainly used for signal processing and protocol processing to realize the functions related to mobile communication; for example, a baseband chip may be used to implement the functions of the mobile communication module 150 in fig. 3, and a modem processor, a baseband processor, and the like in the processor 110, the mobile communication related functions; for example, the baseband chip may also implement the functions of the wireless communication module 160 in fig. 3. The radio frequency chip is used for radio frequency transceiving, frequency synthesis, power amplification and the like; for example, the function of the antenna 1 in fig. 3, and a part of the functions of the mobile communication module 150 may be implemented; for example, the function of the antenna 2 in fig. 3 and a part of the function of the wireless communication module 160 can also be realized. In some examples, the SoC may also include an audio chip, a video chip, a security unit, and the like. The audio chip is used for processing audio-related functions, for example, implementing the function of the audio module 170 in fig. 3. The video chip is used to process video related functions, such as the functions of a video codec implementing the process 110 of fig. 3. The security unit is used for implementing functions of system security, such as encryption, decryption, storage of security information and the like.
Please refer to fig. 4, which is a schematic structural diagram of an earplug (the earplug 200 in fig. 2-1 or the left earplug 200-1 or the right earplug 200-2 in fig. 2-2) of a wireless bluetooth headset according to an embodiment of the present application. As shown in fig. 4, the ear bud of the wireless bluetooth headset may include: a processor 201, a memory 202, a sensor 203, a wireless communication module 204, a microphone 205, a microphone 206, and a power supply 207.
The memory 202 may be used for storing application code, such as application code for establishing a wireless connection with another earpiece of a wireless bluetooth headset and for enabling the earpiece to make a pairing connection with the above-mentioned electronic device 100. The processor 201 can control and execute the application program codes to realize the functions of the earplug of the wireless bluetooth headset in the embodiment of the present application.
The memory 202 may also have stored therein a bluetooth address for uniquely identifying the earpiece and a bluetooth address of another earpiece of the wireless bluetooth headset. In addition, the memory 202 may also store connection data with an electronic device that the earplug has successfully paired previously. For example, the connection data may be a bluetooth address of the electronic device that was successfully paired with the earpiece. Based on the connection data, the ear bud can be automatically paired with the electronic device without having to configure a connection therewith, such as for legitimacy verification or the like. The bluetooth address may be a Media Access Control (MAC) address.
The sensor 203 may be a distance sensor or a proximity light sensor. The ear bud can determine whether it is worn by the user through the sensor 203. For example, the earbud may utilize a proximity light sensor to detect whether an object is near the earbud to determine whether the earbud is being worn by a user. Upon determining that the ear bud is worn, the ear bud can open the receiver 205. In some embodiments, the earplug may further include a bone conduction sensor, incorporated into a bone conduction earpiece. By utilizing the bone conduction sensor, the earplug can acquire the vibration signal of the vibration bone block of the sound part, analyze the voice signal and realize the voice function. In other embodiments, the ear bud may further include a touch sensor for detecting a touch operation of a user. In other embodiments, the ear bud may further include a fingerprint sensor for detecting a user's fingerprint, identifying the user's identity, and the like. In other embodiments, the earplug may further comprise an ambient light sensor that adaptively adjusts parameters, such as volume, based on the perceived brightness of the ambient light.
The wireless communication module 204 is used for supporting short-distance data exchange between the ear-bud of the wireless bluetooth headset and various electronic devices, such as the electronic device 100. In some embodiments, the wireless communication module 204 may be a bluetooth transceiver. The wireless bluetooth headset ear-piece can establish a wireless connection with the electronic device 100 through the bluetooth transceiver to realize short-distance data exchange between the two.
At least one receiver 205, which may also be referred to as a "headset," may be used to convert the electrical audio signals into sound signals and play them. For example, when the ear plug of the wireless bluetooth headset is used as the audio output device of the electronic device 100, the receiver 205 can convert the received audio electrical signal into a sound signal and play the sound signal.
At least one microphone 206, which may also be referred to as a "microphone," is used to convert sound signals into electrical audio signals. For example, when the ear piece of the bluetooth wireless headset is used as the audio input device of the electronic device 100, the microphone 206 may collect the voice signal of the user and convert the voice signal into an audio electrical signal during the process of speaking (such as talking or sending voice message) by the user. The audio electrical signal may be an audio stream in the embodiment of the present application.
A power supply 207 may be used to power the various components contained in the earpiece of the wireless bluetooth headset. In some embodiments, the power source 207 may be a battery, such as a rechargeable battery.
Optionally, the wireless bluetooth headset may be equipped with a headset case (e.g., 301 shown in fig. 5). This earphone box can be used for accomodating wireless bluetooth headset's left and right sides earplug. As shown in fig. 5 in conjunction with fig. 2-2, the earphone case 301 may be used to house the left earphone 200-1 and the right earphone 200-2 of the wireless bluetooth headset. In addition, this earphone box still can charge for the left and right earplug of wireless bluetooth headset. Accordingly, in some embodiments, the above-mentioned wireless bluetooth headset may further include: an input/output interface 208.
The input/output interface 208 may be used to provide any wired connection between the earpieces of a wireless bluetooth headset and a headset case, such as the headset case 301 described above. In some embodiments, the input/output interface 208 may be an electrical connector. When the ear plug of the wireless bluetooth headset is placed in the headset box, the ear plug of the wireless bluetooth headset can be electrically connected with the headset box (such as an input/output interface included in the headset box) through the electrical connector. After this electrical connection is established, the headset case may charge the power supply 207 of the earplugs of the wireless bluetooth headset. After this electrical connection is established, the ear-buds of the wireless bluetooth headset may also be in data communication with the headset case. For example, an ear bud of a wireless bluetooth headset may receive pairing instructions from the headset box through the electrical connection. The pairing command is used to instruct the ear-bud of the wireless bluetooth headset to open the wireless communication module 204, so that the ear-bud of the wireless bluetooth headset can perform pairing connection with the electronic device 100 using a corresponding wireless communication protocol (such as bluetooth).
Of course, the ear-bud of the above-mentioned wireless bluetooth headset may also not include the input/output interface 208. In this case, the ear plug may implement a charging or data communication function based on the wireless connection established with the earphone box through the above-described wireless communication module 204.
Additionally, in some embodiments, the earphone box (e.g., earphone box 301 described above) may further include a processor, memory, and the like. The memory may be used to store application program code and be controlled to be executed by the processor of the headset box to implement the functionality of the headset box. For example. When the user opens the lid of the earphone box, the processor of the earphone box may transmit a pairing command or the like to the earplugs of the wireless bluetooth headset in response to the user's operation of opening the lid by executing application program codes stored in the memory.
It is understood that the illustrated structure of the embodiments of the present application does not constitute a specific limitation to the ear plug of the wireless bluetooth headset. It may have more or fewer components than shown in fig. 4, may combine two or more components, or may have a different configuration of components. For example, the earplug may further include an indicator light (which may indicate the status of the earplug, such as power), a dust screen (which may be used with the earpiece), and the like. The various components shown in fig. 4 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing or application specific integrated circuits.
It should be noted that the left and right earplugs of the wireless bluetooth headset may have the same structure. For example, the left and right earplugs of a wireless bluetooth headset may both include the components shown in fig. 4. Or the structures of the left and right earplugs of the wireless Bluetooth headset can be different. For example, one earpiece (e.g., the right earpiece) of a wireless bluetooth headset may include the components shown in fig. 4, while the other earpiece (e.g., the left earpiece) may include other components in fig. 4 in addition to the microphone 206.
The embodiment of the present application provides a bluetooth communication method, which can be applied to any electronic device with a bluetooth connection function in fig. 1 to 5, for example, the bluetooth communication method can be applied to the electronic device 100 or the earplug 200 of a wireless bluetooth headset. When the electronic equipment with the Bluetooth connection function is in short-distance communication with other electronic equipment through the Bluetooth function, the audio stream is transmitted in a CIS transmission mode.
The CIS employs an isochronous transport mechanism, based on a connected transport mode. Isochronous transmission refers to that audio stream packets are transmitted and received at fixed event time points, and the packets are transmitted at fixed time intervals (e.g., 50 ms). The connection-based method means that after a sender sends a data packet, the sender needs to wait for feedback information of a receiver, and the feedback information may be, for example, Acknowledgement (ACK) or Negative Acknowledgement (NACK).
Next, some parameters related to the CIS transmission method will be explained. It should be noted that, in the embodiment of the present application, an example is taken where a master device sends an isochronous audio stream to a peripheral device, and the present application is not limited to this, and in practice, the bluetooth communication method provided in the embodiment of the present application may be applied to any device with a bluetooth connection function that performs data transmission by using a CIS transmission method.
1. Connection-based isochronous audio stream group (CIG)
A CIG includes a point-to-point transmission established by a master device and a peripheral device, or a plurality of point-to-point transmissions respectively established by a master device and a plurality of peripheral devices. Each point-to-point transmission is used to transmit isochronous audio stream packets. One point-to-point transmission corresponds to one CIS.
2. iso interval (isochronous interval)
The iso interval is a period in which one packet transfer (one packet transfer may include transfer of one or more packets) is performed in one CIS. I.e. a fixed time interval for transmitting and receiving data packets. The start of an iso interval is an anchor point.
3. Number of subevents (NSE of subevents)
NSE is the number of sub-events included in each iso interval of one CIS. Wherein one sub-event corresponds to the transmission of one data packet.
4. CIS event (CIS event)
One iso interval includes one CIS event. The start point of a CIS event is the anchor point of the iso interval and the end point is the end point of the NSE sub-event.
5. Sub interval (sub interval)
In a CIS, the time interval from the start of one sub-event to the start of the next sub-event is one sub-interval.
6. Burst Number (BN)
The BN is the maximum number of bursts that can be transmitted per iso interval, i.e. the maximum number of different data packets that can be transmitted per iso interval. A burst may comprise a new data packet or may comprise a plurality of identical data packets. For example, if a data packet 0 is transmitted once and a data packet 1 is transmitted three times consecutively in an iso interval, the iso interval includes 2 bursts, one burst corresponds to the data packet 0 and one burst corresponds to the data packet 1.
7. Refresh timeout (flush timeout, FT)
FT is used to indicate the maximum time a packet can be transmitted in iso intervals. For example, FT is1, which means that a packet can be transmitted in 1 iso interval at most; FT is2, indicating that a packet can be transmitted in 2 iso intervals at most.
The length of time that a packet can be transmitted is controlled by the packet refresh timing. The start point of the packet refresh timing is the defined transmission iso interval (T) of the packetdue) Wherein a defined transmit iso interval (T)due) For this purpose, the iso interval at which a packet is sent is calculated from the configuration parameters (BN). Illustratively, BN 2 means that one iso interval includes at most 2 bursts, and the first iso interval may transmit data packet 0 and data packet 1, and the second iso interval may transmit data packet 2 and data packet 3, determined according to the value of BN;then T of packet 0dueFor the first iso interval, T of packet 1dueFor the first iso interval, T of packet 2dueFor the second iso interval, T of packet 3dueThe second iso interval.
The end point of the data packet refreshing timing is a clearing point of the data packet, the information of the data packet is cleared at the clearing point of the data packet, and the data packet is not sent any more after the clearing point of the data packet. The clearing point of a data packet is located in the last iso interval in which the data packet can be transmitted, and the specific position of the clearing point of the data packet in the iso interval is related to the values of NSE and BN.
BN is1, the packet erasure point is at the end of the NSE sub-event in the last iso interval that the packet can be transmitted.
When BN is greater than 1, for a data packet corresponding to the first burst in an iso interval, the clear point is located at the end point of the nth sub-event after the anchor point of the iso interval; where N ═ FLOOR (NSE/BN) + MOD (NSE, BN). For a data packet corresponding to the ith burst in an iso interval, the clearing point is located, and in the iso interval, the clearing point of the data packet corresponding to the first burst is followed by the end point of the Mth sub-event; wherein M ═ FLOOR (NSE/BN) × (i-1). FLOOR represents rounding down, FLOOR (NSE/BN) represents the rounded down value of the quotient of NSE divided by BN, and MOD (NSE, BN) represents the remainder of NSE divided by BN.
The above parameters are exemplarily described below with reference to the drawings.
Referring to fig. 6-1, M denotes a master device and S denotes a peripheral device. One iso interval includes 4 sub-events (NSE ═ 4). An iso interval includes at most 2 bursts (BN ═ 2), i.e., an iso interval can transmit at most 2 different data packets; in this example, packet 0 and packet 1 are transmitted during the time corresponding to event (x), packet 2 and packet 3 are transmitted during the time corresponding to event (x +1), and packet 4 and packet 5 are transmitted during the time corresponding to event (x + 2). A data packet is transmitted in at most 1 iso interval (FT ═ 1), the clear point of the data packet 0 is located in the iso interval corresponding to the event (x), and the end point of the 2 nd sub-event; the clearing point of the data packet 1 is positioned in the iso interval corresponding to the event (x), and the end point of the 2 nd sub-event is positioned after the clearing point of the data packet 0; the clearing point of the data packet 2 is located in the iso interval corresponding to the event (x +1) and the end point of the 2 nd sub-event; the clearing point of the data packet 3 is located in the iso interval corresponding to the event (x +1), and the end point of the 2 nd sub-event is behind the clearing point of the data packet 2; the clearing point of the data packet 4 is located in the iso interval corresponding to the event (x +2) and the end point of the 2 nd sub-event; the clear point for packet 5 is at the end of the 2 nd sub-event after the clear point for packet 4 in the iso interval corresponding to event (x + 2).
In an iso interval corresponding to the event (x), the master device sends a data packet 0 to the peripheral device for the first time, receives ACK (acknowledgement), namely the data packet 0 is successfully received, and the master device sends a data packet 1 to the peripheral device; the data packet 1 is sent for the first time without receiving the feedback information, and the main equipment retransmits the data packet 1; the data packet 1 is sent for the second time without receiving the feedback information, and the main equipment transmits the data packet 1 again; the third transmission of packet 1 receives the ACK, i.e. packet 1 is successfully received. During the iso interval, both packet 0 and packet 1 are successfully received and the host device is no longer sending packets to the peripheral device.
In an iso interval corresponding to the event (x +1), the main device sends a data packet 2 to the peripheral device for the first time, receives NACK, namely the data packet 2 fails to be received, and the main device retransmits the data packet 2; receiving NACK again; when the clearing point of the data packet 2 is reached, the data of the data packet 2 is cleared at the main device, and the main device sends a data packet 3 to the peripheral device; the data packet 3 is sent for the first time, and the ACK is received, namely the data packet 3 is successfully received; during the iso interval, the master no longer sends packets to the peripheral.
In the iso interval corresponding to the event (x +2), the master device sends a data packet 4 to the peripheral device for the first time, receives the ACK, namely the data packet 4 is successfully received, and the master device sends a data packet 5 to the peripheral device; the data packet 5 is sent for the first time without receiving the feedback information, and the main device retransmits the data packet 5; the data packet 5 is sent for the second time without receiving the feedback information, and the main device transmits the data packet 5 again; the data packet 5 is sent for the third time, and NACK is received, namely the data packet 5 fails to be received; when the clearing point of the data packet 5 is reached, the data of the data packet 5 is cleared at the master device; during the iso interval, the master no longer sends packets to the peripheral.
With continued reference to fig. 6-2, unlike the parameter set of fig. 6-1, fig. 6-2 is an example of FT — 2. The packet 0 clear point and the packet 1 clear point are located in the second iso interval and the packet 2 clear point and the packet 3 clear point are located in the second iso interval. It should be noted that the iso interval (T) at which the data packet is actually transmittedact) T with the data packetdueMay be different; t isactCan be later than Tdue. For example, BN 2, a maximum of two bursts sent in an iso interval, packet 0 and T for packet 1dueFor the first iso interval, T for data packet 2 and data packet 3dueFor the second iso interval, T for packet 4 and packet 5dueIs the third iso interval; in fact, since the data packet 0 is not successfully received, the data packet 0 is sent for 6 times in total until the clearing point of the data packet 0 is reached, the information of the data packet 0 is cleared, and the data packet 1 is sent for the first time at the second iso interval; packet 3 is sent for the first time in the third iso interval. T of data packet 1actIs the second iso interval, the actual transmission ratio TdueOne iso interval is pushed back; during the second iso interval, packet 0, packet 1, and packet 2 are actually sent, for a total of 3 packets. T of data packet 3actIs the third iso interval, the actual transmission ratio TdueOne iso interval is pushed back; in the third iso interval, packet 3, packet 4 and packet 5 are actually sent, for a total of 3 packets.
With continued reference to fig. 6-3, unlike the parameter settings of fig. 6-2, fig. 6-3 is an example where BN is 1. The packet 0 purge point is at the end of the second iso interval, sub-event 4; the packet 1 purge point is at the end of the third iso interval, sub-event 4. The data packet 0 is sent for 8 times in the first iso interval and the second iso interval, the data packet 0 is not received successfully, the data packet 0 reaches the clearing point, and the information of the data packet 0 is cleared; pushing the data packet 1 back to a third iso interval for sending; in the third iso interval, data packet 1 and data packet 2 are actually sent; the data packet 2 is sent for the first time, and the ACK is received, namely the data packet 2 is successfully received; at the third iso interval, the master no longer sends packets to the peripheral.
With continued reference to fig. 6-4, the parameter settings of fig. 6-4 are the same as those of fig. 6-1, but the channel conditions are different. The channel conditions in each iso interval in fig. 6-4 are good and each packet can be successfully received on the first transmission.
In the CIS transmission scheme, the values of NSE, BN and FT determine the number of data packets that can be transmitted in an iso interval. The actual data packets sent during an iso interval may include T, based on various channel conditions, etcdueData packets within the iso interval, and TdueA packet in an iso interval preceding the iso interval; a sub-event that actually has a packet transmitted may not fill all sub-events in an iso interval. For example, the second iso interval in FIG. 6-1 is free of a sub-event, and the third iso interval in FIG. 6-3 is free of a sub-event; each iso interval in fig. 6-4 leaves 2 sub-events. And no data packet is transmitted or received in the sub-interval corresponding to the vacant sub-event.
The embodiment of the present application provides a bluetooth communication method, which may be applied to a BLE-based bluetooth device, where the bluetooth device is an electronic device with a bluetooth connection function, for example, the bluetooth device may be a master device or a peripheral device in fig. 1, and the bluetooth device may also be the electronic device 100 or the earplug 200 in fig. 2-1 to 5; the embodiment of the present application takes the bluetooth device as the electronic device 100 as an example for description. As shown in fig. 7, the method may include:
s101, determining a data packet to be sent.
The bluetooth device determines a data packet to be sent. Illustratively, the bluetooth device determines that the data packet to be transmitted includes: data packet 0, data packet 1, data packet 2, data packet 3, data packet 4, data packet 5.
S102, in the first equal time interval, a first data packet is sent.
A first data packet is transmitted during a first equal time interval based on the configuration parameters and the channel conditions. Wherein the configuration parameter may include at least one of iso interval, NSE, BN, or FT. The first equal time interval may be any iso interval in the time domain, and the first equal time interval includes a plurality of sub-events, and the number of sub-events is determined by the value of NSE. And transmitting a first data packet in part of the NSE sub-events of the first equal time interval, wherein the first data packet is defined to be transmitted in the first equal time interval.
In one implementation, the bluetooth device determines the period of one data packet transmission by the CIS according to the value of the iso interval. For example, the CIS has a period of 50ms for one packet transmission.
The bluetooth device determines the number of data packets that can be transmitted in each iso interval according to the NSE. Illustratively, as shown in fig. 6-1, 6-2, 6-3, 6-4, 8-1, and 8-2, NSE 4 may be transmitted for 4 packets per iso interval. As shown in fig. 8-3 and 8-4, NSE 6 may transmit 6 packets per iso interval.
The Bluetooth device determines T of each data packet to be sent according to BNdue. Illustratively, as shown in fig. 6-1, 6-2, 6-4, 8-1, 8-2, 8-3, and 8-4, BN is2, T isdueThe data packets in the first iso interval are data packet 0 and data packet 1 (i.e. data packet 0 is defined to be sent in the first iso interval, and data packet 1 is defined to be sent in the first iso interval); t isdueThe data packets in the second iso interval are data packet 2 and data packet 3; t isdueThe packets in the third iso interval are packet 4 and packet 5. As shown in fig. 6-3, BN is1, then TdueThe data packet in the first iso interval is data packet 0; t isdueThe packet in the second iso interval is packet 1; t isdueThe packet in the third iso interval is packet 2.
And the Bluetooth equipment determines the clearing point of each data packet to be sent according to the value of the FT. Illustratively, as shown in FIG. 6-1, FIG. 6-2, FIG. 6-3, FIG. 6-4, FIG. 8-1, FIG. 8-2, FIG. 8-3 and FIG. 8-4, which will not be described herein again.
Under the same configuration parameters, the number of actually transmitted data packets in an iso interval is different based on different channel conditions and other factors. For example, the channel condition in the iso interval is good, and each data packet receives an ACK after being sent for the first time; alternatively, the channel condition is poor in iso intervals and a packet is retransmitted multiple times.
Illustratively, the first equal time interval is the first iso interval of FIG. 6-1, which includes 4 sub-events. Defining that the data packets transmitted in the first equal time interval comprise a data packet 0 and a data packet 1, namely the first data packet comprises the data packet 0 and the data packet 1; packet 0 is sent in the first sub-event and packet 1 is sent in the 2 nd to 4 th sub-events. And each sub-event in the first equal time interval has a data packet sent, and the vacant sub-events are not included.
Illustratively, the first equal time interval is the second iso interval of FIG. 6-1, and the first equal time interval includes 4 sub-events. Defining that the data packets transmitted in the first equal time interval comprise data packet 2 and data packet 3, namely the first data packet comprises data packet 2 and data packet 3; packet 2 is sent in sub-events 1-2 and packet 3 is sent in sub-event 3. No data packets are sent within the 4 th sub-event of the first equal time interval, which includes 1 free sub-event.
Illustratively, the first equal time interval is the third iso interval of FIGS. 6-3, and the first equal time interval includes 4 sub-events. Defining that the data packet transmitted in the first equal time interval comprises a data packet 2, namely the first data packet comprises the data packet 2; packet 2 is sent in sub-event 3. No data packets are sent within the 4 th sub-event of the first equal time interval, which includes 1 free sub-event.
Illustratively, as shown in FIG. 8-1, the first equal time interval is a first iso interval, which includes 4 sub-events. The first data packet includes data packet 0 and data packet 1; packet 0 is sent in sub-event 1 and packet 1 is sent in sub-event 2. No packets are sent within the 3 rd and 4 th sub-events of the first equal time interval, which includes 2 free sub-events.
Illustratively, as shown in FIG. 8-2, the first equal time interval is the first iso interval, which includes 4 sub-events. The first data packet includes data packet 0 and data packet 1; packet 0 is sent in sub-event 1 and packet 1 is sent in sub-events 2-3. No data packets are sent within the 4 th sub-event of the first equal time interval, which includes 1 free sub-event.
Illustratively, as shown in fig. 8-3, the first equal time interval is a first iso interval, and the first equal time interval includes 6 sub-events. The first data packet includes data packet 0 and data packet 1; packet 0 is sent in sub-event 1 and packet 1 is sent in sub-events 2-3. No packets are sent within the 4 th, 5 th and 6 th sub-events of the first equal time interval, which includes 3 free sub-events.
Illustratively, as shown in FIGS. 8-4, the first equal time interval is the first iso interval, which includes 6 sub-events. The first data packet includes data packet 0 and data packet 1; packet 0 is sent in sub-event 1 and packet 1 is sent in sub-event 2. No packets are sent within the 3 rd, 4 th, 5 th and 6 th sub-events of the first equal time interval, which includes 4 free sub-events.
S103, in the vacant sub-event of the first equal time interval, the second data packet is sent.
In some embodiments, during the first waiting interval, a second packet may be sent if there are more sub-events left free after the first packet is sent. For example, if the number of the vacant sub-events of the first equal time interval is greater than 0 and less than the value of the configuration parameter NSE, the second packet is transmitted within the vacant sub-events of the first equal time interval. The second data packet is defined to be transmitted in a second equal time interval. The second equal time interval is an equal time interval temporally subsequent to the first equal time interval. The transmission scheme, i.e. the early transmission scheme, of the second data packet is sent during the first isochronous interval.
For example, after each data packet is sent for the first time, an ACK is received, BN data packets and a vacant (NSE-BN) sub-event may be sent in the first waiting interval, and no data packet is sent in the sub-interval corresponding to the (NSE-BN) sub-event. Illustratively, the first equal time interval is any one of the iso intervals shown in fig. 6-4, in which 2 different packets are actually transmitted, and 2 sub-events are left in the iso interval.
For example, some packets cannot receive an ACK after the first transmission, the first waiting interval includes empty sub-events, and the number of empty sub-events is less than (NSE-BN). Illustratively, the first equal time interval is the second iso interval in FIG. 6-1, which leaves 1 sub-event in the iso interval. Alternatively, the first equal time interval is the third iso interval in fig. 6-3, which leaves 1 sub-event in the iso interval.
In one implementation, whether to employ the early transmission mechanism may be determined according to the second configuration parameter. For example, the second configuration parameter is an advance transmission switch PTNE; PTNE ═ 0, meaning that the early transmission mechanism is not employed; PTNE >0, indicating that an early transport mechanism is employed; illustratively, when PTNE >0, the value of PTNE indicates the number of events allowed to be transmitted in advance.
In one implementation, the bluetooth device determines to advance transmission if PTNE >0 and the number of idle sub-events within the first equal time interval is greater than 0 and less than NSE.
Illustratively, as shown in fig. 8-1, the first equal time interval is the first iso interval in fig. 8-1, after the data packet 0 and the data packet 1 are sent, 2 sub-events are left, and the number of the left sub-events is smaller than the value of NSE. PTNE is1, and indicates that the packet corresponding to the next event is allowed to be transmitted in advance. Advancing the data packets (data packet 2 and data packet 3) defined to be transmitted in the second equal-time interval (the second iso interval in fig. 8-1) to the first equal-time interval; i.e. within the first waiting interval, the second data packet is sent. Thus, in the second iso interval of FIG. 8-1, no data packets are transmitted and received, and the number of free sub-events is 4 (equal to the value of NSE).
And if the number of the vacant sub-events in the second equal time interval is larger than or equal to the value of the configuration parameter NSE, transmitting a third data packet in a third equal time interval. Wherein the third data packet is a data packet defined to be transmitted in a third equal time interval, and the third equal time interval is an equal time interval after the second equal time interval in the time domain.
For example, in fig. 8-1, in the second equal-time interval (the second iso interval), the number of vacant sub-events is 4 (equal to the value of NSE), and the third data packet (data packet 4 and data packet 5) is sent in the third equal-time interval (the third iso interval); without forwarding packets 4 and 5 into the second equal time interval.
And if the number of the vacant sub-events in the second equal-time interval is larger than 0 and smaller than the value of the configuration parameter NSE, sending a third data packet in the second equal-time interval.
Illustratively, as shown in fig. 8-2, for the first iso interval in fig. 8-2, after the data packet 0 and the data packet 1 are sent, 1 sub-event is left, and the number of the left sub-events is smaller than the value of NSE. PTNE is1, and indicates that the packet corresponding to the next event is allowed to be transmitted in advance. Advancing a data packet (data packet 2) defined to be transmitted in a second equal-time interval (a second iso interval in fig. 8-2) to be transmitted in the first iso interval; i.e. within the first waiting interval, the second data packet is sent. In the second equal time interval (the second iso interval in fig. 8-2), after the data packet 3 is sent, 3 sub-events are left, and the number of the left sub-events is smaller than the value of NSE. The data packets (data packet 4 and data packet 5) transmitted in the third equal time interval (the third iso interval in the figure 8-2) are defined to be transmitted in the second equal time interval in advance; i.e. the third data packet is sent during the second equal time interval. Thus, in the third iso interval of fig. 8-2, no data packets are transmitted and received, and the number of idle sub-events is 4 (equal to the value of NSE).
In some embodiments, the number of events allowed to be transmitted in advance is determined according to the value of PTNE.
Illustratively, as shown in fig. 8-3, the first equal time interval is the first iso interval in fig. 8-3, after the data packet 0 and the data packet 1 are sent, 3 sub-events are left, and the number of the left sub-events is smaller than the value of NSE. PTNE is1, and indicates that the packet corresponding to the next event is allowed to be transmitted in advance. The data packets (packet 2 and packet 3) transmitted in the second equal-time interval (the second iso interval in fig. 8-3) are defined to be transmitted in the first equal-time interval before 1 sub-event is left. Thus, in the second iso interval of fig. 8-3, no data packets are transmitted and received, and the number of idle sub-events is 6 (equal to the value of NSE).
Illustratively, as shown in fig. 8-4, the first equal time interval is the first iso interval in fig. 8-4, and after the data packet 0 and the data packet 1 are sent, 4 sub-events are left, and the number of the left sub-events is smaller than the value of NSE. PTNE 2 indicates that the packet corresponding to the next two events is allowed to be transmitted in advance. Defining the data packets (data packet 2 and data packet 3) transmitted in the second equal time interval (the second iso interval in fig. 8-4) to be transmitted in the first equal time interval in advance, and then leaving 2 sub-events; the data packets (packet 4 and packet 5) defined to be transmitted in the third equal time interval (the third iso interval in fig. 8-4) are then transmitted in the first equal time interval in advance. Thus, in fig. 8-4, no data packets are sent and received in the second and third iso intervals, which leave 6 sub-events (equal to the NSE value) in the second and third iso intervals, respectively.
In some embodiments, the second data packet is retransmitted if the second data packet fails to be transmitted. And stopping transmitting the second data packet if the number of times of transmitting the second data packet is greater than or equal to the preset number of times. In one implementation, the purge point of the second packet may be determined based on the configuration parameters FT and BN, thereby determining the predetermined number of times.
Illustratively, as shown in fig. 8-5, the first equal time interval is the first iso interval in fig. 8-5, and after the data packet 0 and the data packet 1 are sent, there are 1 sub-events left, and the number of the left sub-events is smaller than the value of NSE. PTNE is1, and indicates that the packet corresponding to the next event is allowed to be transmitted in advance. The second packet includes packet 2 and packet 3, and packet 2 defined to be transmitted in the second equal interval (the second iso interval in fig. 8-5) is transmitted in advance of the first equal interval. The second packet (packet 2) fails to be transmitted, and packet 2 is retransmitted. The clear point of packet 2 is determined by configuration parameters FT and BN, thereby determining that the predetermined number of times packet 2 is transmitted is 3. When the number of times of transmitting the data packet 2 reaches 3 times, the transmission of the data packet 2 is stopped. Then, in the second equal time interval, after the second packet (packet 3) is transmitted, 1 sub-event is left, and the third packet (packet 4) is transmitted, with the number of left sub-events being smaller than the value of NSE.
In some embodiments, a fourth packet may also be transmitted before the first packet is transmitted during the first waiting interval. The fourth data packet is a data packet defined to be transmitted in a fourth equal time interval, and the fourth equal time interval is an equal time interval before the first equal time interval in the time domain.
Illustratively, the first equal time interval is the second iso interval in fig. 6-2, and the data packets sent in the iso interval include: packet 0, packet 1, and packet 2. Defining the data packets to be transmitted during the first equal time interval includes: packet 2 and packet 3. A fourth data packet (data packet 0 and data packet 1) is also transmitted before the first data packet (data packet 2) is transmitted. Packet 0 and packet 1 are defined to be transmitted during the fourth equal time interval (the first iso interval in fig. 6-2).
Illustratively, the first equal time interval is the third iso interval in fig. 6-2, and the data packets sent in the iso interval include: packet 3, packet 4, and packet 5. Defining the data packets to be transmitted during the first equal time interval includes: packet 4 and packet 5. A fourth data packet (packet 3) is also transmitted before the first data packet (packets 4 and 5) is transmitted. Packet 3 is defined to be sent in the fourth equal time interval (the second iso interval in fig. 6-2).
Illustratively, the first equal time interval is the third iso interval in fig. 6-3, and the data packets sent in the iso interval include: data packets 1 and 2, defining data packets to be transmitted in the first isochronous interval to include: packet 2. A fourth data packet (packet 1) is also transmitted before the first data packet (packet 2) is transmitted. Packet 1 is defined to be sent in the fourth equal time interval (the second iso interval in fig. 6-3).
According to the Bluetooth communication method provided by the embodiment of the application, in the first waiting time interval, after the first data packet is sent, if the first data packet further comprises a vacant sub-event, the second data packet can be transmitted. Thus, under some conditions, for example, under the condition of better channel conditions, the whole iso interval can be left, scattered idle sub-intervals are gathered into the whole idle iso interval, continuous time slots are left, and the resource utilization rate is improved.
For example, when the bluetooth uses the shared resource, the bluetooth communication method provided in the embodiment of the present application may aggregate the transceiving of the bluetooth transmission without affecting the stability of the bluetooth transmission, and leave more consecutive timeslots for other services, thereby improving the resource utilization rate and reducing interference. For example, bluetooth and wireless fidelity (WIFI) share an antenna, and after the second data packet is sent in advance to the first isochronous interval, the second isochronous interval is left for the entire iso interval. The vacant sub-events of the second equal-time interval may be used for WIFI communication. For another example, in the case of bluetooth multi-service, the first packet and the second packet are packets belonging to the first bluetooth service, and after the second packet is sent in advance to the first equal-time interval, the second equal-time interval is left for the entire iso interval. The free sub-events of the second equal-time interval may be used for transmitting data packets of the second bluetooth service.
Further, a plurality of CIS may be included in one CIG. The multiple CIS may be transmitted in series or interleaved.
Illustratively, FIG. 9-1 is a schematic diagram of CIS serial transmission. One CIG includes 2 CIS, and in one CIG event, after the event of CIS1 ends, the event of CIS2 starts. Fig. 9-2 is a schematic diagram of CIS interleaved transmission. One CIG includes 2 CIS, and in one CIG event, the events of CIS1 and CIS2 alternate.
In some embodiments, in the case where a plurality of CIS are included in one CIG, each CIS transmits packets of the CIS based on configuration parameters and channel conditions, respectively, without coordinating with other CIS. Configuration parameters of the CISs may be the same or different, and in the embodiment of the present application, the configuration parameters of the 2 CISs are the same as an example.
In the method, in an iso interval, one CIS determines whether to advance transmission according to the number of idle sub-events and configuration parameters of the CIS without referring to whether other CIS advance transmission is performed.
Illustratively, CIS1 and CIS2 are transmitted serially. The CIS1 and the CIS2 respectively transmit and receive data packets according to the bluetooth communication method provided by the embodiment of the application.
As shown in fig. 10-1, for CIS1, the data packets sent during the first iso interval include: a first packet (packet 0 and packet 1), and a second packet (packet 2 and packet 3); in the second iso interval, where there are 4 sub-events left and NSE is 4, no advance transmission is performed, the CIS1 has no packet transceiving. For CIS2, the data packets sent during the first iso interval include: a first packet (packet P0 and packet P1), and a second packet (packet P2); in the second iso interval, after the data packet P3 is sent, 3 sub-events are left, and it is determined that PTNE is1 and NSE is 4, advance transmission can be performed, and the third data packet (data packet P4 and data packet P5) is sent in the iso interval in advance; in the third iso interval, 4 sub-events are left without advance transmission, and in the iso interval, the CIS2 has no data packet transceiving. In this example, the CIS1 and the CIS2 respectively aggregate respective transmission resources, more continuous time slots are left, the transceiving of bluetooth transmission is aggregated, and the implementation is simple.
As shown in fig. 10-2, during the first iso interval, the CIS1 sends data packet 2 and data packet 3 ahead of time, and the CIS2 sends data packet P2 and data packet P3 ahead of time. During the second iso interval, CIS1 has 4 sub-events left, and NSE is 4, no advance transmission is made; the CIS2 has 4 sub-events left, and NSE is 4, no advance transmission is performed; in the second iso interval, there is no transceiving of data packets. In the example, the CIS1 and the CIS2 respectively aggregate the transmission resources, the whole segment of continuous time slots are left in one iso interval, the transceiving of the bluetooth transmission is aggregated, and the implementation is simple.
Illustratively, CIS1 and CIS2 interleave transmission. The CIS1 and the CIS2 respectively transmit and receive data packets according to the bluetooth communication method provided by the embodiment of the application.
As shown in fig. 10-3, the CIS1 and the CIS2 respectively transmit and receive data packets according to the bluetooth communication method provided by the embodiment of the present application. The case where the CIS1 and the CIS2 transmit packets in each iso interval, respectively, is the same as that of fig. 10-1. Fig. 10-3 differs from fig. 10-1 in that during each iso interval, the sub-events of CIS1 alternate with those of CIS2, being interleaved transmissions. In this example, the CIS1 and the CIS2 respectively aggregate respective transmission resources, and for one point-to-point transmission, more continuous time slots are left, so that the transceiving of bluetooth transmission is aggregated, and the implementation is simple.
As shown in fig. 10-4, the CIS1 and the CIS2 respectively transmit and receive data packets according to the bluetooth communication method provided by the embodiment of the present application. The case where the CIS1 and the CIS2 transmit packets in each iso interval, respectively, is the same as in fig. 10-2. Fig. 10-4 differs from fig. 10-2 in that during each iso interval, the sub-events of CIS1 alternate with those of CIS2, being interleaved transmissions. In the example, the CIS1 and the CIS2 respectively aggregate the transmission resources, the whole segment of continuous time slots are left in one iso interval, the transceiving of the bluetooth transmission is aggregated, and the implementation is simple.
In other embodiments, where multiple CIS are included in a CIG, each CIS transmits its packets based on configuration parameters and channel conditions, respectively, and may be considered for coordination with the other CIS within the CIG in determining whether to advance transmission. Configuration parameters of the CISs may be the same or different, and in the embodiment of the present application, the configuration parameters of the 2 CISs are the same as an example.
In the method, under the condition of adopting an advance transmission mechanism, in an iso interval, one CIS determines whether to carry out advance transmission according to the number and configuration parameters of the idle sub-events of the CIS and the number and configuration parameters of the idle sub-events of other CISs in the CIG. For example, in an iso interval, if the number of the vacant sub-events is greater than 0 and smaller than the sum of the NSE values of the CIS, advance transmission is determined; and if the number of the vacant sub-events is equal to the sum of the NSE values of the CISs, determining not to carry out advanced transmission.
Illustratively, CIS1 and CIS2 are transmitted serially. As shown in fig. 10-5, with the CIS1, in the first waiting interval, after the first packet (packet 0 and packet 1) is transmitted, the second packet (packet 2 and packet 3) is transmitted in advance; within the second equal time interval, 4 sub-events are left. For the CIS2, in the first waiting time interval, after the first data packet (data packet P0 and data packet P1) is sent, the second data packet (data packet P2) is transmitted in advance; in the second equal time interval, 3 sub-events are left after the data packet P2 is sent. At this time, although the number of vacant sub-events is equal to the value of NSE for CIS1, the number of vacant sub-events is smaller than the sum of the NSE value of CIS1 and the NSE value of CIS2 for the second equal-time interval (i.e., the entire iso interval is not vacant), and CIS1 and CIS2 respectively transmit a third packet (defining a packet to be transmitted in the third iso interval) in advance in the second equal-time interval; as shown in fig. 10-5, packet 4, packet 5, packet P4, and packet P5 are sent in advance of the second iso interval. During the third iso interval, the number of sub-events left is equal to the sum of the NSE value of CIS1 and the NSE value of CIS2 (i.e., the entire iso interval is left).
Illustratively, CIS1 and CIS2 interleave transmission. As shown in fig. 10-6, the CIS1 and CIS2 transmit packets in each iso interval, respectively, as in fig. 10-5. Fig. 10-6 differs from fig. 10-5 in that during each iso interval, the sub-events of CIS1 alternate with those of CIS2, being interleaved transmissions.
In this example, the CIS1 and the CIS2 coordinate to aggregate transmission resources, and a whole segment of continuous time slots are left in one iso interval, so that the resource utilization rate can be improved, and the interference can be reduced.
In some examples, in fig. 10-1 to 10-6 above, packets belonging to the first CIS are defined to be transmitted within the first equal time interval, which is referred to as a first packet; packets belonging to the second CIS that are transmitted within the first isochronous interval are defined and are called fifth packets. As shown in fig. 10-1 to 10-6, the first and fifth packets may be transmitted during the first waiting interval. That is, during an equal time interval, packets of different CIS may be transmitted.
It is understood that the electronic device (e.g., the electronic device 100 or the ear plug 200-1 or the ear plug 200-2) comprises corresponding hardware structures and/or software modules for performing the functions in order to realize the functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In the case of an integrated unit, fig. 11 shows a schematic diagram of a possible structure of the electronic device involved in the above-described embodiment. The electronic device 1100 includes: a processing unit 1101 and a communication unit 1102.
The processing unit 1101 is configured to control and manage the operation of the electronic device 1100. For example, it may be used to perform the processing steps of S101, S102, and S103 of fig. 7, the associated steps of determining the transmission time of a data packet, and/or other processes for the techniques described herein.
A communication module 1102 for supporting communications of the electronic device 1100 with other network entities. For example, it may be used to perform the processing steps of S101, S102, and S103 of fig. 7, the associated steps of sending a data packet, and/or other processes for the techniques described herein.
Of course, the unit modules in the electronic device 1100 include, but are not limited to, the processing unit 1101 and the communication unit 1102. For example, the electronic device 1100 may further include a storage unit, an audio unit, and the like. The memory unit is used to store program codes and data of the electronic device 1100. The audio unit is used for collecting voice data sent by a user in the voice communication process and playing the voice data.
The processing unit 1101 may be a processor or a controller, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processor may include an application processor and a baseband processor. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication unit 1102 may be a transceiver, a transceiving circuit, and the like. The storage unit may be a memory.
For example, the processing unit 1101 is a processor (such as the processor 110 shown in fig. 3 or the processor 201 shown in fig. 4), and the communication unit 1102 includes a mobile communication module (such as the mobile communication module 150 shown in fig. 3) and a wireless communication module (such as the wireless communication module 160 shown in fig. 3 or the wireless communication module 204 shown in fig. 4). The mobile communication module and the wireless communication module may be collectively referred to as a communication interface. The storage unit may be a memory (such as the internal memory 121 shown in fig. 3, or the memory 202 shown in fig. 4). The audio unit may include a microphone (e.g., the microphone 170C shown in fig. 3 or the microphone 206 shown in fig. 4), a speaker (e.g., the speaker 170A shown in fig. 3), and a receiver (e.g., the receiver 170B shown in fig. 3 or the receiver 205 shown in fig. 4). The electronic device 1100 provided by the embodiment of the present application may be the electronic device 100 shown in fig. 3 or the earpiece of the wireless bluetooth headset shown in fig. 4. Wherein the processor, the memory, the communication interface, etc. may be connected together, for example, by a bus.
The embodiment of the present application further provides a computer storage medium, where computer program codes are stored in the computer storage medium, and when the processor executes the computer program codes, the electronic device executes the relevant method steps in fig. 7 to implement the method in the foregoing embodiment.
The embodiment of the present application further provides a computer program product, which when run on a computer causes the computer to execute the relevant method steps in fig. 7 to implement the method in the above-mentioned embodiment.
In addition, the electronic device 1100, the computer storage medium, or the computer program product provided in the embodiment of the present application are all used for executing the corresponding method provided above, and therefore, the beneficial effects achieved by the electronic device 1100, the computer storage medium, or the computer program product may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
In one example, the bluetooth communication method provided by the embodiment of the present application may be performed by the baseband chip of fig. 3-1. The baseband chip may be used to perform the processing steps of S101, S102, and S103 in fig. 7.
In some embodiments, in the case of a bluetooth and WIFI common antenna, a digital arbiter may be further included in the baseband chip for allocating shared resources for bluetooth and WIFI. In some possible implementations, bluetooth transmissions have a higher priority than WIFI transmissions. Illustratively, when shared resources of Bluetooth and WIFI are idle, the digital arbiter receives an instruction for transmitting WIFI service data, and allocates the shared resources to WIFI transmission; in the process of transmitting WIFI service data, the digital arbiter receives an instruction of transmitting Bluetooth service data, suspends WIFI transmission and allocates shared resources to Bluetooth transmission; further, if the Bluetooth service data transmission is finished, the digital arbiter reallocates the shared resource to the WIFI transmission. It should be noted that the digital arbiter can be implemented by software, and can also be implemented by hardware; for example, the digital arbiter may be a software module of the baseband chip; this is not limited in the embodiments of the present application.
As shown in fig. 6-1 to 6-4, the bluetooth service packets are periodically transmitted at iso intervals. In each iso interval, the time slot in which the bluetooth service data packet is sent can be used for WIFI transmission. The time slot for transmitting the WIFI service data packet is a fragmentation time interval of each iso interval. Under the condition that the number of WIFI service data packets is large, if the WIFI service data packets cannot be successfully sent within the fragment time interval, the WIFI service data packets are judged to be poor in channel quality by mistake, and then the transmission rate of the WIFI service is triggered to be actively adjusted downwards; in addition, if a large amount of transmission failures occur in the WIFI service data packets, a large amount of retransmission may occur in the WIFI service data packets, which affects the transmission rate of the WIFI service. The bluetooth communication method provided in the embodiment of the present application uses an early transmission mechanism, and leaves more consecutive timeslots, as shown in fig. 8-1 to 8-4, where the vacant consecutive timeslots are greater than one iso interval. These consecutive time slots may be used for WIFI transmission, thereby ensuring WIFI traffic transmission rates.
In another example, the bluetooth communication method provided in the embodiment of the present application may be performed by the radio frequency chip of fig. 3-1. The rf chip may be used to perform the processing steps of S101, S102, and S103 in fig. 7. In some embodiments, in the case of a bluetooth and WIFI common antenna, the radio frequency chip may further include a digital arbiter for allocating shared resources of bluetooth and WIFI. The processing method of the radio frequency chip may refer to the processing method of the baseband chip, and is not described herein again.
In another example, the bluetooth communication method provided in the embodiment of the present application may be jointly performed by the baseband chip and the radio frequency chip of fig. 3-1. For example, the baseband chip may be configured to perform a function of determining an iso interval for transmitting a data packet in the processing steps of S101, S102, and S103 of fig. 7; the rf chip may be configured to perform a function of transmitting a packet in the processing steps of S101, S102, and S103 of fig. 7. This is not limited in the examples of the present application.
The baseband chip or the radio frequency chip provided in the embodiment of the present application is used for executing the corresponding method provided above, and therefore, the beneficial effects that can be achieved by the baseband chip or the radio frequency chip can refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (24)
- A Bluetooth communication method is applied to a CIS transmission mode of isochronous audio stream based on connection of isochronous channel, and is characterized by comprising the following steps:transmitting a first data packet in a first equal time interval, wherein the first equal time interval comprises a plurality of sub-events, and the first data packet is transmitted in part of the sub-events in the plurality of sub-events; the first data packet is defined to be sent in a first equal time interval;transmitting a second data packet within the free sub-event of the first equal time interval; the second data packet is a data packet defined to be transmitted in a second equal time interval, and the second equal time interval is an equal time interval after the first equal time interval in the time domain.
- The method of claim 1, further comprising:and if the second data packet fails to be sent, the second data packet is sent again.
- The method of claim 2, further comprising:and if the number of times of sending the second data packet is greater than or equal to the preset number of times, stopping sending the second data packet.
- A method according to claim 3, characterized in that said predetermined number of times is determined according to a configuration parameter refresh timeout FT and a number of bursts BN.
- The method according to any one of claims 1-4, further comprising:if the number of the vacant sub-events in the second equal-time interval is larger than or equal to the value of the number NSE of the configuration parameter sub-events, a third data packet is sent in a third equal-time interval; the third data packet is a data packet defined to be transmitted in a third equal time interval, and the third equal time interval is an equal time interval after the second equal time interval in the time domain.
- The method according to any one of claims 1-4, further comprising:if the number of the vacant sub-events in the second equal-time interval is larger than 0 and smaller than the value of the number NSE of the configuration parameter sub-events, a third data packet is sent in the second equal-time interval; the third data packet is a data packet defined to be transmitted in a third equal time interval, and the third equal time interval is an equal time interval after the second equal time interval in the time domain.
- The method according to any one of claims 1-4, further comprising:transmitting a third data packet within the free sub-events of the first equal time interval; the third data packet is a data packet defined to be transmitted in a third equal time interval, and the third equal time interval is an equal time interval after the second equal time interval in the time domain.
- The method according to any one of claims 1-7, further comprising:transmitting a fourth packet before transmitting the first packet during the first equal time interval, the fourth packet defining a packet to be transmitted during a fourth equal time interval, the fourth equal time interval being an equal time interval before the first equal time interval in the time domain.
- The method of any of claims 1-8, wherein the first packet is a packet belonging to a first CIS, the method further comprising:and transmitting a fifth data packet during the first equal time interval, wherein the fifth data packet belongs to the second CIS and defines the data packet transmitted during the first equal time interval.
- The method of claim 5, wherein the vacant sub-events of the second equal-time interval are used for WIFI communication.
- The method of claim 5, wherein the first packet and the second packet are packets belonging to a first Bluetooth service, and wherein the free sub-events of the second equal-time interval are used for transmitting packets of a second Bluetooth service.
- An electronic device, characterized in that the electronic device comprises: a processor, a memory, and a communication interface; the memory and the communication interface are coupled with the processor; the memory for storing computer program code; the computer program code comprising computer instructions which, when executed by the processor, perform the method of any of claims 1 to 11.
- A computer storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any one of claims 1-11.
- An electronic device, characterized in that the electronic device comprises: a processor;when the processor is based on the CIS transmission mode of the isochronous audio stream based on the connection of the isochronous channel,the processor is configured to determine to send a first data packet within a first equal time interval; the first data packet is defined to be sent in a first equal time interval;the processor is further configured to determine to send a second packet within a vacant sub-event of the first equal time interval; the second data packet is a data packet defined to be transmitted in a second equal time interval, and the second equal time interval is an equal time interval after the first equal time interval in the time domain.
- The electronic device of claim 14,the processor is further configured to determine whether the second data packet is successfully transmitted;the processor is further configured to determine to retransmit the second data packet on a condition that it is determined that the second data packet was unsuccessfully transmitted.
- The electronic device of claim 15,the processor is further configured to determine a number of times to send the second data packet;the processor is further configured to determine to stop sending the second data packet on the condition that the number of times of sending the second data packet is determined to be greater than or equal to a predetermined number of times.
- The electronic device of claim 16, wherein the processor is further configured to determine the predetermined number of times based on a configuration parameter refresh timeout FT and a number of bursts BN.
- The electronic device of any of claims 14-17,the processor is further configured to determine the number of vacant sub-events of the second equal-time interval;the processor is further configured to determine to send a third data packet in a third equal time interval on the condition that it is determined that the number of the vacant sub-events in the second equal time interval is greater than or equal to the value of the configuration parameter sub-event number NSE; the third data packet is a data packet defined to be transmitted in a third equal time interval, and the third equal time interval is an equal time interval after the second equal time interval in the time domain.
- The electronic device of any of claims 14-17,the processor is further configured to determine the number of vacant sub-events of the second equal-time interval;the processor is further configured to determine to send a third data packet in the second equal-time interval on the condition that it is determined that the number of the vacant sub-events in the second equal-time interval is greater than 0 and is less than the value of the configuration parameter sub-event number NSE; the third data packet is a data packet defined to be transmitted in a third equal time interval, and the third equal time interval is an equal time interval after the second equal time interval in the time domain.
- The electronic device of any of claims 14-17,the processor is further configured to determine to send a third data packet within a vacant sub-event of the first equal time interval; the third data packet is a data packet defined to be transmitted in a third equal time interval, and the third equal time interval is an equal time interval after the second equal time interval in the time domain.
- The electronic device of any of claims 14-20,the processor is further configured to determine that a fourth data packet is sent before the first data packet is sent within the first equal time interval; the fourth packet is a packet defined to be transmitted in a fourth equal time interval, which is an equal time interval before the first equal time interval in the time domain.
- The electronic device according to any of claims 14-21, wherein the first data packet is a data packet belonging to a first CIS,the processor is further configured to determine that a fifth data packet is sent within the first isochronous interval; the fifth packet is of the second CIS and defines packets to be transmitted during the first isochronous interval.
- The electronic device of claim 18,the processor is further configured to determine to use the vacant sub-events of the second equal-time interval for WIFI communication.
- The electronic device of claim 18, wherein the first data packet and the second data packet are data packets belonging to a first Bluetooth service,the processor is further configured to determine to use the vacant sub-event of the second equal-time interval for transmitting a data packet of a second bluetooth service.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/120385 WO2020118532A1 (en) | 2018-12-11 | 2018-12-11 | Bluetooth communication method and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112740728A true CN112740728A (en) | 2021-04-30 |
CN112740728B CN112740728B (en) | 2022-06-10 |
Family
ID=71075330
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201880097872.0A Active CN112740728B (en) | 2018-12-11 | 2018-12-11 | Bluetooth communication method and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112740728B (en) |
WO (1) | WO2020118532A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115278857A (en) * | 2022-07-29 | 2022-11-01 | 恒玄科技(上海)股份有限公司 | Anti-interference audio data transmission method and device |
CN115499037A (en) * | 2022-09-09 | 2022-12-20 | 安克创新科技股份有限公司 | Bluetooth device, equipment system and channel switching method thereof |
CN116634492A (en) * | 2023-01-29 | 2023-08-22 | 上海物骐微电子有限公司 | Data scheduling method, device and storage medium based on Bluetooth LE audio |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112367652A (en) * | 2020-10-23 | 2021-02-12 | Tcl通讯(宁波)有限公司 | Bluetooth transmission method, device, storage medium and mobile terminal |
CN115086922A (en) * | 2021-03-11 | 2022-09-20 | Oppo广东移动通信有限公司 | Bluetooth communication method, Bluetooth device and computer storage medium |
CN115379427A (en) * | 2021-05-21 | 2022-11-22 | Oppo广东移动通信有限公司 | Method, device, terminal and storage medium for broadcasting and receiving Bluetooth data packet |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100317388A1 (en) * | 2009-06-10 | 2010-12-16 | Stmicroelectronics, Inc. | Personal Independent Basic Service Set Cluster Resource Sharing |
US20130158692A1 (en) * | 2011-12-19 | 2013-06-20 | Gn Netcom A/S | Adaptive Isochronous USB Audio To RF Communication Device |
CN104391812A (en) * | 2014-12-02 | 2015-03-04 | 联想(北京)有限公司 | Communication method and first electronic equipment |
US20170251469A1 (en) * | 2014-07-03 | 2017-08-31 | Lg Electronics Inc. | Method for transmitting and receiving audio data in wireless communication system supporting bluetooth communication and device therefor |
CN108702720A (en) * | 2016-02-24 | 2018-10-23 | 高通股份有限公司 | Source device broadcasts synchronizing information associated with bluetooth equal ratio channel |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080240324A1 (en) * | 2007-03-27 | 2008-10-02 | Microsoft Corporation | Independent Dispatch of Multiple Streaming Queues Via Reserved Time Slots |
US20160299739A1 (en) * | 2015-04-13 | 2016-10-13 | Lg Electronics Inc. | Method for controlling data streaming using bluetooth communication |
-
2018
- 2018-12-11 CN CN201880097872.0A patent/CN112740728B/en active Active
- 2018-12-11 WO PCT/CN2018/120385 patent/WO2020118532A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100317388A1 (en) * | 2009-06-10 | 2010-12-16 | Stmicroelectronics, Inc. | Personal Independent Basic Service Set Cluster Resource Sharing |
US20130158692A1 (en) * | 2011-12-19 | 2013-06-20 | Gn Netcom A/S | Adaptive Isochronous USB Audio To RF Communication Device |
US20170251469A1 (en) * | 2014-07-03 | 2017-08-31 | Lg Electronics Inc. | Method for transmitting and receiving audio data in wireless communication system supporting bluetooth communication and device therefor |
CN104391812A (en) * | 2014-12-02 | 2015-03-04 | 联想(北京)有限公司 | Communication method and first electronic equipment |
CN108702720A (en) * | 2016-02-24 | 2018-10-23 | 高通股份有限公司 | Source device broadcasts synchronizing information associated with bluetooth equal ratio channel |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115278857A (en) * | 2022-07-29 | 2022-11-01 | 恒玄科技(上海)股份有限公司 | Anti-interference audio data transmission method and device |
CN115499037A (en) * | 2022-09-09 | 2022-12-20 | 安克创新科技股份有限公司 | Bluetooth device, equipment system and channel switching method thereof |
CN116634492A (en) * | 2023-01-29 | 2023-08-22 | 上海物骐微电子有限公司 | Data scheduling method, device and storage medium based on Bluetooth LE audio |
CN116634492B (en) * | 2023-01-29 | 2024-04-12 | 上海物骐微电子有限公司 | Data scheduling method, device and storage medium based on Bluetooth LE audio |
Also Published As
Publication number | Publication date |
---|---|
CN112740728B (en) | 2022-06-10 |
WO2020118532A1 (en) | 2020-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112640505B (en) | Transmission rate control method and equipment | |
CN113228701B (en) | Audio data synchronization method and device | |
CN113225693B (en) | Bluetooth connection method, equipment and system | |
CN112313929B (en) | Method for automatically switching Bluetooth audio coding modes and electronic equipment | |
CN112740728B (en) | Bluetooth communication method and electronic equipment | |
CN112789883B (en) | Rate control method, device and computer storage medium | |
CN112771890B (en) | Point-to-multipoint data transmission method and electronic equipment | |
CN112469010B (en) | Bluetooth connection method and related device | |
CN115175043A (en) | Audio data transmission method and equipment applied to TWS earphone single-ear and double-ear switching | |
CN112806092B (en) | Microphone MIC switching method and device | |
WO2021043250A1 (en) | Bluetooth communication method, and related device | |
CN114868417A (en) | Communication method, communication device and system | |
CN114398020A (en) | Audio playing method and related equipment | |
CN113678481B (en) | Wireless audio system, audio communication method and equipment | |
CN110798893A (en) | Method for solving coexistence interference and electronic equipment | |
CN115119336B (en) | Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium | |
WO2022199613A1 (en) | Method and apparatus for synchronous playback | |
CN115696464A (en) | Data transmission method and electronic equipment | |
CN115190613A (en) | Synchronization signal block SSB determination method and related equipment |
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 |