Data frame transmission method, device, chip, storage medium and Bluetooth device

By modulating the data frames using multi-phase modulation in Bluetooth technology, the problem of low data transmission rate in existing Bluetooth technology is solved, and a higher data transmission rate and more stable transmission effect is achieved.

CN115277323BActive Publication Date: 2024-11-19GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210876978.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-25
Publication Date
2024-11-19
Estimated Expiration
2042-07-25

AI Technical Summary

Technical Problem

The data transmission rate in existing Bluetooth technology is low and cannot meet the needs of continuous data transmission.

Method used

Two modulation methods are used to modulate the leading part and data part of the data frame respectively, which improves the modulation performance. The specific method includes modulating the first sequence of the data frame based on the phase shift keying modulation method, and transmitting the modulated first sequence and the second sequence through the wireless communication channel, and improving the use of Gaussian frequency shift keying or other multi-phase modulation method. Data transfer rate.

Benefits of technology

It significantly improves the data transmission rate and can meet the needs of high-throughput data transmission, such as lossless audio data transmission and fast hardware OTA upgrades.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115277323B_ABST
    Figure CN115277323B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a data frame transmission method, device, chip, storage medium and Bluetooth device. The method includes: modulating a first sequence of a data frame based on a first modulation method; wherein the data frame includes a first sequence and a second sequence, the first sequence corresponds to the data part of the data frame, the second sequence corresponds to the leading part of the data frame, and the first modulation method corresponds to the bandwidth of a wireless communication channel; and transmitting the modulated first sequence and the modulated second sequence through the wireless communication channel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a data frame transmission method, device, chip, storage medium and Bluetooth device. Background Art

[0002] With the rapid development of mobile communication technology, Bluetooth has become a commonly used data transmission method between electronic devices (for example, mobile phones, tablets, laptops, PDAs, wireless headphones, smart speakers, smart watches and other portable devices), realizing short-distance wireless data transmission between electronic devices, which is convenient, fast, flexible and safe.

[0003] However, due to the limitation of the prior art, the data transmission rate of Bluetooth transmission is low and cannot meet the continuous data transmission requirements. Summary of the invention

[0004] The embodiments of the present application provide a data frame transmission method, apparatus, chip, storage medium and Bluetooth device, which improve the data transmission rate.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] In a first aspect, an embodiment of the present application provides a data frame transmission method, the method comprising: modulating a first sequence of a data frame based on a first modulation method; wherein the data frame comprises a first sequence and a second sequence, the first sequence corresponds to a data portion of the data frame, the second sequence corresponds to a leading portion of the data frame, and the first modulation method corresponds to a bandwidth of a wireless communication channel; and transmitting the modulated first sequence and the modulated second sequence through the wireless communication channel.

[0007] In a second aspect, an embodiment of the present application provides another data frame transmission method, the method comprising: receiving a first modulation sequence and a second modulation sequence through a wireless communication channel; demodulating the first modulation sequence based on a first modulation method; wherein the first modulation method corresponds to the bandwidth of the wireless communication channel; the first modulation sequence corresponds to the data part of the data frame, and the second modulation sequence corresponds to the leading part of the data frame.

[0008] In a third aspect, an embodiment of the present application provides a data frame transmission device, the device comprising: a modulation module, used to modulate a first sequence of data frames based on a first modulation method; wherein the data frame comprises a first sequence and a second sequence, the first sequence corresponds to the data part of the data frame, the second sequence corresponds to the leading part of the data frame, and the first modulation method corresponds to the bandwidth of a wireless communication channel; a transmission module, used to transmit the modulated first sequence and the modulated second sequence through the wireless communication channel.

[0009] In a fourth aspect, an embodiment of the present application provides another data frame transmission device, which includes: a receiving module for receiving a first modulation sequence and a second modulation sequence through a wireless communication channel; a demodulation module for demodulating the first modulation sequence based on a first modulation method; wherein the first modulation method corresponds to the bandwidth of the wireless communication channel; the first modulation sequence corresponds to the data part of the data frame, and the second modulation sequence corresponds to the leading part of the data frame.

[0010] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which is used to implement the data frame transmission method described in the first aspect when executed by a first processor; or, when executed by a second processor, implement the data frame transmission method described in the second aspect.

[0011] In a sixth aspect, an embodiment of the present application provides a chip, comprising a first processor, wherein the first processor is configured to: modulate a first sequence of a data frame based on a first modulation method; wherein the data frame comprises a first sequence and a second sequence, the first sequence corresponds to a data portion of the data frame, the second sequence corresponds to a leading portion of the data frame, and the first modulation method corresponds to a bandwidth of a wireless communication channel; and transmit the modulated first sequence and the modulated second sequence through the wireless communication channel.

[0012] In the seventh aspect, an embodiment of the present application provides a chip, comprising a second processor, wherein the second processor is configured to: receive a first modulation sequence and a second modulation sequence through a wireless communication channel; demodulate the first modulation sequence based on a first modulation method; wherein the first modulation method corresponds to the bandwidth of the wireless communication channel; the first modulation sequence corresponds to the data part of the data frame, and the second modulation sequence corresponds to the leading part of the data frame.

[0013] In an eighth aspect, an embodiment of the present application provides a Bluetooth device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, it implements the data frame transmission method described in the first and second aspects above.

[0014] The embodiments of the present application provide a data frame transmission method, device, chip, storage medium and Bluetooth device. According to the scheme provided in the embodiments of the present application, the first sequence of the data frame is modulated based on the first modulation method; wherein the data frame includes a first sequence and a second sequence, the first sequence corresponds to the data part of the data frame, the second sequence corresponds to the leading part of the data frame, and the first modulation method corresponds to the bandwidth of the wireless communication channel; the modulated first sequence and the modulated second sequence are transmitted through the wireless communication channel. The leading part and the data part of the data frame are modulated respectively by two modulation methods, thereby improving the modulation performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 An exemplary schematic diagram of a BR frame format provided in an embodiment of the present application;

