Bluetooth communication method and device
By inserting a synchronization code with better autocorrelation than the access code into the Bluetooth data frame, the problem of low synchronization detection success rate in Bluetooth communication is solved, the data reception success rate is improved and the power consumption is reduced.
Patent Information
- Application Number
- CN202080108206.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-31
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2040-12-31
AI Technical Summary
In Bluetooth communication systems, the low success rate of synchronization detection at the receiving end leads to data frame loss, affecting the success rate of data reception.
Insert a first synchronization code into the Bluetooth data frame that has better autocorrelation or cross-correlation than the access code, such as a pseudo-random sequence, m-sequence, gold sequence, or kasami sequence. Dynamically adjust the length of the synchronization code and the ratio of the pilot according to Bluetooth service requirements or communication parameters to improve the success rate of synchronization detection.
It improves the synchronization detection success rate of the Bluetooth receiver, reduces the transmission power requirement of the Bluetooth transmitter, extends the device's usage time, and reduces power consumption.
Smart Images

Figure CN116615875B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication, and more particularly to Bluetooth communication methods and apparatus. Background Technology
[0002] Bluetooth is a short-range wireless transmission technology that can be widely used in various terminals, such as smartphones, wireless headphones, and wearable devices. Currently, the Bluetooth standard defines several Bluetooth modes and speeds. For example, Bluetooth Basic Rate (BR) mode and Bluetooth Low Energy (BLE) 1Mbps mode use Gaussian Frequency Shift Keying (GFSK) modulation, occupying 1MHz of signal bandwidth, and can provide a speed of 1Mbps; Bluetooth Enhanced Data Rate (EDR) mode uses Differential Phase Shift Keying (DPSK) modulation, occupying 1MHz of signal bandwidth, and can provide speeds of 2Mbps and 3Mbps; BLE 2Mbps mode uses the same modulation as BLE 1Mbps and can achieve a speed of 2Mbps.
[0003] In a Bluetooth communication system, a data frame transmitted by a terminal using any Bluetooth mode includes a preamble, an access code (AC), and a payload. The preamble is used for automatic gain control (AGC) adjustment and signal processing. The payload contains the data to be transmitted. The AC is used for synchronization detection. For example, upon successfully receiving the AC, the receiver is successfully synchronized and continues receiving subsequent information (such as the payload). If the receiver fails to detect the AC until the end of the current frame, synchronization fails, and the current frame is lost. Therefore, improving the success rate of synchronization detection at the receiver is crucial for avoiding frame loss and improving the overall data reception success rate. Summary of the Invention
[0004] This application provides a Bluetooth communication method and apparatus, which can improve the success rate of synchronous detection at the receiving end, and thus improve the success rate of data reception.
[0005] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:
[0006] In a first aspect, embodiments of this application provide a Bluetooth communication method, the method comprising: a Bluetooth transmitting device generating a first Bluetooth data frame, and the Bluetooth transmitting device transmitting the first Bluetooth data frame to a Bluetooth receiving device. The first Bluetooth data frame includes a first access code, a first synchronization code, and a first data field; wherein the first synchronization code precedes the first data field, and at least one of the autocorrelation or cross-correlation properties of the first synchronization code is superior to the first access code.
[0007] Based on the method provided in the first aspect, a first synchronization code can be inserted into the first Bluetooth data frame. In this case, the Bluetooth receiving device can perform synchronization detection based on the first synchronization code. Because at least one of the autocorrelation or cross-correlation of the first synchronization code is better than that of the first access code, the success rate of synchronization detection can be improved, thereby improving the success rate of data reception. Furthermore, using the method provided in the first aspect, while maintaining the same data reception success rate for the Bluetooth receiving device, the transmission power of the Bluetooth transmitting device in sending the first Bluetooth data frame can be reduced, extending the usage time of the Bluetooth transmitting device. This is because when the Bluetooth transmitting device uses a lower transmission power to send the first Bluetooth data frame, the data reception success rate of the Bluetooth receiving device can reach the same level as when the Bluetooth transmitting device uses a normal transmission power to send the first Bluetooth data frame.
[0008] One possible implementation is to use a pseudo-random sequence as the first synchronization code. It's understandable that pseudo-random sequences exhibit excellent autocorrelation and cross-correlation, so using a pseudo-random sequence as the first synchronization code can improve the success rate of synchronization detection, and consequently, the success rate of data reception.
[0009] One possible implementation is that the first synchronization code is an m-sequence, a gold sequence, or a kasami sequence, which can improve the flexibility of using the first synchronization code.
[0010] One possible implementation further includes: a Bluetooth transmitting device acquiring a first parameter, and the Bluetooth transmitting device determining the length of a first synchronization code based on the first parameter, wherein the length of the first synchronization code is related to the autocorrelation or cross-correlation of the first synchronization code. The first parameter indicates at least one of the requirements of a Bluetooth service or the communication parameters of Bluetooth communication. Based on the above method, the length of the first synchronization code can be determined according to at least one of the requirements of a Bluetooth service or the communication parameters of Bluetooth communication.
[0011] One possible implementation is that if the first parameter is greater than or equal to a first threshold, the length of the first synchronization code is greater than or equal to a first length; if the first parameter is less than or equal to a preset second threshold, the length of the first synchronization code is less than or equal to a second length. The first parameter indicates one of the following parameters: data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth receiver. Based on the above method, when the data retransmission rate is high, or the Bluetooth service requires high reliability, or the transmission distance of the first Bluetooth data frame is long, or the signal strength of the interference signal received by the Bluetooth receiver is high, the length of the first synchronization code can be appropriately increased to improve the success rate of synchronization detection. When the data retransmission rate is low, or the reliability requirements of the Bluetooth service are not high, or the transmission distance of the first Bluetooth data frame is short, or the signal strength of the interference signal received by the Bluetooth receiver is low, the length of the first synchronization code can be appropriately reduced to ensure the success rate of synchronization detection while reducing the power consumption of the Bluetooth transmitter and receiver.
[0012] One possible implementation is that if the first parameter is less than or equal to a first threshold, the length of the first synchronization code is greater than or equal to a first length; if the first parameter is greater than or equal to a preset second threshold, the length of the first synchronization code is less than or equal to a second length. The first parameter indicates one of the following parameters: the latency of the data required by the service, the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame, or the signal-to-noise ratio (SNR) of the channel used to transmit the first Bluetooth data frame. Based on the above method, when the latency of the data required by the service is small, or the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame is low, or the SNR of the channel used to transmit the first Bluetooth data frame is low, the length of the first synchronization code can be appropriately increased to improve the success rate of synchronization detection. When a larger latency is tolerable, or the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame is high, or the SNR of the channel used to transmit the first Bluetooth data frame is high, the length of the first synchronization code can be appropriately reduced to reduce the power consumption of the Bluetooth transmitter and receiver while ensuring the success rate of synchronization detection.
[0013] In one possible implementation, before generating the first Bluetooth data frame, the method further includes: the Bluetooth transmitting device and the Bluetooth receiving device negotiating a first random number, wherein the first random number is used to determine a first synchronization code from a first synchronization code set, the first synchronization code set including at least one synchronization code. Based on the above method, the Bluetooth transmitting device and the Bluetooth receiving device can negotiate a first random number used to determine the first synchronization code, thereby determining the first synchronization code.
[0014] One possible implementation involves the Bluetooth transmitting device and the Bluetooth receiving device negotiating a first random number, including: the Bluetooth transmitting device receiving third information from the Bluetooth receiving device, the third information being used to negotiate the first random number; and the Bluetooth transmitting device sending fourth information to the Bluetooth receiving device, the fourth information being used to indicate the first random number. Based on this method, the Bluetooth receiving device can trigger the negotiation of a synchronization code with the Bluetooth transmitting device, dynamically adjusting the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. In multi-user scenarios, this avoids missynchronization, improves the success rate of synchronization detection, and reduces power consumption and signaling overhead.
[0015] One possible implementation involves the Bluetooth transmitting device and the Bluetooth receiving device negotiating a first random number, including: the Bluetooth transmitting device sending third information to the Bluetooth receiving device, the third information being used to negotiate the first random number; and the Bluetooth transmitting device receiving fourth information from the Bluetooth receiving device, the fourth information being used to indicate the first random number. Based on the above method, the Bluetooth transmitting device can trigger the negotiation of a synchronization code with the Bluetooth receiving device, dynamically adjusting the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. In multi-user scenarios, this avoids missynchronization, improves the success rate of synchronization detection, and reduces power consumption and signaling overhead.
[0016] One possible implementation is that the number of Bluetooth devices surrounding the Bluetooth receiver and / or Bluetooth transmitter is greater than or equal to a preset first value, and the number of synchronization codes in the first synchronization code set is greater than or equal to a preset second value. Based on the above method, the Bluetooth transmitter and Bluetooth receiver can also dynamically adjust the size of the first synchronization code set to ensure the success rate of synchronization detection and reduce power consumption and signaling overhead in different scenarios.
[0017] In one possible implementation, before the Bluetooth transmitting device generates the first Bluetooth data frame, the method further includes: the Bluetooth transmitting device and the Bluetooth receiving device negotiating a second random number, the second random number being used to determine a first time interval, the first time interval being the time interval for updating the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. Based on the above method, the Bluetooth transmitting device and the Bluetooth receiving device can negotiate a second random number for the time interval used to determine and update the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device, thereby periodically updating the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. This helps avoid missynchronization in multi-user scenarios, effectively improves the success rate of synchronization detection, and reduces power consumption and signaling overhead.
[0018] One possible implementation is that the first Bluetooth data frame further includes N first pilots, where each first pilot has a known phase and N is a positive integer. Based on the above method, N first pilots with known phases can be inserted into the first Bluetooth data frame. In this case, the Bluetooth receiving device can detect at least one of the channel phase or channel amplitude of the channel used to transmit the first Bluetooth data frame based on the first pilots. On the one hand, this can improve the receiving performance of the Bluetooth receiving device; on the other hand, it simplifies the process of detecting the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame.
[0019] One possible implementation is that, in the first Bluetooth data frame, the first pilot is inserted into at least one of the following: a first access code, a first synchronization code, or a first data field. Based on the above method, the reception performance of the Bluetooth receiving device can be improved, and the process of detecting the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame can be simplified.
[0020] One possible implementation further includes: a Bluetooth transmitting device acquiring a second parameter, and the Bluetooth transmitting device determining the proportion of the first pilot signal in the first Bluetooth data frame based on the second parameter. The second parameter indicates at least one of the requirements of a Bluetooth service or the communication parameters of Bluetooth communication. Based on the above method, the proportion of the first pilot signal in the first Bluetooth data frame can be determined according to at least one of the requirements of a Bluetooth service or the communication parameters of Bluetooth communication.
[0021] One possible implementation is that if the second parameter is greater than or equal to a preset fifth threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a third proportion; if the second parameter is less than or equal to a preset sixth threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a fourth proportion. The second parameter indicates one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth receiver. Based on the above method, when the channel phase change of the channel used to transmit the first Bluetooth data frame is relatively fast, or the data retransmission rate is high, or the Bluetooth service requires high reliability, or the transmission distance of the first Bluetooth data frame is relatively long, or the signal strength of the interference signal received by the Bluetooth receiver is relatively high, the proportion of the first pilot in the first Bluetooth data frame can be appropriately increased to improve the receiving performance of the Bluetooth receiver. When the channel phase change of the channel used to transmit the first Bluetooth data frame is slow, or the data retransmission rate is low, or the reliability requirements of the Bluetooth service are not high, or the transmission distance of the first Bluetooth data frame is short, or the signal strength of the interference signal received by the Bluetooth receiver is low, the proportion of the first pilot in the first Bluetooth data frame can be appropriately reduced to reduce signaling overhead while ensuring the receiving performance of the Bluetooth receiver.
[0022] One possible implementation is that if the second parameter is less than or equal to a preset fifth threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a third proportion; if the second parameter is greater than or equal to a preset sixth threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a fourth proportion. The second parameter indicates one of the following parameters: the latency of the data required by the service, the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame. Based on the above method, when the latency of the data required by the service is low, or the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame is low, or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame is low, or the error correction capability of the encoding method of the first Bluetooth data frame is weak, the proportion of the first pilot in the first Bluetooth data frame can be appropriately increased to improve the receiving performance of the Bluetooth receiver. If a larger latency can be tolerated, or the transmission power of the Bluetooth transmitting device for transmitting the first Bluetooth data frame is high, or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame is high, or the error correction capability of the encoding method of the first Bluetooth data frame is strong, the proportion of the first pilot in the first Bluetooth data frame can be appropriately reduced to reduce signaling overhead while ensuring the receiving performance of the Bluetooth receiving device.
[0023] One possible implementation is that the N first pilots may be the same or different. Based on the above method, the first pilots can be flexibly set.
[0024] In one possible implementation, before the Bluetooth transmitting device determines the first Bluetooth data frame, the method further includes: the Bluetooth transmitting device sending a second Bluetooth data frame to the Bluetooth receiving device, the second Bluetooth data frame being different from the first Bluetooth data frame; the Bluetooth transmitting device negotiating the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device based on a third parameter, the third parameter indicating the signal quality of the second Bluetooth data frame or the signal strength of the interference signal. Based on the above method, the Bluetooth receiving device can dynamically adjust the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device by negotiating the frame format based on the signal quality of the second Bluetooth data frame or the signal strength of the interference signal.
[0025] One possible implementation involves the Bluetooth transmitting device negotiating the frame format of Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth receiving device based on a third parameter. This includes: the Bluetooth transmitting device receiving first information from the Bluetooth receiving device, the first information requesting a switch in the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device; and the Bluetooth transmitting device sending second information to the Bluetooth receiving device, the second information instructing the switching of the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device to the frame format of the first Bluetooth data frame. Based on this method, the Bluetooth receiving device can trigger frame format negotiation with the Bluetooth transmitting device, dynamically adjusting the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. This allows the Bluetooth transmitting device and the Bluetooth receiving device to communicate using a suitable frame format, improving the success rate of data reception while reducing the power consumption of both the Bluetooth transmitting device and the Bluetooth receiving device, thereby extending their usage time.
[0026] One possible implementation is that the second Bluetooth data frame includes a second access code, a second synchronization code, and a second data field. A third parameter is used to indicate the signal quality of the second Bluetooth data frame. If the third parameter is greater than or equal to a preset third threshold, first information is used to request a reduction in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter. If the third parameter is less than the preset third threshold, first information is used to request an increase in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter. Based on the above method, when the signal quality of the second Bluetooth data frame is good, the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter can be reduced, thereby reducing the power consumption of the Bluetooth transmitter and the Bluetooth receiver and extending their usage time. When the signal quality of the second Bluetooth data frame is poor, the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter can be increased, thereby improving the success rate of data reception by the Bluetooth receiver.
[0027] One possible implementation involves negotiating the frame format of Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter with a third parameter. This includes: sending first information to the Bluetooth receiver, requesting a switch in the frame format of the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter; and receiving second information from the Bluetooth receiver, instructing a switch to the frame format of the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter to the first Bluetooth data frame format. Based on this method, the Bluetooth transmitter can trigger frame format negotiation with the Bluetooth receiver, dynamically adjusting the frame format of the Bluetooth data frames transmitted between the two devices. This allows the Bluetooth transmitter and receiver to communicate using a suitable frame format, improving the success rate of data reception while reducing power consumption and extending their usage time.
[0028] One possible implementation involves a third parameter indicating the signal strength of the interference signal. If the third parameter is greater than or equal to a preset fourth threshold, the first information requests an increase in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and transmitter. If the third parameter is less than the preset fourth threshold, the first information requests a decrease in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and transmitter. Based on this method, when the interference signal strength is low, the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and transmitter can be reduced, thereby reducing the power consumption of the Bluetooth transmitter and receiver and extending their usage time. Conversely, when the interference signal strength is high, the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and transmitter can be increased, improving the success rate of data reception by the Bluetooth receiver.
[0029] In a second aspect, embodiments of this application provide a Bluetooth communication method, the method comprising: a Bluetooth receiving device receiving a first Bluetooth data frame from a Bluetooth transmitting device, wherein the first Bluetooth data frame includes a first access code, a first synchronization code, and a first data field; wherein the first synchronization code is located before the first data field, and at least one of the autocorrelation or cross-correlation of the first synchronization code is superior to the first access code; and the Bluetooth receiving device performing synchronization detection based on the first synchronization code.
[0030] Based on the method provided in the second aspect above, a first synchronization code can be inserted into the first Bluetooth data frame. In this case, the Bluetooth receiving device can perform synchronization detection based on the first synchronization code. Because at least one of the autocorrelation or cross-correlation of the first synchronization code is better than that of the first access code, the success rate of synchronization detection can be improved, thereby improving the success rate of data reception. Furthermore, using the method provided in the first aspect, while maintaining the same data reception success rate for the Bluetooth receiving device, the transmission power of the Bluetooth transmitting device sending the first Bluetooth data frame can be reduced, extending the usage time of the Bluetooth transmitting device. This is because when the Bluetooth transmitting device uses a lower transmission power to send the first Bluetooth data frame, the data reception success rate of the Bluetooth receiving device can reach the same level as when the Bluetooth transmitting device uses a normal transmission power to send the first Bluetooth data frame.
[0031] One possible implementation is to use a pseudo-random sequence as the first synchronization code. It's understandable that pseudo-random sequences exhibit excellent autocorrelation and cross-correlation, so using a pseudo-random sequence as the first synchronization code can improve the success rate of synchronization detection, and consequently, the success rate of data reception.
[0032] One possible implementation is that the first synchronization code is an m-sequence, a gold sequence, or a kasami sequence, which can improve the flexibility of using the first synchronization code.
[0033] One possible implementation is that if the first parameter is greater than or equal to a first threshold, the length of the first synchronization code is greater than or equal to a first length; if the first parameter is less than or equal to a preset second threshold, the length of the first synchronization code is less than or equal to a second length. The first parameter indicates one of the following parameters: data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth receiver. Based on the above method, when the data retransmission rate is high, or the Bluetooth service requires high reliability, or the transmission distance of the first Bluetooth data frame is long, or the signal strength of the interference signal received by the Bluetooth receiver is high, the length of the first synchronization code can be appropriately increased to improve the success rate of synchronization detection. When the data retransmission rate is low, or the reliability requirements of the Bluetooth service are not high, or the transmission distance of the first Bluetooth data frame is short, or the signal strength of the interference signal received by the Bluetooth receiver is low, the length of the first synchronization code can be appropriately reduced to ensure the success rate of synchronization detection while reducing the power consumption of the Bluetooth transmitter and receiver.
[0034] One possible implementation is that if the first parameter is less than or equal to a first threshold, the length of the first synchronization code is greater than or equal to a first length; if the first parameter is greater than or equal to a preset second threshold, the length of the first synchronization code is less than or equal to a second length. The first parameter indicates one of the following parameters: the latency of the data required by the service, the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame, or the signal-to-noise ratio (SNR) of the channel used to transmit the first Bluetooth data frame. Based on the above method, when the latency of the data required by the service is small, or the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame is low, or the SNR of the channel used to transmit the first Bluetooth data frame is low, the length of the first synchronization code can be appropriately increased to improve the success rate of synchronization detection. When a larger latency is tolerable, or the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame is high, or the SNR of the channel used to transmit the first Bluetooth data frame is high, the length of the first synchronization code can be appropriately reduced to reduce the power consumption of the Bluetooth transmitter and receiver while ensuring the success rate of synchronization detection.
[0035] In one possible implementation, before the Bluetooth receiving device receives a first Bluetooth data frame from the Bluetooth transmitting device, the method further includes: the Bluetooth receiving device and the Bluetooth transmitting device negotiating a first random number, the first random number being used to determine a first synchronization code from a first synchronization code set, the first synchronization code set including at least one synchronization code. Based on the above method, the Bluetooth transmitting device and the Bluetooth receiving device can negotiate a first random number used to determine the first synchronization code, thereby determining the first synchronization code.
[0036] One possible implementation involves the Bluetooth receiver and Bluetooth transmitter negotiating a first random number, including: the Bluetooth receiver sending third information to the Bluetooth transmitter, the third information being used to negotiate the first random number; and the Bluetooth receiver receiving fourth information from the Bluetooth transmitter, the fourth information being used to indicate the first random number. Based on this method, the Bluetooth receiver can trigger a synchronization code negotiation with the Bluetooth transmitter, dynamically adjusting the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter. In multi-user scenarios, this avoids missynchronization, improves the success rate of synchronization detection, and reduces power consumption and signaling overhead.
[0037] One possible implementation involves the Bluetooth receiving device and the Bluetooth transmitting device negotiating a first random number. This includes: the Bluetooth receiving device receiving third information from the Bluetooth transmitting device, which is used to negotiate the first random number; and the Bluetooth receiving device sending fourth information to the Bluetooth transmitting device, which indicates the first random number. Based on this method, the Bluetooth transmitting device can trigger a synchronization code negotiation with the Bluetooth receiving device, dynamically adjusting the synchronization code in the Bluetooth data frames transmitted between the two devices. In multi-user scenarios, this avoids missynchronization, improves the success rate of synchronization detection, and reduces power consumption and signaling overhead.
[0038] One possible implementation is that the number of Bluetooth devices surrounding the Bluetooth receiver and / or Bluetooth transmitter is greater than or equal to a preset first value, and the number of synchronization codes in the first synchronization code set is greater than or equal to a preset second value. Based on the above method, the Bluetooth transmitter and Bluetooth receiver can also dynamically adjust the size of the first synchronization code set to ensure the success rate of synchronization detection and reduce power consumption and signaling overhead in different scenarios.
[0039] In one possible implementation, before the Bluetooth receiving device receives the first Bluetooth data frame from the Bluetooth transmitting device, the method further includes: the Bluetooth receiving device and the Bluetooth transmitting device negotiating a second random number, the second random number being used to determine a first time interval, the first time interval being the time interval for updating the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. Based on the above method, the Bluetooth transmitting device and the Bluetooth receiving device can also negotiate the first time interval, thereby periodically updating the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. This helps avoid missynchronization in multi-user scenarios, effectively improving the success rate of synchronization detection and reducing power consumption and signaling overhead.
[0040] One possible implementation is that the first Bluetooth data frame further includes N first pilots, where each first pilot has a known phase and N is a positive integer. Based on the above method, N first pilots with known phases can be inserted into the first Bluetooth data frame. In this case, the Bluetooth receiving device can detect the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame based on the first pilots. On the one hand, this improves the receiving performance of the Bluetooth receiving device; on the other hand, it simplifies the process of detecting the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame.
[0041] One possible implementation is that, in the first Bluetooth data frame, the first pilot is inserted into at least one of the following: the first access code, the first synchronization code, or the first data field. Based on the above method, the first pilot can be inserted into at least one of the first access code, the first synchronization code, or the first data field to improve the reception performance of the Bluetooth receiving device and simplify the process of detecting the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame.
[0042] One possible implementation is that if the second parameter is greater than or equal to a preset fifth threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a third proportion; if the second parameter is less than or equal to a preset sixth threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a fourth proportion. The second parameter indicates one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth receiver. Based on the above method, when the channel phase change of the channel used to transmit the first Bluetooth data frame is relatively fast, or the data retransmission rate is high, or the Bluetooth service requires high reliability, or the transmission distance of the first Bluetooth data frame is relatively long, or the signal strength of the interference signal received by the Bluetooth receiver is relatively high, the proportion of the first pilot in the first Bluetooth data frame can be appropriately increased to improve the receiving performance of the Bluetooth receiver. When the channel phase change of the channel used to transmit the first Bluetooth data frame is slow, or the data retransmission rate is low, or the reliability requirements of the Bluetooth service are not high, or the transmission distance of the first Bluetooth data frame is short, or the signal strength of the interference signal received by the Bluetooth receiver is low, the proportion of the first pilot in the first Bluetooth data frame can be appropriately reduced to reduce signaling overhead while ensuring the receiving performance of the Bluetooth receiver.
[0043] One possible implementation is that if the second parameter is less than or equal to a preset fifth threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a third proportion; if the second parameter is greater than or equal to a preset sixth threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a fourth proportion. The second parameter indicates one of the following parameters: the latency of the data required by the service, the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame. Based on the above method, when the latency of the data required by the service is low, or the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame is low, or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame is low, or the error correction capability of the encoding method of the first Bluetooth data frame is weak, the proportion of the first pilot in the first Bluetooth data frame can be appropriately increased to improve the receiving performance of the Bluetooth receiver. If a larger latency can be tolerated, or the transmission power of the Bluetooth transmitting device for transmitting the first Bluetooth data frame is high, or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame is high, or the error correction capability of the encoding method of the first Bluetooth data frame is strong, the proportion of the first pilot in the first Bluetooth data frame can be appropriately reduced to reduce signaling overhead while ensuring the receiving performance of the Bluetooth receiving device.
[0044] One possible implementation is that the N first pilots may be the same or different. Based on the above method, the first pilots can be flexibly set.
[0045] In one possible implementation, before the Bluetooth receiving device receives a first Bluetooth data frame from the Bluetooth transmitting device, the method further includes: the Bluetooth receiving device receiving a second Bluetooth data frame from the Bluetooth transmitting device, the second Bluetooth data frame being different from the first Bluetooth data frame; the Bluetooth receiving device negotiating the frame format of the Bluetooth data frames between the Bluetooth receiving device and the Bluetooth transmitting device based on a third parameter, wherein the third parameter is used to indicate the signal quality of the second Bluetooth data frame or the signal strength of the interference signal. Based on the above method, the Bluetooth receiving device can dynamically adjust the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device according to the signal quality of the second Bluetooth data frame or the signal strength of the interference signal negotiated with the Bluetooth transmitting device.
[0046] One possible implementation involves the Bluetooth receiving device negotiating the frame format of Bluetooth data frames between itself and the Bluetooth transmitting device based on a third parameter. This includes: the Bluetooth receiving device sending first information to the Bluetooth transmitting device, requesting a switch in the frame format of Bluetooth data frames transmitted between them; and the Bluetooth receiving device receiving second information from the Bluetooth transmitting device, instructing a switch to the frame format of the first Bluetooth data frames transmitted between them. Based on this method, the Bluetooth receiving device can trigger frame format negotiation with the Bluetooth transmitting device, dynamically adjusting the frame format of Bluetooth data frames transmitted between them. This allows the Bluetooth transmitting and receiving devices to communicate using a suitable frame format, improving the success rate of data reception while reducing power consumption and extending their operating time.
[0047] One possible implementation is that the second Bluetooth data frame includes a second preamble, a second access code, a second synchronization code, and a second data field. A third parameter is used to indicate the signal quality of the second Bluetooth data frame. If the third parameter is greater than or equal to a preset third threshold, first information is used to request a reduction in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter. If the third parameter is less than the preset third threshold, first information is used to request an increase in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter. Based on the above method, when the signal quality of the second Bluetooth data frame is good, the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter can be reduced, thereby reducing the power consumption of the Bluetooth transmitter and the Bluetooth receiver and extending their usage time. When the signal quality of the second Bluetooth data frame is poor, the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter can be increased, thereby improving the success rate of data reception by the Bluetooth receiver.
[0048] One possible implementation involves the Bluetooth receiving device negotiating the frame format of Bluetooth data frames between itself and the Bluetooth transmitting device based on a third parameter. This includes: the Bluetooth receiving device receiving first information from the Bluetooth transmitting device, which requests a switch in the frame format of Bluetooth data frames transmitted between them; and the Bluetooth receiving device sending second information to the Bluetooth transmitting device, which instructs the switching of the frame format of Bluetooth data frames transmitted between them to the first Bluetooth data frame format. Based on this method, the Bluetooth transmitting device can trigger frame format negotiation with the Bluetooth receiving device, dynamically adjusting the frame format of Bluetooth data frames transmitted between them. This allows the Bluetooth transmitting and receiving devices to communicate using a suitable frame format, improving the success rate of data reception while reducing power consumption and extending their operating time.
[0049] One possible implementation involves a third parameter indicating the signal strength of the interference signal. If the third parameter is greater than or equal to a preset fourth threshold, the first information requests an increase in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and transmitter. If the third parameter is less than the preset fourth threshold, the first information requests a decrease in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and transmitter. Based on this method, when the interference signal strength is low, the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and transmitter can be reduced, thereby reducing the power consumption of the Bluetooth transmitter and receiver and extending their usage time. Conversely, when the interference signal strength is high, the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and transmitter can be increased, improving the success rate of data reception by the Bluetooth receiver.
[0050] Thirdly, embodiments of this application provide a Bluetooth transmitting device, which includes: a processing module and a transceiver module; the processing module is used to generate a first Bluetooth data frame, the first Bluetooth data frame including a first access code, a first synchronization code and a first data field; wherein, the first synchronization code is located before the first data field, and at least one of the autocorrelation or cross-correlation of the first synchronization code is better than the first access code; the transceiver module is used to send the first Bluetooth data frame to a Bluetooth receiving device.
[0051] One possible implementation is that the first synchronization code is a pseudo-random sequence.
[0052] One possible implementation is that the first synchronization code is an m-sequence, a gold sequence, or a kasami sequence.
[0053] In one possible implementation, the processing module is further configured to acquire a first parameter, which indicates at least one of the requirements of the Bluetooth service or the communication parameters of the Bluetooth communication; the processing module is further configured to determine the length of the first synchronization code based on the first parameter, the length of the first synchronization code being related to the autocorrelation or cross-correlation of the first synchronization code.
[0054] One possible implementation is that if the first parameter is greater than or equal to the first threshold, the length of the first synchronization code is greater than or equal to the first length; if the first parameter is less than or equal to the preset second threshold, the length of the first synchronization code is less than or equal to the second length; wherein the first parameter is used to indicate one of the following parameters: data retransmission rate, reliability of data required by the service, transmission distance of the first Bluetooth data frame, or signal strength of interference signal received by the Bluetooth receiver.
[0055] One possible implementation is that if the first parameter is less than or equal to the first threshold, the length of the first synchronization code is greater than or equal to the first length; if the first parameter is greater than or equal to the preset second threshold, the length of the first synchronization code is less than or equal to the second length; wherein the first parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmit power of the Bluetooth transmitting device to transmit the first Bluetooth data frame, or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame.
[0056] In one possible implementation, the processing module is further configured to negotiate a first random number with the Bluetooth receiving device, the first random number being used to determine a first synchronization code from a first synchronization code set, the first synchronization code set including at least one synchronization code.
[0057] One possible implementation is that the processing module is specifically used to receive third information from the Bluetooth receiving device through the transceiver module, the third information being used to negotiate a first random number; the processing module is also specifically used to send fourth information to the Bluetooth receiving device through the transceiver module, the fourth information being used to indicate the first random number.
[0058] One possible implementation is that the processing module is specifically used to send third information to the Bluetooth receiving device through the transceiver module, the third information being used to negotiate a first random number; the processing module is also specifically used to receive fourth information from the Bluetooth receiving device through the transceiver module, the fourth information being used to indicate the first random number.
[0059] One possible implementation is that the number of Bluetooth devices around the Bluetooth receiver and / or Bluetooth transmitter is greater than or equal to a preset first value, and the number of synchronization codes in the first synchronization code set is greater than or equal to a preset second value.
[0060] In one possible implementation, the processing module is further configured to negotiate a second random number with the Bluetooth receiver, the second random number being used to determine a first time interval, the first time interval being the time interval for updating the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter.
[0061] One possible implementation is that the first Bluetooth data frame also includes N first pilots, where the first pilots are pilots with known phases and N is a positive integer.
[0062] One possible implementation is that, in the first Bluetooth data frame, the first pilot is inserted into at least one of the following: the first access code, the first synchronization code, or the first data field.
[0063] In one possible implementation, the processing module is further configured to acquire a second parameter, which indicates at least one of the requirements of the Bluetooth service or the communication parameters of the Bluetooth communication; the processing module is further configured to determine the proportion of the first pilot to the first Bluetooth data frame based on the second parameter.
[0064] One possible implementation is that if the second parameter is greater than or equal to a preset fifth threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a third proportion; if the second parameter is less than or equal to a preset sixth threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a fourth proportion; wherein the second parameter is used to indicate one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth receiver.
[0065] One possible implementation is that if the third parameter is less than or equal to a preset fifth threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to the third proportion; if the second parameter is greater than or equal to a preset sixth threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to the fourth proportion; wherein, the second parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmission power of the Bluetooth transmitting device in transmitting the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame.
[0066] One possible implementation is that the N first pilots are the same or different.
[0067] In one possible implementation, the transceiver module is further configured to send a second Bluetooth data frame to the Bluetooth receiving device, the second Bluetooth data frame being different from the first Bluetooth data frame; the processing module is further configured to negotiate with the Bluetooth receiving device, based on a third parameter, the frame format of the Bluetooth data frame transmitted between the Bluetooth receiving device and the Bluetooth transmitting device, the third parameter being used to indicate the signal quality of the second Bluetooth data frame or the signal strength of the interference signal.
[0068] One possible implementation is a processing module, specifically configured to receive first information from a Bluetooth receiving device via a transceiver module, the first information being used to request a switch in the frame format of Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device; the processing module is also specifically configured to send second information to the Bluetooth receiving device via the transceiver module, the second information being used to instruct the frame format of Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device to be switched to the frame format of the first Bluetooth data frame.
[0069] One possible implementation is that the second Bluetooth data frame includes a second access code, a second synchronization code, and a second data field. A third parameter is used to indicate the signal quality of the second Bluetooth data frame. If the third parameter is greater than or equal to a preset third threshold, the first information is used to request a reduction in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter. If the third parameter is less than the preset third threshold, the first information is used to request an increase in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter.
[0070] One possible implementation is a processing module, specifically configured to send first information to a Bluetooth receiving device via a transceiver module, the first information being used to request a switch in the frame format of Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device; the processing module is also specifically configured to receive second information from the Bluetooth receiving device via the transceiver module, the second information being used to instruct the frame format of Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device to be switched to the frame format of the first Bluetooth data frame.
[0071] One possible implementation is that the third parameter is used to indicate the signal strength of the interference signal. If the third parameter is greater than or equal to a preset fourth threshold, the first information is used to request an increase in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter. If the third parameter is less than the preset fourth threshold, the first information is used to request a decrease in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter.
[0072] Fourthly, embodiments of this application provide a Bluetooth receiving device, which includes: a transceiver module and a processing module; the transceiver module is configured to receive a first Bluetooth data frame from a Bluetooth transmitting device, the first Bluetooth data frame including a first access code, a first synchronization code, and a first data field; wherein the first synchronization code is located before the first data field, and at least one of the autocorrelation or cross-correlation of the first synchronization code is better than the first access code; the processing module is configured to perform synchronization detection based on the first synchronization code.
[0073] One possible implementation is that the first synchronization code is a pseudo-random sequence.
[0074] One possible implementation is that the first synchronization code is an m-sequence, a gold sequence, or a kasami sequence.
[0075] One possible implementation is that if the first parameter is greater than or equal to the first threshold, the length of the first synchronization code is greater than or equal to the first length; if the first parameter is less than or equal to the preset second threshold, the length of the first synchronization code is less than or equal to the second length; wherein the first parameter is used to indicate one of the following parameters: data retransmission rate, reliability of data required by the service, transmission distance of the first Bluetooth data frame, or signal strength of interference signal received by the Bluetooth receiver.
[0076] One possible implementation is that if the first parameter is less than or equal to the first threshold, the length of the first synchronization code is greater than or equal to the first length; if the first parameter is greater than or equal to the preset second threshold, the length of the first synchronization code is less than or equal to the second length; wherein the first parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmit power of the Bluetooth transmitting device to transmit the first Bluetooth data frame, or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame.
[0077] In one possible implementation, the processing module is further configured to negotiate a first random number with the Bluetooth transmitting device, the first random number being used to determine a first synchronization code from a first synchronization code set, the first synchronization code set including at least one synchronization code.
[0078] One possible implementation is that the processing module is specifically used to send third information to the Bluetooth transmitting device through the transceiver module, the third information being used to negotiate a first random number; the processing module is also specifically used to receive fourth information from the Bluetooth transmitting device through the transceiver module, the fourth information being used to indicate the first random number.
[0079] One possible implementation is that the processing module is specifically used to receive third information from the Bluetooth transmitting device through the transceiver module, the third information being used to negotiate a first random number; the processing module is also specifically used to send fourth information to the Bluetooth transmitting device through the transceiver module, the fourth information being used to indicate the first random number.
[0080] One possible implementation is that the number of Bluetooth devices around the Bluetooth receiver and / or Bluetooth transmitter is greater than or equal to a preset first value, and the number of synchronization codes in the first synchronization code set is greater than or equal to a preset second value.
[0081] In one possible implementation, the processing module is further configured to negotiate a second random number with the Bluetooth transmitting device. The second random number is used to determine a first time interval, which is the time interval for updating the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device.
[0082] One possible implementation is that the first Bluetooth data frame also includes N first pilots, where the first pilots are pilots with known phases and N is a positive integer.
[0083] One possible implementation is that, in the first Bluetooth data frame, the first pilot is inserted into at least one of the following: the first access code, the first synchronization code, or the first data field.
[0084] One possible implementation is that if the second parameter is greater than or equal to a preset fifth threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a third proportion; if the second parameter is less than or equal to a preset sixth threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a fourth proportion; wherein the second parameter is used to indicate one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth receiver.
[0085] One possible implementation is that if the second parameter is less than or equal to a preset fifth threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a third proportion; if the second parameter is greater than or equal to a preset sixth threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a fourth proportion; wherein the second parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmit power of the Bluetooth transmitting device in transmitting the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame.
[0086] One possible implementation is that the N first pilots are the same or different.
[0087] In one possible implementation, the transceiver module is further configured to receive a second Bluetooth data frame from the Bluetooth transmitter, the second Bluetooth data frame being different from the first Bluetooth data frame; the processing module is further configured to negotiate the frame format of the Bluetooth data frame between the Bluetooth receiver and the Bluetooth transmitter with the Bluetooth transmitter according to a third parameter, the third parameter being used to indicate the signal quality of the second Bluetooth data frame or the signal strength of the interference signal.
[0088] One possible implementation is that the processing module is specifically used to send first information to the Bluetooth transmitting device through the transceiver module. The first information is used to request a switch in the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. The processing module is also specifically used to receive second information from the Bluetooth transmitting device through the transceiver module. The second information is used to instruct the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device to be switched to the frame format of the first Bluetooth data frame.
[0089] One possible implementation is that the second Bluetooth data frame includes a second preamble, a second access code, a second synchronization code, and a second data field. A third parameter is used to indicate the signal quality of the second Bluetooth data frame. If the third parameter is greater than or equal to a preset third threshold, the first information is used to request a reduction in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter. If the third parameter is less than the preset third threshold, the first information is used to request an increase in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter.
[0090] One possible implementation is that the processing module is specifically configured to receive first information from the Bluetooth transmitting device through the transceiver module, the first information being used to request a switch in the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device; the processing module is also specifically configured to send second information to the Bluetooth transmitting device through the transceiver module, the second information being used to instruct the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device to be switched to the frame format of the first Bluetooth data frame.
[0091] One possible implementation involves a third parameter indicating the signal strength of the interference signal. If the third parameter is greater than or equal to a preset fourth threshold, the first information requests an increase in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and transmitter. If the third parameter is less than the preset fourth threshold, the first information requests a decrease in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and transmitter. Based on this method, when the interference signal strength is low, the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and transmitter can be reduced, thereby reducing the power consumption of the Bluetooth transmitter and receiver and extending their usage time. Conversely, when the interference signal strength is high, the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and transmitter can be increased, improving the success rate of data reception by the Bluetooth receiver.
[0092] Fifthly, embodiments of this application provide a Bluetooth transmitting device, the device comprising: a processor and a transceiver; the processor being configured to generate a first Bluetooth data frame, the first Bluetooth data frame including a first access code, a first synchronization code, and a first data field; wherein the first synchronization code is located before the first data field, and at least one of the autocorrelation or cross-correlation of the first synchronization code is superior to the first access code; the transceiver being configured to transmit the first Bluetooth data frame to a Bluetooth receiving device.
[0093] One possible implementation is that the first synchronization code is a pseudo-random sequence.
[0094] One possible implementation is that the first synchronization code is an m-sequence, a gold sequence, or a kasami sequence.
[0095] In one possible implementation, the processor is further configured to acquire a first parameter, the first parameter being used to indicate at least one of the requirements of the Bluetooth service or the communication parameters of the Bluetooth communication; the processor is further configured to determine the length of a first synchronization code based on the first parameter, the length of the first synchronization code being related to the autocorrelation or cross-correlation of the first synchronization code.
[0096] One possible implementation is that if the first parameter is greater than or equal to the first threshold, the length of the first synchronization code is greater than or equal to the first length; if the first parameter is less than or equal to the preset second threshold, the length of the first synchronization code is less than or equal to the second length; wherein the first parameter is used to indicate one of the following parameters: data retransmission rate, reliability of data required by the service, transmission distance of the first Bluetooth data frame, or signal strength of interference signal received by the Bluetooth receiver.
[0097] One possible implementation is that if the first parameter is less than or equal to the first threshold, the length of the first synchronization code is greater than or equal to the first length; if the first parameter is greater than or equal to the preset second threshold, the length of the first synchronization code is less than or equal to the second length; wherein the first parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmit power of the Bluetooth transmitting device to transmit the first Bluetooth data frame, or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame.
[0098] In one possible implementation, the processor is further configured to negotiate a first random number with a Bluetooth receiver, the first random number being used to determine a first synchronization code from a first set of synchronization codes, the first set of synchronization codes including at least one synchronization code.
[0099] One possible implementation is that the processor is specifically configured to receive third information from the Bluetooth receiving device via a transceiver, the third information being used to negotiate a first random number; the processor is also specifically configured to send fourth information to the Bluetooth receiving device via the transceiver, the fourth information being used to indicate the first random number.
[0100] One possible implementation is that the processor is specifically configured to send third information to the Bluetooth receiving device via a transceiver, the third information being used to negotiate a first random number; the processor is also specifically configured to receive fourth information from the Bluetooth receiving device via a transceiver, the fourth information being used to indicate the first random number.
[0101] One possible implementation is that the number of Bluetooth devices around the Bluetooth receiver and / or Bluetooth transmitter is greater than or equal to a preset first value, and the number of synchronization codes in the first synchronization code set is greater than or equal to a preset second value.
[0102] In one possible implementation, the processor is further configured to negotiate a second random number with the Bluetooth receiver, the second random number being used to determine a first time interval, the first time interval being the time interval for updating the synchronization code in Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter.
[0103] One possible implementation is that the first Bluetooth data frame also includes N first pilots, where the first pilots are pilots with known phases and N is a positive integer.
[0104] One possible implementation is that, in the first Bluetooth data frame, the first pilot is inserted into at least one of the following: the first access code, the first synchronization code, or the first data field.
[0105] In one possible implementation, the processor is further configured to acquire a second parameter, which indicates at least one of the requirements of the Bluetooth service or the communication parameters of the Bluetooth communication; the processor is further configured to determine the proportion of the first pilot to the first Bluetooth data frame based on the second parameter.
[0106] One possible implementation is that if the second parameter is greater than or equal to a preset fifth threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a third proportion; if the second parameter is less than or equal to a preset sixth threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a fourth proportion; wherein the second parameter is used to indicate one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth receiver.
[0107] One possible implementation is that if the third parameter is less than or equal to a preset fifth threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to the third proportion; if the second parameter is greater than or equal to a preset sixth threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to the fourth proportion; wherein, the second parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmission power of the Bluetooth transmitting device in transmitting the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame.
[0108] One possible implementation is that the N first pilots are the same or different.
[0109] In one possible implementation, the transceiver is further configured to send a second Bluetooth data frame to the Bluetooth receiving device, the second Bluetooth data frame being different from the first Bluetooth data frame; the processor is further configured to negotiate with the Bluetooth receiving device, based on a third parameter, the frame format of the Bluetooth data frame transmitted between the Bluetooth receiving device and the Bluetooth transmitting device, the third parameter being used to indicate the signal quality of the second Bluetooth data frame or the signal strength of the interference signal.
[0110] One possible implementation is that the processor is specifically configured to receive first information from a Bluetooth receiving device via a transceiver, the first information being used to request a switch in the frame format of Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device; the processor is also specifically configured to send second information to the Bluetooth receiving device via the transceiver, the second information being used to instruct the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device to be switched to the frame format of the first Bluetooth data frame.
[0111] One possible implementation is that the second Bluetooth data frame includes a second access code, a second synchronization code, and a second data field. A third parameter is used to indicate the signal quality of the second Bluetooth data frame. If the third parameter is greater than or equal to a preset third threshold, the first information is used to request a reduction in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter. If the third parameter is less than the preset third threshold, the first information is used to request an increase in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter.
[0112] One possible implementation is that the processor is specifically configured to send first information to the Bluetooth receiving device via a transceiver, the first information being used to request a switch in the frame format of Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device; the processor is also specifically configured to receive second information from the Bluetooth receiving device via the transceiver, the second information being used to instruct the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device to be switched to the frame format of the first Bluetooth data frame.
[0113] One possible implementation is that the third parameter is used to indicate the signal strength of the interference signal. If the third parameter is greater than or equal to a preset fourth threshold, the first information is used to request an increase in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter. If the third parameter is less than the preset fourth threshold, the first information is used to request a decrease in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter.
[0114] In a sixth aspect, embodiments of this application provide a Bluetooth receiving device, the device comprising: a transceiver and a processor; the transceiver being configured to receive a first Bluetooth data frame from a Bluetooth transmitting device, the first Bluetooth data frame including a first access code, a first synchronization code, and a first data field; wherein the first synchronization code is located before the first data field, and at least one of the autocorrelation or cross-correlation of the first synchronization code is superior to the first access code; the processor being configured to perform synchronization detection based on the first synchronization code.
[0115] One possible implementation is that the first synchronization code is a pseudo-random sequence.
[0116] One possible implementation is that the first synchronization code is an m-sequence, a gold sequence, or a kasami sequence.
[0117] One possible implementation is that if the first parameter is greater than or equal to the first threshold, the length of the first synchronization code is greater than or equal to the first length; if the first parameter is less than or equal to the preset second threshold, the length of the first synchronization code is less than or equal to the second length; wherein the first parameter is used to indicate one of the following parameters: data retransmission rate, reliability of data required by the service, transmission distance of the first Bluetooth data frame, or signal strength of interference signal received by the Bluetooth receiver.
[0118] One possible implementation is that if the first parameter is less than or equal to the first threshold, the length of the first synchronization code is greater than or equal to the first length; if the first parameter is greater than or equal to the preset second threshold, the length of the first synchronization code is less than or equal to the second length; wherein the first parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmit power of the Bluetooth transmitting device to transmit the first Bluetooth data frame, or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame.
[0119] In one possible implementation, the processor is further configured to negotiate a first random number with the Bluetooth transmitting device, the first random number being used to determine a first synchronization code from a first synchronization code set, the first synchronization code set including at least one synchronization code.
[0120] One possible implementation is that the processor is specifically configured to send third information to the Bluetooth transmitting device via a transceiver, the third information being used to negotiate a first random number; the processor is also specifically configured to receive fourth information from the Bluetooth transmitting device via a transceiver, the fourth information being used to indicate the first random number.
[0121] One possible implementation is that the processor is specifically configured to receive third information from the Bluetooth transmitting device via a transceiver, the third information being used to negotiate a first random number; the processor is also specifically configured to send fourth information to the Bluetooth transmitting device via the transceiver, the fourth information being used to indicate the first random number.
[0122] One possible implementation is that the number of Bluetooth devices around the Bluetooth receiver and / or Bluetooth transmitter is greater than or equal to a preset first value, and the number of synchronization codes in the first synchronization code set is greater than or equal to a preset second value.
[0123] In one possible implementation, the processor is further configured to negotiate a second random number with the Bluetooth transmitter, the second random number being used to determine a first time interval, the first time interval being the time interval for updating the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter.
[0124] One possible implementation is that the first Bluetooth data frame also includes N first pilots, where the first pilots are pilots with known phases and N is a positive integer.
[0125] One possible implementation is that, in the first Bluetooth data frame, the first pilot is inserted into at least one of the following: the first access code, the first synchronization code, or the first data field.
[0126] One possible implementation is that if the second parameter is greater than or equal to a preset fifth threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a third proportion; if the second parameter is less than or equal to a preset sixth threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a fourth proportion; wherein the second parameter is used to indicate one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth receiver.
[0127] One possible implementation is that if the second parameter is less than or equal to a preset fifth threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a third proportion; if the second parameter is greater than or equal to a preset sixth threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a fourth proportion; wherein the second parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmit power of the Bluetooth transmitting device in transmitting the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame.
[0128] One possible implementation is that the N first pilots are the same or different.
[0129] In one possible implementation, the transceiver is further configured to receive a second Bluetooth data frame from the Bluetooth transmitting device, the second Bluetooth data frame being different from the first Bluetooth data frame; the processor is further configured to negotiate the frame format of the Bluetooth data frame between the Bluetooth receiving device and the Bluetooth transmitting device according to a third parameter, the third parameter being used to indicate the signal quality of the second Bluetooth data frame or the signal strength of the interference signal.
[0130] One possible implementation is that the processor is specifically configured to send first information to the Bluetooth transmitting device via a transceiver, the first information being used to request a switch in the frame format of Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device; the processor is also specifically configured to receive second information from the Bluetooth transmitting device via the transceiver, the second information being used to instruct the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device to be switched to the frame format of the first Bluetooth data frame.
[0131] One possible implementation is that the second Bluetooth data frame includes a second preamble, a second access code, a second synchronization code, and a second data field. A third parameter is used to indicate the signal quality of the second Bluetooth data frame. If the third parameter is greater than or equal to a preset third threshold, the first information is used to request a reduction in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter. If the third parameter is less than the preset third threshold, the first information is used to request an increase in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter.
[0132] One possible implementation is that the processor is specifically configured to receive first information from the Bluetooth transmitting device via a transceiver, the first information being used to request a switch in the frame format of Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device; the processor is also specifically configured to send second information to the Bluetooth transmitting device via the transceiver, the second information being used to instruct the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device to be switched to the frame format of the first Bluetooth data frame.
[0133] One possible implementation involves a third parameter indicating the signal strength of the interference signal. If the third parameter is greater than or equal to a preset fourth threshold, the first information requests an increase in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and transmitter. If the third parameter is less than the preset fourth threshold, the first information requests a decrease in the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and transmitter. Based on this method, when the interference signal strength is low, the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and transmitter can be reduced, thereby reducing the power consumption of the Bluetooth transmitter and receiver and extending their usage time. Conversely, when the interference signal strength is high, the length of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiver and transmitter can be increased, improving the success rate of data reception by the Bluetooth receiver.
[0134] In a seventh aspect, embodiments of this application provide a Bluetooth transmitting device, comprising: a processor coupled to a memory, the memory being used to store programs or instructions, wherein when the programs or instructions are executed by the processor, the device enables the method described in the first aspect or any possible implementation thereof.
[0135] Eighthly, embodiments of this application provide a Bluetooth receiving device, including: a processor coupled to a memory, the memory being used to store programs or instructions, which, when executed by the processor, cause the device to implement the method described in the second aspect above, or any possible implementation of the second aspect.
[0136] Ninthly, embodiments of this application provide a computer-readable medium having a computer program or instructions stored thereon, which, when executed, cause a computer to perform the method described in the first aspect or any possible implementation thereof.
[0137] In a tenth aspect, embodiments of this application provide a computer-readable medium having a computer program or instructions stored thereon, which, when executed, cause a computer to perform the method described in the second aspect above, or any possible implementation thereof.
[0138] Eleventhly, embodiments of this application provide a computer program product, which includes computer program code. When the computer program code is run on a computer, it causes the computer to perform the method described in the first aspect or any possible implementation of the first aspect.
[0139] In a twelfth aspect, embodiments of this application provide a computer program product comprising computer program code, which, when executed on a computer, causes the computer to perform the methods described in the second aspect above, or any possible implementation thereof.
[0140] In a thirteenth aspect, embodiments of this application provide a chip, including: a processor coupled to a memory, the memory being used to store programs or instructions, wherein when the program or instructions are executed by the processor, the chip causes the chip to implement the method described in the first aspect above, or any possible implementation of the first aspect.
[0141] In a fourteenth aspect, embodiments of this application provide a chip, including: a processor coupled to a memory, the memory being used to store programs or instructions, wherein when the program or instructions are executed by the processor, the chip causes the chip to implement the method described in the second aspect above, or any possible implementation of the second aspect.
[0142] In a fifteenth aspect, embodiments of this application provide a communication system. This system includes the apparatus described in the third aspect and / or the apparatus described in the fourth aspect, or the system includes the apparatus described in the fifth aspect and / or the apparatus described in the sixth aspect, or the system includes the apparatus described in the seventh aspect and / or the apparatus described in the eighth aspect, or the system includes the chip described in the thirteenth aspect and / or the chip described in the fourteenth aspect.
[0143] It is understood that any of the Bluetooth transmitting devices, Bluetooth receiving devices, chips, computer-readable media, computer program products or communication systems provided above are used to perform the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods, and will not be repeated here.
[0144] In a sixteenth aspect, embodiments of this application provide a Bluetooth communication method, the method comprising: a Bluetooth transmitting device generating a first Bluetooth data frame, and the Bluetooth transmitting device transmitting the first Bluetooth data frame to a Bluetooth receiving device. The first Bluetooth data frame includes a first access code, a first data field, and N first pilots, wherein the first pilots are pilots with known phases, N is a positive integer, and the first pilots are used to detect at least one of the channel phase or channel amplitude of the channel through which the first Bluetooth data frame is transmitted.
[0145] Based on the method provided in the sixteenth aspect above, N first pilot signals with known phases can be inserted into the first Bluetooth data frame. In this case, the Bluetooth receiving device can detect the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame based on the first pilot signals. On the one hand, this can improve the receiving performance of the Bluetooth receiving device; on the other hand, it also simplifies the process of detecting the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame.
[0146] One possible implementation is that, in the first Bluetooth data frame, a first pilot is inserted into at least one of the first access code or the first data field. Based on the above method, the reception performance of the Bluetooth receiving device can be improved, and the process of detecting the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame can be simplified.
[0147] One possible implementation further includes: a Bluetooth transmitting device acquiring a first parameter, and the Bluetooth transmitting device determining the proportion of a first pilot signal in a first Bluetooth data frame based on the first parameter. The first parameter indicates at least one of the requirements of a Bluetooth service or the communication parameters of Bluetooth communication. Based on the above method, the proportion of the first pilot signal in a first Bluetooth data frame can be determined according to the requirements of a Bluetooth service or at least one of the communication parameters of Bluetooth communication, thereby generating the first Bluetooth data frame.
[0148] One possible implementation is that if the first parameter is greater than or equal to a first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a first ratio; if the first parameter is less than or equal to a preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a second ratio. The first parameter indicates one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth receiver. Based on the above method, when the channel phase change of the channel used to transmit the first Bluetooth data frame is relatively fast, or the data retransmission rate is high, or the Bluetooth service requires high reliability, or the transmission distance of the first Bluetooth data frame is relatively long, or the signal strength of the interference signal received by the Bluetooth receiver is relatively high, the proportion of the first pilot in the first Bluetooth data frame can be appropriately increased to improve the receiving performance of the Bluetooth receiver. When the channel phase change of the channel used to transmit the first Bluetooth data frame is slow, or the data retransmission rate is low, or the reliability requirements of the Bluetooth service are not high, or the transmission distance of the first Bluetooth data frame is short, or the signal strength of the interference signal received by the Bluetooth receiver is low, the proportion of the first pilot in the first Bluetooth data frame can be appropriately reduced to reduce signaling overhead while ensuring the receiving performance of the Bluetooth receiver.
[0149] One possible implementation is that if the first parameter is less than or equal to a first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a first ratio; if the first parameter is greater than or equal to a preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a second ratio. The first parameter indicates one of the following parameters: the latency of the data required by the service, the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame. Based on the above method, when the latency of the data required by the service is small, or the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame is low, or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame is low, or the error correction capability of the encoding method of the first Bluetooth data frame is weak, the proportion of the first pilot in the first Bluetooth data frame can be appropriately increased to improve the receiving performance of the Bluetooth receiver. If a larger latency can be tolerated, or the transmission power of the Bluetooth transmitting device for transmitting the first Bluetooth data frame is high, or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame is high, or the error correction capability of the encoding method of the first Bluetooth data frame is strong, the proportion of the first pilot in the first Bluetooth data frame can be appropriately reduced to reduce signaling overhead while ensuring the receiving performance of the Bluetooth receiving device.
[0150] One possible implementation is that the N first pilots may be the same or different. Based on the above method, the first pilots can be flexibly set.
[0151] In a seventeenth aspect, embodiments of this application provide a Bluetooth communication method, the method comprising: a Bluetooth receiving device receiving a first Bluetooth data frame from a Bluetooth transmitting device, the first Bluetooth data frame including a first access code, a first data field and N first pilots, the first pilots being pilots with known phases, and N being a positive integer; the Bluetooth receiving device detecting at least one of the channel phase or channel amplitude of a channel used to transmit the first Bluetooth data frame based on the first pilots.
[0152] Based on the method provided in the seventeenth aspect above, N first pilot signals with known phases can be inserted into the first Bluetooth data frame. In this case, the Bluetooth receiving device can detect the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame based on the first pilot signals. On the one hand, this can improve the receiving performance of the Bluetooth receiving device; on the other hand, it also simplifies the process of detecting the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame.
[0153] One possible implementation is that, in the first Bluetooth data frame, the first pilot is inserted into at least one of the following: a first access code or a first data field. Based on the above method, the reception performance of the Bluetooth receiving device can be improved, and the process of detecting the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame can be simplified.
[0154] One possible implementation is that if the first parameter is greater than or equal to a first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a first ratio; if the first parameter is less than or equal to a preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a second ratio. The first parameter indicates one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth receiver. Based on the above method, when the channel phase change of the channel used to transmit the first Bluetooth data frame is relatively fast, or the data retransmission rate is high, or the Bluetooth service requires high reliability, or the transmission distance of the first Bluetooth data frame is relatively long, or the signal strength of the interference signal received by the Bluetooth receiver is relatively high, the proportion of the first pilot in the first Bluetooth data frame can be appropriately increased to improve the receiving performance of the Bluetooth receiver. When the channel phase change of the channel used to transmit the first Bluetooth data frame is slow, or the data retransmission rate is low, or the reliability requirements of the Bluetooth service are not high, or the transmission distance of the first Bluetooth data frame is short, or the signal strength of the interference signal received by the Bluetooth receiver is low, the proportion of the first pilot in the first Bluetooth data frame can be appropriately reduced to reduce signaling overhead while ensuring the receiving performance of the Bluetooth receiver.
[0155] One possible implementation is that if the first parameter is less than or equal to a first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a first ratio; if the first parameter is greater than or equal to a preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a second ratio. The first parameter indicates one of the following parameters: the latency of the data required by the service, the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame. Based on the above method, when the latency of the data required by the service is small, or the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame is low, or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame is low, or the error correction capability of the encoding method of the first Bluetooth data frame is weak, the proportion of the first pilot in the first Bluetooth data frame can be appropriately increased to improve the receiving performance of the Bluetooth receiver. If a larger latency can be tolerated, or the transmission power of the Bluetooth transmitting device for transmitting the first Bluetooth data frame is high, or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame is high, or the error correction capability of the encoding method of the first Bluetooth data frame is strong, the proportion of the first pilot in the first Bluetooth data frame can be appropriately reduced to reduce signaling overhead while ensuring the receiving performance of the Bluetooth receiving device.
[0156] One possible implementation is that the N first pilots may be the same or different. Based on the above method, the first pilots can be flexibly set.
[0157] Eighteenthly, embodiments of this application provide a Bluetooth transmitting device, which includes: a processing module and a transceiver module; the processing module is configured to determine a first Bluetooth data frame, the first Bluetooth data frame including a first access code, a first data field and N first pilots, the first pilots being pilots with known phases, N being a positive integer, the first pilots being used to detect the channel phase and / or channel amplitude of the channel through which the first Bluetooth data frame is transmitted; the transceiver module is configured to transmit the first Bluetooth data frame to a Bluetooth receiving device.
[0158] One possible implementation is that, in the first Bluetooth data frame, the first pilot is inserted into at least one of the following: the first access code or the first data field.
[0159] In one possible implementation, the processing module is further configured to acquire a first parameter, which indicates at least one of the requirements of Bluetooth service or the communication parameters of Bluetooth communication; the processing module is further configured to determine the proportion of the first pilot to the first Bluetooth data frame based on the first parameter.
[0160] One possible implementation is that if the first parameter is greater than or equal to the first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to the first ratio; if the first parameter is less than or equal to the preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to the second ratio; wherein, the first parameter is used to indicate one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth receiving device.
[0161] One possible implementation is that if the first parameter is less than or equal to the first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to the first ratio; if the first parameter is greater than or equal to the preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to the second ratio; wherein, the first parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmit power of the Bluetooth communication device to send the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame.
[0162] One possible implementation is that the N first pilots are the same or different.
[0163] In a nineteenth aspect, embodiments of this application provide a Bluetooth receiving device, which includes: a transceiver module and a processing module; the transceiver module is configured to receive a first Bluetooth data frame from a Bluetooth transmitting device, the first Bluetooth data frame including a first access code, a first data field and N first pilots, the first pilots being pilots with known phases, and N being a positive integer; the processing module is configured to detect at least one of the channel phase or channel amplitude of the channel used to transmit the first Bluetooth data frame based on the first pilots.
[0164] One possible implementation is that, in the first Bluetooth data frame, the first pilot is inserted into at least one of the following: the first access code or the first data field.
[0165] One possible implementation is that if the first parameter is greater than or equal to the first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to the first ratio; if the first parameter is less than or equal to the preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to the second ratio; wherein, the first parameter is used to indicate one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth communication device.
[0166] One possible implementation is that if the first parameter is less than or equal to the first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to the first ratio; if the first parameter is greater than or equal to the preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to the second ratio; wherein, the first parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmit power of the Bluetooth transmitting device in transmitting the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame.
[0167] One possible implementation is that the N first pilots are the same or different.
[0168] In a twentieth aspect, embodiments of this application provide a Bluetooth transmitting device, comprising: a processor and a transceiver; the processor being configured to determine a first Bluetooth data frame, the first Bluetooth data frame including a first access code, a first data field and N first pilots, the first pilots being pilots with known phases, N being a positive integer, the first pilots being used to detect at least one of the channel phase or channel amplitude of the channel through which the first Bluetooth data frame is transmitted; and the transceiver being coupled to the processor and configured to transmit the first Bluetooth data frame to a Bluetooth receiving device.
[0169] One possible implementation is that, in the first Bluetooth data frame, the first pilot is inserted into at least one of the following: the first access code or the first data field.
[0170] In one possible implementation, the processor is further configured to acquire a first parameter, the first parameter being used to indicate at least one of the requirements of Bluetooth service or the communication parameters of Bluetooth communication; the processor is further configured to determine the proportion of the first pilot to the first Bluetooth data frame based on the first parameter.
[0171] One possible implementation is that if the first parameter is greater than or equal to the first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to the first ratio; if the first parameter is less than or equal to the preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to the second ratio; wherein, the first parameter is used to indicate one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth receiving device.
[0172] One possible implementation is that if the first parameter is less than or equal to the first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to the first ratio; if the first parameter is greater than or equal to the preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to the second ratio; wherein, the first parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmit power of the Bluetooth communication device to send the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame.
[0173] One possible implementation is that the N first pilots are the same or different.
[0174] In a twentieth aspect, embodiments of this application provide a Bluetooth receiving device, comprising: a transceiver and a processor; the transceiver being configured to receive a first Bluetooth data frame from a Bluetooth transmitting device, the first Bluetooth data frame including a first access code, a first data field and N first pilots, the first pilots being pilots with known phases, and N being a positive integer; the processor being configured to detect, based on the first pilots, at least one of the channel phase or channel amplitude of a channel used to transmit the first Bluetooth data frame.
[0175] One possible implementation is that, in the first Bluetooth data frame, the first pilot is inserted into at least one of the following: the first access code or the first data field.
[0176] One possible implementation is that if the first parameter is greater than or equal to the first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to the first ratio; if the first parameter is less than or equal to the preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to the second ratio; wherein, the first parameter is used to indicate one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth communication device.
[0177] One possible implementation is that if the first parameter is less than or equal to the first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to the first ratio; if the first parameter is greater than or equal to the preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to the second ratio; wherein, the first parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmit power of the Bluetooth transmitting device in transmitting the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame.
[0178] One possible implementation is that the N first pilots are the same or different.
[0179] In a twentieth aspect, embodiments of this application provide a Bluetooth transmitting device, comprising: a processor coupled to a memory for storing programs or instructions, wherein when the programs or instructions are executed by the processor, the device implements the method described in the sixteenth aspect above, or any possible implementation thereof.
[0180] In a twentieth aspect, embodiments of this application provide a Bluetooth receiving device, comprising: a processor coupled to a memory, the memory being used to store programs or instructions, wherein when the programs or instructions are executed by the processor, the device enables the method described in the seventeenth aspect above, or any possible implementation thereof.
[0181] In a twentieth aspect, embodiments of this application provide a computer-readable medium having a computer program or instructions stored thereon, which, when executed, cause a computer to perform the method described in the sixteenth aspect or any possible implementation thereof.
[0182] In a twentieth aspect, embodiments of this application provide a computer-readable medium having a computer program or instructions stored thereon, which, when executed, cause a computer to perform the method described in the seventeenth aspect or any possible implementation thereof.
[0183] In a twentieth aspect, embodiments of this application provide a computer program product comprising computer program code, which, when executed on a computer, causes the computer to perform the methods described in the sixteenth aspect or any possible implementation thereof.
[0184] In a twentieth aspect, embodiments of this application provide a computer program product comprising computer program code, which, when executed on a computer, causes the computer to perform the method described in the seventeenth aspect or any possible implementation thereof.
[0185] In a twentieth aspect, an embodiment of this application provides a chip, comprising: a processor coupled to a memory, the memory being used to store programs or instructions, wherein when the program or instructions are executed by the processor, the chip causes the chip to implement the method described in the sixteenth aspect above, or any possible implementation thereof.
[0186] In a twentieth aspect, an embodiment of this application provides a chip, comprising: a processor coupled to a memory, the memory being used to store programs or instructions, wherein when the program or instructions are executed by the processor, the chip causes the chip to implement the method described in the seventeenth aspect above, or any possible implementation thereof.
[0187] In a thirtieth aspect, embodiments of this application provide a communication system. This system includes the apparatus described in the eighteenth aspect and / or the apparatus described in the nineteenth aspect, or the system includes the apparatus described in the twentieth aspect and / or the apparatus described in the twenty-first aspect, or the system includes the apparatus described in the twenty-second aspect and / or the apparatus described in the twenty-third aspect, or the system includes the chip described in the twenty-eighth aspect and / or the chip described in the twenty-ninth aspect.
[0188] It is understood that any of the Bluetooth transmitting devices, Bluetooth receiving devices, chips, computer-readable media, computer program products or communication systems provided above are used to perform the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods, and will not be repeated here. Attached Figure Description
[0189] Figure 1 This is a schematic diagram of the communication system architecture provided in the embodiments of this application;
[0190] Figure 2 A schematic diagram of the autocorrelation curve of AC and the cross-correlation curve of AC and noise provided for embodiments of this application;
[0191] Figure 3 This is a schematic diagram of the hardware structure of the Bluetooth communication device provided in the embodiments of this application;
[0192] Figure 4 A flowchart illustrating a Bluetooth communication method provided in an embodiment of this application;
[0193] Figure 5 A schematic diagram illustrating the format of a first Bluetooth data frame provided in an embodiment of this application;
[0194] Figure 6 A schematic diagram of the autocorrelation curve of the first synchronization code and the cross-correlation curve of the first synchronization code and noise provided for embodiments of this application;
[0195] Figures 7-11 A flowchart illustrating another Bluetooth communication method provided in an embodiment of this application;
[0196] Figure 12 A schematic diagram illustrating another format of a first Bluetooth data frame provided in an embodiment of this application;
[0197] Figures 13-15 A flowchart illustrating another Bluetooth communication method provided in an embodiment of this application;
[0198] Figure 16A schematic diagram illustrating another format of a first Bluetooth data frame provided in an embodiment of this application;
[0199] Figure 17 This is a schematic diagram of the structure of a Bluetooth communication device provided in an embodiment of this application;
[0200] Figure 18 This is a schematic diagram of another Bluetooth communication device provided in an embodiment of this application. Detailed Implementation
[0201] The embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0202] The method provided in this application embodiment can be used in various Bluetooth communication systems. The following examples illustrate this method. Figure 1 Taking the communication system 10 shown as an example, the method provided in the embodiments of this application will be described.
[0203] like Figure 1 The diagram shown is a schematic diagram of the architecture of the communication system 10 provided in an embodiment of this application. Figure 1 In the communication system 10, the communication system 10 may include a Bluetooth communication device 101 and a Bluetooth communication device 102 that can communicate with the Bluetooth communication device 101 via Bluetooth. Figure 1 This is merely an illustrative diagram and does not constitute a limitation on the applicable scenarios of the technical solutions provided in this application.
[0204] Figure 1 The Bluetooth communication device, such as Bluetooth communication device 101 or Bluetooth communication device 102, is a device with Bluetooth wireless transceiver functionality. This Bluetooth communication device can be user equipment (UE), where the UE includes handheld devices, in-vehicle devices, wearable devices, or computing devices with Bluetooth wireless communication functionality. For example, the UE can be a mobile phone, tablet computer, or computer with Bluetooth wireless transceiver functionality. The Bluetooth communication device can also be a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in autonomous driving, a wireless terminal in telemedicine, a wireless terminal in a smart grid, a wireless terminal in a smart city, or a wireless terminal in a smart home, etc.
[0205] By way of example and not limitation, in this application, the Bluetooth communication device can be a wearable device. Wearable devices, also known as wearable smart devices, are a general term for devices that utilize wearable technology to intelligently design and develop everyday wearables, such as glasses, Bluetooth headsets, gloves, watches, clothing, and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothing or accessories. For example, wearable devices are not merely hardware devices, but also devices that achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include devices that are feature-rich, large in size, and can achieve complete or partial functions without relying on a smartphone, such as smartwatches or smart glasses, as well as devices that focus on only one type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.
[0206] In this application, the Bluetooth communication device can be a terminal in an Internet of Things (IoT) system. IoT is an important component of future information technology development, and its main technical feature is connecting objects to networks via communication technology, thereby realizing an intelligent network of human-machine interconnection and object-to-object interconnection. The Bluetooth communication device in this application can be a terminal in machine-type communication (MTC). The terminal in this application can be an on-board module, on-board component, on-board chip, or on-board unit built into a vehicle as one or more components or units. The vehicle can implement the methods of this application through the built-in on-board module, on-board component, on-board chip, or on-board unit.
[0207] exist Figure 1 In the communication system 10 shown, when Bluetooth communication device 101 wants to send data 1 to Bluetooth communication device 102, it sends Bluetooth data frame 1 to Bluetooth communication device 102. This Bluetooth data frame 1 includes a preamble, an AC (Acceptance Code), and data 1. Bluetooth communication device 102 performs synchronization detection. After successfully detecting the AC, it continues to receive data 1. If Bluetooth communication device 102 has not detected the AC by the end of Bluetooth data frame 1 transmission, synchronization fails, and Bluetooth data frame 1 is lost. In this case, Bluetooth communication device 102 will not receive data 1.
[0208] As described above, improving the success rate of synchronization detection by the Bluetooth communication device 102 is crucial for avoiding frame loss and improving data reception success rate. In this process, synchronization detection involves performing correlation calculations between Bluetooth data frame 1 and the locally stored AC. If the result is greater than or equal to a certain threshold, the AC is considered successfully detected. However, currently, ACs are user-generated identifiers according to certain rules, resulting in different ACs for different users. Limited by these generation rules, some ACs have poor autocorrelation performance, making them prone to false detections and missed detections under low signal-to-noise ratio or strong interference conditions. This leads to frame loss, reduces the success rate of synchronization detection by the Bluetooth communication device 102, and consequently affects the data reception success rate. False detection occurs when the signal has not yet arrived, but the Bluetooth communication device 102 incorrectly detects the AC and performs incorrect synchronization. Missed detection occurs when the actual signal has arrived, but the Bluetooth communication device 102 fails to detect the AC and cannot complete synchronization.
[0209] For example, such as Figure 2 The figure shows the autocorrelation curve of AC and a schematic diagram of the cross-correlation curve between AC and noise. Figure 2 In the diagram, curve 201 represents the cross-correlation between AC and pure noise, while curve 202 shows the distribution of the autocorrelation peak of AC in a noisy environment. The slanted area 203 represents the probability of a missed detection, and the vertical area 204 represents the probability of a false detection. Figure 2 As can be seen, as the power of the AC-carrying signal decreases, the area of the diagonal and vertical lines will become larger and larger, the success rate of synchronous detection of Bluetooth communication device 102 will decrease, and the success rate of data reception will also decrease.
[0210] To improve the success rate of data reception, this application provides a Bluetooth communication method that inserts a synchronization code into the Bluetooth data frame. At least one of the autocorrelation or cross-correlation properties of this synchronization code is superior to AC. Therefore, the success rate of synchronization detection by the Bluetooth communication device 102 can be improved, thereby increasing the success rate of data reception. A detailed description of this method will follow. Figure 4 , Figures 7-10 The examples shown are illustrated below.
[0211] Understandably, Bluetooth communication device 101 modulates Bluetooth data frame 1 onto a transmission signal, which, after being transmitted through the channel, reaches Bluetooth communication device 102. During transmission through the channel, the transmission signal is subject to various distortions, causing the signal received by Bluetooth communication device 102 to differ from the transmitted signal. Therefore, during signal reception, Bluetooth communication device 102 detects channel information, such as channel phase and channel amplitude, and uses this information to compensate and demodulate the received signal to obtain the correct demodulated information, i.e., Bluetooth data frame 1.
[0212] For example, taking the transmitted signal as s(t) and the received signal as r(t), where s(t) is affected by noise n(t), amplitude suppression a, and phase distortion φ(t) in the channel, the received signal satisfies the following relationship: r(t) = as(t)e jφ(t) +n(t). In this case, to obtain s(t), we can use channel detection to obtain φ(t) and a, and after compensation, phase distortion and amplitude suppression can be removed. Then, demodulating the compensated signal yields s(t).
[0213] In summary, for the Bluetooth communication device 102 to obtain correct demodulation information, it must first obtain accurate channel information. Current methods for detecting channel information generally have significant flaws. Therefore, when the Bluetooth communication device 102 uses channel information to compensate and demodulate the received signal, the resulting demodulated information has a large error compared to the information modulated onto the transmitted signal, thus affecting the receiving performance of the Bluetooth communication device 102.
[0214] To improve the receiving performance of the receiver, this application provides a Bluetooth communication method that inserts a pilot signal with a known phase into the Bluetooth data frame. This allows the receiver to accurately estimate the channel information based on the pilot signal, and then use the estimated channel information to compensate and demodulate the received signal, obtaining correct demodulated information, thereby improving the receiver's performance. A detailed description of this method follows. Figure 11 , Figures 13-14 The examples shown are illustrated below.
[0215] Figure 1 The communication system 10 shown is for illustrative purposes only and is not intended to limit the technical solutions of this application. Those skilled in the art should understand that in specific implementations, the communication system 10 may also include other devices, and the number of Bluetooth communication devices can be determined according to specific needs without limitation.
[0216] Optionally, embodiments of this application Figure 1 Each network element in the device, such as Bluetooth communication device 101 or Bluetooth communication device 102, can be a functional module within a device. It is understood that the functional module can be a component in a hardware device, such as a communication chip or communication component in a terminal, or a software functional module running on hardware, or a virtualized function instantiated on a platform (e.g., a cloud platform).
[0217] For example, Figure 1 Each network element in the network can be accessed through Figure 3 This is achieved through Bluetooth communication device 30. Figure 3The diagram shows a hardware structure of a Bluetooth communication device applicable to embodiments of this application. The Bluetooth communication device 30 includes at least one processor 301 and at least one communication interface 304, used to implement the methods provided in the embodiments of this application. The Bluetooth communication device 30 may also include a communication line 302 and a memory 303.
[0218] The processor 301 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present application.
[0219] Communication line 302 may include a path for transmitting information between the aforementioned components, such as a bus.
[0220] Communication interface 304 is used for communicating with other devices or communication networks. Communication interface 304 can be any transceiver-like device, such as an Ethernet interface, a radio access network (RAN) interface, a wireless local area network (WLAN) interface, a transceiver, a pin, a bus, or a transceiver circuit, etc.
[0221] The memory 303 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory may exist independently and be coupled to the processor 301 via communication line 302. The memory 303 may also be integrated with the processor 301. The memory provided in this application embodiment is generally non-volatile. The memory 303 is used to store computer execution instructions involved in the scheme provided in this application embodiment, and its execution is controlled by the processor 301. The processor 301 is used to execute computer execution instructions stored in the memory 303, thereby implementing the method provided in the embodiments of this application.
[0222] The computer execution instructions in the embodiments of this application may also be referred to as application code, and the embodiments of this application do not specifically limit this.
[0223] The coupling in the embodiments of this application is an indirect coupling or communication connection between devices, units, or modules, which can be electrical, mechanical, or other forms, and is used for information interaction between devices, units, or modules.
[0224] As one embodiment, processor 301 may include one or more CPUs, for example Figure 3 CPU0 and CPU1 in the CPU.
[0225] As one embodiment, the Bluetooth communication device 30 may include multiple processors, such as Figure 3 Processors 301 and 307 are described herein. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor here may refer to one or more devices, circuits, and / or processing cores used to process data (e.g., computer program instructions).
[0226] As one embodiment, the Bluetooth communication device 30 may further include an output device 305 and / or an input device 306. The output device 305 is coupled to the processor 301 and can display information in various ways. For example, the output device 305 may be a liquid crystal display (LCD), a light-emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector, etc. The input device 306 is coupled to the processor 301 and can receive user input in various ways. For example, the input device 306 may be a mouse, keyboard, touchscreen device, or sensing device, etc.
[0227] The Bluetooth communication device 30 described above can be a general-purpose device or a dedicated device. In specific implementations, the Bluetooth communication device 30 can be a desktop computer, laptop computer, PDA (personal digital assistant), mobile phone, tablet computer, wireless terminal device, embedded device, wearable device, or other similar device. Figure 3 Devices with similar structures. This application does not limit the type of Bluetooth communication device 30 to any particular embodiment.
[0228] The following is combined Figures 1-3 The Bluetooth communication method provided in the embodiments of this application will be described in detail.
[0229] It should be noted that the message names between network elements or the names of parameters in the messages in the following embodiments of this application are just examples. Other names may be used in the specific implementation. This application does not limit them in this respect.
[0230] It should be noted that in the embodiments of this application, " / " can indicate that the objects before and after are in an "or" relationship. For example, A / B can mean A or B. "And / or" can be used to describe three relationships between the associated objects. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. A and B can be singular or plural.
[0231] To facilitate the description of the technical solutions in the embodiments of this application, the terms "first" and "second" may be used to distinguish technical features with the same or similar functions. The terms "first" and "second" do not limit the number or execution order, nor are they necessarily different. In the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" should not be construed as being more preferred or advantageous than other embodiments or design schemes. The use of "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding.
[0232] It should be noted that, in the embodiments of this application, for a technical feature, the technical features in the technical feature are distinguished by "first", "second", "third", "A", "B", "C" and "D", and there is no order of precedence or size among the technical features described by "first", "second", "third", "A", "B", "C" and "D".
[0233] It is understood that the same step or step with the same function or technical feature in the embodiments of this application can be referenced and learned from each other in different embodiments.
[0234] It is understood that in the embodiments of this application, the Bluetooth transmitting device and / or the Bluetooth receiving device may perform some or all of the steps in the embodiments of this application. These steps are merely examples, and the embodiments of this application may also perform other steps or variations thereof. Furthermore, the steps may be performed in different orders as presented in the embodiments of this application, and it is not necessary to perform all the steps in the embodiments of this application.
[0235] In the embodiments of this application, the specific structure of the executing entity of the Bluetooth communication method is not particularly limited, as long as it can implement the Bluetooth communication method of this application. For example, the executing entity of the Bluetooth communication method provided in the embodiments of this application can be a Bluetooth transmitting device, or a component applied in a Bluetooth transmitting device, such as a chip; this application does not limit this. Alternatively, the executing entity of the Bluetooth communication method provided in the embodiments of this application can be a Bluetooth receiving device, or a component applied in a Bluetooth receiving device, such as a chip; this application does not limit this. The following embodiments use Bluetooth transmitting devices and Bluetooth receiving devices as examples to describe the executing entities of the Bluetooth communication method.
[0236] like Figure 4 As shown, this is a Bluetooth communication method provided in an embodiment of the present application, which includes S401-S403.
[0237] S401: The Bluetooth transmitter generates the first Bluetooth data frame.
[0238] In this embodiment, the Bluetooth transmitting device has Bluetooth communication capability. For example, the Bluetooth transmitting device can be... Figure 1 The Bluetooth communication device 101 or Bluetooth communication device 102 in the middle.
[0239] In S401, the first Bluetooth data frame may include a first AC, a first synchronization code, and a first data field. Further, the first Bluetooth data frame may also include a first preamble. The first preamble can be used for AGC adjustment and signal processing. The first AC and the first synchronization code can be used for synchronization detection. The lengths of the first AC and the first synchronization code can be the same or different. The first AC can also be used by the Bluetooth receiving device to determine whether the Bluetooth data frame was sent by the Bluetooth transmitting device. If it is, the receiving device receives the Bluetooth data frame; otherwise, it discards it. The first data field carries first data, which can also be called the first payload. The first data is the data that the Bluetooth transmitting device wants to send to the Bluetooth receiving device. The Bluetooth receiving device also has Bluetooth communication capabilities. For example, if the Bluetooth transmitting device is... Figure 1 In the Bluetooth communication device 101, the Bluetooth receiver is... Figure 1 Bluetooth communication device 102; if the Bluetooth transmitting device is Figure 1 In the Bluetooth communication device 102, the Bluetooth receiver is... Figure 1 Bluetooth communication device 101 in the middle.
[0240] Furthermore, in the first Bluetooth data frame, the first synchronization code is located before the first data field, which allows the Bluetooth receiving device to perform synchronization detection first, and after successful synchronization detection, continue to receive the first data.
[0241] For example, the format of the first Bluetooth data frame can be as follows: Figure 5 As shown. Figure 5 In (a) of the diagram, the first synchronization code is located between the first preamble and the first AC. Figure 5 In (b) of the first Bluetooth data frame, the first synchronization code is located between the first AC and the first data field. It is understood that the first Bluetooth data frame may also include other content, such as... Figure 5 In (c) of the first Bluetooth data frame, the first header is also included. The first header can be used to indicate the protocol type, format, etc. of the first data. The first synchronization code is located between the first AC and the first header.
[0242] Understandable. Figure 5 The format of the Bluetooth data frame shown is only an example of the format of a first Bluetooth data frame. In specific applications, the first Bluetooth data frame may include formats such as... Figure 5 The Bluetooth data frames shown may contain more or less content, which is not limited in this embodiment.
[0243] One possible implementation is that at least one of the autocorrelation or cross-correlation of the first synchronization code is better than that of the first AC. That is, the autocorrelation of the first synchronization code is better than that of the first AC, or the cross-correlation of the first synchronization code is better than that of the first AC, or the autocorrelation and cross-correlation of the first synchronization code are both better than that of the first AC.
[0244] Furthermore, the first synchronization code can be any sequence with excellent correlation performance, such as a pseudo-random sequence. One possible implementation is that the first synchronization code can be an m-sequence, a gold sequence, or a kasami sequence. For an explanation of m-sequences, gold sequences, and kasami sequences, please refer to the explanations in conventional techniques; they will not be elaborated upon here.
[0245] Understandably, when the autocorrelation and / or cross-correlation of the first synchronization code are better than the autocorrelation and / or cross-correlation of the first AC, the Bluetooth receiver can perform synchronization detection through the first synchronization code, thereby improving the success rate of synchronization detection and thus improving the success rate of data reception.
[0246] In one possible implementation, prior to S401, the Bluetooth transmitting device acquires a first parameter and determines the length of the first synchronization code based on the first parameter. The length of the first synchronization code is related to its autocorrelation or cross-correlation. Furthermore, the length of the first synchronization code is positively correlated with its autocorrelation or cross-correlation; that is, the longer the first synchronization code, the better its autocorrelation or cross-correlation, and vice versa. The first parameter can be used to indicate the requirements of the Bluetooth service and / or the communication parameters of Bluetooth communication. Further, the requirements of the Bluetooth service can be used to indicate one of the following parameters: data retransmission rate, reliability of the data required by the service, latency of the data required by the service, or other parameters or requirements for measuring signal quality. The communication parameters of Bluetooth communication can be used to indicate one of the following parameters: the transmission distance of the first Bluetooth data frame, the signal strength of the interference signal received by the Bluetooth receiving device, the transmission power of the Bluetooth transmitting device transmitting the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or other parameters or requirements for measuring signal quality. In this case, the length of the first synchronization code can be dynamically adjusted according to the first parameter, which provides high flexibility.
[0247] The process by which the Bluetooth transmitting device determines the length of the first synchronization code based on the first parameter is described in detail below. The Bluetooth transmitting device determining the length of the first synchronization code based on the first parameter can include, but is not limited to, the following two cases:
[0248] Case 1: The first parameter indicates the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth receiver. If the first parameter is greater than or equal to the first threshold, the length of the first synchronization code is greater than or equal to the first length; if the first parameter is less than or equal to the preset second threshold, the length of the first synchronization code is less than or equal to the second length. The first threshold and the preset second threshold can be the same or different, and the first length and the second length can be the same or different.
[0249] In other words, when the data retransmission rate is high, or the Bluetooth service requires high reliability (e.g., when Bluetooth headsets are connected to mobile phones for gaming), or the transmission distance of the first Bluetooth data frame is long (e.g., when locating a car via Bluetooth in a garage, requiring long-distance coverage), or the signal strength of the interference signal received by the Bluetooth receiver is high (e.g., in densely populated areas like airports and train stations, where interference signals are generally strong), the length of the first synchronization code can be appropriately increased to improve the success rate of synchronization detection. Conversely, when the data retransmission rate is low, or the reliability requirements for the Bluetooth service are not high (e.g., when transferring ordinary files between two Bluetooth phones), or the transmission distance of the first Bluetooth data frame is short (e.g., when Bluetooth devices communicate with each other in a bedroom), or the signal strength of the interference signal received by the Bluetooth receiver is low (e.g., in home Bluetooth communication, where there are few interference sources and the signal strength of interference signals is low), the length of the first synchronization code can be appropriately reduced to ensure the success rate of synchronization detection while reducing the power consumption of the Bluetooth transmitter and receiver.
[0250] For example, taking the data retransmission rate as the first parameter, the first threshold as 40%, the preset second threshold as 20%, the first length as 64 bits, and the second length as 32 bits as the second parameter, if the data retransmission rate is 50%, the length of the first synchronization code can be 64 bits or 128 bits, etc. If the data retransmission rate is 15%, the length of the first synchronization code can be 32 bits or 16 bits, etc., or the first Bluetooth data frame may not include the first synchronization code.
[0251] For example, taking the data reliability requirement level as the first parameter, where a higher reliability requirement level indicates higher reliability of the data required by the business, and a lower reliability requirement level indicates lower reliability of the data required by the business, and assuming a first threshold of 4, a preset second threshold of 2, a first length of 64 bits, and a second length of 32 bits, if the data reliability requirement level is 5, the length of the first synchronization code can be 64 bits or 128 bits, etc. If the data reliability requirement level is 2, the length of the first synchronization code can be 32 bits or 16 bits, etc., or the first Bluetooth data frame may not include the first synchronization code.
[0252] For example, taking the first parameter as including the transmission distance of the first Bluetooth data frame, the first threshold and the preset second threshold both being 15 meters, the first length being 128 bits, and the second length being 64 bits, if the transmission distance of the first Bluetooth data frame is 25 meters, the length of the first synchronization code can be 128 bits, etc. If the transmission distance of the first Bluetooth data frame is 8 meters, the length of the first synchronization code can be 64 bits, 32 bits, or 16 bits, etc., or the first Bluetooth data frame may not include the first synchronization code.
[0253] For example, taking the signal strength of the interference signal received by the Bluetooth receiver as the first parameter, a first threshold of -50 dBm, a preset second threshold of -80 dBm, and both the first and second lengths being 64 bits, if the signal strength of the interference signal received by the Bluetooth receiver is -45 dBm, the length of the first synchronization code can be 64 bits or 128 bits, etc. If the signal strength of the interference signal received by the Bluetooth receiver is -90 dBm, the length of the first synchronization code can be 32 bits or 16 bits, etc., or the first Bluetooth data frame may not include the first synchronization code.
[0254] Understandably, the above is only an example of the first parameter. In specific applications, the first parameter can also be used to indicate other parameters, such as the number of users around the Bluetooth transmitter and / or receiver, the number of Bluetooth devices around the Bluetooth transmitter and / or receiver, the complexity of the channel between the Bluetooth transmitter and receiver, etc., without limitation.
[0255] Case 2: The first parameter indicates the latency of the data required by the service, the transmit power of the Bluetooth transmitter sending the first Bluetooth data frame, or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame. If the first parameter is less than or equal to a first threshold, the length of the first synchronization code is greater than or equal to a first length; if the first parameter is greater than or equal to a preset second threshold, the length of the first synchronization code is less than or equal to a second length. The first threshold and the preset second threshold can be the same or different, and the first length and the second length can be the same or different.
[0256] In other words, when the latency of the data required by the business is relatively low (e.g., in scenarios where Bluetooth headsets are connected to mobile phones for gaming), or when the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame is relatively low (e.g., in scenarios where wearable Bluetooth devices need to reduce power consumption by decreasing transmission power), or when the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame is low, the length of the first synchronization code can be appropriately increased to improve the success rate of synchronization detection. When a larger latency can be tolerated (e.g., in scenarios where ordinary files are transferred between two Bluetooth mobile phones), or when the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame is relatively high (e.g., in scenarios where Bluetooth communication between desktop computers is not sensitive to power consumption requirements), or when the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame is high, the length of the first synchronization code can be appropriately reduced to reduce the power consumption of the Bluetooth transmitter and receiver while ensuring the success rate of synchronization detection.
[0257] For example, taking the latency of the data required by the service as the first parameter, the first threshold as 5 milliseconds (ms), the preset second threshold as 10 ms, the first length as 64 bits, and the second length as 32 bits as an example, if the latency of the data required by the service is 1 ms, the length of the first synchronization code can be 64 bits or 128 bits, etc. If the latency of the data required by the service is 12 ms, the length of the first synchronization code can be 32 bits or 16 bits, etc., or the first Bluetooth data frame may not include the first synchronization code.
[0258] For example, taking the first parameters including the transmission power of the Bluetooth transmitting device sending the first Bluetooth data frame, the first threshold and the preset second threshold both being -90dBm, the first length being 64 bits, and the second length being 32 bits as an example, if the transmission power of the Bluetooth transmitting device sending the first Bluetooth data frame is -1000dBm, the length of the first synchronization code can be 64 bits or 128 bits, etc. If the transmission power of the Bluetooth transmitting device sending the first Bluetooth data frame is -25dBm, the length of the first synchronization code can be 32 bits or 16 bits, etc., or the first Bluetooth data frame may not include the first synchronization code.
[0259] For example, taking the first parameter as including the signal-to-noise ratio (SNR) of the channel used to transmit the first Bluetooth data frame, a first threshold of 20 dBm, a preset second threshold of 30 dBm, and both the first and second lengths being 64 bits, if the SNR of the channel used to transmit the first Bluetooth data frame is 10 dBm, the length of the first synchronization code can be 64 bits or 128 bits, etc. If the SNR of the channel used to transmit the first Bluetooth data frame is 40 dBm, the length of the first synchronization code can be 32 bits or 16 bits, etc., or the first Bluetooth data frame may not include the first synchronization code.
[0260] Understandably, in practical applications, the Bluetooth transmitter may also combine multiple parameters from the above parameters to determine the length of the first synchronization code.
[0261] S402: The Bluetooth transmitter sends the first Bluetooth data frame to the Bluetooth receiver.
[0262] One possible implementation is that the Bluetooth transmitting device sends a first Bluetooth data frame to the Bluetooth receiving device via Bluetooth.
[0263] Correspondingly, the Bluetooth receiver receives the first Bluetooth data frame from the Bluetooth transmitter. Furthermore, the Bluetooth receiver receives the first Bluetooth data frame from the Bluetooth transmitter via Bluetooth.
[0264] S403: The Bluetooth receiver performs synchronization detection based on the first synchronization code.
[0265] One possible implementation is that the Bluetooth receiver performs synchronization detection based on the first synchronization code, and if the synchronization detection is successful, the Bluetooth receiver receives the first data.
[0266] Furthermore, the Bluetooth receiver performs synchronization detection based on the first synchronization code, including: the Bluetooth receiver performs a correlation calculation between its local synchronization code and the first synchronization code; if the calculation result is greater than or equal to a preset seventh threshold, the synchronization detection is determined to be successful; if the calculation result is less than the preset seventh threshold, the synchronization detection is determined to be unsuccessful. If the Bluetooth receiver fails to detect synchronization, the first Bluetooth data frame is lost.
[0267] Understandably, the Bluetooth receiving device can also determine whether the first Bluetooth data frame was sent by the Bluetooth transmitting device based on the first AC. If the first Bluetooth data frame was sent by the Bluetooth transmitting device, then the first Bluetooth data frame is received; if the first Bluetooth data frame was not sent by the Bluetooth transmitting device, then the first Bluetooth data frame is discarded.
[0268] based on Figure 4The method shown allows for the insertion of a first synchronization code into the first Bluetooth data frame, enabling the Bluetooth receiving device to perform synchronization detection based on the first synchronization code. Because at least one of the autocorrelation or cross-correlation properties of the first synchronization code is superior to the first AC, the success rate of synchronization detection can be improved, thereby increasing the success rate of data reception. For example, as shown... Figure 6 The figure shows the autocorrelation curve of the first synchronization code and the cross-correlation curve of the first synchronization code and noise. Figure 6 In the diagram, curve 601 represents the cross-correlation curve between the first synchronization code and pure noise, while curve 602 shows the distribution curve of the autocorrelation peak of the first synchronization code in a noisy scenario. The diagonal region 603 represents the probability of a missed detection, and the vertical region 604 represents the probability of a false detection. Figure 2 In comparison, because the autocorrelation and / or cross-correlation of the first synchronization code are superior to those of the first AC, curve 602 is higher and steeper than curve 202, and the overlapping area of curves 601 and 602 is smaller, resulting in a lower probability of false detections and missed detections. Therefore, the success rate of synchronization detection by the Bluetooth receiver can be improved, thereby increasing the success rate of data reception. Furthermore, using… Figure 4 The method shown can further reduce the transmission power of the Bluetooth transmitter when sending the first Bluetooth data frame, thus extending the lifespan of the Bluetooth transmitter, while maintaining the same data reception success rate for the Bluetooth receiver. This is because when the Bluetooth transmitter uses a lower transmission power to send the first Bluetooth data frame, the data reception success rate of the Bluetooth receiver can reach the same level as when the Bluetooth transmitter uses its normal transmission power to send the first Bluetooth data frame.
[0269] The operation of the Bluetooth transmitting device and / or Bluetooth receiving device in S401-S403 above can be achieved by... Figure 3 The processor 301 in the Bluetooth communication device 30 shown calls the application code stored in the memory 303 to instruct the Bluetooth transmitting device to execute, and this embodiment does not impose any restrictions on this.
[0270] Figure 4 The method described illustrates the insertion of a first synchronization code into a first Bluetooth data frame. In specific applications, the Bluetooth transmitting device and the Bluetooth receiving device can also negotiate the frame format, using the negotiated frame format for subsequent Bluetooth data frame transmissions. For example, the Bluetooth transmitting device can negotiate the frame format of the Bluetooth data frames transmitted between the two devices based on a third parameter. This third parameter indicates the signal quality of the second Bluetooth data frame or the signal strength of any interference signals.
[0271] Furthermore, the negotiation of the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device can be triggered by either the Bluetooth receiving device or the Bluetooth transmitting device. The specific processes of the Bluetooth receiving device triggering the frame format negotiation and the Bluetooth transmitting device triggering the frame format negotiation are described below.
[0272] Optional, in Figure 4 In one possible implementation of the method shown, the Bluetooth receiving device can trigger a negotiation of the frame format. For details, please refer to... Figure 7 The method shown, Figure 4 The method shown may also include S701-S703.
[0273] S701: The Bluetooth transmitter sends a second Bluetooth data frame to the Bluetooth receiver.
[0274] The second Bluetooth data frame differs from the first Bluetooth data frame. The second Bluetooth data frame includes a second AC, a second synchronization code, and a second data field; or, the second Bluetooth data frame includes a second AC and a second data field. The second Bluetooth data frame may also include a second preamble. For a detailed description of the second preamble, second AC, second synchronization code, and second data field, please refer to the corresponding descriptions of the first preamble, first AC, first synchronization code, and first data field; these will not be repeated here.
[0275] In this embodiment, the second Bluetooth data frame differs from the first Bluetooth data frame, meaning that the content included in the second Bluetooth data frame is different from that of the first Bluetooth data frame. For example, the second Bluetooth data frame does not include a synchronization code, while the first Bluetooth data frame does. Another example is that the length of the synchronization code included in the second Bluetooth data frame is different from the length of the synchronization code included in the first Bluetooth data frame.
[0276] One possible implementation is that the Bluetooth transmitting device sends a second Bluetooth data frame to the Bluetooth receiving device via Bluetooth.
[0277] Correspondingly, the Bluetooth receiver receives a second Bluetooth data frame from the Bluetooth transmitter.
[0278] S702: The Bluetooth receiver sends the first information to the Bluetooth transmitter.
[0279] The first information can be used to request a change in the frame format of Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. For example, the first information can be used to request a reduction in the length of the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device, or the first information can be used to request an increase in the length of the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. It is understood that if the first information requests a reduction in the length of the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device, the length of the first synchronization code is less than the length of the second synchronization code; if the first information requests an increase in the length of the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device, the length of the first synchronization code is greater than the length of the second synchronization code.
[0280] For example, the first information may include an identifier of at least one frame format supported by the Bluetooth receiving device. Alternatively, the first information may include a 1-bit indication information used to indicate switching the frame format of Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. Alternatively, the first information may include an identifier of at least one frame format that the Bluetooth receiving device wishes to switch to. It is understood that, in the embodiments of this application, the frame formats supported by the Bluetooth receiving device include the frame format of the first Bluetooth data frame, and the frame format that the Bluetooth receiving device wishes to switch to also includes the frame format of the first Bluetooth data frame.
[0281] Understandably, if the Bluetooth receiving device determines that the communication quality has degraded or improved, it can trigger a frame format switch, meaning it can send first information to the Bluetooth transmitting device. Furthermore, the Bluetooth receiving device can determine the communication quality based on a third parameter. This third parameter can be used to indicate the signal quality of the second Bluetooth data frame. The process by which the Bluetooth receiving device determines the communication quality based on the third parameter can be illustrated by the following example:
[0282] Example 1: Taking the third parameter as an example, such as Received Signal Strength Indicator (RSSI), Cyclic Redundancy Check (CRC) success rate, frame synchronization success rate, throughput, or signal-to-noise ratio, if the third parameter is greater than or equal to a preset third threshold, meaning the Bluetooth receiver determines that the communication quality has improved, the first information is used to request a reduction in the length of the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter. If the third parameter is less than the preset third threshold, meaning the Bluetooth receiver determines that the communication quality has deteriorated, the first information is used to request an increase in the length of the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter.
[0283] Example 2: Taking interference strength as an example, if the third parameter is greater than or equal to a preset seventh threshold, meaning the Bluetooth receiver determines that the communication quality has deteriorated, the first information is used to request an increase in the length of the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter; if the third parameter is less than the preset seventh threshold, meaning the Bluetooth receiver determines that the communication quality has improved, the first information is used to request a decrease in the length of the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter. Understandably, in this case... Figure 7 The method shown may exclude S701.
[0284] The following example illustrates the process of user A entering an exhibition center, with user A's mobile phone as the Bluetooth transmitter and user A's Bluetooth headset as the Bluetooth receiver, and user A listening to music through the Bluetooth headset. Outside the exhibition center, interference is minimal, allowing communication between the mobile phone and Bluetooth headset using the second Bluetooth data frame format. Upon entering the exhibition center, the number of surrounding users suddenly increases, leading to various interferences. The Bluetooth headset detects a decrease in the CRC success rate, falling below the preset third threshold, and sends the first information to the mobile phone to increase the synchronization code length. As user A enters a booth, the number of surrounding users further increases, increasing interference intensity. The Bluetooth headset detects a significant decrease in the frame synchronization success rate, falling below the preset third threshold, and sends the first information to the mobile phone to increase the synchronization code length. Entering a conference hall, strong Wireless Fidelity (WiFi) signal interference occurs. The Bluetooth headset detects a decrease in throughput, falling below the preset third threshold, and simultaneously detects strong interference (interference intensity greater than or equal to the preset seventh threshold), and sends the first information to the mobile phone to increase the synchronization code length. After User A finishes their visit and leaves the convention center, the Bluetooth headset detects that the surrounding interference has disappeared, meaning the interference intensity is less than the preset seventh threshold. It then sends the first message to the mobile phone to reduce the length of the synchronization code.
[0285] One possible implementation is that the Bluetooth receiving device sends first information to the Bluetooth transmitting device during the transmission interval between the second Bluetooth data frame and the first Bluetooth data frame.
[0286] One possible implementation is that the Bluetooth receiving device sends the first information to the Bluetooth sending device via Bluetooth.
[0287] Correspondingly, the Bluetooth transmitting device receives the first information from the Bluetooth receiving device.
[0288] S703: The Bluetooth transmitter sends a second message to the Bluetooth receiver.
[0289] The second information is used to instruct the frame format of Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device to be switched to the frame format of the first Bluetooth data frame. For example, the second information includes an identifier of the frame format of the first Bluetooth data frame.
[0290] One possible implementation is that the Bluetooth transmitting device sends second information to the Bluetooth receiving device via Bluetooth.
[0291] Correspondingly, the Bluetooth receiver receives the second information from the Bluetooth transmitter.
[0292] Understandably, after S703, Bluetooth transmitters and receivers can communicate using a negotiated frame format. Furthermore, the first or second information can carry a time slot identifier, allowing the Bluetooth transmitter and receiver to communicate using the negotiated frame format within the time slot indicated by that time slot identifier.
[0293] Understandable, except Figure 7 In addition to the method shown, the Bluetooth receiving device can also negotiate the frame format with the Bluetooth transmitting device through multiple information exchanges. For example, the Bluetooth receiving device can send a frame format identifier to the Bluetooth transmitting device each time, and the Bluetooth transmitting device determines whether to use the frame format indicated by the Bluetooth receiving device through an indication message. If the Bluetooth transmitting device determines to use the frame format indicated by the Bluetooth receiving device, the negotiation is complete. If the Bluetooth transmitting device determines not to use the frame format indicated by the Bluetooth receiving device, the Bluetooth receiving device sends another frame format identifier to the Bluetooth transmitting device until the Bluetooth transmitting device determines to use the frame format indicated by the Bluetooth receiving device.
[0294] based on Figure 7 The method shown allows the Bluetooth receiver to negotiate the frame format with the Bluetooth transmitter and dynamically adjust the frame format of the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter. This enables the Bluetooth transmitter and the Bluetooth receiver to communicate using a suitable frame format, thereby improving the success rate of data reception by the Bluetooth receiver and reducing the power consumption of the Bluetooth transmitter and the Bluetooth receiver, thus extending the usage time of the Bluetooth transmitter and the Bluetooth receiver.
[0295] The operation of the Bluetooth transmitter and / or Bluetooth receiver in S701-S703 can be determined by... Figure 3 The processor 301 in the Bluetooth communication device 30 shown calls the application code stored in the memory 303 to instruct the Bluetooth transmitting device to execute, and this embodiment does not impose any restrictions on this.
[0296] Figure 7The method described illustrates the process by which a Bluetooth receiving device triggers a frame format negotiation. In practical applications, a Bluetooth transmitting device can also trigger a frame format negotiation. For details, please refer to the following... Figure 8 The method shown.
[0297] Optional, such as Figure 8 As shown, in Figure 4 In one possible implementation of the method shown, Figure 4 The method shown may also include S801-S802.
[0298] S801: The Bluetooth transmitter sends the first information to the Bluetooth receiver.
[0299] The description of the first information can be found in the corresponding description in S701 above. The difference is that the first information in S801 may include an identifier of at least one frame format supported by the Bluetooth transmitting device. Alternatively, the first information in S801 may include 1 bit of indication information used to indicate switching the frame format of Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. Alternatively, the first information in S801 may include an identifier of at least one frame format that the Bluetooth transmitting device wishes to switch to. It is understood that in this embodiment, the frame formats supported by the Bluetooth transmitting device include the frame format of the first Bluetooth data frame, and the frame formats that the Bluetooth transmitting device wishes to switch to also include the frame format of the first Bluetooth data frame.
[0300] Understandably, if the Bluetooth transmitter determines that the signal strength of the interference signal has increased or decreased, the Bluetooth transmitter can trigger a frame format switch, that is, the Bluetooth transmitter can send the first information to the Bluetooth receiver.
[0301] One possible implementation is as follows: if the third parameter is greater than or equal to a preset fourth threshold, the Bluetooth transmitting device sends a first message to the Bluetooth receiving device. This first message requests an increase in the length of the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. If the third parameter is less than the preset fourth threshold, the Bluetooth transmitting device sends a first message to the Bluetooth receiving device. This first message requests a decrease in the length of the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. The third parameter can be used to indicate the signal strength of the interference signal.
[0302] One possible implementation is that the Bluetooth transmitting device sends the first information to the Bluetooth receiving device via Bluetooth.
[0303] Correspondingly, the Bluetooth receiver receives the first information from the Bluetooth transmitter.
[0304] S802: The Bluetooth receiver sends a second message to the Bluetooth transmitter.
[0305] The specific process of S802 can be referred to the corresponding description in S703 above, and will not be repeated here.
[0306] Understandably, after S802, the Bluetooth transmitting device and the Bluetooth receiving device can communicate using a negotiated frame format. Furthermore, the first or second information can carry a time slot identifier, and subsequently, the Bluetooth transmitting device and the Bluetooth receiving device can communicate using the negotiated frame format in the time slot indicated by the time slot identifier.
[0307] Understandable, except Figure 8 In addition to the method shown, the Bluetooth transmitting device can also negotiate the frame format with the Bluetooth receiving device through multiple information exchanges. For example, the Bluetooth transmitting device can send a frame format identifier to the Bluetooth receiving device each time, and the Bluetooth receiving device determines whether to use the frame format indicated by the Bluetooth transmitting device through an indication message. If the Bluetooth receiving device determines to use the frame format indicated by the Bluetooth transmitting device, the negotiation is complete. If the Bluetooth receiving device determines not to use the frame format indicated by the Bluetooth transmitting device, the Bluetooth transmitting device sends another frame format identifier to the Bluetooth receiving device until the Bluetooth receiving device determines to use the frame format indicated by the Bluetooth transmitting device.
[0308] based on Figure 8 The method shown allows the Bluetooth transmitting device to negotiate the frame format with the Bluetooth receiving device and dynamically adjust the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. This enables the Bluetooth transmitting device and the Bluetooth receiving device to communicate using a suitable frame format, thereby improving the success rate of data reception by the Bluetooth receiving device while reducing the power consumption of the Bluetooth transmitting device and the Bluetooth receiving device, thus extending the usage time of the Bluetooth transmitting device and the Bluetooth receiving device.
[0309] The operation of the Bluetooth transmitting device and / or Bluetooth receiving device in S801-S802 above can be achieved by... Figure 3 The processor 301 in the Bluetooth communication device 30 shown calls the application code stored in the memory 303 to instruct the Bluetooth transmitting device to execute, and this embodiment does not impose any restrictions on this.
[0310] Optional, in Figure 4 In one possible implementation of the method shown, the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiving device and the Bluetooth transmitting device may be included in a first synchronization code set, that is, both the first synchronization code and the second synchronization code are included in the first synchronization code set. The first synchronization code set may include at least one synchronization code. The at least one synchronization code is any sequence with excellent correlation performance, for example, a pseudo-random sequence. In one possible implementation, the at least one synchronization code may include at least one of an m-sequence, a gold sequence, or a kasami sequence.
[0311] Understandably, the first synchronization code set can be a subset of the second synchronization code set. The second synchronization code set can include all synchronization codes that can be used in Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter. In normal use, the Bluetooth transmitter and receiver determine their synchronization codes from the first synchronization code set, which reduces the size of the synchronization code set used and lowers the hardware resource requirements of the Bluetooth transmitter and receiver. However, if there are many Bluetooth devices around the Bluetooth transmitter and / or receiver, it is possible that the synchronization codes used by the Bluetooth transmitter and receiver may be the same as those used by the surrounding Bluetooth devices. In this case, missynchronization may occur, meaning the Bluetooth transmitter, receiver, or surrounding Bluetooth devices may receive information that was not intended for them, increasing the power consumption and signaling overhead of the Bluetooth transmitter, receiver, and surrounding Bluetooth devices.
[0312] To avoid the aforementioned problems, in multi-user scenarios (where the number of Bluetooth devices surrounding the Bluetooth transmitter and / or receiver is greater than or equal to a preset first value), the Bluetooth transmitter and receiver can dynamically adjust the set of synchronization codes used. For example, when the number of Bluetooth devices surrounding the Bluetooth transmitter and / or receiver is large, the Bluetooth transmitter and receiver use a synchronization code set containing a larger number of synchronization codes, ensuring the success rate of synchronization detection while reducing power consumption and signaling overhead. When the number of Bluetooth devices surrounding the Bluetooth transmitter and / or receiver is small, the Bluetooth transmitter and receiver use a synchronization code set containing a smaller number of synchronization codes, reducing the hardware resource requirements of the Bluetooth transmitter and receiver. The specific process of the Bluetooth transmitter and receiver dynamically adjusting the set of synchronization codes used can include, but is not limited to, the following two possible implementation methods.
[0313] One possible implementation is that the Bluetooth transmitting device and the Bluetooth receiving device can dynamically adjust the size of the first synchronization code set based on the number of Bluetooth devices surrounding the Bluetooth transmitting device and / or the Bluetooth receiving device. Specifically, if the number of Bluetooth devices surrounding the Bluetooth receiving device and / or the Bluetooth transmitting device is greater than or equal to a preset first value, the number of synchronization codes in the first synchronization code set is greater than or equal to a preset second value; if the number of Bluetooth devices surrounding the Bluetooth receiving device and / or the Bluetooth transmitting device is less than the preset first value, the number of synchronization codes in the first synchronization code set is less than the preset second value. For example, if it is detected that the number of Bluetooth devices surrounding the Bluetooth receiving device and / or the Bluetooth transmitting device is greater than or equal to the preset first value, the Bluetooth transmitting device and the Bluetooth receiving device can negotiate to increase the number of synchronization codes in the first synchronization code set, making the number of synchronization codes in the first synchronization code set greater than or equal to the preset second value. Similarly, if it is detected that the number of Bluetooth devices surrounding the Bluetooth receiving device and / or the Bluetooth transmitting device is less than the preset first value, the Bluetooth transmitting device and the Bluetooth receiving device can also negotiate to decrease the number of synchronization codes in the first synchronization code set, making the number of synchronization codes in the first synchronization code set less than the preset second value.
[0314] Another possible implementation involves the Bluetooth transmitter and receiver maintaining multiple additional synchronization code sets besides the first set, such as a third set, a fourth set, and so on. These sets are subsets of the second set, differing only in the number of synchronization codes included in each set. For example, the first set might contain 50 synchronization codes, the third set 100, and the fourth set 150. In normal use, the Bluetooth transmitter and receiver determine the synchronization code from the first set, reducing the hardware resource requirements. If the number of Bluetooth devices surrounding the transmitter and / or receiver is greater than or equal to a preset first value, the Bluetooth transmitter and receiver can determine the synchronization code from either the third or fourth set.
[0315] Understandably, if the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device is included in the first synchronization code set, the Bluetooth receiving device and the Bluetooth transmitting device can negotiate and determine the synchronization code from the first synchronization code set before transmitting data. For example, the Bluetooth receiving device and the Bluetooth transmitting device negotiate a first random number. The first random number can be used to determine the first synchronization code from the first synchronization code set. The Bluetooth receiving device and the Bluetooth transmitting device can also negotiate a second random number. The second random number is used to determine a first time interval, which is the time interval for updating the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device.
[0316] Furthermore, the negotiation of the first random number and / or the second random number can be triggered by either the Bluetooth receiving device or the Bluetooth transmitting device. The specific processes of the Bluetooth receiving device triggering the negotiation of the first random number and / or the second random number, and the Bluetooth transmitting device triggering the negotiation of the first random number and / or the second random number, are described below.
[0317] Optional, in Figure 4 In one possible implementation of the method shown, the Bluetooth receiving device can trigger the negotiation of a first random number and / or a second random number. For details, please refer to... Figure 9 The method shown, Figure 4 The method shown may also include S901-S902.
[0318] S901: The Bluetooth receiver sends third information to the Bluetooth transmitter.
[0319] The third information can be used to negotiate the first random number. For example, the third information includes at least one random number. This at least one random number includes the first random number. The first random number can be used to determine the first synchronization code from the first synchronization code set. For example, the first random number can be used to determine the identifier of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiving device and the Bluetooth transmitting device in the first synchronization code set. For example, inputting the first random number into a pseudo-random generator can output the identifier of the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiving device and the Bluetooth transmitting device in the first synchronization code set.
[0320] Understandably, to avoid missynchronization in multi-user scenarios, improve the success rate of synchronization detection, and reduce power consumption and signaling overhead, the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiver and transmitter can be periodically updated. In this case, the Bluetooth receiver needs to trigger the negotiation of the synchronization code again. To avoid the Bluetooth receiver frequently triggering the negotiation of the synchronization code, the Bluetooth transmitter and receiver can determine the time interval for updating the synchronization code in the Bluetooth data frames transmitted between them, i.e., the first time interval. Subsequently, the Bluetooth transmitter and receiver can update the synchronization code in the Bluetooth data frames transmitted between them every first time interval.
[0321] The methods by which the Bluetooth transmitting device and the Bluetooth receiving device determine the first time interval may include, but are not limited to, the following three:
[0322] Method 1: The first time interval is predefined. That is, the first time interval is defined in the protocol, or it is stored in the Bluetooth transmitting and receiving devices at the factory.
[0323] Method 2: The first random number can also be used to determine the first time interval. For example, inputting the first random number into a pseudo-random generator will output the first time interval.
[0324] Method 3: The third piece of information can also be used to negotiate a second random number. The second random number can be used to determine the first time interval. For example, inputting the second random number into a pseudo-random generator will output the first time interval.
[0325] One possible implementation is that the Bluetooth receiver sends third information to the Bluetooth transmitter via Bluetooth.
[0326] Correspondingly, the Bluetooth transmitting device receives third information from the Bluetooth receiving device.
[0327] S902: The Bluetooth transmitter sends fourth information to the Bluetooth receiver.
[0328] The fourth piece of information can be used to indicate the first random number. For example, the fourth piece of information includes the first random number.
[0329] One possible implementation is that the Bluetooth transmitter sends fourth information to the Bluetooth receiver via Bluetooth.
[0330] Understandably, in the first method described above, after S902, the Bluetooth transmitting device and the Bluetooth receiving device can determine the synchronization code in the Bluetooth data frames transmitted between them based on the first random number, and use this synchronization code to communicate. The Bluetooth transmitting device and the Bluetooth receiving device can also obtain the first time interval. Subsequently, the Bluetooth transmitting device and the Bluetooth receiving device can update the synchronization code in the Bluetooth data frames transmitted between them every first time interval, and use the updated synchronization code to communicate.
[0331] In the second method described above, after S902, the Bluetooth transmitting device and the Bluetooth receiving device can determine the synchronization code in the Bluetooth data frames transmitted between them based on the first random number, and use this synchronization code for communication. The Bluetooth transmitting device and the Bluetooth receiving device can also determine a first time interval based on the first random number. Subsequently, the Bluetooth transmitting device and the Bluetooth receiving device can update the synchronization code in the Bluetooth data frames transmitted between them every first time interval, and use the updated synchronization code for communication.
[0332] In method three above, after S902, the Bluetooth transmitting device and the Bluetooth receiving device can determine the synchronization code in the Bluetooth data frames transmitted between them based on the first random number, and use this synchronization code for communication. The Bluetooth transmitting device and the Bluetooth receiving device can also determine the first time interval based on the second random number. Subsequently, the Bluetooth transmitting device and the Bluetooth receiving device can update the synchronization code in the Bluetooth data frames transmitted between them every first time interval, and use the updated synchronization code for communication.
[0333] Understandable, except Figure 9 In addition to the method shown, the Bluetooth transmitting device can also negotiate a synchronization code with the Bluetooth receiving device through multiple information exchanges. For example, the Bluetooth receiving device can send a random number to the Bluetooth transmitting device each time. The Bluetooth transmitting device uses an indication message to determine whether to use the random number indicated by the Bluetooth receiving device to determine the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. If the Bluetooth transmitting device determines to use the random number indicated by the Bluetooth receiving device to determine the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device, the negotiation is complete. If the Bluetooth transmitting device determines not to use the random number indicated by the Bluetooth receiving device to determine the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device, the Bluetooth receiving device sends another random number to the Bluetooth transmitting device until the Bluetooth transmitting device determines to use the random number indicated by the Bluetooth receiving device to determine the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device.
[0334] Correspondingly, the Bluetooth receiver receives the fourth information from the Bluetooth transmitter.
[0335] Understandably, S901-S902 can also be applied to... Figure 7 and Figure 8 In the illustrated embodiment, for example, S901-S902 can... Figure 7 In the illustrated embodiment, S401 is executed before or after S403. S901-S902 can also be performed before... Figure 8 The execution occurs before S401 or after S403 in the illustrated embodiment.
[0336] based on Figure 9 The method shown allows the Bluetooth receiver to negotiate a synchronization code with the Bluetooth transmitter and dynamically adjust the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter. In multi-user scenarios, this avoids missynchronization, improves the success rate of synchronization detection, and reduces power consumption and signaling overhead.
[0337] The operation of the Bluetooth transmitting device and / or Bluetooth receiving device in S901-S902 above can be achieved by... Figure 3 The processor 301 in the Bluetooth communication device 30 shown calls the application code stored in the memory 303 to instruct the Bluetooth transmitting device to execute, and this embodiment does not impose any restrictions on this.
[0338] Figure 9 The method shown describes the process by which a Bluetooth receiving device triggers a negotiation synchronization code. In practical applications, a Bluetooth transmitting device can also trigger a negotiation synchronization code. For details, please refer to the following... Figure 10 The method shown.
[0339] Optional, such as Figure 10 As shown, in Figure 4 In one possible implementation of the method shown, Figure 4 The method shown may also include S1001-S1002.
[0340] S1001: The Bluetooth transmitter sends third information to the Bluetooth receiver.
[0341] S1002: The Bluetooth receiver sends fourth information to the Bluetooth transmitter.
[0342] The specific processes of S1001-S1002 can be referred to the corresponding descriptions in S901-S902 above, and will not be repeated here.
[0343] based on Figure 10The method shown allows the Bluetooth transmitter to negotiate a synchronization code with the Bluetooth receiver and dynamically adjust the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter. In multi-user scenarios, this avoids missynchronization, improves the success rate of synchronization detection, and reduces power consumption and signaling overhead.
[0344] The operation of the Bluetooth transmitting device and / or Bluetooth receiving device in S1001-S1002 can be achieved by... Figure 3 The processor 301 in the Bluetooth communication device 30 shown calls the application code stored in the memory 303 to instruct the Bluetooth transmitting device to execute, and this embodiment does not impose any restrictions on this.
[0345] Understandably, during the process of a Bluetooth transmitting device sending a first Bluetooth data frame to a Bluetooth receiving device, the first Bluetooth data frame needs to be modulated onto a transmission signal. This transmission signal, after being transmitted through a channel, will reach the Bluetooth receiving device. During transmission through the channel, the transmission signal is subject to various distortions, causing the signal received by the Bluetooth receiving device to differ from the transmitted signal. Therefore, during the reception process, the Bluetooth receiving device detects channel information and uses this information to compensate and demodulate the received signal to obtain demodulated information. However, current methods for detecting channel information generally have significant drawbacks. Consequently, the demodulated information obtained by the Bluetooth receiving device using channel information to compensate and demodulate the received signal also has a large error compared to the first Bluetooth data frame, affecting the receiving performance of the Bluetooth receiving device. To improve the receiving performance of the Bluetooth receiving device, this application provides another Bluetooth communication method, such as... Figure 11 As shown, the Bluetooth communication method includes S1101-S1103.
[0346] S1101: The Bluetooth transmitting device generates the first Bluetooth data frame.
[0347] The first Bluetooth data frame may include a first AC, a first data field, and N first pilots. The first Bluetooth data frame may also include a first preamble. The first pilots are pilots with known phases, and N is a positive integer. That is, when the Bluetooth transmitting device sends the first Bluetooth data frame, the Bluetooth receiving device, or both the Bluetooth transmitting device and the Bluetooth receiving device, know the phase of the first pilot. In this embodiment, the pilot may also be referred to as a phase symbol, pilot symbol, symbol, pilot, etc., without limitation. The descriptions of the Bluetooth transmitting device, Bluetooth receiving device, first preamble, first AC, and first data field can be found in the corresponding descriptions in S401 above, and will not be repeated here.
[0348] It is understandable that the N first pilots can be the same or different. For example, the N first pilots can be completely identical, or they can be pilots occupying the same number of bits but different values or phases; or they can be pilots occupying different numbers of bits. It should be understood that this application does not impose specific restrictions on the first pilots; the first pilot can be a pilot with a known phase, and it can also be a pseudo-random number, etc.
[0349] Furthermore, in the first Bluetooth data frame, the first pilot is inserted into at least one of the following: the first preamble, the first AC, or the first data field.
[0350] For example, the frame format of the first Bluetooth data frame can be as follows: Figure 12 As shown. Figure 12 In (a), the first pilot is inserted into the first preamble. Figure 12 In (b) of the first AC, the first pilot is inserted into the first AC. Figure 12 In (c) of the first data field, the first pilot is inserted into the first data field.
[0351] One possible implementation is that the first pilot is proportionally inserted into the first Bluetooth data frame. For example, the first pilot is proportionally inserted into at least one of the following: a first preamble, a first AC, or a first data field. That is, in the first Bluetooth data frame, the bit spacing between two adjacent first pilots is the same. Figure 12 In (d) of the first Bluetooth data frame, the first pilot is proportionally inserted into the first preamble, the first AC, and the first data field. The first pilot can also be non-proportionally inserted into at least one of the following: the first preamble, the first AC, or the first data field. That is, in the first Bluetooth data frame, the number of bits between two adjacent first pilots is not the same. Figure 12 In (e), the first pilot is inserted into the first preamble, the first AC, and the first data field in a non-proportional manner.
[0352] Understandably, the first Bluetooth data frame may also include other content, for example, Figure 12 In (f) of the first Bluetooth data frame, the first header is also included. The first pilot is proportionally inserted into the first preamble, the first AC, and the first data field.
[0353] Understandably, for parts that will affect the reception of subsequent Bluetooth data frames, such as the first packet header, the proportion of the first pilot signal can be increased. For parts that have a smaller impact on the reception of subsequent Bluetooth data frames, such as the first data field, the proportion of the first pilot signal can be decreased.
[0354] Understandable. Figure 12The format of the Bluetooth data frame shown is only an example of the format of a first Bluetooth data frame. In specific applications, the first Bluetooth data frame may include formats such as... Figure 12 The Bluetooth data frames shown may contain more or less content, which is not limited in this embodiment.
[0355] In one possible implementation, prior to S1101, the Bluetooth transmitting device acquires a first parameter and determines the proportion of the first pilot in the first Bluetooth data frame based on the first parameter. The first parameter can be used to indicate Bluetooth service requirements and / or Bluetooth communication parameters. Further, the Bluetooth service requirements can indicate one of the following parameters: the reliability of the data required by the service, the latency of the data required by the service, or other parameters or requirements for measuring signal quality. The Bluetooth communication parameters can indicate one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the transmission distance of the first Bluetooth data frame, the signal strength of the interference signal received by the Bluetooth receiving device, the transmission power of the Bluetooth transmitting device transmitting the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, the error correction capability of the encoding method of the first Bluetooth data frame, or other parameters or requirements for measuring signal quality. In this case, the proportion of the first pilot in the first Bluetooth data frame can be dynamically adjusted according to the first parameter, providing high flexibility.
[0356] The process by which the Bluetooth transmitting device determines the proportion of the first pilot in the first Bluetooth data frame based on the first parameter is described in detail below. The determination of the proportion of the first pilot in the first Bluetooth data frame by the Bluetooth transmitting device based on the first parameter can include, but is not limited to, the following two cases:
[0357] Case 3: The first parameter indicates the rate of channel phase change, data retransmission rate, data reliability required by the service, transmission distance of the first Bluetooth data frame, or signal strength of interference signals received by the Bluetooth receiver. If the first parameter is greater than or equal to a first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a first ratio; if the first parameter is less than or equal to a preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a second ratio. The first threshold and the preset second threshold can be the same or different, and the first ratio and the second ratio can be the same or different.
[0358] In other words, when the channel phase of the channel used to transmit the first Bluetooth data frame changes rapidly (e.g., the channel phase changes quickly or by a large amplitude over time), or the data retransmission rate is high, or the Bluetooth service requires high reliability (e.g., in scenarios where Bluetooth headphones are used to listen to high-definition music), or the transmission distance of the first Bluetooth data frame is long (e.g., in scenarios where Bluetooth is used to locate a car in a garage, a long distance needs to be covered), or the signal strength of the interference signal received by the Bluetooth receiver is high (e.g., in Bluetooth communication in places with dense crowds and equipment, such as airports and train stations, the strength of the interference signal is generally high), the proportion of the first pilot in the first Bluetooth data frame can be appropriately increased to improve the receiving performance of the Bluetooth receiver. When the channel phase of the channel used to transmit the first Bluetooth data frame changes slowly (e.g., the channel phase changes very slowly or with a small amplitude over time), or the data retransmission rate is low, or the reliability requirements for Bluetooth services are not high (e.g., in the scenario of Bluetooth headsets making ordinary voice calls), or the transmission distance of the first Bluetooth data frame is short (e.g., in the scenario of Bluetooth devices communicating with each other in a bedroom), or the signal strength of the interference signal received by the Bluetooth receiver is low (e.g., in the case of Bluetooth communication at home, there are few interference sources and the signal strength of the interference signal is also low), the proportion of the first pilot in the first Bluetooth data frame can be appropriately reduced to reduce signaling overhead while ensuring the receiving performance of the Bluetooth receiver.
[0359] For example, taking the rotation angle of the channel phase of the channel used to transmit the first Bluetooth data frame within 1 second as an example, with a first threshold of 100 times 360 degrees, a preset second threshold of 30 times 360 degrees, a first proportion of 20%, and a second proportion of 5%, if the rotation angle of the channel phase of the channel used to transmit the first Bluetooth data frame within 1 second is 150 times 360 degrees, the proportion of the first pilot in the first Bluetooth data frame should be greater than or equal to 20%, for example, 25%. If the rotation angle of the channel phase of the channel used to transmit the first Bluetooth data frame within 1 second is 25 times 360 degrees, the proportion of the first pilot in the first Bluetooth data frame should be less than or equal to 5%, for example, 5%, or the first Bluetooth data frame may not include the first pilot.
[0360] For example, taking the data retransmission rate as the first parameter, the first threshold as 20%, the preset second threshold as 40%, the first proportion as 30%, and the second proportion as 15% as the second parameter, if the data retransmission rate is 50%, the proportion of the first pilot in the first Bluetooth data frame should be greater than or equal to 30%, for example, 31%. If the data retransmission rate is 15%, the proportion of the first pilot in the first Bluetooth data frame should be less than or equal to 15%, for example, 10%, or the first Bluetooth data frame may not include the first pilot.
[0361] For example, taking the data reliability requirement level as the first parameter, where a higher reliability requirement level indicates higher reliability of the data required by the business, and a lower reliability requirement level indicates lower reliability of the data required by the business, and assuming a first threshold of 5, a preset second threshold of 2, a first proportion of 25%, and a second proportion of 5%, if the data reliability requirement level is 5, the proportion of the first pilot in the first Bluetooth data frame should be greater than or equal to 25%, for example, 30%. In this case, a higher rate modulation method can also be used simultaneously. If the data reliability requirement level is 2, the proportion of the first pilot in the first Bluetooth data frame should be less than or equal to 5%, for example, 4%, or the first Bluetooth data frame may not include the first pilot. In this case, a lower rate modulation method can also be used simultaneously.
[0362] For example, taking the transmission distance of the first Bluetooth data frame as the first parameter, the first threshold and the preset second threshold as both 15 meters, the first proportion as 20%, and the second proportion as 8%, if the transmission distance of the first Bluetooth data frame is 25 meters, the proportion of the first pilot in the first Bluetooth data frame should be greater than or equal to 20%, for example, 22%. If the transmission distance of the first Bluetooth data frame is 8 meters, the proportion of the first pilot in the first Bluetooth data frame should be less than or equal to 8%, for example, 5%, or the first Bluetooth data frame may not include the first pilot.
[0363] For example, taking the first parameter as including the signal strength of the interference signal received by the Bluetooth receiver, the first threshold as -50dBm, the preset second threshold as -80dBm, and both the first and second proportions as 15%, if the signal strength of the interference signal received by the Bluetooth receiver is -45dBm, the proportion of the first pilot in the first Bluetooth data frame should be greater than or equal to 15%, for example, 20%. If the signal strength of the interference signal received by the Bluetooth receiver is -90dBm, the proportion of the first pilot in the first Bluetooth data frame should be less than 15%, for example, 12%, or the first Bluetooth data frame may not include the first pilot.
[0364] Understandably, the above is only an example of the first parameter. In specific applications, the first parameter can also be used to indicate other parameters, such as the complexity of the channel between the Bluetooth transmitter and the Bluetooth receiver, without limitation.
[0365] Case 4: The first parameter indicates the latency of the data required by the service, the transmit power of the Bluetooth transmitting device in transmitting the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame. If the first parameter is less than or equal to the first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to the first ratio; if the first parameter is greater than or equal to the preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to the second ratio. The first threshold and the preset second threshold can be the same or different, and the first ratio and the second ratio can be the same or different.
[0366] In other words, when the latency of the data required by the service is relatively low (e.g., in scenarios where Bluetooth headsets are connected to mobile phones for gaming), or the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame is relatively low (e.g., in scenarios where wearable Bluetooth devices need to reduce power consumption by decreasing transmission power), or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame is low, or the error correction capability of the encoding method of the first Bluetooth data frame is weak (e.g., error correction capability needs to be reduced to obtain other performance indicators), the proportion of the first pilot in the first Bluetooth data frame can be appropriately increased to improve the receiving performance of the Bluetooth receiver. Conversely, when a larger latency is tolerable (e.g., in scenarios where ordinary files are transferred between two Bluetooth mobile phones), or the transmission power of the Bluetooth transmitter sending the first Bluetooth data frame is relatively high (e.g., in scenarios where Bluetooth communication between desktop computers is not sensitive to power consumption), or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame is high, or the error correction capability of the encoding method of the first Bluetooth data frame is strong, the proportion of the first pilot in the first Bluetooth data frame can be appropriately reduced to reduce signaling overhead while ensuring the receiving performance of the Bluetooth receiver.
[0367] For example, taking the latency of the data required by the service as the first parameter, the first threshold as 5ms, the preset second threshold as 10ms, the first proportion as 25%, and the second proportion as 10% as an example, if the latency of the data required by the service is 1ms, the proportion of the first pilot in the first Bluetooth data frame should be greater than or equal to 25%, for example, 30%. If the latency of the data required by the service is 12ms, the proportion of the first pilot in the first Bluetooth data frame should be less than or equal to 10%, for example, 10%, or the first Bluetooth data frame may not include the first pilot.
[0368] For example, taking the first parameter as including the transmission power of the Bluetooth transmitting device sending the first Bluetooth data frame, the first threshold and the preset second threshold both being -40dBm, the first proportion being 20%, and the second proportion being 8%, if the transmission power of the Bluetooth transmitting device sending the first Bluetooth data frame is -60dBm, the proportion of the first pilot in the first Bluetooth data frame should be greater than or equal to 20%, for example, 21%. If the transmission power of the Bluetooth transmitting device sending the first Bluetooth data frame is -25dBm, the proportion of the first pilot in the first Bluetooth data frame should be less than or equal to 8%, for example, 8%, or the first Bluetooth data frame may not include the first pilot.
[0369] For example, taking the signal-to-noise ratio (SNR) of the channel used to transmit the first Bluetooth data frame as the first parameter, the first threshold as 20 dB, the preset second threshold as 30 dB, and both the first and second proportions as 15%, if the SNR of the channel used to transmit the first Bluetooth data frame is 10 dB, the proportion of the first pilot in the first Bluetooth data frame should be greater than 15%, for example, 25%. If the SNR of the channel used to transmit the first Bluetooth data frame is 40 dB, the proportion of the first pilot in the first Bluetooth data frame should be less than or equal to 15%, for example, 10%, or the first Bluetooth data frame may not include the first pilot.
[0370] For example, taking the error correction capability level of the encoding method of the first Bluetooth data frame as an example, a higher error correction capability level indicates stronger error correction capability, and a lower error correction capability level indicates weaker error correction capability. Using a first threshold of 2, a preset second threshold of 4, a first proportion of 25%, and a second proportion of 10%, if the error correction capability level of the first Bluetooth data frame is 2, the proportion of the first pilot in the first Bluetooth data frame should be greater than or equal to 25%, for example, 28%. If the error correction capability level of the first Bluetooth data frame is 5, the proportion of the first pilot in the first Bluetooth data frame should be less than or equal to 10%, for example, 9%, or the first Bluetooth data frame may not include the first pilot.
[0371] Understandably, in specific applications, the Bluetooth transmitting device can also combine multiple parameters from the above to determine the proportion of the first pilot in the first Bluetooth data frame.
[0372] S1102: The Bluetooth transmitter sends the first Bluetooth data frame to the Bluetooth receiver.
[0373] One possible implementation is that the Bluetooth transmitting device sends a first Bluetooth data frame to the Bluetooth receiving device via Bluetooth.
[0374] Correspondingly, the Bluetooth receiver receives the first Bluetooth data frame from the Bluetooth transmitter.
[0375] S1103: The Bluetooth receiver detects the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame based on the first pilot.
[0376] One possible implementation is that the phase of the first pilot when the Bluetooth receiver receives the first Bluetooth data frame is subtracted from the phase of the first pilot when the Bluetooth transmitter sends the first Bluetooth data frame, to obtain the channel phase of the channel used to transmit the first Bluetooth data frame.
[0377] For example, when the Bluetooth transmitting device sends the first Bluetooth data frame, the phase of the first pilot is θ(t), and when the Bluetooth receiving device receives the first Bluetooth data frame, the phase of the first pilot is σ(t). Then, the channel phase φ(t) of the channel used to transmit the first Bluetooth data frame is σ(t) - θ(t).
[0378] Understandably, when a Bluetooth transmitting device sends a signal, the amplitude of the signal is usually a fixed value. That is, the amplitude of the first Bluetooth data frame or the first pilot signal sent by the Bluetooth transmitting device is known. In this case, the Bluetooth receiving device divides the amplitude of the first pilot signal when it receives the first Bluetooth data frame by the amplitude of the first pilot signal when the Bluetooth transmitting device sends the first Bluetooth data frame, to obtain the channel amplitude of the channel used to transmit the first Bluetooth data frame.
[0379] For example, when the Bluetooth transmitting device sends the first Bluetooth data frame, the amplitude of the first pilot is x(t), and when the Bluetooth receiving device receives the first Bluetooth data frame, the amplitude of the first pilot is y(t). Then, the channel amplitude of the channel used to transmit the first Bluetooth data frame is...
[0380] based on Figure 11 The method shown inserts N first pilot signals with known phases into the first Bluetooth data frame. The Bluetooth receiving device can detect the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame based on the first pilot signals. On the one hand, this improves the receiving performance of the Bluetooth receiving device; on the other hand, it simplifies the process of detecting the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame.
[0381] The operation of the Bluetooth transmitting device and / or Bluetooth receiving device in S1101-S1103 can be achieved by... Figure 3 The processor 301 in the Bluetooth communication device 30 shown calls the application code stored in the memory 303 to instruct the Bluetooth transmitting device to execute, and this embodiment does not impose any restrictions on this.
[0382] Figure 11The method described illustrates the insertion of a first pilot signal into a first Bluetooth data frame. In specific applications, the Bluetooth transmitting and receiving devices can also negotiate the frame format, using this negotiated frame format for subsequent Bluetooth data frame transmissions. For example, the Bluetooth transmitting device can negotiate the frame format of the Bluetooth data frames transmitted between them based on a third parameter. This third parameter indicates the signal quality of the second Bluetooth data frame or the signal strength of any interference signals.
[0383] Furthermore, the negotiation of the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device can be triggered by either the Bluetooth receiving device or the Bluetooth transmitting device. The specific processes of the Bluetooth receiving device triggering the frame format negotiation and the Bluetooth transmitting device triggering the frame format negotiation are described below.
[0384] Optional, in Figure 11 In one possible implementation of the method shown, the Bluetooth receiving device can trigger a negotiation of the frame format. For details, please refer to... Figure 13 The method shown, Figure 11 The method shown may also include S1301-S1303.
[0385] S1301: The Bluetooth transmitter sends a second Bluetooth data frame to the Bluetooth receiver.
[0386] The second Bluetooth data frame differs from the first Bluetooth data frame. The second Bluetooth data frame includes a second AC, a second data field, and M first pilots; or, the second Bluetooth data frame includes a second AC and a second data field. The second Bluetooth data frame may also include a second preamble. M is a positive integer. The first pilots in the second Bluetooth data frame can be the same as or different from the first Bluetooth data frame. For example, the first pilots in the second and first Bluetooth data frames can be exactly the same; or, the first pilots in the second and first Bluetooth data frames can occupy the same number of bits but have different values or phases; or, the first pilots in the second and first Bluetooth data frames can occupy different numbers of bits, provided the phases of the first pilots in the second and first Bluetooth data frames are known. The descriptions of the second preamble, second AC, and second data field can be found in the corresponding descriptions of the first preamble, first AC, and first data field, and will not be repeated here.
[0387] In this embodiment, the second Bluetooth data frame differs from the first Bluetooth data frame, meaning that the content included in the second Bluetooth data frame is different from that in the first Bluetooth data frame. For example, the second Bluetooth data frame may not include the first pilot signal, while the first Bluetooth data frame may include the first pilot signal. Alternatively, the first pilot signal included in the second Bluetooth data frame may be different from that included in the first Bluetooth data frame.
[0388] One possible implementation is that the Bluetooth transmitting device sends a second Bluetooth data frame to the Bluetooth receiving device via Bluetooth.
[0389] Correspondingly, the Bluetooth receiver receives a second Bluetooth data frame from the Bluetooth transmitter.
[0390] S1302: The Bluetooth receiver sends the first information to the Bluetooth transmitter.
[0391] The first information can be used to request a switch in the frame format of Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. For example, the first information can be used to request a reduction in the proportion of the first pilot in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device, or the first information can be used to request an increase in the proportion of the first pilot in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. It is understood that if the first information requests a reduction in the proportion of the first pilot in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device, then the proportion of the first pilot in the first Bluetooth data frame is less than the proportion of the first pilot in the second Bluetooth data frame; if the first information requests an increase in the proportion of the first pilot in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device, then the proportion of the first pilot in the first Bluetooth data frame is greater than the proportion of the first pilot in the second Bluetooth data frame.
[0392] For example, the first information may include an identifier of at least one frame format supported by the Bluetooth receiving device. Alternatively, the first information may include a 1-bit indication information used to indicate switching the frame format of Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. Alternatively, the first information may include an identifier of at least one frame format that the Bluetooth receiving device wishes to switch to. It is understood that, in the embodiments of this application, the frame formats supported by the Bluetooth receiving device include the frame format of the first Bluetooth data frame, and the frame format that the Bluetooth receiving device wishes to switch to also includes the frame format of the first Bluetooth data frame.
[0393] Understandably, if the Bluetooth receiving device determines that the communication quality has degraded or improved, it can trigger a frame format switch, meaning it can send first information to the Bluetooth transmitting device. Furthermore, the Bluetooth receiving device can determine the communication quality based on a third parameter. This third parameter can be used to indicate the signal quality of the second Bluetooth data frame. The process by which the Bluetooth receiving device determines the communication quality based on the third parameter can be illustrated by the following example:
[0394] Example 3: Taking RSSI, CRC success rate, frame synchronization success rate, throughput, or signal-to-noise ratio as examples, if the third parameter is greater than or equal to a preset third threshold, that is, the Bluetooth receiving device determines that the communication quality has improved, the first information is used to request a reduction in the proportion of the first pilot in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. If the third parameter is less than the preset third threshold, that is, the Bluetooth receiving device determines that the communication quality has deteriorated, the first information is used to request an increase in the proportion of the first pilot in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device.
[0395] Example 4: Taking interference strength as an example, if the third parameter is greater than or equal to a preset seventh threshold, meaning the Bluetooth receiver determines that the communication quality has deteriorated, the first information is used to request an increase in the proportion of the first pilot in the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter; if the third parameter is less than the preset seventh threshold, meaning the Bluetooth receiver determines that the communication quality has improved, the first information is used to request a decrease in the proportion of the first pilot in the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter. Understandably, in this case... Figure 13 The method shown may exclude S1301.
[0396] The following example illustrates the process of user A entering an exhibition center, with user A's mobile phone as the Bluetooth transmitter and user A's Bluetooth headset as the Bluetooth receiver, and user A listening to music through the Bluetooth headset. Before entering the exhibition center, interference is minimal, and the mobile phone and Bluetooth headset can communicate using the second Bluetooth data frame format. Upon entering the exhibition center, the number of surrounding users suddenly increases, leading to various interferences. The Bluetooth headset detects a decrease in the CRC success rate, falling below a preset third threshold, and sends the first information to the mobile phone to increase the proportion of the first pilot in the Bluetooth data frames transmitted between the Bluetooth receiver and transmitter. As user A enters a booth, the number of surrounding users further increases, increasing interference intensity. The Bluetooth headset detects a significant decrease in the frame synchronization success rate, falling below the preset third threshold, and sends the first information to the mobile phone to increase the proportion of the first pilot in the Bluetooth data frames transmitted between the Bluetooth receiver and transmitter. User A enters a conference hall and encounters strong WiFi signal interference. The Bluetooth headset detects a decrease in throughput, falling below a preset third threshold, and simultaneously detects strong interference (interference intensity greater than or equal to a preset seventh threshold). It then sends a first message to the phone to increase the proportion of the first pilot signal in the Bluetooth data frames transmitted between the Bluetooth receiver and transmitter. After User A finishes their visit and leaves the convention center, the Bluetooth headset detects the surrounding interference has disappeared (interference intensity less than the preset seventh threshold). It then sends a first message to the phone to decrease the proportion of the first pilot signal in the Bluetooth data frames transmitted between the Bluetooth receiver and transmitter.
[0397] One possible implementation is that the Bluetooth receiving device sends first information to the Bluetooth transmitting device during the transmission interval between the second Bluetooth data frame and the first Bluetooth data frame.
[0398] One possible implementation is that the Bluetooth receiving device sends the first information to the Bluetooth sending device via Bluetooth.
[0399] Correspondingly, the Bluetooth transmitting device receives the first information from the Bluetooth receiving device.
[0400] S1303: The Bluetooth transmitter sends a second message to the Bluetooth receiver.
[0401] For a detailed description of S1303, please refer to the corresponding description in S703 above, which will not be repeated here.
[0402] based on Figure 13The method shown allows the Bluetooth receiver to negotiate the frame format with the Bluetooth transmitter and dynamically adjust the frame format of the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter, enabling the Bluetooth transmitter and the Bluetooth receiver to communicate using a suitable frame format. This improves the receiving performance of the Bluetooth receiver while reducing communication overhead.
[0403] The operation of the Bluetooth transmitting device and / or Bluetooth receiving device in S1301-S1303 can be achieved by... Figure 3 The processor 301 in the Bluetooth communication device 30 shown calls the application code stored in the memory 303 to instruct the Bluetooth transmitting device to execute, and this embodiment does not impose any restrictions on this.
[0404] Figure 13 The method described illustrates the process by which a Bluetooth receiving device triggers a frame format negotiation. In practical applications, a Bluetooth transmitting device can also trigger a frame format negotiation. For details, please refer to the following... Figure 14 The method shown.
[0405] Optional, such as Figure 14 As shown, in Figure 11 In one possible implementation of the method shown, Figure 11 The method shown may also include S1401-S1402.
[0406] S1401: The Bluetooth transmitter sends the first information to the Bluetooth receiver.
[0407] The description of the first information can be found in the corresponding description in S1301 above. The difference is that the first information in S1401 may include an identifier of at least one frame format supported by the Bluetooth transmitting device. Alternatively, the first information in S1401 may include 1 bit of indication information used to indicate switching the frame format of Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. Alternatively, the first information in S1401 may include an identifier of at least one frame format that the Bluetooth transmitting device wishes to switch to. It is understood that in this embodiment, the frame formats supported by the Bluetooth transmitting device include the frame format of the first Bluetooth data frame, and the frame formats that the Bluetooth transmitting device wishes to switch to also include the frame format of the first Bluetooth data frame.
[0408] Understandably, if the Bluetooth transmitter determines that the signal strength of the interference signal has increased or decreased, the Bluetooth transmitter can trigger a frame format switch, that is, the Bluetooth transmitter can send the first information to the Bluetooth receiver.
[0409] One possible implementation is that if the signal strength of the interference signal is greater than or equal to a preset fourth threshold, the Bluetooth transmitting device sends a first message to the Bluetooth receiving device, the first message being used to request an increase in the proportion of the first pilot in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device; if the signal strength of the interference signal is less than the preset fourth threshold, the Bluetooth transmitting device sends a first message to the Bluetooth receiving device, the first message being used to request a decrease in the proportion of the first pilot in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device.
[0410] One possible implementation is that the Bluetooth transmitting device sends the first information to the Bluetooth receiving device via Bluetooth.
[0411] Correspondingly, the Bluetooth receiver receives the first information from the Bluetooth transmitter.
[0412] S1402: The Bluetooth receiver sends a second message to the Bluetooth transmitter.
[0413] The specific process of S1402 can be referred to the corresponding description in S1303 above, and will not be repeated here.
[0414] Understandably, after S1402, the Bluetooth transmitting device and the Bluetooth receiving device can communicate using the negotiated frame format. Furthermore, the first or second information can carry a time slot identifier, and subsequently, the Bluetooth transmitting device and the Bluetooth receiving device can communicate using the negotiated frame format in the time slot indicated by the time slot identifier.
[0415] Understandable, except Figure 14 In addition to the method shown, the Bluetooth transmitting device can also negotiate the frame format with the Bluetooth receiving device through multiple information exchanges. For example, the Bluetooth transmitting device can send a frame format identifier to the Bluetooth receiving device each time, and the Bluetooth receiving device determines whether to use the frame format indicated by the Bluetooth transmitting device through an indication message. If the Bluetooth receiving device determines to use the frame format indicated by the Bluetooth transmitting device, the negotiation is complete. If the Bluetooth receiving device determines not to use the frame format indicated by the Bluetooth transmitting device, the Bluetooth transmitting device sends another frame format identifier to the Bluetooth receiving device until the Bluetooth receiving device determines to use the frame format indicated by the Bluetooth transmitting device.
[0416] based on Figure 14 The method shown allows the Bluetooth transmitting device to negotiate the frame format with the Bluetooth receiving device and dynamically adjust the frame format of the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. This enables the Bluetooth transmitting device and the Bluetooth receiving device to communicate using a suitable frame format, thereby improving the receiving performance of the Bluetooth receiving device while reducing communication overhead.
[0417] The operation of the Bluetooth transmitting device and / or Bluetooth receiving device in S1401-S1402 can be achieved by... Figure 3 The processor 301 in the Bluetooth communication device 30 shown calls the application code stored in the memory 303 to instruct the Bluetooth transmitting device to execute, and this embodiment does not impose any restrictions on this.
[0418] The above Figure 4 , Figures 7-10 Specifically, when the first Bluetooth data frame includes a first synchronization code, the Bluetooth receiving device can perform synchronization detection based on the first synchronization code to improve the success rate of synchronization detection and thus improve the success rate of data reception. Figure 11 , Figures 13-14 Specifically, when the first Bluetooth data frame includes a first pilot, the Bluetooth receiving device can detect the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame based on the first pilot, thereby improving the receiving performance of the Bluetooth receiving device. In specific applications, both the first synchronization code and the first pilot can be included in the first Bluetooth data frame. This allows the Bluetooth receiving device to perform synchronization detection based on the first synchronization code, improving the success rate of synchronization detection and thus increasing the success rate of data reception. The Bluetooth receiving device can also detect the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame based on the first pilot, further improving its receiving performance. The following section elaborates on the case where both the first synchronization code and the first pilot are included in the first Bluetooth data frame.
[0419] like Figure 15 As shown, this is another Bluetooth communication method provided in the embodiment of this application, which may include S1501-S1503.
[0420] S1501: The Bluetooth transmitter generates the first Bluetooth data frame.
[0421] The first Bluetooth data frame may include a first AC, a first synchronization code, a first data field, and N first pilots. The first Bluetooth data frame may also include a first preamble. For details regarding the Bluetooth transmitting device, the first preamble, first AC, first synchronization code, and first data field can be found in the corresponding description in S401 above, and the first pilots can be found in the corresponding description in S1101 above; further details will not be provided here.
[0422] For example, the frame format of the first Bluetooth data frame can be as follows: Figure 16 As shown. Figure 16 In (a), the first synchronization code is located between the first AC and the first data field, and the first pilot is inserted into the first preamble. Figure 16In (b) of the first synchronization code, the first synchronization code is located between the first preamble and the first AC, and the first pilot is inserted into the first synchronization code. Figure 16 In (c), the first synchronization code is located between the first preamble and the first AC, and the first pilot is inserted into the first AC. Figure 16 In (d), the first synchronization code is located between the first AC and the first data field, and the first pilot is inserted proportionally into the first preamble, the first AC, the first synchronization code, and the first data field. Figure 16 In (e), the first synchronization code is located between the first AC and the first data field, and the first pilot is non-proportionally inserted into the first preamble, the first AC, the first synchronization code and the first data field.
[0423] Understandably, the first Bluetooth data frame may also include other content, for example, Figure 16 In (f) of the first Bluetooth data frame, the first packet header is also included. The first synchronization code is located between the first preamble and the first AC, and the first pilot is non-proportionally inserted into the first preamble, the first packet header, and the first data field.
[0424] S1502: The Bluetooth transmitter sends the first Bluetooth data frame to the Bluetooth receiver.
[0425] One possible implementation is that the Bluetooth transmitting device sends a first Bluetooth data frame to the Bluetooth receiving device via Bluetooth.
[0426] Correspondingly, the Bluetooth receiver receives the first Bluetooth data frame from the Bluetooth transmitter.
[0427] S1503: The Bluetooth receiver detects the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame based on the first pilot, and performs synchronization detection based on the first synchronization code.
[0428] For an introduction to S1503, please refer to the corresponding descriptions in S403 and S1103 above, which will not be repeated here.
[0429] based on Figure 15 The method shown inserts a first synchronization code and N first pilots with known phases into the first Bluetooth data frame. On one hand, the Bluetooth receiver can perform synchronization detection based on the first synchronization code to improve the success rate of synchronization detection, thereby improving the success rate of data reception. On the other hand, the Bluetooth receiver can detect the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame based on the first pilots to improve the reception performance of the Bluetooth receiver and also simplify the process of detecting the channel phase and / or channel amplitude of the channel used to transmit the first Bluetooth data frame.
[0430] The operation of the Bluetooth transmitting device and / or Bluetooth receiving device in S1501-S1503 can be achieved by... Figure 3 The processor 301 in the Bluetooth communication device 30 shown calls the application code stored in the memory 303 to instruct the Bluetooth transmitting device to execute, and this embodiment does not impose any restrictions on this.
[0431] Optional, in Figure 15 In one possible implementation of the method shown, the Bluetooth receiving device can trigger a negotiation of the frame format. For example, the Bluetooth receiving device can trigger a negotiation to decrease or increase the length of the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. Specifically, refer to the above... Figure 7 The description in the illustrated embodiment is as follows. For example, the Bluetooth receiving device can also trigger negotiation to reduce or increase the proportion of the first pilot in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. Specifically, please refer to the above. Figure 13 The embodiments shown are described below. It will be understood that in specific applications, Figure 7 The method shown and Figure 13 The methods shown can also be combined. That is, the Bluetooth receiver can trigger negotiation to change (decrease or increase) the length of the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter, and to change (decrease or increase) the proportion of the first pilot in the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter.
[0432] Optional, in Figure 15 In one possible implementation of the method shown, the Bluetooth transmitting device can trigger a negotiation of the frame format. For example, the Bluetooth transmitting device can trigger a negotiation to decrease the length of the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device, or to increase the length of the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. Specifically, refer to the above... Figure 8 The description in the illustrated embodiment is as follows. For example, the Bluetooth transmitting device can also trigger negotiation to reduce or increase the proportion of the first pilot in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device. Specifically, please refer to the above. Figure 14 The embodiments shown are described below. It will be understood that in specific applications, Figure 8 The method shown and Figure 14The methods shown can also be combined. That is, the Bluetooth transmitting device can trigger negotiation to change (decrease or increase) the length of the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device, and to change (decrease or increase) the proportion of the first pilot in the Bluetooth data frames transmitted between the Bluetooth receiving device and the Bluetooth transmitting device.
[0433] Optional, in Figure 15 In one possible implementation of the method shown, the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiving device and the Bluetooth transmitting device may be included in a first synchronization code set, that is, both the first synchronization code and the second synchronization code are included in the first synchronization code set. The first synchronization code set may include at least one synchronization code. The at least one synchronization code is any sequence with excellent correlation performance, for example, a pseudo-random sequence. In one possible implementation, the at least one synchronization code may include at least one of an m-sequence, a gold sequence, or a kasami sequence.
[0434] Understandably, the first synchronization code set can be a subset of the second synchronization code set. The second synchronization code set can include all synchronization codes that can be used in Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth transmitter. In normal use, the Bluetooth transmitter and receiver determine their synchronization codes from the first synchronization code set, which reduces the size of the synchronization code set used and lowers the hardware resource requirements of the Bluetooth transmitter and receiver. However, if there are many Bluetooth devices around the Bluetooth transmitter and / or receiver, it is possible that the synchronization codes used by the Bluetooth transmitter and receiver may be the same as those used by the surrounding Bluetooth devices. In this case, missynchronization may occur, meaning the Bluetooth transmitter, receiver, or surrounding Bluetooth devices may receive information that was not intended for them, increasing the power consumption and signaling overhead of the Bluetooth transmitter, receiver, and surrounding Bluetooth devices.
[0435] To avoid the aforementioned issues, in multi-user scenarios (where the number of Bluetooth devices surrounding the Bluetooth transmitter and / or receiver is greater than or equal to a preset first value), the Bluetooth transmitter and receiver can dynamically adjust the set of synchronization codes they use. For example, when there are many Bluetooth devices surrounding the Bluetooth transmitter and / or receiver, the Bluetooth transmitter and receiver use a synchronization code set containing a larger number of synchronization codes, ensuring a high success rate for synchronization detection while reducing power consumption and signaling overhead. When there are few Bluetooth devices surrounding the Bluetooth transmitter and / or receiver, the Bluetooth transmitter and receiver use a synchronization code set containing a smaller number of synchronization codes, reducing the hardware resource requirements of the Bluetooth transmitter and receiver.
[0436] Optional, in Figure 15 In one possible implementation of the method shown, if the synchronization code in the Bluetooth data frame transmitted between the Bluetooth receiving device and the Bluetooth transmitting device is included in the first synchronization code set, the Bluetooth receiving device and the Bluetooth transmitting device can negotiate the synchronization code before transmitting data. The process of negotiating the synchronization code between the Bluetooth transmitting device and the Bluetooth receiving device can be referred to the above. Figure 9 and Figure 10 The embodiments shown are described below.
[0437] The above mainly describes the solutions provided by the embodiments of this application from the perspective of interaction between various network elements. It is understood that the Bluetooth transmitting or receiving devices described above, in order to achieve the above functions, include hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, in conjunction with the unit and algorithm operations of the various examples described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0438] This application embodiment can divide the Bluetooth transmitting device or Bluetooth receiving device into functional modules according to the above method examples. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0439] For example, when dividing the functional modules using an integrated approach. Figure 17 A schematic diagram of a Bluetooth communication device 170 is shown. The Bluetooth communication device 170 includes a processing module 1701 and a transceiver module 1702.
[0440] For example, the Bluetooth communication device 170 is used to implement the function of a Bluetooth transmitting device. The Bluetooth communication device 170 is, for example, a... Figure 4 The embodiment shown, Figure 7 The embodiment shown, Figure 8 The embodiment shown, Figure 9 The embodiment shown, Figure 10 The embodiment shown, Figure 11 The embodiment shown, Figure 13 The illustrated embodiments or Figure 14The Bluetooth transmitting device described in the illustrated embodiment.
[0441] In this embodiment, the Bluetooth communication device 170 can be a Bluetooth transmitting device, or a chip or other combination device or component having the aforementioned Bluetooth transmitting device functions. When the Bluetooth communication device 170 is a Bluetooth transmitting device, the processing module 1701 can be a processor (or processing circuit), such as a baseband processor, which may include one or more CPUs. The transceiver module 1702 can be a transceiver, which may include an antenna and radio frequency circuits. When the Bluetooth communication device 170 is a component having the aforementioned Bluetooth transmitting device functions, the processing module 1701 can be a processor (or processing circuit), such as a baseband processor, and the transceiver module 1702 can be a radio frequency unit. When the Bluetooth communication device 170 is a chip system, the processing module 1701 can be a processor (or processing circuit) of the chip system, which may include one or more central processing units, and the transceiver module 1702 can be an input / output interface of the chip (e.g., a baseband chip). It should be understood that the processing module 1701 in the embodiments of this application can be implemented by a processor or processor-related circuit components (or, referred to as processing circuitry), and the transceiver module 1702 can be implemented by a transceiver or transceiver-related circuit components.
[0442] For example, processing module 1701 can be used to execute Figure 4 In the illustrated embodiment, all operations other than the transmit / receive operation are performed by the Bluetooth transmitting device, such as S401, and / or other processes used to support the technology described herein. The transceiver module 1702 can be used to perform... Figure 4 The embodiments shown include all transmit and receive operations performed by the Bluetooth transmitting device, such as S402, and / or other processes used to support the techniques described herein.
[0443] For example, processing module 1701 can be used to execute... Figure 7 In the illustrated embodiment, all operations other than the transmit / receive operation are performed by the Bluetooth transmitting device, such as S401, and / or other processes used to support the technology described herein. The transceiver module 1702 can be used to perform... Figure 7 All transmit and receive operations performed by the Bluetooth transmitting device in the illustrated embodiments, such as S701-S703 and S402, and / or other processes used to support the technology described herein.
[0444] For example, processing module 1701 can be used to execute... Figure 8 In the illustrated embodiment, all operations other than the transmit / receive operation are performed by the Bluetooth transmitting device, such as S401, and / or other processes used to support the technology described herein. The transceiver module 1702 can be used to perform... Figure 8 All transmit and receive operations performed by the Bluetooth transmitting device in the illustrated embodiments, such as S801-S802 and S402, and / or other processes used to support the technology described herein.
[0445] For example, processing module 1701 can be used to execute... Figure 9 In the illustrated embodiment, all operations other than the transmit / receive operation are performed by the Bluetooth transmitting device, such as S401, and / or other processes used to support the technology described herein. The transceiver module 1702 can be used to perform... Figure 9 All transmit and receive operations performed by the Bluetooth transmitting device in the illustrated embodiments, such as S901-S902 and S402, and / or other processes used to support the technology described herein.
[0446] For example, processing module 1701 can be used to execute... Figure 10 In the illustrated embodiment, all operations other than the transmit / receive operation are performed by the Bluetooth transmitting device, such as S401, and / or other processes used to support the technology described herein. The transceiver module 1702 can be used to perform... Figure 10 All transmit and receive operations performed by the Bluetooth transmitting device in the illustrated embodiments, such as S1001-S1002 and S402, and / or other processes used to support the technology described herein.
[0447] For example, processing module 1701 can be used to execute... Figure 11 In the illustrated embodiment, all operations other than the transmit / receive operation are performed by the Bluetooth transmitting device, such as S1101, and / or other processes used to support the technology described herein. The transceiver module 1702 can be used to perform... Figure 11 The embodiments shown include all transmit and receive operations performed by the Bluetooth transmitting device, such as S1102, and / or other processes used to support the technology described herein.
[0448] For example, processing module 1701 can be used to execute... Figure 13 In the illustrated embodiment, all operations other than the transmit / receive operation are performed by the Bluetooth transmitting device, such as S1101, and / or other processes used to support the technology described herein. The transceiver module 1702 can be used to perform... Figure 13 All transmit and receive operations performed by the Bluetooth transmitting device in the illustrated embodiments, such as S1301-S1303 and S1102, and / or other processes used to support the technology described herein.
[0449] For example, processing module 1701 can be used to execute... Figure 14In the illustrated embodiment, all operations other than the transmit / receive operation are performed by the Bluetooth transmitting device, such as S1101, and / or other processes used to support the technology described herein. The transceiver module 1702 can be used to perform... Figure 14 All transmit and receive operations performed by the Bluetooth transmitting device in the illustrated embodiments, such as S1401-S1402 and S1102, and / or other processes used to support the technology described herein.
[0450] Bluetooth communication device 170 Figure 4 The embodiment shown, Figure 7 The embodiment shown, Figure 8 The embodiment shown, Figure 9 The illustrated embodiments, or Figure 10 In the case of the Bluetooth transmitting device described in the illustrated embodiment:
[0451] The processing module 1701 is used to generate a first Bluetooth data frame, the first Bluetooth data frame including a first access code, a first synchronization code and a first data field; wherein the first synchronization code is located before the first data field, and at least one of the autocorrelation or cross-correlation of the first synchronization code is better than the first access code.
[0452] The transceiver module 1702 is used to send the first Bluetooth data frame to the Bluetooth receiving device.
[0453] One possible implementation is that the first synchronization code is a pseudo-random sequence.
[0454] One possible implementation is that the first synchronization code is an m-sequence, a gold sequence, or a kasami sequence.
[0455] In one possible implementation, the processing module 1701 is further configured to acquire a first parameter, which is used to indicate the requirements of the Bluetooth service and / or the communication parameters of the Bluetooth communication; the processing module 1701 is further configured to determine the length of the first synchronization code based on the first parameter, wherein the length of the first synchronization code is related to the autocorrelation or cross-correlation of the first synchronization code.
[0456] One possible implementation is that if the first parameter is greater than or equal to a first threshold, the length of the first synchronization code is greater than or equal to a first length; if the first parameter is less than or equal to a preset second threshold, the length of the first synchronization code is less than or equal to a second ratio; wherein the first parameter is used to indicate one of the following parameters: data retransmission rate, reliability of data required by the service, transmission distance of the first Bluetooth data frame, or signal strength of interference signals received by the Bluetooth receiving device.
[0457] One possible implementation is that if the first parameter is less than or equal to the first threshold, the length of the first synchronization code is greater than or equal to the first length; if the first parameter is greater than or equal to the preset second threshold, the length of the first synchronization code is less than or equal to the second ratio; wherein the first parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmit power of the Bluetooth communication device 170 in transmitting the first Bluetooth data frame, or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame.
[0458] In one possible implementation, the processing module 1701 is further configured to negotiate a first random number with the Bluetooth receiving device. The first random number is used to determine a first synchronization code from a first synchronization code set, the first synchronization code set including at least one synchronization code.
[0459] In one possible implementation, the number of Bluetooth devices surrounding the Bluetooth receiver and / or Bluetooth communication device 170 is greater than or equal to a preset first value, and the number of synchronization codes in the first synchronization code set is greater than or equal to a preset second value.
[0460] In one possible implementation, the processing module 1701 is further configured to negotiate a second random number with the Bluetooth receiver, the second random number being used to determine a first time interval, the first time interval being the time interval for updating the synchronization code in the Bluetooth data frames transmitted between the Bluetooth receiver and the Bluetooth communication device 170.
[0461] One possible implementation is that the first Bluetooth data frame also includes N first pilots, where the first pilots are pilots with known phases and N is a positive integer.
[0462] One possible implementation is that, in the first Bluetooth data frame, the first pilot is inserted into at least one of the following: the first access code, the first synchronization code, or the first data field.
[0463] In one possible implementation, the processing module 1701 is further configured to acquire a second parameter, which is used to indicate at least one of the requirements of Bluetooth service or the communication parameters of Bluetooth communication; the processing module 1701 is further configured to determine the proportion of the first pilot to the first Bluetooth data frame based on the second parameter.
[0464] One possible implementation is that if the second parameter is greater than or equal to a preset fifth threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a third proportion; if the second parameter is less than or equal to a preset sixth threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a fourth proportion; wherein the second parameter is used to indicate one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth receiver.
[0465] One possible implementation is that if the third parameter is less than or equal to a preset fifth threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to the third proportion; if the second parameter is greater than or equal to a preset sixth threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to the fourth proportion; wherein, the second parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmit power of the Bluetooth communication device 170 in transmitting the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame.
[0466] One possible implementation is that the N first pilots are the same or different.
[0467] In one possible implementation, the transceiver module 1702 is further configured to send a second Bluetooth data frame to the Bluetooth receiving device, the second Bluetooth data frame being different from the first Bluetooth data frame; the processing module 1702 is further configured to negotiate with the Bluetooth receiving device, based on a third parameter, the frame format of the Bluetooth data frame transmitted between the Bluetooth receiving device and the Bluetooth communication device 170, the third parameter being used to indicate the signal quality of the second Bluetooth data frame or the signal strength of the interference signal.
[0468] Bluetooth communication device 170 Figure 11 The embodiment shown, Figure 13 The illustrated embodiments or Figure 14 In the case of the Bluetooth transmitting device described in the illustrated embodiment:
[0469] The processing module 1701 is used to generate a first Bluetooth data frame. The first Bluetooth data frame includes a first access code, a first data field, and N first pilots. The first pilots are pilots with known phases, and N is a positive integer. The first pilots are used to detect at least one of the channel phase or channel amplitude of the channel through which the first Bluetooth data frame is transmitted.
[0470] The transceiver module 1702 is used to send the first Bluetooth data frame to the Bluetooth receiving device.
[0471] One possible implementation is that, in the first Bluetooth data frame, the first pilot is inserted into at least one of the following: the first access code or the first data field.
[0472] In one possible implementation, the processing module 1701 is further configured to acquire a first parameter, which is used to indicate at least one of the requirements of Bluetooth service or the communication parameters of Bluetooth communication; the processing module 1701 is further configured to determine the proportion of the first pilot to the first Bluetooth data frame based on the first parameter.
[0473] One possible implementation is that if the first parameter is greater than or equal to the first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to the first ratio; if the first parameter is less than or equal to the preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to the second ratio; wherein, the first parameter is used to indicate one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth receiving device.
[0474] One possible implementation is that if the first parameter is less than or equal to the first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to the first ratio; if the first parameter is greater than or equal to the preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to the second ratio; wherein, the first parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmit power of the Bluetooth communication device 170 in transmitting the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame.
[0475] One possible implementation is that the N first pilots are the same or different.
[0476] When used to implement the functions of a Bluetooth transmitting device, for other functions that the Bluetooth communication device 170 can perform, please refer to [reference needed]. Figure 4 The embodiment shown, Figure 7 The embodiment shown, Figure 8 The embodiment shown, Figure 9 The embodiment shown, Figure 10 The embodiment shown, Figure 11 The embodiment shown, Figure 13 The illustrated embodiments or Figure 14 The relevant descriptions of the embodiments shown will not be elaborated upon further.
[0477] For example, when dividing the functional modules using an integrated approach. Figure 18 A schematic diagram of a Bluetooth communication device 180 is shown. The Bluetooth communication device 180 includes a transceiver module 1801 and a processing module 1802.
[0478] For example, the Bluetooth communication device 180 is used to implement the function of a Bluetooth receiving device. The Bluetooth communication device 180 is, for example, a... Figure 4 The embodiment shown, Figure 7 The embodiment shown, Figure 8 The embodiment shown, Figure 9 The embodiment shown, Figure 10 The embodiment shown, Figure 11 The embodiment shown, Figure 13The illustrated embodiments or Figure 14 The Bluetooth receiver device described in the illustrated embodiment.
[0479] In this embodiment, the Bluetooth communication device 180 can be a Bluetooth receiver, or a chip or other combination device or component having the aforementioned Bluetooth receiver functions. When the Bluetooth communication device 180 is a Bluetooth receiver, the transceiver module 1801 can be a transceiver, which may include an antenna and radio frequency circuits, etc., and the processing module 1802 can be a processor (or processing circuit), such as a baseband processor, which may include one or more CPUs. When the Bluetooth communication device 180 is a component having the aforementioned Bluetooth receiver functions, the transceiver module 1801 can be a radio frequency unit, and the processing module 1802 can be a processor (or processing circuit), such as a baseband processor. When the Bluetooth communication device 180 is a chip system, the transceiver module 1801 can be an input / output interface of a chip (e.g., a baseband chip), and the processing module 1802 can be a processor (or processing circuit) of the chip system, which may include one or more central processing units. It should be understood that the transceiver module 1801 in the embodiments of this application can be implemented by a transceiver or transceiver-related circuit components, and the processing module 1802 can be implemented by a processor or processor-related circuit components (or, referred to as processing circuit).
[0480] For example, transceiver module 1801 can be used to perform... Figure 4 The embodiments shown include all transmit and receive operations performed by the Bluetooth receiving device, such as S402, and / or other processes used to support the techniques described herein. Processing module 1802 can be used to perform... Figure 4 In the illustrated embodiments, all operations performed by the Bluetooth receiving device other than the transmit / receive operation, such as S403, and / or other processes used to support the technology described herein.
[0481] For example, the transceiver module 1801 can be used to perform... Figure 7 The embodiments shown include all transmit and receive operations performed by the Bluetooth receiving device, such as S701-S703 and S402, and / or other processes used to support the techniques described herein. Processing module 1802 can be used to perform... Figure 7 In the illustrated embodiments, all operations performed by the Bluetooth receiving device other than the transmit / receive operation, such as S403, and / or other processes used to support the technology described herein.
[0482] For example, the transceiver module 1801 can be used to perform... Figure 8The embodiments shown include all transmit and receive operations performed by the Bluetooth receiving device, such as S801-S802 and S402, and / or other processes used to support the techniques described herein. Processing module 1802 can be used to perform... Figure 8 In the illustrated embodiments, all operations performed by the Bluetooth receiving device other than the transmit / receive operation, such as S403, and / or other processes used to support the technology described herein.
[0483] For example, the transceiver module 1801 can be used to perform... Figure 9 In the illustrated embodiment, all transmit and receive operations performed by the Bluetooth receiving device, such as S901-S902 and S402, and / or other processes used to support the technology described herein, are executed. Processing module 1802 can be used to perform... Figure 9 In the illustrated embodiments, all operations performed by the Bluetooth receiving device other than the transmit / receive operation, such as S403, and / or other processes used to support the technology described herein.
[0484] For example, the transceiver module 1801 can be used to perform... Figure 10 In the illustrated embodiment, all transmit and receive operations performed by the Bluetooth receiving device, such as S1001-S1002 and S402, and / or other processes used to support the technology described herein, are executed. Processing module 1802 can be used to perform... Figure 10 In the illustrated embodiments, all operations performed by the Bluetooth receiving device other than the transmit / receive operation, such as S403, and / or other processes used to support the technology described herein.
[0485] For example, the transceiver module 1801 can be used to perform... Figure 11 The embodiments shown include all transmit and receive operations performed by the Bluetooth receiving device, such as S1102, and / or other processes used to support the techniques described herein. Processing module 1802 can be used to perform... Figure 11 In the illustrated embodiments, all operations performed by the Bluetooth receiving device other than the transmit / receive operation, such as S1103, and / or other processes used to support the technology described herein.
[0486] For example, the transceiver module 1801 can be used to perform... Figure 13 In the illustrated embodiment, all transmit and receive operations performed by the Bluetooth receiving device, such as S1301-S1303 and S1102, and / or other processes used to support the technology described herein, are executed. Processing module 1802 can be used to perform... Figure 13 In the illustrated embodiments, all operations performed by the Bluetooth receiving device other than the transmit / receive operation, such as S1103, and / or other processes used to support the technology described herein.
[0487] For example, the transceiver module 1801 can be used to perform... Figure 14 In the illustrated embodiment, all transmit and receive operations performed by the Bluetooth receiving device, such as S1401-S1402 and S1102, and / or other processes used to support the technology described herein, are executed. Processing module 1802 can be used to perform... Figure 14 In the illustrated embodiments, all operations performed by the Bluetooth receiving device other than the transmit / receive operation, such as S1103, and / or other processes used to support the technology described herein.
[0488] Bluetooth communication device 180 Figure 4 The embodiment shown, Figure 7 The embodiment shown, Figure 8 The embodiment shown, Figure 9 The illustrated embodiments, or Figure 10 In the case of the Bluetooth receiver device described in the illustrated embodiment:
[0489] The transceiver module 1801 is used to receive a first Bluetooth data frame from a Bluetooth transmitting device. The first Bluetooth data frame includes a first access code, a first synchronization code, and a first data field. The first synchronization code is located before the first data field, and at least one of the autocorrelation or cross-correlation of the first synchronization code is better than that of the first access code.
[0490] The processing module 1802 is used to perform synchronization detection based on the first synchronization code.
[0491] One possible implementation is that the first synchronization code is a pseudo-random sequence.
[0492] One possible implementation is that the first synchronization code is an m-sequence, a gold sequence, or a kasami sequence.
[0493] One possible implementation is that if the first parameter is greater than or equal to the first threshold, the length of the first synchronization code is greater than or equal to the first length; if the first parameter is less than or equal to the preset second threshold, the length of the first synchronization code is less than or equal to the second length; wherein the first parameter is used to indicate one of the following parameters: data retransmission rate, reliability of data required by the service, transmission distance of the first Bluetooth data frame, or signal strength of interference signal received by Bluetooth communication device 180.
[0494] One possible implementation is that if the first parameter is less than or equal to the first threshold, the length of the first synchronization code is greater than or equal to the first length; if the first parameter is greater than or equal to the preset second threshold, the length of the first synchronization code is less than or equal to the second length; wherein the first parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmit power of the Bluetooth transmitting device to transmit the first Bluetooth data frame, or the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame.
[0495] In one possible implementation, the processing module 1802 is further configured to negotiate a first random number with the Bluetooth transmitting device, the first random number being used to determine a first synchronization code from a first synchronization code set, the first synchronization code set including at least one synchronization code.
[0496] In one possible implementation, the number of Bluetooth devices surrounding the Bluetooth communication device 180 and / or the Bluetooth transmitter is greater than or equal to a preset first value, and the number of synchronization codes in the first synchronization code set is greater than or equal to a preset second value.
[0497] In one possible implementation, the processing module 1802 is further configured to negotiate a second random number with the Bluetooth transmitting device. The second random number is used to determine a first time interval, which is the time interval for updating the synchronization code in the Bluetooth data frames transmitted between the Bluetooth communication device 180 and the Bluetooth transmitting device.
[0498] One possible implementation is that the first Bluetooth data frame also includes N first pilots, where the first pilots are pilots with known phases and N is a positive integer.
[0499] One possible implementation is that, in the first Bluetooth data frame, the first pilot is inserted into at least one of the following: the first access code, the first synchronization code, or the first data field.
[0500] One possible implementation is that if the second parameter is greater than or equal to a preset fifth threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a third proportion; if the second parameter is less than or equal to a preset sixth threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a fourth proportion; wherein the second parameter is used to indicate one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth communication device 180.
[0501] One possible implementation is that if the second parameter is less than or equal to a preset fifth threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to a third proportion; if the second parameter is greater than or equal to a preset sixth threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to a fourth proportion; wherein the second parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmit power of the Bluetooth transmitting device in transmitting the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame.
[0502] One possible implementation is that the N first pilots are the same or different.
[0503] In one possible implementation, the transceiver module 1801 is further configured to receive a second Bluetooth data frame from the Bluetooth transmitting device, the second Bluetooth data frame being different from the first Bluetooth data frame; the processing module 1802 is further configured to negotiate with the Bluetooth transmitting device, based on a third parameter, the frame format of the Bluetooth data frame between the Bluetooth communication device 180 and the Bluetooth transmitting device, the third parameter being used to indicate the signal quality of the second Bluetooth data frame or the signal strength of the interference signal.
[0504] Bluetooth communication device 180 Figure 11 The embodiment shown, Figure 13 The illustrated embodiments or Figure 14 In the case of the Bluetooth receiver device described in the illustrated embodiment:
[0505] The transceiver module 1801 is used to receive a first Bluetooth data frame from a Bluetooth transmitting device. The first Bluetooth data frame includes a first access code, a first data field, and N first pilots, where the first pilots are pilots with known phases and N is a positive integer.
[0506] The processing module 1802 is configured to detect at least one of the channel phase or channel amplitude of the channel used for transmitting the first Bluetooth data frame based on the first pilot.
[0507] One possible implementation is that, in the first Bluetooth data frame, the first pilot is inserted into at least one of the following: the first access code or the first data field.
[0508] One possible implementation is that if the first parameter is greater than or equal to the first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to the first ratio; if the first parameter is less than or equal to the preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to the second ratio; wherein the first parameter is used to indicate one of the following parameters: the rate of channel phase change of the channel used to transmit the first Bluetooth data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first Bluetooth data frame, or the signal strength of the interference signal received by the Bluetooth communication device 180.
[0509] One possible implementation is that if the first parameter is less than or equal to the first threshold, the proportion of the first pilot in the first Bluetooth data frame is greater than or equal to the first ratio; if the first parameter is greater than or equal to the preset second threshold, the proportion of the first pilot in the first Bluetooth data frame is less than or equal to the second ratio; wherein, the first parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmit power of the Bluetooth transmitting device in transmitting the first Bluetooth data frame, the signal-to-noise ratio of the channel used to transmit the first Bluetooth data frame, or the error correction capability of the encoding method of the first Bluetooth data frame.
[0510] One possible implementation is that the N first pilots are the same or different.
[0511] When used to implement the functions of a Bluetooth receiver, other functions that the Bluetooth communication device 180 can perform can be found in [reference needed]. Figure 4 The embodiment shown, Figure 7 The embodiment shown, Figure 8 The embodiment shown, Figure 9 The embodiment shown, Figure 10 The embodiment shown, Figure 11 The embodiment shown, Figure 13 The illustrated embodiments or Figure 14 The relevant descriptions of the embodiments shown will not be elaborated upon further.
[0512] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0513] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0514] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0515] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0516] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0517] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A Bluetooth communication method, characterized in that, The method includes: The Bluetooth transmitting device generates a first data frame, which includes: a first preamble, a first synchronization code, a first data field, and N first pilots. The first synchronization code is located before the first data field, the first pilots are pilots with known phases, and N is a positive integer. In the first data frame, the first pilots are inserted into the first data field, and the first synchronization code is an m-sequence, a gold sequence, or a kasami sequence. The Bluetooth transmitting device sends the first data frame to the Bluetooth receiving device.
2. The method according to claim 1, characterized in that, The first pilot is inserted into the first data field, including: The first pilot signal is inserted into the first data field proportionally.
3. The method according to claim 1 or 2, characterized in that, The method further includes: The Bluetooth transmitting device acquires a first parameter, which indicates at least one of Bluetooth service requirements or Bluetooth communication parameters; The Bluetooth transmitting device determines the length of the first synchronization code based on the first parameter, and the length of the first synchronization code is related to the autocorrelation or cross-correlation of the first synchronization code.
4. The method according to claim 3, characterized in that, If the first parameter is greater than or equal to a preset first threshold, the length of the first synchronization code is greater than or equal to a first length; If the first parameter is less than or equal to a preset second threshold, the length of the first synchronization code is less than or equal to the second length. The first parameter is used to indicate one of the following parameters: data retransmission rate, reliability of data required by the service, transmission distance of the first data frame, or signal strength of interference signal received by the Bluetooth receiver.
5. The method according to claim 3, characterized in that, If the first parameter is less than or equal to the first threshold, the length of the first synchronization code is greater than or equal to the first length; If the first parameter is greater than or equal to a preset second threshold, the length of the first synchronization code is less than or equal to the second length. The first parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmission power of the Bluetooth transmitting device in transmitting the first data frame, or the signal-to-noise ratio of the channel used to transmit the first data frame.
6. The method according to claim 1 or 2, characterized in that, Before the Bluetooth transmitting device generates the first data frame, the method further includes: The Bluetooth transmitting device and the Bluetooth receiving device negotiate a first random number, which is used to determine the first synchronization code from a first synchronization code set, the first synchronization code set including at least one synchronization code.
7. The method according to claim 6, characterized in that, The number of Bluetooth devices around the Bluetooth transmitting device is greater than or equal to a preset first value, and the number of synchronization codes in the first synchronization code set is greater than or equal to a preset second value.
8. The method according to claim 1 or 2, characterized in that, Before the Bluetooth transmitting device generates the first data frame, the method further includes: The Bluetooth transmitting device and the Bluetooth receiving device negotiate a second random number, which is used to determine a first time interval. The first time interval is the time interval for updating the synchronization code in the data frame transmitted between the Bluetooth receiving device and the Bluetooth transmitting device.
9. The method according to claim 1 or 2, characterized in that, The method further includes: The Bluetooth transmitting device acquires a second parameter, which indicates at least one of Bluetooth service requirements or Bluetooth communication parameters. The Bluetooth transmitting device determines the proportion of the first pilot signal to the first data frame based on the second parameter.
10. The method according to claim 9, characterized in that, If the second parameter is greater than or equal to the preset fifth threshold, the proportion of the first pilot to the first data frame is greater than or equal to the third proportion; If the second parameter is less than or equal to the preset sixth threshold, the proportion of the first pilot to the first data frame is less than or equal to the fourth proportion; The second parameter is used to indicate one of the following parameters: the rate of channel phase change of the channel used to transmit the first data frame, the data retransmission rate, the reliability of the data required by the service, the transmission distance of the first data frame, or the signal strength of the interference signal received by the Bluetooth receiver.
11. The method according to claim 9, characterized in that, If the second parameter is less than or equal to the preset fifth threshold, the proportion of the first pilot to the first data frame is greater than or equal to the third proportion; If the second parameter is greater than or equal to the preset sixth threshold, the proportion of the first pilot in the first data frame is less than or equal to the fourth proportion. The second parameter is used to indicate one of the following parameters: the latency of the data required by the service, the transmission power of the Bluetooth transmitting device in transmitting the first data frame, the signal-to-noise ratio of the channel used to transmit the first data frame, or the error correction capability of the encoding method of the first data frame.
12. The method according to claim 1 or 2, characterized in that, Before the Bluetooth transmitting device generates the first data frame, the method further includes: The Bluetooth transmitting device sends a second data frame to the Bluetooth receiving device, the second data frame being different from the first data frame; The Bluetooth transmitting device negotiates with the Bluetooth receiving device the frame format of the data frame transmitted between the Bluetooth receiving device and the Bluetooth transmitting device according to a third parameter, wherein the third parameter is used to indicate the signal quality of the second data frame or the signal strength of the interference signal.
13. A Bluetooth communication method, characterized in that, The method includes: The Bluetooth receiver receives a first data frame from the Bluetooth transmitter. The first data frame includes a first preamble, a first synchronization code, a first data field, and N first pilots. The first synchronization code is located before the first data field. The first pilots are pilots with known phases. N is a positive integer. In the first data frame, the first pilots are inserted into the first data field. The first synchronization code is an m-sequence, a gold sequence, or a kasami sequence. The Bluetooth receiver performs synchronization detection based on the first synchronization code.
14. The method according to claim 13, characterized in that, Before the Bluetooth receiving device receives the first data frame from the Bluetooth transmitting device, the method further includes: The Bluetooth receiving device and the Bluetooth transmitting device negotiate a second random number, which is used to determine a first time interval. The first time interval is the time interval for updating the synchronization code in the data frame transmitted between the Bluetooth receiving device and the Bluetooth transmitting device.
15. The method according to claim 13 or 14, characterized in that, The first pilot is inserted into the first data field, including: The first pilot signal is inserted into the first data field proportionally.
16. The method according to claim 13 or 14, characterized in that, Before the Bluetooth receiving device receives the first data frame from the Bluetooth transmitting device, the method further includes: The Bluetooth receiving device receives a second data frame from the Bluetooth transmitting device, the second data frame being different from the first data frame; The Bluetooth receiving device negotiates the frame format of the data frame between the Bluetooth receiving device and the Bluetooth transmitting device according to a third parameter, wherein the third parameter is used to indicate the signal quality of the second data frame or the signal strength of the interference signal.
17. A Bluetooth transmitting device, characterized in that, The device includes: A processor is configured to generate a first data frame, the first data frame including a first preamble, a first synchronization code, a first data field, and N first pilots; wherein, the first synchronization code is located before the first data field, the first pilots are pilots with known phases, N is a positive integer, the first pilots are inserted into the first data field in the first data frame, and the first synchronization code is an m-sequence, a gold sequence, or a kasami sequence; A transceiver, coupled to the processor, is used to send the first data frame to a Bluetooth receiving device.
18. The Bluetooth transmitting device according to claim 17, characterized in that, The first pilot is inserted into the first data field, including: The first pilot signal is inserted into the first data field proportionally.
19. The Bluetooth transmitting device according to claim 17 or 18, characterized in that, The processor is further configured to acquire a first parameter, the first parameter being used to indicate at least one of the requirements of Bluetooth service or the communication parameters of Bluetooth communication; The processor is further configured to determine the length of the first synchronization code based on the first parameter, wherein the length of the first synchronization code is related to the autocorrelation or cross-correlation of the first synchronization code.
20. The Bluetooth transmitting device according to claim 17 or 18, characterized in that, The processor is further configured to negotiate a first random number with the Bluetooth receiver, the first random number being used to determine the first synchronization code from a first synchronization code set, the first synchronization code set including at least one synchronization code.
21. The Bluetooth transmitting device according to claim 17 or 18, characterized in that, The processor is further configured to negotiate a second random number with the Bluetooth receiver, the second random number being used to determine a first time interval, the first time interval being the time interval for updating the synchronization code in the data frame transmitted between the Bluetooth receiver and the Bluetooth transmitter.
22. The Bluetooth transmitting device according to claim 17 or 18, characterized in that, The processor is further configured to acquire a second parameter, the second parameter being used to indicate at least one of the requirements of Bluetooth service or the communication parameters of Bluetooth communication; The processor is further configured to determine the proportion of the first pilot signal to the first data frame based on the second parameter.
23. The Bluetooth transmitting device according to claim 17 or 18, characterized in that, The transceiver is also used to send a second data frame to the Bluetooth receiving device, the second data frame being different from the first data frame; The processor is further configured to negotiate with the Bluetooth receiving device, based on a third parameter, the frame format of the data frame transmitted between the Bluetooth receiving device and the Bluetooth transmitting device, wherein the third parameter is used to indicate the signal quality of the second data frame or the signal strength of the interference signal.
24. A Bluetooth receiver, characterized in that, The device includes: a transceiver and a processor; The transceiver is configured to receive a first data frame from a Bluetooth transmitting device. The first data frame includes a first preamble, a first synchronization code, a first data field, and N first pilots. The first synchronization code is located before the first data field. The first pilots are pilots with known phases. N is a positive integer. In the first data frame, the first pilots are inserted into the first data field. The first synchronization code is an m-sequence, a gold sequence, or a kasami sequence. The processor is used to perform synchronization detection based on the first synchronization code.
25. The Bluetooth receiver according to claim 24, characterized in that, The processor is further configured to negotiate a first random number with the Bluetooth transmitting device, the first random number being used to determine the first synchronization code from a first synchronization code set, the first synchronization code set including at least one synchronization code.
26. The Bluetooth receiver according to claim 24 or 25, characterized in that, The processor is further configured to negotiate a second random number with the Bluetooth transmitting device, the second random number being used to determine a first time interval, the first time interval being the time interval for updating the synchronization code in the data frame transmitted between the Bluetooth receiving device and the Bluetooth transmitting device.
27. The Bluetooth receiver according to claim 24 or 25, characterized in that, The first pilot is inserted into the first data field, including: The first pilot signal is inserted into the first data field proportionally.
28. The Bluetooth receiver according to claim 24 or 25, characterized in that, The transceiver is also configured to receive a second data frame from the Bluetooth transmitting device, the second data frame being different from the first data frame; The processor is further configured to negotiate with the Bluetooth transmitting device the frame format of the data frame between the Bluetooth receiving device and the Bluetooth transmitting device according to a third parameter, wherein the third parameter is used to indicate the signal quality of the second data frame or the signal strength of the interference signal.
Citation Information
Patent Citations
Simplified acquisition apparatus and method for a bluetooth receiver
CN102148777A
Method for synchronizing bluetooth packets
US20040165576A1