Bluetooth data transmission method, device, equipment and storage medium
By dynamically adjusting the data frame length in Bluetooth data transmission, the high error rate and frequent retransmission caused by electromagnetic interference are solved according to the degree of electromagnetic interference, and the transmission success rate and anti-interference ability are improved.
Patent Information
- Application Number
- CN202110805388.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-16
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2041-07-16
AI Technical Summary
In Bluetooth data transmission environment with strong electromagnetic interference, the data frame transmission error rate is high, resulting in frequent data retransmission, affecting the transmission success rate and anti-interference ability.
By determining environmental parameters during Bluetooth data transmission, the degree of electromagnetic interference is characterized, and the data frame length is dynamically adjusted based on these parameters, so that it is negatively correlated with the degree of electromagnetic interference, thereby improving the success rate of data transmission and anti-interference ability.
When the electromagnetic environment quality is poor, by reducing the data frame length, the success rate of data transmission is improved, the probability of data frame retransmission is reduced, and the anti-interference ability is enhanced.
Smart Images

Figure CN113518335B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of Bluetooth technology, and in particular to a method, apparatus, device and storage medium for transmitting Bluetooth data. Background Art
[0002] With the continuous development of Bluetooth technology, the use scenarios of Bluetooth devices are becoming more and more diverse. For example, users can use smartphones to control Bluetooth headphones or Bluetooth speakers for audio playback.
[0003] During Bluetooth data transmission, the Bluetooth data receiving device will check the received data frame. If the data frame fails the check, the Bluetooth data receiving device will feedback a NACK (Negative ACK nowledgment packet) frame to the Bluetooth data sending device, instructing the Bluetooth data sending device to retransmit the data. Summary of the invention
[0004] The present application provides a method, device, equipment and storage medium for transmitting Bluetooth data. The technical solution is as follows:
[0005] On the one hand, an embodiment of the present application provides a Bluetooth data transmission method, which is applied to a Bluetooth data sending device, and the method includes:
[0006] During the Bluetooth data transmission process, determining environmental parameters, wherein the environmental parameters are used to characterize the degree of electromagnetic interference in the Bluetooth transmission environment;
[0007] Determine a target data frame length based on the environmental parameter, wherein the target data frame length is negatively correlated with the environmental parameter;
[0008] Data frame encapsulation is performed based on the target data frame length, and the encapsulated data frame is sent to the Bluetooth data receiving device.
[0009] On the other hand, an embodiment of the present application provides a method for transmitting Bluetooth data, which is applied to a Bluetooth data receiving device, and the method includes:
[0010] During the Bluetooth data transmission process, determining environmental parameters, wherein the environmental parameters are used to characterize the degree of electromagnetic interference in the Bluetooth transmission environment;
[0011] Determine a target data frame length based on the environmental parameter, wherein the target data frame length is negatively correlated with the environmental parameter;
[0012] An adjustment instruction including the target data frame length is sent to a Bluetooth data sending device, so that the Bluetooth data sending device performs data frame encapsulation based on the target data frame length.
[0013] On the other hand, an embodiment of the present application provides a Bluetooth data transmission device, the device comprising:
[0014] A parameter determination module, used to determine environmental parameters during Bluetooth data transmission, wherein the environmental parameters are used to characterize the degree of electromagnetic interference in the Bluetooth transmission environment;
[0015] A length determination module, used to determine a target data frame length based on the environmental parameter, wherein the target data frame length is negatively correlated with the environmental parameter;
[0016] The data sending module is used to encapsulate the data frame based on the target data frame length and send the encapsulated data frame to the Bluetooth data receiving device.
[0017] On the other hand, an embodiment of the present application provides a Bluetooth data transmission device, the device comprising:
[0018] A parameter determination module, used to determine environmental parameters during Bluetooth data transmission, wherein the environmental parameters are used to characterize the degree of electromagnetic interference in the Bluetooth transmission environment;
[0019] A length determination module, used to determine a target data frame length based on the environmental parameter, wherein the target data frame length is negatively correlated with the environmental parameter;
[0020] The instruction sending module is used to send an adjustment instruction containing the target data frame length to the Bluetooth data sending device, so that the Bluetooth data sending device performs data frame encapsulation based on the target data frame length.
[0021] On the other hand, an embodiment of the present application provides a Bluetooth device, which includes a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the Bluetooth data transmission method as described in the above aspects.
[0022] On the other hand, an embodiment of the present application provides a computer-readable storage medium, in which at least one program code is stored, and the program code is loaded and executed by a processor to implement the Bluetooth data transmission method as described in the above aspects.
[0023] On the other hand, an embodiment of the present application provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the Bluetooth data transmission method provided in various optional implementations of the above aspects.
[0024] In an embodiment of the present application, a Bluetooth data sending device determines an environmental parameter used to characterize the degree of electromagnetic interference during Bluetooth data transmission, and adjusts the length of a data frame based on the environmental parameter, thereby encapsulating and sending the data frame based on the adjusted length, thereby achieving adaptive adjustment of the data frame length based on the environment; using the solution provided in an embodiment of the present application, when the quality of the electromagnetic environment is poor, the Bluetooth data sending device can adaptively reduce the data frame length, thereby improving the verification pass rate of the Bluetooth data receiving device for the data frame, thereby reducing the probability of data frame retransmission, and helping to improve the success rate of Bluetooth data transmission and anti-interference capability. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0026] Figure 1 A schematic diagram showing an implementation environment provided by an exemplary embodiment of the present application is shown;
[0027] Figure 2 A flowchart of a method for transmitting Bluetooth data provided by an exemplary embodiment of the present application is shown;
[0028] Figure 3 A flowchart of a method for transmitting Bluetooth data provided by another exemplary embodiment of the present application is shown;
[0029] Figure 4 is a schematic diagram of an implementation of a data frame length determination process shown in an exemplary embodiment of the present application;
[0030] Figure 5 is a schematic diagram of an exemplary embodiment showing the interaction process between a Bluetooth protocol stack and a Bluetooth baseband;
[0031] Figure 6 A flowchart of a method for transmitting Bluetooth data provided by another exemplary embodiment of the present application is shown;
[0032] Figure 7 A flowchart of a method for transmitting Bluetooth data provided by another exemplary embodiment of the present application is shown;
[0033] Figure 8 A structural block diagram of a Bluetooth data transmission device provided by an embodiment of the present application is shown;
[0034] Fig. 9 A structural block diagram of a Bluetooth data transmission device provided by an embodiment of the present application is shown;
[0035] Fig.10 A structural block diagram of a Bluetooth device provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION
[0036] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0037] Please refer to Figure 1 , which shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application, wherein the implementation environment includes a Bluetooth data sending device 110 and a Bluetooth data receiving device 120.
[0038] The Bluetooth data transmitting device 110 and the Bluetooth data receiving device 120 are both electronic devices equipped with Bluetooth chips. An asynchronous transmission (Asynchronous Connection Less, ACL) link is established between the Bluetooth data transmitting device 110 and the Bluetooth data receiving device 120. During the Bluetooth data transmission process, the Bluetooth data transmitting device 110 sends Bluetooth data to the Bluetooth data receiving device 120 through the ACL link.
[0039] In a possible implementation, the Bluetooth data sending device 110 is an audio data source, the Bluetooth data receiving device 120 is an audio playback device, and a connection is established between the audio data source and the audio playback device via Advanced Audio Distribution Profile (A2DP).
[0040] Optionally, the audio data source may be an electronic device such as a smart phone, a tablet computer, a personal computer, a wearable device, etc., and the audio playback device may be an electronic device such as a Bluetooth headset, a Bluetooth speaker, etc. Accordingly, the Bluetooth data sending device 110 sends Bluetooth audio data to the Bluetooth data receiving device 120, and the Bluetooth data receiving device 120 parses and plays the received Bluetooth audio data.
[0041] During the Bluetooth data transmission process, the Bluetooth data sending device 110 encapsulates data in data frames, and then sends the data frames to the Bluetooth data receiving device 120 through the Bluetooth transmitter. In order to ensure the accuracy of data transmission, the data frames sent by the Bluetooth data sending device 110 also contain verification information, such as cyclic redundancy check (CRC) information. Accordingly, after receiving the data frame, the Bluetooth data receiving device 120 verifies the data frame according to the verification information. If any bit in the data frame is transmitted incorrectly, the data frame will fail to pass the verification. When the data frame fails to pass the verification, the Bluetooth data receiving device 120 sends a NACK feedback frame to instruct the Bluetooth data sending device 110 to retransmit the data. When the data frame passes the verification, the Bluetooth data receiving device 120 sends an ACK feedback frame to indicate that the data is transmitted correctly.
[0042] When electromagnetic interference exists in the environment of Bluetooth data transmission (there is obstruction or in a scene with dense devices), data frame transmission errors may occur during the transmission process (the probability of transmission error is related to the degree of electromagnetic interference), resulting in the need for frequent data retransmission. For scenarios such as Bluetooth audio data transmission, problems such as audio freeze, delay, and even interruption may occur.
[0043] In order to improve the success rate of data transmission and enhance the anti-interference ability of data transmission, in the embodiment of the present application, the Bluetooth data transmission device monitors the electromagnetic interference level of the environment, thereby dynamically adjusting the length of the data frame according to the monitoring result of the electromagnetic interference level. Compared with long data frames, short data frames are less affected by transmission errors and have stronger anti-interference ability. Therefore, by adopting the solution provided in the embodiment of the present application, when the electromagnetic environment quality is poor, by reducing the length of the data frame, the success rate of data transmission can be improved, the probability of retransmission and the amount of retransmitted data can be reduced, and a higher anti-interference effect can be achieved.
[0044] Please refer to Figure 2 , which shows a flowchart of a method for transmitting Bluetooth data provided by an exemplary embodiment of the present application. In this embodiment, the method is used for Figure 1 Taking the Bluetooth data sending device shown in FIG. 1 as an example, the method includes:
[0045] Step 201: during the Bluetooth data transmission process, determine an environmental parameter, where the environmental parameter is used to characterize the electromagnetic interference level of the Bluetooth transmission environment.
[0046] When a Bluetooth data transmitting device transmits Bluetooth data to a Bluetooth data receiving device, the electromagnetic interference level of the Bluetooth transmission environment is monitored to obtain the environmental parameters of the current environment. The higher the electromagnetic interference level of the Bluetooth transmission environment, the larger the environmental parameter, that is, the larger the environmental parameter, the worse the electromagnetic environment quality, and the greater the impact on Bluetooth data transmission between devices.
[0047] Moreover, in the embodiment of the present application, the Bluetooth data transmission device does not need to use additional hardware components when determining the environmental parameters, but indirectly determines the environmental parameters based on the relevant parameters in the Bluetooth data transmission, thereby avoiding increasing the device cost. The specific implementation method of determining the environmental parameters will be described in detail in the following embodiment.
[0048] Step 202: determine a target data frame length based on environmental parameters, where the target data frame length is negatively correlated with the environmental parameters.
[0049] When a Bluetooth data sending device sends Bluetooth data in data frames, the Bluetooth data receiving device needs to check each data frame and instruct the Bluetooth data sending device to retransmit the data based on the check result. Under the above retransmission mechanism, even if there are only a few bit errors in the data frame, the Bluetooth data sending device needs to retransmit the entire data frame. In an environment with a high degree of electromagnetic interference, the retransmission probability of the Bluetooth data sending device is high, and the amount of retransmitted data is large.
[0050] In order to improve the success rate of data transmission in a strong electromagnetic interference environment and reduce the probability of retransmission and the amount of retransmitted data, the Bluetooth data sending device in the embodiment of the present application does not use a fixed data frame length for data transmission, but dynamically adjusts the data frame length based on real-time environmental parameters.
[0051] In a possible implementation, a mapping relationship between different environmental parameters and data frame lengths is set in the Bluetooth data sending device. During data transmission, the Bluetooth data sending device determines the real-time data frame length from the mapping relationship according to the real-time environmental parameters.
[0052] In some embodiments, the larger the environmental parameter is (i.e., the higher the level of electromagnetic interference is), the shorter the determined target data frame length is (i.e., the fewer bits in the data frame are); the smaller the environmental parameter is (i.e., the lower the level of electromagnetic interference is), the longer the determined target data frame length is (i.e., the more bits in the data frame are).
[0053] When the electromagnetic interference level is high, the probability of transmission error in each data frame is reduced due to the use of data frames with smaller data frame lengths. Accordingly, the amount of retransmitted data during data retransmission is also smaller.
[0054] Step 203: encapsulate the data frame based on the target data frame length, and send the encapsulated data frame to the Bluetooth data receiving device.
[0055] Further, the Bluetooth data transmitting device performs data frame encapsulation on the Bluetooth data based on the determined target data frame length, thereby sending the data frame to the Bluetooth data receiving device through the Bluetooth transmitter. For example, when the transmitted Bluetooth data is audio data, the Bluetooth data transmitting device performs frame encapsulation on the audio data stream based on the target data frame length and then transmits it.
[0056] To summarize, in the embodiments of the present application, the Bluetooth data sending device determines the environmental parameters used to characterize the degree of electromagnetic interference during Bluetooth data transmission, and adjusts the length of the data frame based on the environmental parameters, thereby encapsulating and sending the data frame based on the adjusted length, thereby achieving adaptive adjustment of the data frame length based on the environment; using the solution provided in the embodiments of the present application, when the quality of the electromagnetic environment is poor, the Bluetooth data sending device can adaptively reduce the data frame length, thereby improving the verification pass rate of the Bluetooth data receiving device for the data frame, thereby reducing the probability of data frame retransmission, and helping to improve the success rate of Bluetooth data transmission and anti-interference capability.
[0057] When there is strong electromagnetic interference in the environment, the probability of data retransmission increases, the received signal strength decreases, and the number of hop channels decreases. Therefore, in a possible implementation, the Bluetooth data sending device can indirectly determine the environmental parameters based on the historical transmission parameters with the Bluetooth data receiving device, thereby eliminating the need to set up hardware specifically for electromagnetic environment monitoring. The environmental parameters may include at least one of the historical packet error rate, the historical number of hop channels, and the historical received signal strength. The following is an exemplary embodiment for description.
[0058] Please refer to Figure 3 , which shows a flowchart of a method for transmitting Bluetooth data provided by another exemplary embodiment of the present application. In this embodiment, the method is used for Figure 1 Taking the Bluetooth data sending device shown in FIG. 1 as an example, the method includes:
[0059] Step 301 : Filter the historical packet error rates of the latest n packet error rate statistical periods to obtain a target packet error rate, where n is an integer greater than or equal to 2.
[0060] In a possible implementation, the Bluetooth data transmission device periodically counts the packet error rate during data transmission to obtain the packet error rate of multiple consecutive periods. In addition, in order to prevent the fluctuation of the packet error rate data from affecting the accuracy of adjusting the subsequent data frame length, the Bluetooth data transmission device filters the historical packet error rate data of the most recent n packet error rate statistical periods to obtain the target packet error rate that changes with the time domain.
[0061] In some embodiments, when Bluetooth data transmission begins, the Bluetooth protocol stack (BT stack) sends a packet error rate statistics instruction to the Bluetooth baseband, and the Bluetooth baseband periodically counts the packet error rate and reports the packet error rate to the Bluetooth protocol stack. The Bluetooth protocol stack determines the target packet error rate based on the historical packet error rate in order to subsequently determine the environmental parameters.
[0062] Among them, the packet error rate statistical period can be 500ms, 1000ms, etc., n can take values such as 5, 10, 12, and the filtering processing method adopted can include Kalman filtering, complementary filtering, etc., and the embodiments of the present application are not limited to this.
[0063] In an illustrative example, Figure 4 As shown, the Bluetooth data transmission device maintains a packet error rate queue 41 of length n, which follows the first-in-first-out principle and contains the historical packet error rates of the latest n packet error rate statistical cycles. When performing adaptive adjustment of the data frame length, the Bluetooth data transmission device filters the n historical packet error rates currently contained in the packet error rate queue 41 to obtain a target packet error rate 42.
[0064] In a possible implementation, a process of determining a packet error rate may include the following steps:
[0065] 1. Obtain the total number of data frames within the packet error rate statistical period and the total number of NACK frames sent by the Bluetooth data receiving device.
[0066] Optionally, in each packet error rate statistical period, the Bluetooth baseband of the Bluetooth data sending device records the number of data frames sent by itself and the number of NACK frames (sent when the data frames fail to pass the check) sent by the Bluetooth data receiving device, to obtain the total number of data frames and the total number of NACK frames in the current packet error rate statistical period.
[0067] In an illustrative example, the Bluetooth data sending device obtains that the total number of data frames in the packet error rate statistical period is 25 frames, and the total number of NACK frames is 5 frames.
[0068] Second, the ratio of the total number of NACK frames to the total number of data frames is determined as the packet error rate of the packet error rate statistical period.
[0069] Optionally, the Bluetooth baseband in the Bluetooth data sending device determines the ratio of the total number of NACK frames to the total number of data frames as the packet error rate of the current packet error rate statistical period, that is, packet error rate=total number of NACK frames / total number of data frames.
[0070] In combination with the example in the above steps, the Bluetooth data sending device determines that the packet error rate in the current packet error rate statistical period is 20%.
[0071] Step 302: determining an environmental parameter based on the target packet error rate, wherein the environmental parameter is positively correlated with the target packet error rate.
[0072] Furthermore, the Bluetooth data transmission device determines the environmental parameters based on the target packet error rate. When the target packet error rate is larger, it indicates that the number of data retransmissions is greater, and correspondingly, the electromagnetic interference of the current environment is stronger, so the determined environmental parameters are positively correlated with the target packet error rate, that is, the higher the target packet error rate, the greater the determined environmental parameters.
[0073] Optionally, the Bluetooth data sending device may determine the environmental parameters corresponding to the target packet error rate based on a preset mapping relationship or calculation formula. The embodiment of the present application does not limit the specific determination method.
[0074] Indicative, such as Figure 4 As shown, the Bluetooth data sending device determines and obtains the environmental parameter 43 of the current environment based on the target packet error rate 42.
[0075] Step 303: Filter the number of historical frequency hopping channels used in the most recent n frequency hopping channel synchronizations to obtain a target number of frequency hopping channels, where n is an integer greater than or equal to 2.
[0076] In order to reduce channel interference, during Bluetooth data transmission, the Bluetooth data transmission device does not transmit data on a fixed channel, but uses adaptive frequency hopping technology to divide the frequency band into several available frequency hopping channels, and jumps between available frequency hopping channels during data transmission, so as to avoid the problem of using the same channel with other Bluetooth devices at the same time. For example, the number of available frequency hopping channels for Bluetooth data transmission devices is 79 (the bandwidth of each available frequency hopping channel is 1MHz), and the frequency hopping frequency is 1600 hops / second.
[0077] In addition, due to changes in channel conditions, the Bluetooth data receiving device will detect the channel quality of each available frequency hopping channel and inform the Bluetooth data sending device of the detection results in the form of signaling, so that the Bluetooth data sending device can remove the interfered frequency (i.e., the interfered frequency hopping channel) and ensure the synchronization of the frequency hopping patterns of both parties.
[0078] When the environment is densely populated (i.e., the electromagnetic interference is strong), the number of interfered frequencies increases, resulting in a decrease in the number of available frequency hopping channels for Bluetooth devices. Therefore, the Bluetooth data sending device can indirectly determine the degree of electromagnetic interference in the environment based on the number of historical frequency hopping channels.
[0079] In one possible implementation, the Bluetooth baseband reports to the Bluetooth protocol stack the number of historical frequency hopping channels used for each frequency hopping channel synchronization, and the Bluetooth protocol stack determines the target number of frequency hopping channels based on the most recent n numbers of historical frequency hopping channels. In order to avoid the impact of data fluctuations on accuracy, the Bluetooth protocol stack filters the n numbers of historical frequency hopping channels.
[0080] Step 304: determining an environmental parameter based on the target number of frequency hopping channels, wherein the environmental parameter is negatively correlated with the target number of frequency hopping channels.
[0081] Furthermore, the Bluetooth data transmission device determines the environmental parameters based on the number of target frequency hopping channels. When the number of target frequency hopping channels is larger, it indicates that the electromagnetic interference of the current environment is weaker, so the determined environmental parameters are negatively correlated with the number of target frequency hopping channels, that is, the more the number of target frequency hopping channels is, the smaller the determined environmental parameters are.
[0082] Optionally, the Bluetooth data sending device may determine the environmental parameters corresponding to the target number of frequency hopping channels based on a preset mapping relationship or calculation formula. The embodiment of the present application does not limit the specific determination method.
[0083] Step 305: Filter the historical received signal strengths in the latest n signal measurement cycles to obtain a target received signal strength, where n is an integer greater than or equal to 2.
[0084] The farther the Bluetooth data sending device is from the data receiving device, or the more obstacles there are, the smaller the signal reception strength on the Bluetooth data receiving device side will be. Correspondingly, the impact of electromagnetic interference on the Bluetooth data transmission process will also be greater. Therefore, the Bluetooth data sending device can indirectly determine the degree of electromagnetic interference in the environment based on the received signal strength on the Bluetooth data receiving device side.
[0085] In some embodiments, the Bluetooth data receiving device periodically measures the received signal strength and feeds back to the Bluetooth data sending device, and the Bluetooth data sending device stores the historical received signal strength measured in the last n signal measurement cycles to determine the degree of environmental interference based on the historical received signal strength.
[0086] In one possible implementation, the Bluetooth baseband reports the received signal strength to the Bluetooth protocol stack, and the Bluetooth protocol stack determines the target received signal strength based on the latest n historical received signal strengths. In order to avoid the impact of data fluctuations on accuracy, the Bluetooth protocol stack filters the n historical received signal strengths.
[0087] In other possible implementations, the Bluetooth data sending device may also determine the signal strength difference based on the transmitted signal strength and the received signal strength (the larger the difference, the stronger the electromagnetic interference), thereby using the historical signal strength difference as a basis for determining environmental parameters. This embodiment is not limited to this.
[0088] Step 306: determining an environmental parameter based on the target received signal strength, wherein the environmental parameter is negatively correlated with the target received signal strength.
[0089] Furthermore, the Bluetooth data transmission device determines the environmental parameters based on the target received signal strength. When the target received signal strength is smaller, it indicates that the electromagnetic interference in the current environment is stronger, so the determined environmental parameters are negatively correlated with the target received signal strength, that is, the smaller the target received signal strength, the larger the determined environmental parameters.
[0090] Optionally, the Bluetooth data sending device may determine the environmental parameter corresponding to the target received signal strength based on a preset mapping relationship or calculation formula. The embodiment of the present application does not limit the specific determination method.
[0091] It should be noted that the Bluetooth data sending device can use at least one of the above steps 301 to 302, 303 to 304 and 305 to 306 to determine the environmental parameters, and when using at least two methods to determine the environmental parameters, the Bluetooth data sending device can perform weighted fusion on the environmental parameters determined in different methods to obtain the final environmental parameters for determining the target data frame length, which is not limited in this embodiment.
[0092] Step 307: determine the target environmental parameter interval to which the environmental parameter belongs.
[0093] In a possible implementation, the data frame length supported by the Bluetooth data transmission device is divided into k gears (each gear corresponds to a data frame length), and different gears correspond to different environmental parameter intervals. After determining the current environmental parameters, the Bluetooth data transmission device determines the target environmental parameter interval to which the current environmental parameters belong, and then determines the target gear corresponding to the target environmental parameter interval. Among them, different Bluetooth data transmission devices may support different gears, which is not limited in this embodiment.
[0094] In an illustrative example, the corresponding relationship between the environmental parameter range, the gear position and the data frame length is shown in Table 1.
[0095] Table 1
[0096] Environmental parameter range Gear Data frame length <![CDATA[(p1,p2)]]> 1 <![CDATA[b1 (b1 bits per frame)]]> <![CDATA[(p2,p3)]]> 2 <![CDATA[b2]]> … … … <![CDATA[(p k-1 ,p k )]]> k <![CDATA[b k ]]>
[0097] Indicative, such as Figure 4 As shown, the Bluetooth data sending device determines an environmental parameter 43 based on a target packet error rate 42, and determines a target environmental parameter interval 45 to which the environmental parameter 43 belongs from among k environmental parameter intervals.
[0098] Step 308: determine the data frame length corresponding to the target environmental parameter interval as the target data frame length, wherein different environmental parameter intervals correspond to different data frame lengths.
[0099] In a possible implementation, the Bluetooth protocol stack of the Bluetooth data sending device determines the target gear based on the target environment parameter range, and sends the target gear to the Bluetooth baseband so that the Bluetooth baseband encapsulates data based on the target data frame length corresponding to the target gear.
[0100] Indicative, such as Figure 4 As shown, the Bluetooth data sending device determines a target data frame length 46 based on a target environment parameter 45 , and performs data encapsulation according to the target data frame length 46 in a subsequent process.
[0101] Step 309: encapsulate the data frame based on the target data frame length, and send the encapsulated data frame to the Bluetooth data receiving device.
[0102] The implementation of this step may refer to the above step 203, and this embodiment will not be described in detail here.
[0103] In the audio data transmission scenario, such as Figure 5 As shown, the environment monitoring module 511 (located in the Bluetooth baseband) in the Bluetooth data sending device 51 performs environment monitoring based on historical transmission parameters, and reports the environment monitoring results to the gear selection module 512 in the Bluetooth protocol stack. The gear selection module 512 determines the gear used for data framing based on the environment monitoring results, and sends the determined gear to the framing control module 513 of the Bluetooth baseband. The framing control module 513 determines the data frame length used for data framing based on the acquired gear, and encapsulates the Bluetooth audio data 514 based on the data frame length, and then sends the encapsulated data frame to the Bluetooth data receiving device 52 (received by the Bluetooth receiving module 521) through the Bluetooth transmitting module 515.
[0104] In this embodiment, the Bluetooth data sending device determines the environmental parameters based on at least one of the historical packet error rate, the historical number of frequency hopping channels, and the historical received signal strength, so as to realize real-time electromagnetic environment monitoring during Bluetooth data transmission without the aid of additional hardware, thereby ensuring the accuracy of environmental monitoring and avoiding the increase of additional equipment costs.
[0105] The data frames sent by the Bluetooth data transmission device have an upper limit on the data frame length (i.e., the maximum data frame length) and a lower limit on the data frame length (i.e., the shortest data frame length). When the determined target data frame length reaches the lower limit of the data frame length, the Bluetooth data transmission device cannot continue to improve the transmission success rate by reducing the data frame length. Therefore, in a possible implementation, in order to further improve the transmission success rate in a strong electromagnetic interference scenario, Figure 2 On the basis of Figure 6 As shown, step 202 may further include step 2021 after step 202.
[0106] Step 2021: In response to the target data frame length reaching the lower limit of the data frame length, increase the transmission power.
[0107] Optionally, after determining the target data frame length, the Bluetooth data sending device detects whether the target data frame length reaches the lower limit of the data frame length supported by itself. If so, in order to further improve the transmission success rate in the current environment, the Bluetooth data sending device increases its own transmission power.
[0108] Since increasing the transmission power will increase power consumption, in one possible implementation, the Bluetooth data sending device also needs to detect whether the device battery level is greater than a battery threshold (e.g. 60%). If so, the transmission power is increased; if so, the current transmission power is maintained to avoid affecting the device's battery life.
[0109] In other possible implementations, when the target data frame length reaches the upper limit of the data frame length supported by itself (indicating that the electromagnetic interference in the current environment is slight), the Bluetooth data sending device can reduce its own transmission power to reduce device power consumption and improve device battery life.
[0110] In this embodiment, when the target data frame length reaches the lower limit of the data frame length supported by itself, the Bluetooth data sending device increases its own transmission power, which helps to improve the success rate of data transmission in a strong electromagnetic interference environment.
[0111] In the above embodiment, the environmental monitoring and data frame length dynamic determination process is performed by the Bluetooth data sending device as an example. In some possible application scenarios, when the Bluetooth data receiving device has a strong data processing capability (such as a Bluetooth speaker), the Bluetooth data receiving device can also perform environmental monitoring and dynamically determine the data frame length, thereby instructing the Bluetooth data sending device to adjust the data frame length.
[0112] Please refer to Figure 7 , which shows a flowchart of a method for transmitting Bluetooth data provided by another exemplary embodiment of the present application. In this embodiment, the method is used for Figure 1 Taking the Bluetooth data receiving device shown in FIG. 1 as an example, the method includes:
[0113] Step 701: during the Bluetooth data transmission process, determine an environmental parameter, where the environmental parameter is used to characterize the electromagnetic interference level of the Bluetooth transmission environment.
[0114] Step 702: determine a target data frame length based on environmental parameters, where the target data frame length is negatively correlated to the environmental parameters.
[0115] The process of determining the environmental parameters and the target data frame length on the Bluetooth data receiving device side may refer to the process of determining the environmental parameters and the target data frame length on the Bluetooth data sending device side, which will not be described in detail in this embodiment.
[0116] Step 703: Send an adjustment instruction including a target data frame length to the Bluetooth data sending device, so that the Bluetooth data sending device performs data frame encapsulation based on the target data frame length.
[0117] After the Bluetooth data receiving device determines the target data frame length, if the target data frame length is inconsistent with the current data frame length (if they are consistent, no adjustment is required), an adjustment instruction is sent through the Bluetooth link between the Bluetooth data sending device and the Bluetooth data sending device. The adjustment instruction includes the target data frame length, instructing the Bluetooth data sending device to adjust the encapsulation length of the data frame.
[0118] To summarize, in the embodiments of the present application, the Bluetooth data receiving device determines the environmental parameters used to characterize the degree of electromagnetic interference during Bluetooth data transmission, and dynamically determines the target data frame length based on the environmental parameters, thereby instructing the Bluetooth data sending device to adjust the encapsulation length of the data frame based on the target data frame length, thereby achieving adaptive adjustment of the data frame length based on the environment; using the solution provided in the embodiments of the present application, when the quality of the electromagnetic environment is poor, the Bluetooth data sending device can adaptively reduce the data frame length, thereby improving the verification pass rate of the Bluetooth data receiving device for the data frame, thereby reducing the probability of data frame retransmission, and helping to improve the success rate of Bluetooth data transmission and anti-interference capability.
[0119] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0120] Please refer to Figure 8 , which shows a structural block diagram of a Bluetooth data transmission device provided by an embodiment of the present application. The device may include:
[0121] The parameter determination module 801 is used to determine the environmental parameters during the Bluetooth data transmission process, where the environmental parameters are used to characterize the electromagnetic interference degree of the Bluetooth transmission environment;
[0122] A length determination module 802, configured to determine a target data frame length based on the environmental parameter, wherein the target data frame length is negatively correlated with the environmental parameter;
[0123] The data sending module 803 is used to encapsulate the data frame based on the target data frame length and send the encapsulated data frame to the Bluetooth data receiving device.
[0124] Optionally, the parameter determination module 801 is used to:
[0125] The environmental parameter is determined based on the historical transmission parameter with the Bluetooth data receiving device, where the environmental parameter includes at least one of a historical packet error rate, a historical number of frequency hopping channels, and a historical received signal strength.
[0126] Optionally, the historical transmission parameter includes the historical packet error rate;
[0127] The parameter determination module 801 is used to:
[0128] Filtering the historical packet error rates of the most recent n packet error rate statistical periods to obtain a target packet error rate, where n is an integer greater than or equal to 2;
[0129] The environmental parameter is determined based on the target packet error rate, and the environmental parameter is positively correlated with the target packet error rate.
[0130] Optionally, the method comprises:
[0131] An acquisition module, used to acquire the total amount of data frames of data frames within a packet error rate statistical period, and the total amount of NACK frames of NACK frames sent by the Bluetooth data receiving device;
[0132] The packet error rate determination module is used to determine the ratio of the total amount of NACK frames to the total amount of data frames as the packet error rate of the packet error rate statistical period.
[0133] Optionally, the historical transmission parameter includes the number of historical frequency hopping channels;
[0134] The parameter determination module 801 is used to:
[0135] Filter the number of historical frequency hopping channels used in the most recent n frequency hopping channel synchronizations to obtain a target number of frequency hopping channels, where n is an integer greater than or equal to 2;
[0136] The environmental parameter is determined based on the target number of frequency hopping channels, and the environmental parameter is negatively correlated with the target number of frequency hopping channels.
[0137] Optionally, the historical transmission parameter includes the historical received signal strength;
[0138] The parameter determination module 801 is used to:
[0139] Filter the historical received signal strengths within the most recent n signal measurement cycles to obtain the target received signal strength, where n is an integer greater than or equal to 2;
[0140] The environmental parameter is determined based on the target received signal strength, and the environmental parameter is negatively correlated with the target received signal strength.
[0141] Optionally, the length determination module 802 is used to:
[0142] Determine a target environmental parameter interval to which the environmental parameter belongs;
[0143] The data frame length corresponding to the target environmental parameter interval is determined as the target data frame length, wherein different environmental parameter intervals correspond to different data frame lengths.
[0144] Optionally, the device further comprises:
[0145] The power adjustment module is used to increase the transmission power in response to the target data frame length reaching the lower limit of the data frame length.
[0146] Optionally, the power adjustment module is specifically used to:
[0147] In response to the target data frame length reaching a lower limit of the data frame length and the power of the device being greater than a power threshold, increasing the transmit power;
[0148] The power adjustment module is further used to maintain the transmission power in response to the target data frame length reaching the lower limit of the data frame length and the device power being less than a power threshold.
[0149] To summarize, in the embodiments of the present application, the Bluetooth data sending device determines the environmental parameters used to characterize the degree of electromagnetic interference during Bluetooth data transmission, and adjusts the length of the data frame based on the environmental parameters, thereby encapsulating and sending the data frame based on the adjusted length, thereby achieving adaptive adjustment of the data frame length based on the environment; using the solution provided in the embodiments of the present application, when the quality of the electromagnetic environment is poor, the Bluetooth data sending device can adaptively reduce the data frame length, thereby improving the verification pass rate of the Bluetooth data receiving device for the data frame, thereby reducing the probability of data frame retransmission, and helping to improve the success rate of Bluetooth data transmission and anti-interference capability.
[0150] Please refer to Fig. 9 , which shows a structural block diagram of a Bluetooth data transmission device provided by an embodiment of the present application. The device may include:
[0151] The parameter determination module 901 is used to determine the environmental parameters during the Bluetooth data transmission process, where the environmental parameters are used to characterize the electromagnetic interference degree of the Bluetooth transmission environment;
[0152] A length determination module 902, configured to determine a target data frame length based on the environmental parameter, wherein the target data frame length is negatively correlated with the environmental parameter;
[0153] The instruction sending module 903 is used to send an adjustment instruction containing the target data frame length to the Bluetooth data sending device, so that the Bluetooth data sending device performs data frame encapsulation based on the target data frame length.
[0154] To summarize, in the embodiments of the present application, the Bluetooth data receiving device determines the environmental parameters used to characterize the degree of electromagnetic interference during Bluetooth data transmission, and dynamically determines the target data frame length based on the environmental parameters, thereby instructing the Bluetooth data sending device to adjust the encapsulation length of the data frame based on the target data frame length, thereby achieving adaptive adjustment of the data frame length based on the environment; using the solution provided in the embodiments of the present application, when the quality of the electromagnetic environment is poor, the Bluetooth data sending device can adaptively reduce the data frame length, thereby improving the verification pass rate of the Bluetooth data receiving device for the data frame, thereby reducing the probability of data frame retransmission, and helping to improve the success rate of Bluetooth data transmission and anti-interference capability.
[0155] Please refer to Fig.10 , which shows a block diagram of a Bluetooth device provided by an exemplary embodiment of the present application. The Bluetooth device may be a smart phone, a tablet computer, a personal computer, a smart TV, a projector, etc. The Bluetooth device 1000 in the present application may include one or more of the following components: a processor 1010, a memory 1020, and a Bluetooth chip 1030.
[0156] The processor 1010 may include one or more processing cores. The processor 1010 uses various interfaces and lines to connect the various parts of the entire Bluetooth device 1000, and executes various functions and processes data of the Bluetooth device 1000 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1020, and calling data stored in the memory 1020. Optionally, the processor 1010 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1010 can integrate one or more combinations of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content that needs to be displayed on the display; the NPU is used to implement artificial intelligence (AI) functions; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 1010, but may be implemented by a separate chip.
[0157] The memory 1020 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 1020 includes a non-transitory computer-readable storage medium. The memory 1020 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 1020 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area may store data (such as audio data, a phone book), etc., created according to the use of the Bluetooth device 1000.
[0158] The Bluetooth chip 1030 is a component for implementing Bluetooth functions. In some embodiments, the Bluetooth chip 1030 includes a Bluetooth protocol stack, a Bluetooth baseband, and a Bluetooth transceiver. Optionally, the Bluetooth technology used by the Bluetooth chip 1030 can be classic Bluetooth technology or low-power Bluetooth technology, which is not limited in this embodiment.
[0159] In addition, those skilled in the art will appreciate that the structure of the Bluetooth device 1000 shown in the above figures does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the Bluetooth device 1000 also includes components such as a display screen, a sensor, a speaker, a microphone, a power supply, and a WiFi component, which will not be described in detail here.
[0160] An embodiment of the present application further provides a computer-readable storage medium, which stores at least one program code, and the program code is loaded and executed by a processor to implement the Bluetooth data transmission method described in the above embodiments.
[0161] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes a computer instruction, and the computer instruction is stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the Bluetooth data transmission method provided in various optional implementations of the above aspects.
[0162] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application are not limited to this.
[0163] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for transmitting Bluetooth data, characterized in that: Applied to a Bluetooth data sending device, the Bluetooth data sending device includes a Bluetooth protocol stack and a Bluetooth baseband, and the method includes: Establishing an A2DP connection with a Bluetooth data receiving device, wherein the A2DP connection is used to transmit Bluetooth audio data; During Bluetooth data transmission, determine environmental parameters, the environmental parameters are used to characterize the degree of electromagnetic interference in the Bluetooth transmission environment, the environmental parameters are obtained by the Bluetooth baseband based on the statistical instructions sent by the Bluetooth protocol stack, and after the statistical results are reported to the Bluetooth protocol stack, the Bluetooth protocol stack determines the environmental parameters based on the statistical results, wherein the environmental parameters are obtained by weighted fusion of environmental parameters determined based on a target packet error rate, environmental parameters determined based on a target number of frequency hopping channels, and environmental parameters determined based on a target received signal strength, the target packet error rate is obtained by filtering the historical packet error rates of the most recent n packet error rate statistical periods, the target number of frequency hopping channels is obtained by filtering the historical number of frequency hopping channels used in the most recent n frequency hopping channel synchronizations, and the target received signal strength is obtained by filtering the historical received signal strengths in the most recent n signal measurement periods; Determine a target data frame length based on the environmental parameter, wherein the target data frame length is negatively correlated with the environmental parameter, and the target data frame length is determined by the Bluetooth baseband based on the target gear after the Bluetooth protocol stack sends the target gear corresponding to the environmental parameter to the Bluetooth baseband based on the environmental parameter, wherein different gears correspond to different environmental parameter intervals, and different gears correspond to different data frame lengths; encapsulate the Bluetooth audio data into data frames based on the target data frame length, and send the encapsulated data frames to a Bluetooth data receiving device; In response to the target data frame length reaching a lower limit of the data frame length, the transmit power is increased; or, in response to the target data frame length reaching an upper limit of the data frame length, the transmit power is reduced.
2. The method according to claim 1, characterized in that: The method comprises: Acquire the total number of data frames of the data frames within the packet error rate statistical period, and the total number of NACK frames of the NACK frames sent by the Bluetooth data receiving device; The ratio of the total amount of NACK frames to the total amount of data frames is determined as the packet error rate of the packet error rate statistical period.
3. The method according to any one of claims 1 to 2, characterized in that: The determining of the target data frame length based on the environmental parameters comprises: Determine a target environmental parameter interval to which the environmental parameter belongs; The data frame length corresponding to the target environmental parameter interval is determined as the target data frame length, wherein different environmental parameter intervals correspond to different data frame lengths.
4. The method according to any one of claims 1 to 2, characterized in that: In response to the target data frame length reaching the lower limit of the data frame length, increasing the transmit power includes: In response to the target data frame length reaching a lower limit of the data frame length and the power of the device being greater than a power threshold, increasing the transmit power; The method further comprises: In response to the target data frame length reaching a lower limit of the data frame length and the power of the device being less than a power threshold, the transmission power is maintained.
5. A method for transmitting Bluetooth data, characterized in that: Applied to a Bluetooth data receiving device, the Bluetooth data receiving device includes a Bluetooth protocol stack and a Bluetooth baseband, and the method includes: Establishing an A2DP connection with a Bluetooth data sending device, wherein the A2DP connection is used to transmit Bluetooth audio data; During Bluetooth data transmission, determine environmental parameters, the environmental parameters are used to characterize the degree of electromagnetic interference in the Bluetooth transmission environment, the environmental parameters are obtained by the Bluetooth baseband based on the statistical instructions sent by the Bluetooth protocol stack, and after the statistical results are reported to the Bluetooth protocol stack, the Bluetooth protocol stack determines the environmental parameters based on the statistical results, wherein the environmental parameters are obtained by weighted fusion of environmental parameters determined based on a target packet error rate, environmental parameters determined based on a target number of frequency hopping channels, and environmental parameters determined based on a target received signal strength, the target packet error rate is obtained by filtering the historical packet error rates of the most recent n packet error rate statistical periods, the target number of frequency hopping channels is obtained by filtering the historical number of frequency hopping channels used in the most recent n frequency hopping channel synchronizations, and the target received signal strength is obtained by filtering the historical received signal strengths in the most recent n signal measurement periods; Determine a target data frame length based on the environmental parameter, wherein the target data frame length is negatively correlated with the environmental parameter, and the target data frame length is determined by the Bluetooth baseband based on the target gear position after the Bluetooth protocol stack sends the target gear position corresponding to the environmental parameter to the Bluetooth baseband based on the environmental parameter, wherein different gear positions correspond to different environmental parameter intervals, and different gear positions correspond to different data frame lengths; An adjustment instruction including the target data frame length is sent to a Bluetooth data sending device, so that the Bluetooth data sending device performs data frame encapsulation on the Bluetooth audio data based on the target data frame length, and the Bluetooth data sending device is also used to increase the transmission power when the target data frame length reaches the lower limit of the data frame length, or reduce the transmission power when the target data frame length reaches the upper limit of the data frame length.
6. A Bluetooth data transmission device, characterized in that: The device is used to establish an A2DP connection with a Bluetooth data receiving device, and the A2DP connection is used to transmit Bluetooth audio data. The device includes: A parameter determination module, used for determining environmental parameters during Bluetooth data transmission, wherein the environmental parameters are used to characterize the degree of electromagnetic interference of the Bluetooth transmission environment in which the Bluetooth baseband is located, and the environmental parameters are obtained by the Bluetooth protocol stack based on the statistical results after the Bluetooth baseband performs statistics based on the statistical instructions sent by the Bluetooth protocol stack and reports the statistical results to the Bluetooth protocol stack, wherein the environmental parameters are obtained by weighted fusion of environmental parameters determined based on a target packet error rate, environmental parameters determined based on a target number of frequency hopping channels, and environmental parameters determined based on a target received signal strength, the target packet error rate is obtained by filtering the historical packet error rates of the most recent n packet error rate statistical periods, the target number of frequency hopping channels is obtained by filtering the historical number of frequency hopping channels used in the most recent n frequency hopping channel synchronizations, and the target received signal strength is obtained by filtering the historical received signal strengths within the most recent n signal measurement periods; a length determination module, configured to determine a target data frame length based on the environmental parameter, wherein the target data frame length is negatively correlated with the environmental parameter, and the target data frame length is determined by the Bluetooth baseband based on the target gear position after the Bluetooth protocol stack sends the target gear position corresponding to the environmental parameter to the Bluetooth baseband based on the environmental parameter, wherein different gear positions correspond to different environmental parameter intervals, and different gear positions correspond to different data frame lengths; A data sending module, used for encapsulating the Bluetooth audio data into data frames based on the target data frame length, and sending the encapsulated data frames to a Bluetooth data receiving device; The power adjustment module is used to increase the transmission power in response to the target data frame length reaching the lower limit of the data frame length; or, in response to the target data frame length reaching the upper limit of the data frame length, reduce the transmission power.
7. A Bluetooth data transmission device, characterized in that: The device is used to establish an A2DP connection with a Bluetooth data sending device, and the A2DP connection is used to transmit Bluetooth audio data. The device includes: A parameter determination module, used for determining environmental parameters during Bluetooth data transmission, wherein the environmental parameters are used to characterize the degree of electromagnetic interference of the Bluetooth transmission environment in which the Bluetooth baseband is located, and the environmental parameters are obtained by the Bluetooth protocol stack based on the statistical results after the Bluetooth baseband performs statistics based on the statistical instructions sent by the Bluetooth protocol stack and reports the statistical results to the Bluetooth protocol stack, wherein the environmental parameters are obtained by weighted fusion of environmental parameters determined based on a target packet error rate, environmental parameters determined based on a target number of frequency hopping channels, and environmental parameters determined based on a target received signal strength, the target packet error rate is obtained by filtering the historical packet error rates of the most recent n packet error rate statistical periods, the target number of frequency hopping channels is obtained by filtering the historical number of frequency hopping channels used in the most recent n frequency hopping channel synchronizations, and the target received signal strength is obtained by filtering the historical received signal strengths within the most recent n signal measurement periods; a length determination module, configured to determine a target data frame length based on the environmental parameter, wherein the target data frame length is negatively correlated with the environmental parameter, and the target data frame length is determined by the Bluetooth baseband based on the target gear position after the Bluetooth protocol stack sends the target gear position corresponding to the environmental parameter to the Bluetooth baseband based on the environmental parameter, wherein different gear positions correspond to different environmental parameter intervals, and different gear positions correspond to different data frame lengths; The instruction sending module is used to send an adjustment instruction containing the target data frame length to a Bluetooth data sending device, so that the Bluetooth data sending device performs data frame encapsulation on the Bluetooth audio data based on the target data frame length, and the Bluetooth data sending device is also used to increase the transmission power when the target data frame length reaches the lower limit of the data frame length, or reduce the transmission power when the target data frame length reaches the upper limit of the data frame length.
8. A Bluetooth device, characterized in that: The Bluetooth device includes a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the Bluetooth data transmission method as described in any one of claims 1 to 4, or to implement the Bluetooth data transmission method as described in claim 5.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one program code, and the program code is loaded and executed by the processor to implement the Bluetooth data transmission method according to any one of claims 1 to 4, or to implement the Bluetooth data transmission method according to claim 5.
Citation Information
Patent Citations
Frame aggregation control method and device of WLAN (Wireless Local Area Network)
CN101925117A
Wireless communication in an environment with electronic interference
CN107222869A
Data transmission method and device and electronic equipment
CN113078926A