[0016] Figure 2 An exemplary schematic diagram of an EDR frame format provided in an embodiment of the present application;

[0017] Figure 3 An exemplary schematic diagram of a BLE 1M frame format provided in an embodiment of the present application;

[0018] Figure 4 An exemplary schematic diagram of a BLE 2M frame format provided in an embodiment of the present application;

[0019] Figure 5 An exemplary schematic diagram of a BLE LR 125K frame format provided in an embodiment of the present application;

[0020] Figure 6 An exemplary schematic diagram of a BLE LR 500K frame format provided in an embodiment of the present application;

[0021] Figure 7 A flowchart of optional steps of a data frame transmission method provided in an embodiment of the present application;

[0022] Figure 8 An exemplary schematic diagram of a BT frame format provided in an embodiment of the present application;

[0023] Fig. 9 An optional step flow chart of another data frame transmission method provided in an embodiment of the present application;

[0024] Fig.10 An optional structural diagram of a data frame transmission device provided in an embodiment of the present application;

[0025] Fig.11 An optional structural diagram of another data frame transmission device provided in an embodiment of the present application;

[0026] Fig.12 A schematic diagram of the structure of a Bluetooth device provided in an embodiment of the present application;

[0027] Fig.13 A schematic diagram of the structure of another Bluetooth device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. It should be understood that some embodiments described here are only used to explain the technical solutions of the present application and are not used to limit the technical scope of the present application.

[0029] In order to better understand the data frame transmission method provided in the embodiment of the present application, before introducing the technical solution of the embodiment of the present application, the relevant technology is first explained.

[0030] The Bluetooth technology solution has evolved from the initial realization of short-range communication to the current communication requirements for the Internet of Everything, and the transmission structure of Bluetooth data frames is also constantly evolving. The application scenario of the embodiment of the present application is Bluetooth data transmission between electronic devices. In one application scenario, a Bluetooth connection is established between a smart sports bracelet and a smart phone, which can quickly transmit the information collected during running, swimming, cycling and other sports to terminal devices such as smart phones through Bluetooth channels, so that users can better monitor the status of sports in real time. In another application scenario, a Bluetooth connection is connected between a smart sports bracelet, a smart phone and a smart watch. As a central hub, the smart watch can receive sports information collected from the smart sports bracelet through the Bluetooth channel, and can also be used as a display device to receive emails, text messages, etc. from smart phones through Bluetooth channels.

[0031] The frame structures (also called frame formats) used in the related art mainly include Basic Rate (BR) frame format, Enhanced Data Rate (EDR) frame format and Bluetooth Low Energy (BLE) frame format, etc. They are introduced below.

[0032] For example, Figure 1 As shown, Figure 1An exemplary schematic diagram of a BR frame format provided for an embodiment of the present application, the BR frame format includes the following fields: preamble, frame synchronization word, trailer, header, payload, the header may include indication information for indicating the length of Bluetooth data (such as audio data), and the payload is used to carry Bluetooth data. The lengths corresponding to the fields Preamble, Sync word, trailer, header, and payload are 4 microseconds (us), 64us, 4us, 54us, and Mus, where M is a positive integer and can be set by a person skilled in the art according to actual conditions. In the BR frame format, the modulation mode of the entire data packet is Gaussian frequency shift keying (GFSK) modulation, and the data packet structure includes three fields: GFSK access code, header, and payload. Access code includes three fields: preamble, sync word, and trailer. GFSK Access code is used to identify the GFSK modulation mode. In the GFSK modulation mode, one time unit carries one bit of information. The BR modulation scheme is the original Bluetooth scheme with a low transmission rate of only 1 megabits per second (Mbps). Mbps is a unit of transmission rate, indicating the number of bits transmitted per second. 1Mbps represents 1,000,000 bits transmitted per second.

[0033] For example, Figure 2 As shown, Figure 2An exemplary schematic diagram of an EDR frame format provided for an embodiment of the present application, the EDR frame format includes the following fields: preamble, GFSK frame synchronization word, trailer corresponding to GFSK modulation, frame header, guard interval part (Guard internval), frame synchronization word (Sync word), payload, trailer corresponding to DPSK modulation. The lengths of the fields Preamble, GFSKSync word, trailer, header, Guard internval, Sync word, payload, and trailer are 4us, 64us, 4us, 54us, 5us, 11us, Mus, and 2us, where M is a positive integer and can be set by those skilled in the art according to actual conditions. The Preamble, GFSK Sync word, and trailer fields are modulated by GFSK modulation and belong to the GFSK Access code, which is used to identify the GFSK modulation. The Sync word, payload, and trailer are modulated by Differential Phase Shift Keying (DPSK). The EDR modulation mode improves the shortcomings of the BR modulation scheme, and the data transmission rate is increased to 2Mbps or 3Mbps, but its power consumption is relatively large.

[0034] Exemplarily, the BLE frame format includes a BLE 1M frame format, a BLE 2M frame format, a BLE LR 125k frame format, and a BLE LR 500k frame format, such as Figure 3 and Figure 4 As shown, Figure 3 An exemplary schematic diagram of a BLE 1M frame format provided in an embodiment of the present application is shown in FIG. Figure 4An exemplary schematic diagram of a BLE2M frame format provided in an embodiment of the present application, both the BLE 1M frame format and the BLE 2M frame format include the following fields: preamble, BLE access code, header, and payload. In the BLE 1M frame format, the lengths of the fields Preamble, BLE Access code, header, and payload are 8us, 32us, 16us, and Mus, respectively. The modulation mode of the BLE 1M frame format is the same as that of the BR frame format, and the modulation mode of the data packet is GFSK modulation. In order to reduce power consumption, the lengths of the Aceess code and header fields are shortened, and the frame format is as follows: Figure 3 To increase the transmission rate, it is extended to BLE 2M frame format. The BLE 2M frame format and modulation method are similar to the BLE 1M frame format, but the channel bandwidth is 2 MHz. Its frame format is as follows: Figure 4 As shown. The BLE1M modulation scheme optimizes the disadvantage of high power consumption and reduces power consumption, but its transmission rate is only 1Mbps, which cannot meet the continuous and stable transmission requirements of audio data. In the BLE 2M frame format, the lengths of the fields Preamble, BLE Access code, header, and payload are 8us, 16us, 8us, and M / 2us, where M is a positive integer and can be set by technicians in this field according to actual conditions. The BLE 2M modulation scheme increases the transmission rate by 1 times by increasing the signal bandwidth, making the transmission of audio data more stable. However, its data transmission rate is still very low, only 2Mbps.

[0035] For example, to increase the Bluetooth transmission distance, the BLE frame format is extended to the BLE LR 125K frame format and the BLE LR 500K frame format, such as Figure 5 and Figure 6 As shown, Figure 5 An exemplary schematic diagram of a BLE LR 125K frame format provided in an embodiment of the present application is provided. Figure 6 An exemplary schematic diagram of a BLE LR 500K frame format provided in an embodiment of the present application is provided. Figure 5 and Figure 6The frame format provided is suitable for long-range (Long Range LR) transmission. Both the BLE LR 125K frame format and the BLE LR500K frame format include the following fields: Preamble, BLE Access code, CI rate, custom field 1 (TERM1), Packet Header, payload, and custom field 2 (TERM2). In the BLE LR 125K frame format, the lengths of Preamble, BLE Access code, CI rate, TERM1, Packet Header, payload, and TERM2 are 80us, 256us, 16us, 24us, 128us, M*8us, and 24us. In the BLE LR 500K frame format, the corresponding lengths of Preamble, BLE Access code, CI rate, TERM1, Packet Header, payload, and TERM2 are 80us, 256us, 16us, 24us, 32us, M*2us, and 6us, where M is a positive integer and can be set by technicians in this field according to actual conditions. Among them, TERM1 is encoded with 125 kilobits per second kb / s, and TERM2 is encoded with 125kb / s or 500kb / s. kb / s refers to the number of bits transmitted per second. The data transmission rates of the BLE LR 125K modulation scheme and the BLE LR 500K modulation scheme are both very low and still cannot meet the requirements of high-speed data transmission, such as lossless audio data transmission, hardware fast OTA (Over-the-Air) upgrade and other Bluetooth application scenarios.

[0036] The present application embodiment provides a data frame transmission method, such as Figure 7 As shown, Figure 7 A flow chart of a data frame transmission method provided in an embodiment of the present application, wherein the data frame transmission method comprises the following steps:

[0037] S101. Modulate a first sequence of a data frame based on a first modulation method; the data frame includes a first sequence and a second sequence, the first sequence corresponds to the data part of the data frame, the second sequence corresponds to the leading part of the data frame, and the first modulation method corresponds to the bandwidth of the wireless communication channel.

[0038] S102: Transmit the modulated first sequence and the modulated second sequence through a wireless communication channel.

[0039] In some embodiments, the wireless communication channel is a Bluetooth channel and the data frame is a Bluetooth data frame.

[0040] In an embodiment of the present application, the data frame transmission method can be applied to electronic devices that establish a Bluetooth connection. The embodiment of the present application is described by taking Bluetooth data transmission between a first device and a second device as an example. Figure 7 The data frame transmission method shown can be applied to the first device, and the first device and the second device are both electronic devices, such as smart phones, laptops, PDAs, Bluetooth headsets, smart speakers, smart watches, smart glasses, smart bracelets, watches, Bluetooth keyboards, Bluetooth mice, styluses, portable media playback devices, other wearable devices, etc. The embodiments of the present application do not limit the type of electronic device, as long as it is a terminal device that supports Bluetooth function.

[0041] In the embodiment of the present application, the first modulation mode is a data modulation mode, which may include 2 N Phase shift keying (PSK) modulation with different phase states, N is an integer greater than or equal to 2. Phase shift keying is a form of phase modulation (phase modulation) used to express a series of discrete states. Phase modulation (PM) is an evolution of frequency modulation (FM). The phase of the carrier is adjusted to encode bits of digital information into each word phase change (phase shift). Each time unit corresponding to the phase shift keying modulation method, such as a time domain symbol (symbol), can encode N bits (bits), which increases the data transmission rate.

[0042] According to the scheme provided by the embodiment of the present application, the first sequence of the data frame is modulated based on the first modulation mode; wherein the data frame includes the first sequence and the second sequence, the first sequence corresponds to the data part of the data frame, the second sequence corresponds to the leading part of the data frame, and the first modulation mode corresponds to the bandwidth of the wireless communication channel; the modulated first sequence and the modulated second sequence are transmitted through the wireless communication channel. The leading part and the data part of the data frame are modulated respectively by two modulation modes, thereby improving the modulation performance.

[0043] In some embodiments, the first modulation method includes phase shift keying modulation; and the second sequence is modulated based on Gaussian frequency shift keying.

[0044] In an embodiment of the present application, a data frame includes a first sequence and a second sequence, and the first sequence and the second sequence are modulated using different modulation methods (first modulation method and second modulation method) respectively. Exemplarily, the second modulation method may be Gaussian frequency shift keying (GFSK) or the like, which is not limited in the embodiment of the present application. The second sequence is used to identify the frame format corresponding to the first modulation method, so that when the second device is demodulating, it demodulates the modulated second sequence to obtain the second sequence, thereby identifying the first modulation method used when modulating the first sequence, and then demodulates the modulated first sequence according to the first modulation method to obtain the first sequence.

[0045] Exemplarily, the first modulation method may include 4-phase shift keying QPSK with 4 phase states, which can also be called four-phase phase shift keying. One time domain symbol carries 2 bits of data, that is, one time domain symbol can transmit 2 bits of data; four phases are used to represent "00", "01", "10" and "11" respectively; QPSK modulation is used to ensure the data transmission rate.

[0046] Exemplarily, the first modulation method may include 8-phase shift keying 8PSK (8Phase Shift Keying) with 8 phase states, which may also be called eight-phase phase shift keying. One time domain symbol represents 3 bits, and transmitting one time domain symbol means transmitting 3 bits of data; eight phases are used to represent "000", "001", "010", "011", "100", "101", "110" and "111" respectively. 8PSK corresponds to PSK with 8 states. If it has half of its states, that is, 4 states, it is QPSK, and if it has twice its states, it is 16PSK. Because 8PSK has 8 states, each time domain symbol of 8PSK can encode 3 bits. The same time domain symbol can carry more bits, thereby increasing the rate at which audio data is transmitted, and thus can support the transmission of high-definition audio data.

[0047] Exemplarily, the first modulation method may include 16-phase shift keying 16PSK with 16 phase states, one time domain symbol represents 4 bits, and transmitting one time domain symbol is equivalent to transmitting 4 bits of data; the sixteen phases are represented as "0000", "0001", "0010", "0011", "0100", "0101", "0110", "0111", "1000", "1001", "1010", "1011", "1100", "1101", "1110" and "1111".

[0048] Exemplarily, the first modulation method may include 32-phase shift keying 32PSK with 32 phase states, one time domain symbol represents 5 bits, and transmitting one time domain symbol means transmitting 5 bits of data. The first modulation method may include 64-phase shift keying 64PSK with 64 phase states, one time domain symbol represents 6 bits, and transmitting one time domain symbol means transmitting 6 bits of data.

[0049] In an embodiment of the present application, the second sequence is modulated according to the second modulation method for identifying the channel coding method of the first modulation method. The second modulation method adopts a GFSK modulation mode consistent with the BLE modulation scheme, which can be well compatible with the BLE modulation scheme, thereby improving the recognition speed of the signal coding method and improving the data transmission efficiency.

[0050] In some embodiments, the Bluetooth data frame includes a second sequence, an interval sequence, and a first sequence, wherein the interval sequence is located between the second sequence and the first sequence, and the interval sequence is used for phase smoothing between the first modulation mode and the second modulation mode. Figure 8 As shown, Figure 8 An exemplary schematic diagram of a BT frame format provided for an embodiment of the present application, the Bluetooth (BT) frame format is an improvement on the original frame format, and the BT frame format includes a preamble signal and a data signal. The preamble signal corresponds to the second sequence, and the data signal corresponds to the first sequence. The preamble signal includes the following fields: a preamble code (Preamble), an access code (Access code), a frame header (Header), and the data signal includes a frame synchronization word (Sync word), a payload (payload), and a trailer (trailer). The BT frame format also includes a guard interval part (guard), which can also be called an interval sequence. The corresponding lengths of Preamble, Access code, Header, guard, Sync word, payload, and trailer are 8us, 32us, 32us, 5us, Nus, M*2us, and 6us. N and M are both positive integers and can be set by those skilled in the art according to actual conditions.

[0051] In the embodiment of the present application, the above Figure 8 The header may include indication information for indicating the length of Bluetooth data (such as audio data), the Sync word is used for synchronizing the first device with the second device, and the payload is used to carry the Bluetooth data. Taking the Bluetooth data as audio data as an example, the audio data carried in the payload may include audio data after encoding the original audio data, and may also include audio data that has been encrypted and integrity-checked.

[0052] In the embodiment of the present application, since different modulation modes correspond to different phase modulation modes, for example, GFSK is a continuous phase frequency modulation, and 8PSK is a form of phase modulation used to express a series of discrete states, the Bluetooth data frame also includes an interval sequence (guard), which can also be called a protection interval. Exemplarily, the length corresponding to the guard can be 5us, which is the interval time from the end of the last bit of the GFSK frame header to the beginning of the first bit of the 8PSK frame synchronization word (sync word), and the guard is used for phase smoothing between GFSK and 8PSK.

[0053] In the embodiment of the present application, there is a 5us guard between the pilot signal and the 8PSK sync word, which is used for phase smoothing between different modulation modes and improving the accuracy of data modulation.

[0054] The embodiment of the present application divides the frame format into two parts: the preamble signal and the data signal. The preamble signal includes Preamble, Access code and Header, which are used for detection, synchronization and signal format identification. The preamble signal (i.e. Preamble, Access code, Header) adopts GFSK modulation, which is the same as the BLE modulation scheme and can be well compatible with the BLE modulation scheme, thereby improving the flexibility and applicability of the modulation scheme. The modulation of the preamble signal corresponding to the GFSK modulation scheme can use the original hardware equipment without updating the equipment, thereby saving hardware resources. At the same time, the data signal adopts 8PSK modulation to improve the data transmission rate.

[0055] In some embodiments, the first sequence includes a synchronization word, and the time length of the synchronization word is determined based on the bandwidth of the wireless communication channel.

[0056] In the embodiment of the present application, the BT frame format in the embodiment of the present application expands the channel bandwidth supported by the BT signal from the original 1 megahertz (MHz) to 2MHz and 4MHz. The first sequence (corresponding to Figure 8 The data signal in the frame also includes a frame synchronization word. Figure 8 The frame synchronization word is used for synchronization between the first device and the second device. The time length of the synchronization word can be determined based on the bandwidth of the wireless communication channel, that is, different lengths are set according to different channel bandwidth modes. For example, for a 1MHz channel bandwidth, the length of the frame synchronization word can be set to 30us (i.e. Figure 8 The value of N in is 30); for a 2MHz channel bandwidth, the length of the frame synchronization word is set to 60us (i.e. Figure 8 The value of N in is 60); for a 4MHz channel bandwidth, the length of the frame synchronization word is set to 60us or 120us (i.e. Figure 8 The N value is 60us or 120us).

[0057] In some embodiments, in the above Figure 7 Before S101, the data frame transmission method also includes S100.

[0058] S100: Determine a coding method for a first sequence based on a bandwidth of a wireless communication channel.

[0059] In some embodiments, the bandwidth of the wireless communication channel is a bandwidth of a Bluetooth channel when the first device and the second device communicate in Bluetooth.

[0060] In the embodiment of the present application, the BR modulation mode and the EDR modulation mode in the related art are based on a channel bandwidth (Band Width) of 1 MHz. The bandwidth mode of the BT solution provided in the embodiment of the present application is expanded from the original 1 MHz or 2 MHz to a maximum of 4 MHz, that is, the supported channel bandwidths include 1 MHz, 2 MHz and 4 MHz. Different channel bandwidths support different modulation methods. Before modulating the first sequence, the first sequence can also be encoded. The encoding method of the first sequence is determined according to the bandwidth of the wireless communication channel, which improves the applicable scenarios of the data frame transmission method.

[0061] In some embodiments, the above S100 may include the following three examples. Example 1: When the bandwidth of the wireless communication channel is 1 MHz, the coding mode of the first sequence is determined to be trellis coded modulation; that is, the first modulation mode is determined to be a mixed modulation mode of TCM and 8PSK. Example 2: When the bandwidth of the wireless communication channel is 2 MHz, the coding mode of the first sequence is determined to be trellis coded modulation, or Reed Solomon coding; that is, the first modulation mode is determined to be a mixed modulation mode of TCM and 8PSK, or a mixed modulation mode of RS code and 8PSK. Example 3: When the bandwidth of the wireless communication channel is 4 MHz, it is determined not to encode the first sequence, or the coding mode of the first sequence is determined to be trellis coded modulation or Reed Solomon coding; that is, the first modulation mode is determined to be a mixed modulation mode of TCM and 8PSK, a mixed modulation mode of RS code and 8PSK, or 8PSK.

[0062] In the embodiment of the present application, different first modulation modes may be used for different channel bandwidths, and different first modulation modes may be used for the same channel bandwidth (for example, 2 MHz channel bandwidth and 4 MHz channel bandwidth), as shown in Table 1, which is a Bluetooth frame format parameter provided in the embodiment of the present application. Table 1 shows 6 Bluetooth frame formats.

[0063] Table 1

[0064]

[0065] In the embodiment of the present application, the above Figure 8 The payload can set different modulation modes according to different channel bandwidth modes, which are introduced below. Combined with Table 1, for 1MHz channel bandwidth, 2 / 3 code rate TCM and 8PSK mixed modulation is used to make the data transmission rate reach 2Mbps and the receiving sensitivity reach -97dBm. For 2MHz channel bandwidth, two modulation modes are included, 2 / 3 code rate TCM and 8PSK mixed modulation, and 5 / 6 code rate RS and 8PSK mixed modulation, so that the transmission rates reach 4Mbps and 5Mbps respectively, and the receiving sensitivities reach -95dBm and -92dBm respectively. For 4MHz channel bandwidth, three modulation modes are included: 2 / 3 code rate TCM and 8PSK mixed modulation, 5 / 6 code rate RS and 8PSK mixed modulation, and 8PSK modulation, and the data transmission rates can reach 8Mbps, 10Mbps and 12Mbps respectively, and the receiving sensitivities reach -93dBm, -89dBm and -84dBm respectively.

[0066] In the embodiment of the present application, compared with the EDR modulation mode, the maximum data transmission rate is increased to 4 times the original. Different sync word lengths are set according to different channel bandwidths, and different modulation modes of payload are set according to different channel bandwidth modes. Multiple Bluetooth frame formats provide different rates, which can meet different Bluetooth channel conditions in actual applications and provide a variety of modulation schemes for adaptive data rate transmission.

[0067] In the embodiment of the present application, the receiving sensitivity in the above Table 1 is expressed by the bit error rate (BER). The embodiment of the present application provides 6 format numbers, and the corresponding receiving sensitivities are -97dBm, -95dBm, -92dBm, -93dBm, -89dBm, and -84dBm. dBm is a pure counting unit, indicating an absolute value of a reference power. The above 6 format numbers cover most scenarios in display applications, supporting Bluetooth high-speed transmission under close-range and high signal-to-noise ratio conditions (for example, a maximum transmission rate of 12Mbps), and can also ensure a longer coverage range (for example, a maximum sensitivity of -97dBm).

[0068] In an embodiment of the present application, the device can flexibly adjust the current transmission format according to the actual channel conditions. For example, for the Bluetooth transmission process, when the receiving sensitivity is higher, the effective working distance it covers (the effective working distance between the Bluetooth transmitting device and the receiving device) is longer, and the corresponding Bluetooth transmission rate is lower. For example, for the EDR modulation mode, when the receiving sensitivity is -97dBm, the corresponding transmission rate may be only 1Mbps, while the BT solution provided in the embodiment of the present application, when the receiving sensitivity is -97dBm, the corresponding transmission rate reaches 2Mbps, while ensuring stable Bluetooth transmission while trying to provide a higher data rate.

[0069] In the embodiment of the present application, it can be seen from Table 1 above that the data transmission rate of the BT solution provided in the embodiment of the present application is much higher than that of the Bluetooth technology in the related art. For example, the highest data transmission rate (12Mbps data transmission rate corresponding to format coding 6) is 4 times the fastest rate format in the related art (for example, 3Mbps transmission rate corresponding to EDR 3M modulation mode). The lowest data transmission rate (2Mbps data transmission rate corresponding to format coding 1) is twice the Bluetooth basic rate in the related art (the transmission rate corresponding to the BR modulation mode is 1Mbps). The embodiment of the present application can meet the needs of high-throughput data transmission.

[0070] In some embodiments, the above S100 can also be implemented in the following manner: determining a modulation mode set according to the channel bandwidth; the modulation mode set includes multiple candidate modulation modes related to the data transmission rate; determining a first modulation mode in the modulation mode set according to the channel state information; wherein the channel state information reflects the quality of the Bluetooth channel when the first device and the second device communicate in Bluetooth, and the Bluetooth channel quality is positively correlated with the data transmission rate.

[0071] In the embodiment of the present application, the channel state information reflects the quality of the Bluetooth channel. The better the quality of the Bluetooth channel, the higher the data transmission rate can be applied. For channel conditions with short distances and low sensitivity requirements, a modulation method corresponding to a higher data transmission rate can be selected. For example, a 4MHz channel bandwidth can be selected, and an 8PSK modulation method can be used, with a data transmission rate of 12Mbps. For channel conditions with long distances, a modulation method corresponding to a higher sensitivity and a lower data transmission rate can be appropriately selected. For example, a 1MHz channel bandwidth can be selected, and a 2 / 3 code rate TCM and 8PSK mixed modulation can be used to modulate the Bluetooth data frame, so that the data transmission rate reaches 2Mbps, which is still higher than the 1Mbps transmission rate corresponding to the BR modulation mode. The data transmission rate is still improved.

[0072] In the embodiment of the present application, since different channel bandwidths correspond to multiple modulation modes, and multiple modulation modes correspond to different data transmission rates, the embodiment of the present application determines multiple candidate modulation modes that can be selected according to the channel bandwidth, and then determines the first modulation mode among the multiple candidate modulation modes according to the channel state information, so that the selected first modulation mode satisfies the current Bluetooth channel status, thereby improving the data transmission rate while making reasonable use of resources. At the same time, adaptive adjustment between different modulation formats (for example, 2 / 3 code rate TCM and 8PSK mixed modulation) can be achieved to realize adaptive rate (auto rate) transmission.

[0073] In some embodiments, the channel state information can be determined in the following manner. Receive the reference signal (RS) power transmitted by the second device; determine the received signal-to-noise ratio based on the reference signal power; determine the channel state information based on the received signal-to-noise ratio. The reference signal power represents the signal power actually sent by the second device, and the received signal-to-noise ratio is calculated based on the reference signal power and the actual received power of the first device. The received signal-to-noise ratio is positively correlated with the throughput of the Bluetooth channel, reflecting the quality of the Bluetooth channel. Therefore, according to the channel state information, a suitable data transmission rate (that is, a suitable first modulation method) is selected for data frame transmission, thereby improving the data transmission rate.

[0074] In some embodiments, the above Figure 7 The first modulation mode in S101 may also be determined in the following manner: receiving a data transmission request sent by the second device; and determining the first modulation mode according to the data transmission request.

[0075] In an embodiment of the present application, the first modulation mode can be determined by the second device and then sent to the first device, and the first device modulates the Bluetooth data frame according to the first modulation mode. The second device determines the first modulation mode according to its own demodulation requirements, such as a demodulation mode that it can identify and execute, and sends the first modulation mode to the second device in the form of a data transmission request. It is understandable that the second device can also determine the first modulation mode by using the method for determining the first modulation mode with the first device, for example, determining the first modulation mode according to the channel bandwidth and / or channel state information.

[0076] In an embodiment of the present application, the first device determines the first modulation mode through the data transmission request sent by the second device, thereby improving the diversity of data transmission.

[0077] The embodiment of the present application also provides a data frame transmission method, which is executed by a second device. That is, the data frame transmission process is described from the demodulation process of the second device. Fig. 9 As shown, Fig. 9A flowchart of another data frame transmission method provided in an embodiment of the present application, the data frame transmission method comprises the following steps:

[0078] S201. Receive a first modulation sequence and a second modulation sequence through a wireless communication channel, where the first modulation sequence corresponds to a data portion of a data frame, and the second modulation sequence corresponds to a leading portion of the data frame.

[0079] S202. Demodulate a first modulation sequence based on a first modulation method; the first modulation method corresponds to a bandwidth of a wireless communication channel.

[0080] In the embodiments of the present application, Fig. 9 and Figure 7 The data frame transmission method is described from the demodulation process of the second device and the modulation process of the first device respectively. Fig. 9 The specific description of the embodiment of the data frame transmission method implemented by S201 and S202 and the technical effects achieved can be found in the above Figure 7 , I will not go into details here.

[0081] In some embodiments, the second modulation sequence is demodulated based on Gaussian frequency shift keying.

[0082] In some embodiments, in the above Fig. 9 Before S201, the data frame transmission method further includes the following steps: Sending a data transmission request to the first device, where the data transmission request is used to determine the first modulation mode.

[0083] In order to implement the data frame transmission method of the embodiment of the present application, the embodiment of the present application also provides a data frame transmission device, such as Fig.10 As shown, Fig.10 An optional structural diagram of a data frame transmission device provided for an embodiment of the present application, the data frame transmission device 100 includes: a modulation module 1001, used to modulate a first sequence of a data frame based on a first modulation method; wherein the data frame includes a first sequence and a second sequence, the first sequence corresponds to a data portion of the data frame, the second sequence corresponds to a leading portion of the data frame, and the first modulation method corresponds to the bandwidth of a wireless communication channel; a transmission module 1002, used to transmit the modulated first sequence and the modulated second sequence through a wireless communication channel.

[0084] In some embodiments, the first modulation method includes phase shift keying modulation;

[0085] The modulation module 1001 is further configured to modulate the second sequence based on Gaussian frequency shift keying.

[0086] In some embodiments, the first sequence includes a synchronization word; the data frame transmission device 100 further includes a determination module 1003;

[0087] The determination module 1003 is configured to determine the time length of the synchronization word based on the bandwidth of the wireless communication channel.

[0088] In some embodiments, the determination module 1003 is further configured to determine an encoding method of the first sequence based on a bandwidth of a wireless communication channel.

[0089] In some embodiments, the determination module 1003 is further used to determine that the encoding method of the first sequence is trellis coded modulation (TCM) when the bandwidth of the wireless communication channel is 1 MHz; to determine that the encoding method of the first sequence is TCM, or Reed-Solomon coding (RS) code when the bandwidth of the wireless communication channel is 2 MHz; and to determine that the first sequence is not encoded, or to determine that the encoding method of the first sequence is TCM, or RS code, when the bandwidth of the wireless communication channel is 4 MHz.

[0090] In some embodiments, the wireless communication channel is a Bluetooth channel.

[0091] In order to implement the data frame transmission method of the embodiment of the present application, the embodiment of the present application also provides a data frame transmission device, such as Fig.11 As shown, Fig.11 An optional structural diagram of another data frame transmission device provided for an embodiment of the present application, the data frame transmission device 110 includes: a receiving module 1101, used to receive a first modulation sequence and a second modulation sequence through a wireless communication channel, the first modulation sequence corresponds to the data part of the data frame, and the second modulation sequence corresponds to the leading part of the data frame; a demodulation module 1102, used to demodulate the first modulation sequence based on a first modulation method, and the first modulation method corresponds to the bandwidth of the wireless communication channel.

[0092] In some embodiments, the first modulation method includes phase shift keying modulation;

[0093] The demodulation module 1102 is further configured to demodulate the second modulation sequence based on Gaussian frequency shift keying.

[0094] It should be noted that any data frame transmission device provided in the above embodiments only uses the division of the above program modules as an example when performing data frame transmission. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the data frame transmission device and the data frame transmission method embodiment provided in the above embodiments belong to the same concept. The specific implementation process and beneficial effects are detailed in the method embodiment, which will not be repeated here. For technical details not disclosed in the embodiment of this device, please refer to the description of the method embodiment of this application for understanding.

[0095] An embodiment of the present application also provides a chip, which includes a first processor, and the first processor is configured to: modulate a first sequence of a data frame based on a first modulation method; wherein the data frame includes a first sequence and a second sequence, the first sequence corresponds to the data part of the data frame, the second sequence corresponds to the leading part of the data frame, and the first modulation method corresponds to the bandwidth of a wireless communication channel; and transmit the modulated first sequence and the modulated second sequence through the wireless communication channel.

[0096] An embodiment of the present application also provides another chip, which includes a second processor, and the second processor is configured to: receive a first modulation sequence and a second modulation sequence through a wireless communication channel; demodulate the first modulation sequence based on a first modulation method; wherein the first modulation method corresponds to the bandwidth of the wireless communication channel; the first modulation sequence corresponds to the data part of the data frame, and the second modulation sequence corresponds to the leading part of the data frame.

[0097] In the embodiments of the present application, Fig.12 A schematic diagram of the structure of a Bluetooth device proposed in an embodiment of the present application is shown in FIG. Fig.12 As shown, the device 120 proposed in the embodiment of the present application includes a first processor 1201 and a first memory 1202 storing an executable computer program. The first processor 1201 is used to implement the data frame transmission method performed by the first device side in the embodiment of the present application when executing the executable computer program stored in the first memory 1202. In some embodiments, the Bluetooth device 120 may also include a first communication interface 1203, and a first bus 1204 for connecting the first processor 1201, the first memory 1202 and the first communication interface 1203.

[0098] In the embodiment of the present application, the first bus 1204 is used to connect the first communication interface 1203, the first processor 1201 and the first memory 1202 to achieve mutual communication between these devices.

[0099] In the embodiments of the present application, Fig.13 This is a schematic diagram of another Bluetooth device structure proposed in the embodiment of the present application, such as Fig.13 As shown, the device 130 proposed in the embodiment of the present application includes a second processor 1301 and a second memory 1302 storing an executable computer program. The second processor 1301 is used to implement the data frame transmission method performed by the second device side in the embodiment of the present application when executing the executable computer program stored in the second memory 1302. In some embodiments, the Bluetooth device 130 may also include a second communication interface 1303, and a second bus 1304 for connecting the second processor 1301, the second memory 1302 and the second communication interface 1303.

[0100] In the embodiment of the present application, the second bus 1304 is used to connect the second communication interface 1303, the second processor 1301 and the second memory 1302 to achieve mutual communication between these devices.

[0101] In the embodiment of the present application, the first processor 1201 and the second processor 1301 may be at least one of an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor. It can be understood that for different devices, the electronic device used to implement the above-mentioned processor function can also be other, and the embodiment of the present application does not specifically limit it.

[0102] The first memory 1202 and the second memory 1302 are used to store executable computer programs and data, wherein the executable computer programs include computer operation instructions, and the first memory 1202 and the second memory 1302 may include high-speed RAM memory, and may also include non-volatile memory, for example, at least two disk memories. In practical applications, the first memory 1202 and the second memory 1302 may be volatile memory (volatile memory), such as random access memory (Random-Access Memory, RAM); or non-volatile memory (non-volatile memory), such as read-only memory (Read-Only Memory, ROM), flash memory (flash memory), hard disk drive (Hard Disk Drive, HDD) or solid-state drive (Solid-State Drive, SSD); or a combination of the above types of memory.

[0103] In addition, each functional module in this embodiment 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 above integrated unit can be implemented in the form of hardware or software functional modules.

[0104] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the method of this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0105] An embodiment of the present application provides a computer-readable storage medium storing a computer program for implementing the data frame transmission method described in any embodiment executed on the first device side when executed by a first processor; and for implementing the data frame transmission method described in any embodiment executed on the second device side when executed by a second processor.

[0106] Exemplarily, a program instruction corresponding to a data frame transmission method in this embodiment can be stored on a storage medium such as a CD, a hard disk, or a USB flash drive. When the program instruction corresponding to a data frame transmission method in the storage medium is read or executed by an electronic device, the data frame transmission method described in any of the above embodiments can be implemented.

[0107] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0108] The present application is described with reference to implementation flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0109] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0110] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing the steps in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0111] The above are only preferred embodiments of the present application and are not intended to limit the protection scope of the present application.

Claims

1. A data frame transmission method, It is characterized in that The method comprises: Determining a modulation mode set according to a bandwidth of a wireless communication channel; the modulation mode set includes a plurality of candidate modulation modes related to a data transmission rate; Determining a first modulation mode in the modulation mode set according to the channel state information; Modulate a first sequence of a data frame based on the first modulation mode; wherein the data frame includes a first sequence and a second sequence, the first sequence corresponds to a data portion of the data frame, and the second sequence corresponds to a leading portion of the data frame; The modulated first sequence and the modulated second sequence are transmitted over the wireless communication channel.

2. The method according to claim 1, It is characterized in that The first modulation mode includes phase shift keying modulation; the method further includes: The second sequence is modulated based on Gaussian frequency shift keying.

3. The method according to claim 1, It is characterized in that The first sequence includes a synchronization word, and the method further includes: The time length of the synchronization word is determined based on the bandwidth of the wireless communication channel.

4. The method according to any one of claims 1 to 3, It is characterized in that The method further comprises: An encoding method of the first sequence is determined based on a bandwidth of the wireless communication channel.

5. The method according to claim 4, It is characterized in that The determining the encoding mode of the first sequence based on the bandwidth of the wireless communication channel includes: When the bandwidth of the wireless communication channel is 1 MHz, determining that the coding mode of the first sequence is trellis coded modulation; When the bandwidth of the wireless communication channel is 2 MHz, determining that the coding mode of the first sequence is the trellis coded modulation or Reed-Solomon coding; When the bandwidth of the wireless communication channel is 4 MHz, it is determined that the first sequence is not encoded, or it is determined that the encoding method of the first sequence is the trellis coded modulation or the Reed-Solomon coding.

6. The method according to any one of claims 1 to 3, It is characterized in that The wireless communication channel is a Bluetooth channel.

7. A data frame transmission method, It is characterized in that The method comprises: receiving a first modulation sequence and a second modulation sequence via a wireless communication channel; Demodulating the first modulation sequence based on a first modulation mode; Among them, the first modulation mode is a modulation mode determined from a modulation mode set based on channel state information, and the modulation mode set includes multiple candidate modulation modes related to data transmission rate; the modulation mode set is determined based on the bandwidth of the wireless communication channel; the first modulation sequence corresponds to the data part of the data frame, and the second modulation sequence corresponds to the leading part of the data frame.

8. The method according to claim 7, It is characterized in that The first modulation mode includes phase shift keying modulation; the method further includes: The second modulation sequence is demodulated based on Gaussian frequency shift keying.

9. A data frame transmission device, It is characterized in that The device comprises: A modulation module, configured to determine a modulation mode set according to a channel bandwidth of a wireless communication channel; the modulation mode set includes a plurality of candidate modulation modes related to a data transmission rate; determine a first modulation mode in the modulation mode set according to channel state information; modulate a first sequence of a data frame based on the first modulation mode; wherein the data frame includes a first sequence and a second sequence, the first sequence corresponds to a data portion of the data frame, the second sequence corresponds to a leading portion of the data frame, and the first modulation mode corresponds to the bandwidth of the wireless communication channel; A transmission module is used to transmit the modulated first sequence and the modulated second sequence through the wireless communication channel.

10. A data frame transmission device, It is characterized in that The device is applied to a second device, and includes: A receiving module, configured to receive a first modulation sequence and a second modulation sequence through a wireless communication channel; A demodulation module is used to demodulate the first modulation sequence based on a first modulation mode; wherein the first modulation mode is a modulation mode determined from a modulation mode set based on channel state information, and the modulation mode set includes multiple candidate modulation modes related to data transmission rate; the modulation mode set is determined based on the bandwidth of a wireless communication channel; the first modulation sequence corresponds to the data part of the data frame, and the second modulation sequence corresponds to the leading part of the data frame.

11. A computer-readable storage medium, It is characterized in that A computer program is stored, which is used to implement the method according to any one of claims 1 to 6 when executed by the first processor; Alternatively, when executed by a second processor, the method according to claim 7 or 8 is implemented.

12. A chip, It is characterized in that The chip includes a first processor, wherein the first processor is configured to: Determining a modulation mode set according to a bandwidth of a wireless communication channel; the modulation mode set includes a plurality of candidate modulation modes related to a data transmission rate; Determining a first modulation mode in the modulation mode set according to the channel state information; Modulating a first sequence of data frames based on the first modulation mode; wherein the data frame includes a first sequence and a second sequence, the first sequence corresponds to a data portion of the data frame, the second sequence corresponds to a leading portion of the data frame, and the first modulation mode corresponds to a bandwidth of a wireless communication channel; The modulated first sequence and the modulated second sequence are transmitted over the wireless communication channel.

13. A chip, It is characterized in that The chip includes a second processor, wherein the second processor is configured to: receiving a first modulation sequence and a second modulation sequence via a wireless communication channel; Demodulating the first modulation sequence based on a first modulation method; Among them, the first modulation mode is a modulation mode determined from a modulation mode set based on channel state information, and the modulation mode set includes multiple candidate modulation modes related to data transmission rate; the modulation mode set is determined based on the bandwidth of the wireless communication channel; the first modulation sequence corresponds to the data part of the data frame, and the second modulation sequence corresponds to the leading part of the data frame.

14. A Bluetooth device, It is characterized in that The Bluetooth device includes a memory and a processor; The memory stores a computer program executable on the processor; When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.