WO2024021706A1 - 数据帧传输方法、装置、芯片、计算机可读存储介质、蓝牙设备、程序及程序产品 - Google Patents

数据帧传输方法、装置、芯片、计算机可读存储介质、蓝牙设备、程序及程序产品 Download PDF

Info

Publication number
WO2024021706A1
WO2024021706A1 PCT/CN2023/090027 CN2023090027W WO2024021706A1 WO 2024021706 A1 WO2024021706 A1 WO 2024021706A1 CN 2023090027 W CN2023090027 W CN 2023090027W WO 2024021706 A1 WO2024021706 A1 WO 2024021706A1
Authority
WO
WIPO (PCT)
Prior art keywords
sequence
modulation
data
data frame
present application
Prior art date
Application number
PCT/CN2023/090027
Other languages
English (en)
French (fr)
Inventor
刘晴
Original Assignee
哲库科技(上海)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 哲库科技(上海)有限公司 filed Critical 哲库科技(上海)有限公司
Publication of WO2024021706A1 publication Critical patent/WO2024021706A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
    • H04L1/0003Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate by switching between different modulation schemes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • the present application relates to the field of communication technology, and in particular to a data frame transmission method, device, chip, computer-readable storage medium, Bluetooth device, program and program product.
  • Bluetooth has become a commonly used data transmission method between electronic devices (such as mobile phones, tablets, laptops, PDAs, wireless headsets, smart speakers, smart watches and other portable devices). Realize short-distance wireless data transmission between electronic devices, which is convenient, fast, flexible and safe.
  • Embodiments of the present application provide a data frame transmission method, device, chip, computer-readable storage medium, Bluetooth device, program and program product, which improves the data transmission rate.
  • embodiments of the present application provide a data frame transmission method.
  • the method includes: modulating a first sequence of data frames according to a first modulation method; and modulating a second sequence of data frames according to a second modulation method. Perform modulation; transmit the modulated first sequence and the modulated second sequence through a wireless channel; wherein the first sequence corresponds to the data portion of the data frame, and the second sequence corresponds to the The leading part of the data frame.
  • embodiments of the present application provide another data frame transmission method.
  • the method includes: receiving a first modulation sequence and a second modulation sequence through a wireless channel; and decoding the second modulation sequence based on the second modulation method.
  • modulate demodulate the first modulation sequence based on the first modulation mode; wherein the first modulation sequence corresponds to the data part of the data frame, and the second modulation sequence corresponds to the preamble part of the data frame.
  • inventions of the present application provide a data frame transmission device.
  • the device includes: a modulation part configured to modulate the first sequence of data frames according to a first modulation method; and the second sequence of data frames according to a second modulation method.
  • the second sequence of the data frame is modulated; wherein the first sequence corresponds to the data part of the data frame, and the second sequence corresponds to the preamble part of the data frame; the transmission part is configured to pass through the wireless channel
  • the modulated first sequence and the modulated second sequence are transmitted.
  • embodiments of the present application provide another data frame transmission device, which device includes: a receiving part configured to receive a first modulation sequence and a second modulation sequence through a wireless channel; a demodulation part configured to receive a data frame based on The second modulation method demodulates the second modulation sequence; the first modulation sequence is demodulated based on the first modulation method; wherein the first modulation sequence corresponds to the data part of the data frame, and the first modulation sequence The second modulation sequence corresponds to the preamble part of the data frame.
  • embodiments of the present application provide a computer-readable storage medium that stores a computer program and is configured to implement the data frame transmission method described in the first aspect when executed by a first processor; or, is configured to When being executed by the second processor, the data frame transmission method described in the second aspect is implemented.
  • embodiments of the present application provide a chip.
  • the chip includes a first processor, and the first processor is configured to: The first sequence of data frames is modulated according to the first modulation method; the second sequence of data frames is modulated according to the second modulation method; the modulated first sequence and the modulated said modulated data frame are transmitted through a wireless channel.
  • a second sequence wherein the first sequence corresponds to the data part of the data frame, and the second sequence corresponds to the leading part of the data frame.
  • embodiments of the present application provide a chip.
  • the chip includes a second processor, and the second processor is configured to: receive a first modulation sequence and a second modulation sequence through a wireless channel; based on the second modulation method Demodulate the second modulation sequence; demodulate the first modulation sequence based on a first modulation method; wherein the first modulation sequence corresponds to the data part of the data frame, and the second modulation sequence corresponds to in the leading part of the data frame.
  • inventions of the present application provide a Bluetooth device.
  • the Bluetooth device includes a memory and a processor; the memory stores a computer program that can be run on the processor; when the processor executes the program, the above is implemented.
  • the computer program product provided by the embodiment of the present application includes computer program instructions, which cause the computer to execute the steps of the data frame transmission method described in the first aspect or the second aspect.
  • embodiments of the present application provide a computer program that, when run on a computer, causes the computer to perform the steps of the data frame transmission method described in the first aspect or the second aspect.
  • Embodiments of the present application provide a data frame transmission method, device, chip, computer-readable storage medium, Bluetooth device, program and program product.
  • the first sequence of data frames is modulated according to the first modulation method
  • the second sequence of data frames is modulated according to the second modulation method
  • the modulated first sequence and A modulated second sequence wherein the first sequence corresponds to the data portion of the data frame and the second sequence corresponds to the preamble portion of the data frame.
  • Two modulation methods are used to modulate the leading part and data part of the data frame respectively, which improves the modulation performance.
  • Figure 1 is an exemplary schematic diagram of a BR frame format provided by an embodiment of the present application
  • FIG. 2 is an exemplary schematic diagram of an EDR frame format provided by an embodiment of the present application.
  • FIG. 3 is an exemplary schematic diagram of a BLE 1M frame format provided by the embodiment of the present application.
  • FIG. 4 is an exemplary schematic diagram of a BLE 2M frame format provided by the embodiment of the present application.
  • Figure 5 is an exemplary schematic diagram of an LR125K frame format provided by the embodiment of the present application.
  • Figure 6 is an exemplary schematic diagram of an LR500K frame format provided by the embodiment of the present application.
  • Figure 7 is an optional step flow chart of a data frame transmission method provided by an embodiment of the present application.
  • Figure 8 is a data partial transmission block diagram provided by an embodiment of the present application.
  • Figure 9 is a block diagram of a PN sequence generation provided by an embodiment of the present application.
  • Figure 10 is a schematic diagram of a target pilot sequence insertion method provided by an embodiment of the present application.
  • Figure 11 is an exemplary schematic diagram of a BT frame format provided by an embodiment of the present application.
  • Figure 12 is a step flow chart of another data frame transmission method provided by an embodiment of the present application.
  • Figure 13 is a step flow chart of yet another data frame transmission method provided by an embodiment of the present application.
  • Figure 14 is an optional structural schematic diagram of a data frame transmission device provided by an embodiment of the present application.
  • Figure 15 is an optional structural schematic diagram of another data frame transmission device provided by an embodiment of the present application.
  • Figure 16 is a schematic structural diagram of a Bluetooth device provided by an embodiment of the present application.
  • FIG. 17 is a schematic structural diagram of another Bluetooth device provided by an embodiment of the present application.
  • Figure 18 is a schematic block diagram of a communication system provided by an embodiment of the present application.
  • Bluetooth technology solutions have evolved from the initial implementation of short-range communications to the current communication requirements for the Internet of Everything.
  • the transmission structure of Bluetooth data frames is also constantly evolving.
  • the application scenario of the embodiments of this application is Bluetooth data transmission before electronic devices.
  • smart A Bluetooth connection is established between the sports bracelet and the smartphone, which can quickly transmit the information collected during running, swimming, cycling and other sports to terminal devices such as smartphones through the Bluetooth channel, so that users can better monitor in real time. Movement conditions.
  • a smart sports bracelet, a smartphone, and a smart watch are connected via Bluetooth.
  • the smart watch can receive sports information collected from the smart sports bracelet through the Bluetooth channel. It can also As a display device, it receives emails, text messages, etc. from smartphones through Bluetooth channels.
  • the frame structure (also called frame format) used in related technologies mainly includes Basic Rate (BR) frame format, Enhanced Data Rate (EDR) frame format and Bluetooth Low Energy (Bluetooth Low Energy). BLE) frame format, etc. They are introduced below.
  • BR Basic Rate
  • EDR Enhanced Data Rate
  • BLE Bluetooth Low Energy
  • Figure 1 is an exemplary schematic diagram of a BR frame format provided by an embodiment of the present application.
  • the BR frame format includes the following fields: preamble (Preamble), frame synchronization word (Sync word) , trailer, header, and payload.
  • the header may include indication information used to indicate the length of Bluetooth data (such as audio data), and the payload is used to carry Bluetooth data.
  • the corresponding lengths of the fields Preamble, Sync word, trailer, header, and payload are 4 microseconds (us), 64us, 4us, 54us, and Mus respectively.
  • M is a positive integer and can be set by those skilled in the art according to the actual situation.
  • the modulation mode of the entire data packet is Gauss frequency Shift Keying (GFSK) modulation
  • 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 method.
  • the GFSK modulation method carries one bit of information per time unit.
  • 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 (bits) transmitted per second. 1Mbps represents the transmission of 1,000,000 bits (bits) per second.
  • FIG. 2 is an exemplary schematic diagram of an EDR frame format provided by an embodiment of the present application.
  • the EDR frame format includes the following fields: preamble (Preamble), GFSK frame synchronization word (GFSK Sync). word), GFSK modulation corresponding trailer (trailer), frame header (header), guard interval part (Guard internval), frame synchronization word (Sync word), payload (payload), DPSK modulation corresponding trailer (trailer) .
  • the corresponding lengths of the fields Preamble, GFSK Sync word, trailer, header, Guard internval, Sync word, payload, and trailer are respectively 4us, 64us, 4us, 54us, 5us, 11us, Mus, and 2us.
  • M is a positive integer, which can be determined by this field. Technicians will set it up according to the actual situation.
  • the Preamble, GFSK Sync word, and trailer fields are modulated by the GFSK modulation method and belong to the GFSK Access code, which is used to identify the GFSK modulation method.
  • the Sync word, payload, and trailer fields are composed of differential phase shift keys. Modulate using Differential Phase Shift Keying (DPSK) modulation method.
  • EDR frame formats include EDR 2M frame format and EDR 3M frame format. Compared with the BR frame format in Figure 1, the difference is that the GFSK modulation of the payload field is changed to DPSK modulation to increase its transmission rate.
  • the Access code and header fields still multiplex the GFSK modulation of the BR frame format. Due to the difference in modulation methods before and after, a guard time of 5us is added after the header.
  • the EDR modulation mode improves the shortcomings of the BR modulation scheme and increases the data transmission rate to 2Mbps or 3Mbps, but its power consumption is large.
  • BLE frame formats include BLE 1M frame format, BLE 2M frame format, LR125k frame format and LR500k frame format, as shown in Figure 3 and Figure 4.
  • Figure 3 is a BLE 1M frame format provided by the embodiment of the present application.
  • Figure 4 is an exemplary schematic diagram of a BLE 2M frame format provided by the embodiment of the present application.
  • Both the BLE 1M frame format and the BLE 2M frame format include the following fields: preamble (Preamble), BLE access Code (BLE Access code), frame header (header), payload (payload).
  • Preamble preamble
  • BLE Access code BLE access Code
  • frame header header
  • payload payload
  • the corresponding 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 the BR frame format.
  • the modulation mode of the data packet is GFSK modulation.
  • the frame format is shown in Figure 3.
  • the BLE 2M frame format and modulation method are similar to the BLE 1M frame format, but the channel bandwidth is 2 MHz.
  • the frame format is shown in Figure 4.
  • the BLE 1M modulation scheme optimizes the shortcomings of high power consumption and reduces power consumption, but its transmission rate is only 1Mbps, which cannot meet the requirements for continuous and stable transmission of audio data.
  • the corresponding lengths of the fields Preamble, BLE Access code, header, and payload are 8us, 16us, 8us, and M/2us respectively.
  • M is a positive integer and can be set by those skilled in the field according to the actual situation.
  • the BLE 2M modulation scheme increases the transmission rate by 1x by increasing the signal bandwidth, making the transmission of audio data more stable. But its data transfer rate is still very low, only 2Mbps.
  • the BLE frame format is extended to the LR125K frame format and the LR500K frame format, as shown in Figure 5 and Figure 6.
  • Figure 5 is an exemplary LR125K frame format provided by the embodiment of the present application.
  • 6 is an exemplary schematic diagram of an LR500K frame format provided by an embodiment of the present application.
  • the frame formats provided in Figures 5 and 6 are suitable for long range (Long Range LR) transmission.
  • Both the LR125K frame format and the LR500K frame format include the following fields: Preamble, BLE Access code, CI rate (CI rate), custom field 1 (TERM1), data packet header (Packet Header), Payload, custom field 2 (TERM2).
  • the corresponding lengths of Preamble, BLE Access code, CI rate, TERM1, Packet Header, payload, and TERM2 are 80us, 256us, 16us, 24us, 128us, M*8us, and 24us respectively.
  • 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 respectively, where M is a positive integer, It can be set by those skilled in the art according to actual conditions.
  • TERM1 uses 125 kilobits per second kb/s encoding
  • TERM2 uses 125kb/s or 500kb/s encoding
  • kb/s refers to the number of bits transmitted per second.
  • the data transmission rates of both the LR125K modulation scheme and the LR500K modulation scheme are very low, and still cannot meet the requirements of high-rate data transmission, such as lossless audio data transmission, hardware fast OTA (Over-the-Air) upgrade and other Bluetooth application scenarios.
  • FIG. 7 is a step flow chart of a data frame transmission method provided by an embodiment of the present application.
  • the data frame transmission method includes the following steps:
  • S101 Modulate the first sequence of the data frame according to the first modulation method; the first sequence corresponds to the data part of the data frame.
  • S102 Modulate the second sequence of the data frame according to the second modulation method; the second sequence corresponds to the preamble part of the data frame.
  • the wireless channel is a Bluetooth channel and the data frame is a Bluetooth data frame.
  • the data frame transmission method can be applied between electronic devices that establish a Bluetooth connection.
  • the embodiment of the present application takes the Bluetooth data transmission between the first device and the second device as an example for description.
  • the data frame transmission method shown in Figure 7 can be applied to the first device.
  • Both the first device and the second device are electronic devices, such as smartphones, notebook computers, handheld computers, Bluetooth headsets, smart speakers, smart watches, and smart glasses. , smart bracelets, watches, Bluetooth keyboards, Bluetooth mice, stylus pens, portable media playback devices, other wearable devices, etc.
  • the embodiments of this application do not limit the type of electronic devices, as long as they are terminal devices that support Bluetooth function. .
  • the embodiments of this application can be applied in a variety of scenarios, such as video conferencing, car audio and video, smart speakers and other Bluetooth transmission scenarios.
  • the BR modulation mode and the EDR modulation mode are based on the channel bandwidth (Band Width) of 1MHz.
  • the bandwidth mode of the BT solution provided by the embodiment of the present application is extended from the original 1MHz or 2MHz to a maximum of 4MHz, that is, the supported channel bandwidth includes 1MHz. , 2MHz and 4MHz.
  • the first modulation method in the embodiment of the present application may be a Reed-Solomon coded RS code and a phase shift keying hybrid modulation method with 2 N phase states, where N is an integer greater than or equal to 2.
  • the phase shift keying modulation method is used for encoding, which improves the data transmission rate.
  • the embodiment of the present application adopts a hybrid modulation method of RS code and phase shift keying.
  • the RS code has an error correction function and is suitable for correcting errors.
  • the code can correct errors in fewer bits, improving the reliability of Bluetooth channel transmission and improving modulation performance.
  • the second device uses a mixed modulation method of RS (Reed Solomon) code and phase shift keying (PSK) to perform demodulation to improve demodulation performance.
  • S101 and S102 can be executed at the same time.
  • S101 is executed first and then S102 is executed as an example.
  • S102 can also be executed first and then Execute S101; S101 and S102 may also be executed at the same time, and this embodiment of the present application does not limit this.
  • the first sequence of data frames is modulated according to the first modulation method; the second sequence of data frames is modulated according to the second modulation method; and the modulated first sequence and A modulated second sequence; wherein the first sequence corresponds to the data portion of the data frame and the second sequence corresponds to the preamble portion of the data frame.
  • Two modulation methods are used to modulate the leading part and data part of the data frame respectively, which improves the modulation performance.
  • the first modulation scheme includes phase shift keying modulation and the second modulation scheme includes Gaussian frequency shift keying.
  • the data frame includes a first sequence and a second sequence, and the first sequence and the second sequence are respectively modulated using different modulation methods (the first modulation method and the second modulation method).
  • the second modulation method may be Gaussian frequency shift keying (GFSK), etc., 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 demodulates, it demodulates the modulated second sequence to obtain the second sequence, thereby identifying the modulation of the first sequence.
  • the first modulation mode used is then demodulated according to the first modulation mode to obtain the first sequence.
  • the second sequence is modulated according to the second modulation method to identify the channel coding method of the first modulation method.
  • the second modulation method adopts the GFSK modulation mode consistent with the BLE modulation scheme, which can easily It is well compatible with the BLE modulation scheme, improves the recognition speed of signal encoding methods, and improves data transmission efficiency.
  • Phase shift keying in the first modulation method is a form of phase modulation (phase modulation), used to express a series of discrete states.
  • Phase modulation (phase modulation) is an evolution of frequency modulation (frequency modulation).
  • the carrier wave The phase is adjusted to encode the bits of digital information to each word phase change (phase shift).
  • Each time unit corresponding to the phase shift keying modulation method such as a time domain symbol, can encode N bits, which improves the data transmission rate.
  • the data frame transmission method before S101 in Figure 1, the data frame transmission method further includes: performing RS encoding on the first sequence.
  • the Galois field (GF) will be described first.
  • a field with a limited number of elements is called a finite field, and may also be called a GF.
  • RS(n,k) code which can also be written as RS(n,k,2t) code, is a non-binary code and includes the following three parts: k input data streams (i.e., k information symbols or m ⁇ k bits), 2t parity data streams generated by k input data streams, and n data streams (n symbols or m ⁇ (2 m -1) bits) generated by k input data streams and 2t parity data streams .
  • the RS code can correct the error.
  • Figure 8 is a data part transmission block diagram provided by an embodiment of the present application.
  • Figure 8 shows an encoder.
  • the input (In) is the first sequence of the Bluetooth data frame.
  • the first sequence undergoes RS encoding, 8PSK and filtering.
  • the output is after the modulator, and the output (Out) is the first sequence after modulation.
  • the Bluetooth signal errors are not random, but sudden. For example, in a Bluetooth channel, signal degradation causes burst errors. When errors occur continuously, it is called burst. mistake.
  • the coding system of the RS code is based on groups of bits, that is, symbols, rather than individual 0s and 1s. Therefore, the RS code is a non-binary BCH code that can be used to correct burst errors.
  • the RS code is correctable t RS code with symbol error. For example, for the receiver, when demodulating data, there is a demodulation threshold. If the demodulation signal-to-noise ratio (SNR) is lower than a certain level, errors will occur in the received signal, and an error will occur.
  • SNR demodulation signal-to-noise ratio
  • the phenomenon corresponding to errors is that there are many symbol errors in signal demodulation, and the original signal cannot be demodulated, which reduces the demodulation performance; and the use of RS code can reduce the error in fewer symbols (or bits). It is corrected to improve the reliability of Bluetooth channel transmission and improve the modulation performance.
  • the first modulation method is a data modulation method, which can be understood as a hybrid modulation method of RS code and phase shift keying. , for example, a mixed modulation method of 2/3 code rate RS code and 8PSK, or a mixed modulation method of 5/6 code rate RS code and 8PSK.
  • RS code is a type of non-binary error correction code (BCH code). It is a forward error correction channel coding. It is effective for polynomials generated by correcting oversampled data. When coding, the polynomials are redundant at multiple points. , and then transmit it.
  • the first modulation method is a hybrid modulation method of RS code and 4-phase shift keying QPSK with 4 (i.e. 2 2 ) phase states, where QPSK can also be called four-phase phase shift keying, a time domain
  • QPSK can also be called four-phase phase shift keying
  • a time domain The symbol carries 2 bits of data, that is, one time domain symbol can transmit 2 bits of data; it is represented by four phases, namely "00", "01", “10” and "11"; the QPSK modulation method is used to ensure data transmission rate.
  • the first modulation method is a hybrid modulation method of RS code and 8 PSK (8 Phase Shift Keying) with 8 (ie, 2 3 ) phase states.
  • 8PSK can 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; represented by eight phases, they are "000", "001", and “010". , "011", "100", "101", “110” and "111”.
  • 8PSK corresponds to 8 states of PSK. If it is half of the state, that is, 4 types, it is QPSK. If it is 2 times of the state, 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 of transmitting audio data, so it can support Transmission of high-definition audio data.
  • the first modulation method is a hybrid modulation method of RS code and 16 phase shift keying 16PSK with 16 (ie, 2 4 ) phase states.
  • 16PSK modulation method one time domain symbol represents 4 bits, and transmitting one time domain symbol means transmitting 4 bits of data; represented by sixteen phases, they are "0000", "0001”, “0010”, “0011”, “0100”,”0101”,”0110”,”0111”,”1000",”1001",”1010”,”1011”,”1100”,”1101”,”1110” and "1111".
  • the first modulation method is a hybrid modulation method of RS code and 32 phase shift keying 32PSK with 32 phase states.
  • 32PSK modulation method one time domain symbol represents 5 bits, and transmitting one time domain symbol means transmitting 5 bits of data.
  • the modulation method is RS code and 64 phase shift keying 64PSK with 64 phase states.
  • 64PSK modulation method one time domain symbol represents 6 bits, and transmitting one time domain symbol means transmitting 6 bits of data.
  • a mixed modulation of 5/6 code rate RS code and 8PSK can be used, and the data transmission rate can reach 10Mbps.
  • the data transmission rate is increased by more than 3 times, which can well meet the needs of large throughput data transmission.
  • the modulation performance is improved by 5dB compared to directly using 8PSK modulation.
  • adaptive adjustment between different modulation formats for example, 5/6 code rate RS code and 8PSK hybrid modulation
  • BR frame format and EDR frame format have narrow bandwidth (for example, 2MHz) and sensitivity can reach -90dBm, where dBm is a pure counting unit, representing an absolute value that refers to power. value, but its transmission rate is low, about 3Mbps.
  • the hybrid modulation method provided by the embodiment of this application has a wider bandwidth, which can reach 4MHz.
  • the sensitivity can reach -89dBm with low sensitivity loss, and the transmission rate can be increased to 10Mbps.
  • the sensitivity loss is low. Although the sensitivity is a little lost, the data transfer rate is greatly improved. That is, the data transmission rate is greatly improved without losing much communication performance.
  • sensitivity can be understood as reception performance and demodulation signal-to-noise ratio (SNR), that is, demodulation limit.
  • SNR signal-to-noise ratio
  • the sensitivity is - The SNR required is lower when the sensitivity is 97dBm, and the SNR is higher when the sensitivity is -89dBm.
  • the transmitted signal is usually between 0dBm and -100dBm, and the embodiment of the present application can also successfully demodulate a small signal of -89dBm. It can be explained through the following two scenarios.
  • transmitting data through Bluetooth in a garage or a relatively far away scenario requires a higher sensitivity, for example, -90dBm; in one application scenario, between the headset and the terminal device
  • a higher transmission rate is required, and there is no very high requirement for sensitivity.
  • the data frame transmission method further includes the following steps.
  • One or more pilot symbols are inserted into the modulated first sequence.
  • the Bluetooth transmission scheme provided by the embodiment of this application uses RS code and a phase shift keying hybrid modulation method with 2 N phase states to modulate the first sequence, which can obtain better results in short data packets and clean signal scenarios. modulation performance. However, in certain sending scenarios or receiving scenarios, such as scenarios with long data packets, scenarios with a lot of dirty data, scenarios with interference data, etc., the modulation performance will be affected. During preliminary statistics, although the frequency offset can be estimated and compensated by using the frame synchronization word (Sync Word) in the frame format corresponding to the Bluetooth data frame, the residual frequency offset will still have a great impact on the data demodulation of longer packets. , thus affecting the reception performance.
  • Sync Word frame synchronization word
  • part of the frequency offset can be corrected through the Sync Word field, but there is still a part of the residual frequency offset that cannot be eliminated. It can be seen that the longer the data packet, the greater the impact of frequency offset. Therefore, the embodiment of the present application can insert multiple pilot symbols (which may also be called pilot points) at intervals between the multiple modulation symbols included in the first sequence, and perform frequency offset correction through the pilot symbols.
  • pilot symbols which may also be called pilot points
  • the first sequence includes multiple modulation symbols.
  • the modulation symbols are unknown and the pilot symbols are known. That is to say, after the receiver receives the pilot symbols, The residual frequency offset can be estimated based on the comparison between the received pilot symbols and the known pilot symbols, and then the modulation symbols are frequency compensated based on the residual frequency offset (i.e., the frequency offset is compensated), thereby improving the demodulation performance (i.e., receiving performance).
  • the modulation symbols are transmitted over time.
  • the inserted pilot symbols can frequency compensate the modulation symbols transmitted within a period of time before them. Therefore, between the multiple modulation symbols, Inserting multiple pilot symbols at intervals can ensure the frequency offset correction effect and improve the accuracy of frequency offset correction.
  • a uniformly spaced insertion method may be used. For example, a pilot symbol is inserted every preset number of modulation symbols, that is, Insert at equal intervals.
  • Preset rules can also be used to insert multiple pilot symbols at intervals between multiple modulation symbols.
  • the preset rule can be: insert a pilot symbol every 2 modulation symbols, and then insert a pilot symbol every 3 modulation symbols. One pilot symbol is inserted, and then a pilot symbol is inserted every 4 modulation symbols. The above process is repeated until multiple pilot symbols are inserted into multiple modulation symbols according to preset rules.
  • preset number and preset rules can be set by those skilled in the art according to actual conditions, as long as the code rate and frequency offset correction effect of data transmission can be guaranteed, and the embodiments of the present application do not limit this.
  • the data frame transmission method provided by the embodiment of the present application can maintain stable Bluetooth transmission while providing a higher data transmission rate. And by inserting multiple pilot symbols at intervals between multiple modulation symbols, frequency tracking can be performed to perform frequency offset compensation, so that long data packets can still obtain better modulation performance in dirty scenarios. For the receiver, the receiver performs frequency tracking based on the pilot symbols to compensate for its residual frequency offset, thereby improving the demodulation performance under long data packets.
  • multiple pilot symbols constitute a target pilot sequence
  • the data frame transmission method further includes a generation process of the target pilot sequence.
  • the second pilot sequence is shifted until 2M -1 binary operations and shifts are completed to obtain the 2M -1th pilot sequence; based on the 2M -1 pilot sequences, the target pilot sequence is determined.
  • M is an integer greater than 1.
  • the first pilot sequence may be an initial pilot sequence, and may be set by those skilled in the art according to actual needs. It should be understood that when the initial pilot sequences of the sender and the receiver are the same and the binary operations are the same, the target pilot sequences obtained are also the same. In practical applications, the first device (as the sender) and the second device (as the receiver) agree to obtain the same target pilot sequence based on the same first pilot sequence and the same binary operation. Of course, the target pilot sequence can also be generated by the first device and then sent to the second device, or the target pilot sequence can also be generated by the second device and then sent to the first device. In other words, the first device and the second device only need to agree on the same target pilot sequence.
  • the first device inserts pilot symbols according to the target pilot sequence to complete the modulation process, thereby improving the modulation performance.
  • the second device performs frequency offset correction of the modulation symbols according to the target pilot sequence to complete the demodulation process, thereby improving the demodulation. performance.
  • the first pilot sequence is 0001
  • the length M of the first pilot sequence is 4, and at least part of the data of the first pilot sequence is the first bit and the last bit.
  • the binary operation is an XOR operation
  • shifting the first pilot sequence means shifting the first pilot sequence to the right by one bit, and the operation result after the XOR operation is added to the first bit. This is explained as an example.
  • An XOR operation is performed on the first bit and the last bit of 0001, and the first operation result obtained is 1; based on the first operation result, the first pilot sequence is shifted to obtain the second pilot sequence 1000. Perform an XOR operation on the first bit and the last bit of 1000 to obtain the second operation result 1.
  • the second pilot sequence is shifted to obtain the third pilot sequence 1100.
  • perform an XOR budget on the first bit and the last bit of 0001 to obtain the operation result 1 shift 0001 according to the operation result, and obtain 1000, thereby starting a new cycle, which will not be described again here.
  • the last bit in the above 15 pilot sequences is determined as the target pilot sequence 000111101011001.
  • the first bit in the above 15 pilot sequences can also be determined as the target pilot sequence 111101011001000.
  • the target pilot sequence can also be called an m-sequence.
  • the m-sequence is a basic and typical pseudo-random sequence.
  • the m-sequence is a type of PN sequence.
  • the target pilot sequence is 111101011001000.
  • the sixteenth pilot sequence 1000 determined can be understood as the first pilot sequence of the next round. It can be seen that the process of generating the target pilot sequence is cyclic.
  • the target pilot sequence can also be cyclic, for example, 111101011001000111101011001000.... If the representation form of the target pilot sequence is a cyclic sequence, multiple cyclic pilot symbols in the target pilot sequence are inserted between multiple modulation symbols. If the representation form of the target pilot sequence is a finite sequence, a limited number of pilot symbols in the target pilot sequence are inserted between multiple modulation symbols. After the last pilot symbol is inserted, the limited number of pilot symbols are looped again. Pilot symbols are inserted between multiple modulation symbols, and so on.
  • the embodiments of this application include the first pilot sequence, binary operations, at least part of the data, shift rules, the representation form of the target pilot sequence, and the determination of the target pilot sequence based on 2 M -1 pilot sequences.
  • the method is not limited, and other generation rules can also be agreed upon, as long as the target pilot sequence used by the first device and the second device is the same, and this is not limited by the embodiment of the present application.
  • the data frame transmission method is applied to a first device, and the first device includes: a binary processing unit and a plurality of shift registers; the above step of generating the second pilot sequence can be implemented in the following manner.
  • a binary processing unit is used to perform a binary operation on at least part of the data of the first pilot sequence to obtain a first operation result; and a plurality of shift registers are used to shift the first pilot sequence based on the first operation result to obtain a third operation result.
  • Two pilot sequences; the working states of multiple shift registers are configured based on the target generator polynomial.
  • a linear feedback shift register can be used to implement the above steps of generating the second pilot sequence.
  • the linear feedback shift register includes M-level series-connected shift registers and several different OR gate. The number of stages of the shift register is consistent with the length of the first pilot sequence.
  • the first pilot sequence can also be understood as the initial state of the multi-stage shift register.
  • the binary processing unit includes at least one XOR gate. (Each feedback coefficient path only consists of modulo two addition/XOR as linear feedback).
  • the M-level shift register has a total of 2 M states, and apart from the all-0 states, there are still 2 M -1 states. Therefore, the longest period of the sequence generated by an M-level linear feedback shift register is 2 M -1.
  • the shift registers at each level will change after each shift.
  • the output of any one of the shift registers will change as the The passage of the clock will generate a sequence, for example, the second pilot sequence, the third pilot sequence...the 2 M -1 pilot sequence.
  • the power of x in the target generating polynomial represents the corresponding position of the element, and the power of the target generating polynomial is closely related to the period of the output sequence.
  • the target generator polynomial can be set by those skilled in the art according to the actual situation.
  • the target generator polynomial can be x 15 +1 or x 10 +x 3 +1, as long as the target generator polynomial used by the first device and the second device Just be consistent.
  • Figure 9 is a block diagram of a PN sequence generation provided by the embodiment of the present application.
  • a 14 -a 0 in Figure 9 corresponds to the output of the 15-stage shift register
  • represents the exclusive OR operation
  • a 14 corresponds to x 0 in the target generator polynomial (for example, 1 in the target generator polynomial x 15 +1)
  • a 0 corresponds to x 15 in the target generator polynomial.
  • Feedback means feeding back the result of the XOR operation to a 14 .
  • the working states of multiple shift registers are configured based on the target generating polynomial. For example, taking the target generating polynomial as x 15 +1 as an example, the first device performs a 15-level shift according to the target generating polynomial x 15 +1.
  • the working state of the register is configured so that the first device performs an XOR operation on the outputs of a 14 and a 0 in Figure 9 above.
  • the specific output values of a 14 -a 0 correspond to each generated pilot sequence.
  • the output sequence of the linear feedback shift register is random (pseudo-random sequence, or pseudo-noise sequence), but will cycle after reaching a certain number of bits.
  • the pseudonoise (Pseudorandom Noise, PN) sequence is a coding sequence composed of 0s and 1s with autocorrelation properties similar to white noise.
  • the m sequence is a type of PN sequence, and the m sequence is the abbreviation of the linear shift register output sequence.
  • the target pilot sequence in this embodiment of the present application may be a PN sequence.
  • any of the above steps of generating a pilot sequence (for example, the second pilot sequence, the third pilot sequence, the fourth pilot sequence... the 2 M -1 pilot sequence) can be performed by the above The method is implemented.
  • the generation of the second pilot sequence is only used as an example for explanation.
  • the first sequence includes multiple modulation symbols
  • the above step of inserting multiple pilot symbols into the modulated first sequence can also be implemented in the following manner.
  • a pilot symbol is inserted every preset number of modulation symbols until multiple pilot symbols in the target pilot sequence are inserted between the multiple modulation symbols at cyclic intervals.
  • pilot symbols when inserting pilot symbols into multiple modulation symbols, if the pilot symbols are inserted too densely (the pilot symbols are closely spaced), the code rate of data transmission will be affected. If the pilot symbols are inserted too sparsely (the pilot symbols are closely spaced), the code rate will be affected. (far apart) will reduce the effect of frequency offset correction. Therefore, in the embodiment of the present application, a pilot symbol is inserted into every preset number of modulation symbols, and pilot symbols are evenly inserted into multiple modulation symbols.
  • the target pilot sequence is a cyclic sequence, for example, there are 8 pilot symbols, for example, abcdefgh (the pilot symbol is a random sequence composed of multiple 0s and 1s, here for ease of expression, it is replaced by letters)
  • the target pilot sequence includes cyclic pilot symbols, that is, abcdefghabcdefghabcdefgh..., multiple pilot symbols in the target pilot sequence are inserted between multiple modulation symbols.
  • multiple pilot symbols are inserted into pilot symbols abcdefgh are inserted between multiple modulation symbols. After the last pilot symbol h is inserted, multiple pilot symbols abcdefgh are inserted between multiple modulation symbols in a loop again, and so on, until multiple modulation symbols are A pilot symbol is inserted for every preset number of modulation symbols in the symbol.
  • the preset number can be set by those skilled in the art according to actual needs.
  • the preset number is determined according to the code rate of data transmission and the frequency offset correction effect.
  • the preset number can be determined through multiple experimental verifications, so that the preset number can not only meet the code rate of data transmission, but also improve the frequency offset correction effect.
  • the preset number can be 4, 8 or 12, etc. This embodiment of the present application is not limited, and a pilot symbol can be inserted at intervals of 4, 8 or 12 modulation symbols.
  • Figure 10 is a schematic diagram of a target pilot sequence insertion method provided by an embodiment of the present application.
  • the preset number is 4 as an example for explanation.
  • Figure 10 shows 12 modulation symbols (can also be expressed as 8PSK data, 8PSK symbol), and a pilot symbol (can also be expressed as pilot) is inserted into every 4 modulation symbols, and so on, until multiple modulation symbols are Until one pilot symbol is inserted for every preset number of modulation symbols.
  • pilot symbols are inserted at equal intervals between data (between multiple modulation symbols), so that phase tracking and compensation can be performed between data, thereby performing frequency offset compensation, so that long data packets can be used in dirty scenarios. Still get better modulation performance.
  • the receiver performs frequency tracking based on the pilot symbols to compensate for its residual frequency offset, thereby achieving better demodulation performance in dirty scenarios with long data packets.
  • the second sequence includes a preamble, an access code, and a frame header.
  • FIG 11 is an exemplary schematic diagram of a BT frame format provided by the embodiment of the present application.
  • the Bluetooth (Blue tooth, BT) frame format is based on the original frame format.
  • BT frame format includes preamble signal and data signal.
  • the preamble signal corresponds to the second sequence
  • the data signal corresponds to the first sequence.
  • the preamble signal includes the following fields: Preamble, Access code, and Header.
  • the data signal includes the frame synchronization word (Sync). word), payload, trailer.
  • the BT frame format also includes a guard interval part (guard), which can also be called an interval sequence.
  • guard guard
  • 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.
  • the preamble signal is used for detection, synchronization and signal format identification.
  • the preamble signal adopts the GFSK modulation method, which is the same as the BLE modulation scheme. It can be well compatible with the BLE modulation scheme and improves the flexibility of the modulation method. and applicable
  • the GFSK modulation method corresponds to the modulation of the pilot signal, and the original hardware equipment can be used without updating the equipment, thereby saving hardware resources.
  • the data signal adopts 8PSK modulation method, which improves the data transmission rate.
  • the data frame further includes a spacer sequence; the spacer sequence is disposed between the first sequence and the second sequence.
  • the first modulation method is a mixed modulation of RS code and 8PSK
  • the second modulation method is GFSK as an example.
  • GFSK is a continuous phase frequency modulation.
  • RS code is a type of non-binary BCH code
  • 8PSK is a form of phase modulation, used to express a series of discrete states, therefore, Bluetooth data frames also include interval sequences (guard), guard can also be called guard intervals .
  • the corresponding length of guard can be 5us, which is the interval starting from the end of the last bit of the GFSK frame header (Header) to the beginning of the first bit of the 8PSK frame synchronization word (sync word).
  • Guard is used for Phase smoothing between GFSK, RS codes and 8PSK.
  • the header in Figure 11 above may include indication information used to indicate the length of Bluetooth data (such as audio data), the Sync word is used to synchronize the first device and the second device, and the payload is used to carry Bluetooth data.
  • the audio data carried in the payload may include audio data after encoding the original audio data, or may include audio data that has been encrypted and integrity checked.
  • the RS code has an error correction function, which improves the reliability of Bluetooth channel transmission and modulation performance.
  • the BT frame format in the embodiment of the present application extends the channel bandwidth supported by the BT signal from the original 1 MHz to 2 MHz and 4 MHz.
  • the frame synchronization word in Figure 11 above is used to synchronize the first device and the second device.
  • the length of the frame synchronization word is set to 60us or 120us (that is, the value of N in Figure 11 can be 60us or 120us).
  • This embodiment of the present application also provides a data frame transmission method, which can be executed by the second device. That is, the data frame transmission process is explained from the demodulation process of the second device.
  • Figure 12 is a flow chart of another data frame transmission method provided by an embodiment of the present application.
  • the data frame transmission method includes the following steps:
  • S201 Receive a first modulation sequence and a second modulation sequence through a wireless channel; the first modulation sequence corresponds to the data part of the data frame, and the second modulation sequence corresponds to the preamble part of the data frame.
  • Figure 12 and Figure 7 illustrate the data frame transmission method from the demodulation process of the second device and the modulation process of the first device respectively.
  • the data frame transmission method implemented by S201-S203 in Figure 12
  • S202 in the above-mentioned Figure 12 may also include S2021, S2022 and S2023.
  • Figure 13 is a step flow chart of yet another data frame transmission method provided by an embodiment of the present application.
  • the target pilot sequence includes one or more pilot symbols.
  • the target pilot sequence is a sequence agreed upon by the first device and the second device.
  • the modulation symbols are unknown and the pilot symbols are known.
  • the first device also inserts one or more pilot symbols (ie, the target pilot sequence) at intervals into multiple modulation symbols (the modulated first sequence).
  • the second device receives the target pilot sequence.
  • the sequence includes multiple pilot symbols.
  • the residual frequency offset can be estimated based on the comparison between the received pilot symbols (i.e., the received target pilot sequence) and the known pilot symbols (i.e., the target pilot sequence), and then the received channel can be calculated based on the residual frequency offset.
  • Frequency compensation i.e., compensation of frequency offset
  • demodulating the compensation data according to the first modulation method to obtain a Bluetooth data frame thereby improving demodulation performance (ie, reception performance).
  • the embodiment of the present application provides a data frame transmission device, as shown in Figure 14.
  • Figure 14 is an optional structure of a data frame transmission device provided in the embodiment of the present application.
  • the data frame transmission device 140 is applied to the above-mentioned first device.
  • the data frame transmission device 140 includes: a modulation part 1401 configured to modulate the first sequence of data frames according to the first modulation method;
  • the second sequence of the data frame is modulated; wherein the first sequence corresponds to the data part of the data frame, and the second sequence corresponds to the preamble part of the data frame;
  • the transmission part 1402 is configured to transmit the modulated first sequence through the wireless channel and the modulated second sequence.
  • the data frame transmission device 140 includes an encoding part 1403;
  • the encoding part 1403 is configured to perform RS encoding on the first sequence.
  • the data frame further includes a spacer sequence; the spacer sequence is disposed between the first sequence and the second sequence.
  • the second sequence includes a preamble, an access code, and a frame header.
  • the first modulation scheme includes phase shift keying modulation and the second modulation scheme includes Gaussian frequency shift keying.
  • the modulation part 1401 is further configured to insert one or more pilot symbols in the modulated first sequence.
  • the wireless channel is a Bluetooth channel.
  • the embodiment of the present application also provides a data frame transmission device, as shown in Figure 15.
  • Figure 15 is an optional example of another data frame transmission device provided by the embodiment of the present application.
  • the structural diagram of In the data part of the data frame the second modulation sequence corresponds to the preamble part of the data frame; the demodulation part 1502 is configured to demodulate the second modulation sequence based on the second modulation method, and demodulate the first modulation sequence based on the first modulation method. Demodulate.
  • the demodulation part 1502 is also configured to perform frequency offset estimation based on the target pilot sequence to obtain the residual frequency offset.
  • the target pilot sequence includes one or more pilot symbols;
  • the modulation sequence is compensated to obtain compensation data;
  • the compensation data is demodulated based on the first modulation method to obtain the data part of the data frame.
  • any data frame transmission device provided in the above embodiments performs data frame transmission
  • only the division of the above program parts is used as an example.
  • the above processing can be allocated to different programs as needed.
  • the program is partially completed, that is, the internal structure of the device is divided into different program parts to complete all or part of the processing described above.
  • the data frame transmission device provided by the above embodiments and the data frame transmission method embodiments belong to the same concept.
  • the specific implementation process and beneficial effects can be found in the method embodiments, and will not be described again here.
  • An embodiment of the present application also provides a chip.
  • the chip includes a first processor, and the first processor is configured to: modulate the first sequence of data frames according to the first modulation method; and modulate the second sequence of the data frame according to the second modulation method.
  • the sequence is modulated; the modulated first sequence and the modulated second sequence are transmitted through the wireless channel; wherein the first sequence corresponds to the data part of the data frame, and the second sequence corresponds to the preamble part of the data frame.
  • An embodiment of the present application also provides another chip.
  • the chip includes a second processor, and the second processor is configured to: receive the first modulation sequence and the second modulation sequence through a wireless channel; and perform the second modulation sequence on the second modulation method based on the second modulation method. Demodulating; demodulating the first modulation sequence based on the first modulation mode; wherein the first modulation sequence corresponds to the data part of the data frame, and the second modulation sequence corresponds to the preamble part of the data frame.
  • Figure 16 is a schematic structural diagram of a Bluetooth device proposed by the embodiment of the present application.
  • the Bluetooth device 160 proposed by the embodiment of the present application includes a first processor 1601, a storage executable computer
  • the first memory 1602 of the program and the first processor 1601 are configured to implement the data frame transmission method executed by the first device side in the embodiment of the present application when executing the executable computer program stored in the first memory 1602.
  • the Bluetooth device 160 corresponds to the above-mentioned first device.
  • the first processor 1601 when the first processor 1601 runs the computer program stored in the first memory 1602, it can also execute the following instructions:
  • the first sequence of data frames is modulated according to the first modulation method; the second sequence of data frames is modulated according to the second modulation method; the modulated first sequence and the modulated said modulated data frame are transmitted through a wireless channel.
  • a second sequence wherein the first sequence corresponds to the data part of the data frame, and the second sequence corresponds to the leading part of the data frame.
  • the first processor 1601 when the first processor 1601 runs the computer program stored in the first memory 1602, it can also execute the following instructions:
  • the first sequence is RS encoded.
  • the first processor 1601 when the first processor 1601 runs the computer program stored in the first memory 1602, it can also execute the following instructions:
  • One or more pilot symbols are inserted into the modulated first sequence.
  • the Bluetooth device 160 may further include a first communication interface 1603, and a first bus 1604 configured to connect the first processor 1601, the first memory 1602, and the first communication interface 1603.
  • the first bus 1604 is configured to connect the first communication interface 1603, the first processor 1601, and the first memory 1602 to implement mutual communication between these devices.
  • Figure 17 is a schematic structural diagram of another Bluetooth device proposed in the embodiment of the present application.
  • the Bluetooth device 170 proposed in the embodiment of the present application includes a second processor 1701 and a second memory 1702 that stores an executable computer program.
  • the second processor 1701 is configured to execute the executable computer program stored in the second memory 1702.
  • the Bluetooth device 170 corresponds to the above-mentioned second device.
  • the second processor 1701 when the second processor 1701 runs the computer program stored in the second memory 1702, it can also execute the following instructions:
  • the first modulation sequence and the second modulation sequence through a wireless channel; demodulate the second modulation sequence based on the second modulation method; demodulate the first modulation sequence based on the first modulation method; wherein, The first modulation sequence corresponds to the data portion of the data frame, and the second modulation sequence corresponds to the preamble portion of the data frame.
  • the second processor 1701 when the second processor 1701 runs the computer program stored in the second memory 1702, it can also execute the following instructions:
  • the compensation data is demodulated based on the first modulation method to obtain the data part of the data frame.
  • the Bluetooth device 170 may further include a second communication interface 1703, and a second bus 1704 configured to connect the second processor 1701, the second memory 1702, and the second communication interface 1703.
  • the second bus 1704 is configured to connect the second communication interface 1703, the second processor 1701, and the second memory 1702 to implement mutual communication between these devices.
  • the above-mentioned first processor 1601 and the second processor 1701 can be an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a digital signal processor (Digital Signal Processor, DSP), or a digital signal processing device.
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Signal Processor
  • DSPD Digital Signal Processing Device
  • PLD Programmable Logic Device
  • Field Programmable Gate Array Field ProgRAMmable Gate Array
  • FPGA Field ProgRAMmable Gate Array
  • CPU Central Processing Unit
  • controller micro At least one of a controller and a microprocessor. It can be understood that for different devices, the electronic device used to implement the above processor function may also be other, which is not specifically limited in the embodiment of the present application.
  • the first memory 1602 and the second memory 1702 are configured to store executable computer programs and data.
  • the executable computer program includes computer operating instructions.
  • the first memory 1602 and the second memory 1702 may include high-speed RAM memory, and may also include non- Volatile memory, such as at least two disk memories.
  • the first memory 1602 and the second memory 1702 may be volatile memory (volatile memory), such as random access memory (Random-Access Memory, RAM); or non-volatile memory (non-volatile memory).
  • volatile memory such as random access memory (Random-Access Memory, RAM); or non-volatile memory (non-volatile memory).
  • memory such as read-only memory (Read-Only Memory, ROM), flash memory (flash memory), hard disk (Hard Disk Drive, HDD) or solid-state drive (Solid-State Drive, SSD); or the above types of memory combination.
  • each functional part in this embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional parts.
  • the integrated unit is implemented in the form of a software functional part and is not sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of this embodiment is essentially The contribution made to the prior art or all 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 and includes a number of instructions to enable a computer device (which can be a personal computer).
  • a computer, server, or network device, etc.) or processor executes all or part of the steps of the method in this embodiment.
  • the aforementioned storage media include: U disk, mobile hard disk, Read Only Memory (ROM), Random Access Memory (RAM), magnetic disk or optical disk and other media that can store program code.
  • FIG. 18 is a schematic block diagram of a communication system provided by an embodiment of the present application.
  • the communication system 1800 includes a Bluetooth device 160 and a Bluetooth device 170 .
  • the Bluetooth device 160 can be used to implement the corresponding functions implemented by the first device in the above method, and the Bluetooth device 170 can be used to implement the corresponding functions implemented by the second device in the above method. For the sake of brevity, they will not be mentioned here. Repeat.
  • Embodiments of the present application provide a computer-readable storage medium that stores a computer program and is configured to implement, when executed by a first processor, the data frame transmission method described in any of the embodiments executed on the first device side; configured When executed by the second processor, the data frame transmission method described in any of the above embodiments executed on the second device side is implemented.
  • the computer-readable storage medium can be applied to the Bluetooth device 160 in the embodiment of the present application, and the computer program causes the computer to execute the corresponding processes implemented by the first device in each method of the embodiment of the present application. For the sake of simplicity, I won’t go into details here.
  • the computer-readable storage medium can be applied to the Bluetooth device 170 in the embodiment of the present application, and the computer program The program causes the computer to execute the corresponding processes implemented by the second device in each method of the embodiment of the present application. For the sake of brevity, details will not be repeated here.
  • An embodiment of the present application also provides a computer program product, including computer program instructions.
  • the computer program product can be applied to the Bluetooth device 160 in the embodiment of the present application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the first device in each method of the embodiment of the present application. For simplicity, in This will not be described again.
  • the computer program product can be applied to the Bluetooth device 170 in the embodiment of the present application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the second device in each method of the embodiment of the present application. For simplicity, in This will not be described again.
  • An embodiment of the present application also provides a computer program.
  • the computer program can be applied to the Bluetooth device 160 in the embodiment of the present application.
  • the computer program When the computer program is run on a computer, it causes the computer to execute the corresponding processes implemented by the first device in each method of the embodiment of the present application.
  • the computer program For the sake of brevity, no further details will be given here.
  • the computer program can be applied to the Bluetooth device 170 in the embodiment of the present application.
  • the computer program When the computer program is run on the computer, it causes the computer to execute the corresponding processes implemented by the second device in each method of the embodiment of the present application.
  • the computer program For the sake of brevity, no further details will be given here.
  • the program instructions corresponding to a data frame transmission method in this embodiment can be stored on storage media such as optical disks, hard disks, and U disks.
  • storage media such as optical disks, hard disks, and U disks.
  • embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, magnetic disk storage and optical storage, etc.) embodying computer-usable program code therein.
  • a computer-usable storage media including, but not limited to, magnetic disk storage and optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction means, the instructions
  • the device implements the functions specified in implementing one process or multiple processes in the flow diagram and/or one block or multiple blocks in the block diagram.
  • These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in implementing a process or processes of the flowchart diagram and/or a block or blocks of the block diagram.
  • Embodiments of the present application provide a data frame transmission method, device, chip, computer-readable storage medium, Bluetooth device, program and program product.
  • the method includes: modulating a first sequence of data frames according to a first modulation method; modulating a second sequence of data frames according to a second modulation method; transmitting the modulated first sequence and the modulated second modulated data frame through a wireless channel. Sequence; wherein, the first sequence corresponds to the data part of the data frame, and the second sequence corresponds to the leading part of the data frame.
  • Two modulation methods are used to modulate the leading part and data part of the data frame respectively, which improves the modulation performance.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例公开了一种数据帧传输方法、装置、芯片、计算机可读存储介质、蓝牙设备、程序及程序产品。该方法包括:根据第一调制方式对数据帧的第一序列进行调制;根据第二调制方式对数据帧的第二序列进行调制;通过无线信道传输经调制的第一序列和经调制的第二序列;其中,第一序列对应于数据帧的数据部分,第二序列对应于数据帧的前导部分。

Description

数据帧传输方法、装置、芯片、计算机可读存储介质、蓝牙设备、程序及程序产品
相关申请的交叉引用
本申请基于申请号为202210876956.2、申请日为2022年07月25日、申请名称为“数据帧传输方法、装置、芯片、存储介质和蓝牙设备”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本申请涉及通信技术领域,尤其涉及一种数据帧传输方法、装置、芯片、计算机可读存储介质、蓝牙设备、程序及程序产品。
背景技术
随着移动通信技术的快速发展,蓝牙(Bluetooth)成为电子设备(例如,手机、平板电脑、笔记本电脑、掌上电脑、无线耳机、智能音箱和智能手表等便携设备)之间常用的数据传输方式,在电子设备之间实现短距离无线传输数据,方便快捷、灵活安全。
然而,受限于现有技术中蓝牙传输时数据传输速率较低,无法满足连续的数据传输需求。
发明内容
本申请实施例提供一种数据帧传输方法、装置、芯片、计算机可读存储介质、蓝牙设备、程序及程序产品,提高了数据传输速率。
本申请实施例的技术方案是这样实现的:
第一方面,本申请实施例提供一种数据帧传输方法,所述方法包括:根据第一调制方式对数据帧的第一序列进行调制;根据第二调制方式对所述数据帧的第二序列进行调制;通过无线信道传输经调制的所述第一序列和经调制的所述第二序列;其中,所述第一序列对应于所述数据帧的数据部分,所述第二序列对应于所述数据帧的前导部分。
第二方面,本申请实施例提供另一种数据帧传输方法,所述方法包括:通过无线信道接收第一调制序列和第二调制序列;基于第二调制方式对所述第二调制序列进行解调;基于第一调制方式对所述第一调制序列进行解调;其中,所述第一调制序列对应于数据帧的数据部分,所述第二调制序列对应于所述数据帧的前导部分。
第三方面,本申请实施例提供一种数据帧传输装置,所述装置包括:调制部分,被配置为根据第一调制方式对数据帧的第一序列进行调制;根据第二调制方式对所述数据帧的第二序列进行调制;其中,所述第一序列对应于所述数据帧的数据部分,所述第二序列对应于所述数据帧的前导部分;传输部分,被配置为通过无线信道传输经调制的所述第一序列和经调制的所述第二序列。
第四方面,本申请实施例提供另一种数据帧传输装置,所述装置包括:接收部分,被配置为通过无线信道接收第一调制序列和第二调制序列;解调部分,被配置为基于第二调制方式对所述第二调制序列进行解调;基于第一调制方式对所述第一调制序列进行解调;其中,所述第一调制序列对应于数据帧的数据部分,所述第二调制序列对应于所述数据帧的前导部分。
第五方面,本申请实施例提供一种计算机可读存储介质,存储有计算机程序,被配置为被第一处理器执行时,实现上述第一方面所述的数据帧传输方法;或者,被配置为被第二处理器执行时,实现上述第二方面所述的数据帧传输方法。
第六方面,本申请实施例提供一种芯片,所述芯片包括第一处理器,所述第一处理器配置成: 根据第一调制方式对数据帧的第一序列进行调制;根据第二调制方式对所述数据帧的第二序列进行调制;通过无线信道传输经调制的所述第一序列和经调制的所述第二序列;其中,所述第一序列对应于所述数据帧的数据部分,所述第二序列对应于所述数据帧的前导部分。
第七方面,本申请实施例提供一种芯片,所述芯片包括第二处理器,所述第二处理器配置成:通过无线信道接收第一调制序列和第二调制序列;基于第二调制方式对所述第二调制序列进行解调;基于第一调制方式对所述第一调制序列进行解调;其中,所述第一调制序列对应于数据帧的数据部分,所述第二调制序列对应于所述数据帧的前导部分。
第八方面,本申请实施例提供一种蓝牙设备,所述蓝牙设备包括存储器和处理器;所述存储器存储有可在处理器上运行的计算机程序;所述处理器执行所述程序时实现上述第一方面和第二方面所述的数据帧传输方法。
第九方面,本申请实施例提供的计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行第一方面或第二方面所述的数据帧传输方法的步骤。
第十方面,本申请实施例提供的计算机程序,当其在计算机上运行时,使得计算机执行第一方面或第二方面所述的数据帧传输方法的步骤。
本申请实施例提供了一种数据帧传输方法、装置、芯片、计算机可读存储介质、蓝牙设备、程序及程序产品。根据本申请实施例提供的方案,根据第一调制方式对数据帧的第一序列进行调制;根据第二调制方式对数据帧的第二序列进行调制;通过无线信道传输经调制的第一序列和经调制的第二序列;其中,第一序列对应于数据帧的数据部分,第二序列对应于数据帧的前导部分。采用两种调制方式分别对数据帧的前导部分和数据部分进行调制,提高了调制性能。
附图说明
图1为本申请实施例提供的一种BR帧格式的示例性的示意图;
图2为本申请实施例提供的一种EDR帧格式的示例性的示意图;
图3为本申请实施例提供的一种BLE 1M帧格式的示例性的示意图;
图4为本申请实施例提供的一种BLE 2M帧格式的示例性的示意图;
图5为本申请实施例提供的一种LR125K帧格式的示例性的示意图;
图6为本申请实施例提供的一种LR500K帧格式的示例性的示意图;
图7为本申请实施例提供的一种数据帧传输方法的可选的步骤流程图;
图8为本申请实施例提供的一种数据部分传输框图;
图9为本申请实施例提供的一种PN序列的生成框图;
图10为本申请实施例提供的一种目标导频序列的插入方法的示意图;
图11为本申请实施例提供的一种BT帧格式的示例性的示意图;
图12为本申请实施例提供的另一种数据帧传输方法的步骤流程图;
图13为本申请实施例提供的再一种数据帧传输方法的步骤流程图;
图14为本申请实施例提供的一种数据帧传输装置的可选的结构示意图;
图15为本申请实施例提供的另一种数据帧传输装置的可选的结构示意图;
图16为本申请实施例提供的一种蓝牙设备组成结构示意图;
图17为本申请实施例提供的另一种蓝牙设备组成结构示意图;
图18是本申请实施例提供的一种通信系统的示意性框图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。应当理解的是,此处所描述的一些实施例仅仅用以解释本申请的技术方案,并不用于限定本申请的技术范围。
为了更好地理解本申请实施例中提供的数据帧传输方法,在对本申请实施例的技术方案进行介绍之前,先对相关技术进行说明。
蓝牙技术方案由最初的实现短距通信,到目前对万物互联的通信要求,蓝牙数据帧的传输结构也在不断演进。本申请实施例应用的场景为电子设备之前的蓝牙数据传输,一种应用场景中,智能 运动手环与智能手机之间建立蓝牙连接,能快速地将跑步、游泳、骑车等运动过程中收集到的信息,通过蓝牙信道传输到智能手机等终端设备上,用户可以更好地实时监控运动的状况。另一种应用场景中,智能运动手环、智能手机和智能手表三者之间连接蓝牙连接,智能手表作为中心枢纽,可以通过蓝牙信道接收从智能运动手环上收集到的运动信息,还可以作为一个显示设备,通过蓝牙信道接收来自智能手机上的邮件、短信等。
相关技术中使用的帧结构(也可以称为帧格式)主要包括基础速率(Basic Rate,BR)帧格式、增强数据速率(Enhanced Data Rate,EDR)帧格式和低功耗蓝牙(Bluetooth Low Energy,BLE)帧格式等。以下分别介绍。
示例性的,如图1所示,图1为本申请实施例提供的一种BR帧格式的示例性的示意图,BR帧格式包括以下字段:前导码(Preamble)、帧同步字(Sync word)、报尾(trailer)、帧头(header)、有效载荷(payload),header可以包括用于指示蓝牙数据(例如音频数据)的长度的指示信息,payload用于承载蓝牙数据。字段Preamble、Sync word、trailer、header、payload对应的长度分别是4微秒(us)、64us、4us、54us、Mus,其中,M是正整数,可以由本领域技术人员根据实际情况进行设置。BR帧格式,整个数据包的调制模式均为高斯频移键控(Gauss frequency Shift Keying,GFSK)调制,数据包结构包括GFSK接入码(GFSK Access code)、header和payload三部分字段。Access code包括preamble、sync word和trailer三部分字段。GFSK Access code用于对GFSK调制方式进行识别。GFSK调制方式一个时间单元携带一个比特(bit)信息。BR调制方案为最初的蓝牙方案,传输速率较低,只有1megabits per second(Mbps)。Mbps是一种传输速率单位,表示每秒传输的位(比特)数量,1Mbps代表每秒传输1000000位比特(bit)。
示例性的,如图2所示,图2为本申请实施例提供的一种EDR帧格式的示例性的示意图,EDR帧格式包括以下字段:前导码(Preamble)、GFSK帧同步字(GFSK Sync word)、GFSK调制对应的报尾(trailer)、帧头(header)、保护间隔部分(Guard internval)、帧同步字(Sync word)、有效载荷(payload)、DPSK调制对应的报尾(trailer)。字段Preamble、GFSK Sync word、trailer、header、Guard internval、Sync word、payload、trailer对应的长度分别是4us、64us、4us、54us、5us、11us、Mus、2us,其中,M是正整数,可以由本领域技术人员根据实际情况进行设置。其中Preamble、GFSK Sync word、和trailer字段是由GFSK调制方式进行调制,属于GFSK接入码(GFSK Access code),用于对GFSK调制方式进行识别,Sync word、payload、trailer是由差分相移键控(Differential Phase Shift Keying,DPSK)调制方式进行调制。EDR帧格式包括EDR 2M帧格式和EDR 3M帧格式,与图1的BR帧格式相比,其区别在于将payload字段的GFSK调制改为DPSK调制,以此提高其传输速率,为了保持兼容性,Access code和header字段依然复用BR帧格式的GFSK调制。由于前后的调制方式的差异,在header后加了5us的Guard时间。EDR调制模式改进了BR调制方案的缺点,数据传输速率提高到2Mbps或者3Mbps,但是其功耗较大。
示例性的,BLE帧格式包括BLE 1M帧格式、BLE 2M帧格式、LR125k帧格式和LR500k帧格式,如图3和图4所示,图3为本申请实施例提供的一种BLE 1M帧格式的示例性的示意图,图4为本申请实施例提供的一种BLE 2M帧格式的示例性的示意图,BLE 1M帧格式和BLE 2M帧格式均包括以下字段:前导码(Preamble)、BLE接入码(BLE Access code)、帧头(header)、有效载荷(payload)。在BLE 1M帧格式中,字段Preamble、BLE Access code、header、payload对应的长度分别是8us、32us、16us、Mus。BLE 1M帧格式的调制模式与BR帧格式相同,数据包的调制模式均为GFSK调制,为了降低功耗,Access code及header字段的长度都有缩短,其帧格式如图3所示。为提高传输速率,又扩展到BLE 2M帧格式,BLE 2M帧格式和调制方式与BLE 1M帧格式类似,但是信道带宽为2兆赫兹MHz,其帧格式如图4所示。BLE 1M调制方案优化了功耗大的缺点,降低了功耗,但是其传输速率只有1Mbps,无法满足音频数据连续稳定的传输需求。在BLE 2M帧格式中,字段Preamble、BLE Access code、header、payload对应的长度分别是8us、16us、8us、M/2us,其中,M是正整数,可以由本领域技术人员根据实际情况进行设置。BLE 2M调制方案通过增加信号带宽的方式提高了1倍的传输速率,使音频数据的传输更加稳定。但是其数据传输速率依然很低,只有2Mbps。
示例性的,为提高蓝牙传输距离,将BLE帧格式扩展为LR125K帧格式和LR500K帧格式,如图5和图6所示,图5为本申请实施例提供的一种LR125K帧格式的示例性的示意图,图6为本申请实施例提供的一种LR500K帧格式的示例性的示意图。图5和图6提供的帧格式适用于长距离(Long Range LR)传输,LR125K帧格式和LR500K帧格式均包括以下字段:前导码(Preamble)、BLE接入码(BLE Access code)、CI速率(CI rate)、自定义字段1(TERM1)、数据包头(Packet Header)、 有效载荷(payload)、自定义字段2(TERM2)。在LR125K帧格式中,Preamble、BLE Access code、CI rate、TERM1、Packet Header、payload、TERM2对应的长度分别是80us、256us、16us、24us、128us、M*8us、24us。在LR500K帧格式中,Preamble、BLE Access code、CI rate、TERM1、Packet Header、payload、TERM2对应的长度分别是80us、256us、16us、24us、32us、M*2us、6us,其中,M是正整数,可以由本领域技术人员根据实际情况进行设置。其中,TERM1采用125千比特每秒kb/s编码,TERM2采用125kb/s或者500kb/s编码方式,kb/s表示指每秒传输的位数量。LR125K调制方案和LR500K调制方案的数据传输速率均很低,仍然无法满足高速率数据传输的要求,例如无损音频数据传输,硬件快速OTA(Over-the-Air)升级等蓝牙应用场景。
本申请实施例提供一种数据帧传输方法,如图7所示,图7为本申请实施例提供的一种数据帧传输方法的步骤流程图,数据帧传输方法包括以下步骤:
S101、根据第一调制方式对数据帧的第一序列进行调制;第一序列对应于数据帧的数据部分。
S102、根据第二调制方式对数据帧的第二序列进行调制;第二序列对应于数据帧的前导部分。
S103、通过无线信道传输经调制的第一序列和经调制的第二序列。
在一些实施例中,无线信道是蓝牙信道,数据帧是蓝牙数据帧。
在本申请实施例中,数据帧传输方法可以应用于建立蓝牙连接的电子设备之间,本申请实施例以第一设备和第二设备之间的蓝牙数据传输为例进行说明。图7示出的数据帧传输方法可应用于第一设备,第一设备和第二设备均是电子设备,例如,智能手机、笔记本电脑、掌上电脑、蓝牙耳机、智能音箱、智能手表、智能眼镜、智能手环、手表、蓝牙键盘、蓝牙鼠标、手写笔、便携式媒体播放设备、其他可穿戴设备等,本申请实施例对电子设备的类型不做限制,只要是支持蓝牙功能的终端设备即可。
本申请实施例可以应用于多种场景中,例如视频会议、车载影音、智能音响等蓝牙传输场景中。
相关技术中BR调制模式和EDR调制模式是基于1MHz的信道带宽(Band Width),本申请实施例提供的BT方案的带宽模式由原来的1MHz或2MHz最大扩展到4MHz,即支持的信道带宽包括1MHz、2MHz和4MHz。本申请实施例中的第一调制方式可以为里德索罗门编码RS码和具有2N种相位状态的相移键控混合调制方式,N为大于或等于2的整数。采用相移键控调制方式进行编码,提高了数据传输速率。由于误码情况的发生,调制性能(或解调性能)会有一定程度的降低,因此本申请实施例采用RS码和相移键控混合调制方式,RS码具有纠错功能,适用于纠正误码,可以在较少比特出现错误的情况下,将其纠正过来,提高了蓝牙信道传输的可靠性,提高了调制性能。对应的,第二设备(接收方)采用RS(Reed Solomon)码和相移键控(Phase Shift Keying,PSK)混合调制方式进行解调,提高了解调性能。
需要说明的是,上述图7中S101和S102之间的执行顺序不分先后,可以同时执行S101和S102,图7中是以先执行S101后执行S102为例进行说明,也可以先执行S102后执行S101;也可以同时执行S101和S102,对此本申请实施例不做限制。
根据本申请实施例提供的方案,根据第一调制方式对数据帧的第一序列进行调制;根据第二调制方式对数据帧的第二序列进行调制;通过无线信道传输经调制的第一序列和经调制的第二序列;其中,第一序列对应于数据帧的数据部分,第二序列对应于数据帧的前导部分。采用两种调制方式分别对数据帧的前导部分和数据部分进行调制,提高了调制性能。
在一些实施例中,第一调制方式包括相移键控调制,第二调制方式包括高斯频移键控。
在本申请实施例中,数据帧包括第一序列和第二序列,第一序列和第二序列分别用不同的调制方式(第一调制方式和第二调制方式)进行调制。示例性的,第二调制方式可以是高斯频移键控(Gauss frequency Shift Keying,GFSK)等,对此本申请实施例不做限制。第二序列用于对第一调制方式对应的帧格式进行识别,使得第二设备进行解调时,对经调制后的第二序列进行解调,得到第二序列,从而识别出第一序列调制时所采用的第一调制方式,然后根据第一调制方式对经调制后的第一序列进行解调,得到第一序列。
在本申请实施例中,根据第二调制方式对第二序列进行调制,用于对第一调制方式的信道编码方式进行识别,第二调制方式采用与BLE调制方案一致的GFSK调制模式,能够很好地与BLE调制方案兼容,提高了信号编码方式的识别速度,提高了数据传输效率。第一调制方式中的相移键控是调相(相位调制)的一种形式,用于表达一系列离散的状态,相位调制(调相)是频率调制(调频)的一种演变,载波的相位被调整用于把数字信息的比特编码到每一词相位改变(相移)。相移键控调制方式对应的每个时间单元,例如时域符号(symbol)可以编码N个比特(bits),提高了数据传输速率。
在一些实施例中,在上述图1中S101之前,该数据帧传输方法还包括:对第一序列进行RS编码。
在本申请实施例中,在对RS码进行说明之前,先对伽罗华域(Galois field,GF)进行说明,一个元素个数有限的域称为有限域,也可以称为GF。在GF(2^m)域中,RS码表示为RS(n,k)格符号,其中,m表示每个码元符号(也可以称为码元、符号或字节)由m位二进制数(m比特,m-bits)组成;n表示一个码块有n个码元,n=2m-1;k表示一个码块有k个信息码元。RS(n,k)码,也可以写成RS(n,k,2t)码,是非二进制码,包括以下三部分:k个输入数据流(即k个信息码元或者m×k比特)、由k个输入数据流生成的2t个校验数据流,以及通过k个输入数据流和2t个校验数据流产生的n个数据流(n个码元或者m×(2m-1)比特)。
示例性的,采用GF(2^6)域,m=6,码长n=2m-1=63,以RS码是(63,53)的RS码为例进行说明,n=63,k=53,2t=n-k=10,即输入数据流是53个码元,校验数据流是10个码元,共63个码元,它的纠错能力为5个码元。也就是说,不论1个码元中发生一位误码或者全部5个码元均误码,RS码都可以纠错,当然,如果错误码元超过t=5,就不能纠错了,这时只能发现错误,最大能发现2t=10个码元的错误。通过采用RS码和相移键控混合调制方式,在保证其较高的数据传输速率的情况下,解调性能可以有5dB的提升。其数据部分传输方案如图8所示,如图8所示,图8为本申请实施例提供的一种数据部分传输框图。
在本申请实施例中,以数据帧是蓝牙数据帧为例,图8示出了一种编码器,输入(In)是蓝牙数据帧的第一序列,第一序列经过RS编码、8PSK和滤波器之后输出,输出(Out)是经调制后的第一序列。
在本申请实施例中,在蓝牙信号中,错误不是随机的,而是突发的,例如,在一个蓝牙信道中,信号衰退导致突发错误,当错误连续发生时,将其称为突发错误。RS码的编码系统是建立在比特组基础上的,即码元,而不是单个的0和1,因此,RS码是非二进制的BCH码,可以用于纠正突发错误,RS码为可纠正t个码元错误的RS码。示例性的,对于接收方来说,在解调数据时,存在解调门限,解调信噪比(signal-to-noise ratio,SNR)低于一定程度,接收的信号就会出现错误,出现错误对应的现象就是信号解调的码元错误较多,解调不出来原始信号,降低了解调性能;而采用RS码可以在较少码元(也可以是比特)出现错误的情况下,将其纠正过来,提高了蓝牙信道传输的可靠性,提高了调制性能。
在本申请实施例中,在对第一序列调制之前,还对第一序列进行RS编码,也就是说,第一调制方式是数据调制方式,可以理解为RS码和相移键控混合调制方式,例如,2/3码率的RS码和8PSK的混合调制方式,或者5/6码率的RS码和8PSK的混合调制方式。RS码是一类非二进制纠错码(BCH码),是一种前向纠错的信道编码,对由校正过采样数据所产生的多项式有效,编码时在多个点上对多项式求冗余,然后将其传输,对多项式的这种超出必要值的采样使得多项式超定(超过限定),当接收器正确的收到足够的点后,它就可以恢复原来的多项式,即使接收到的多项式上有很多点被噪声干扰失真。
示例性的,第一调制方式为RS码和具有4种(即22)相位状态的4相移键控QPSK混合调制方式,其中,QPSK也可以称为四相相移键控,一个时域符号携带2bit的数据,也就是一个时域符号可以传输2bit的数据;用四个相位表示分别为“00”、“01”、“10”和“11”;采用QPSK调制方式,保证了数据传输速率。
示例性的,第一调制方式为RS码和具有8种(即23)相位状态的8相移键控8PSK(8 Phase Shift Keying)混合调制方式。其中,8PSK也可以称为八相相移键控,一个时域符号代表3bit,传输一个时域符号为传输3bit的数据;用八个相位表示分别为“000”、“001”、“010”、“011”、“100”、“101”、“110”和“111”。8PSK对应8种状态的PSK。若是其一半的状态,即4种,则为QPSK,若是其2倍的状态,则为16PSK。因为8PSK拥有8种状态,所以8PSK每个时域符号(symbol)可以编码3个比特(bits),同一个时域符号可以携带更多的比特,进而提高了传输音频数据的速率,因此可以支持高清音频数据的传输。
示例性的,第一调制方式为RS码和具有16种(即24)相位状态的16相移键控16PSK混合调制方式。其中,对于16PSK调制方式,一个时域符号代表4bit,传输一个时域符号为传输4bit的数据;用十六个相位表示分别为“0000”、“0001”、“0010”、“0011”、“0100”、“0101”、“0110”、“0111”、“1000”、“1001”、“1010”、“1011”、“1100”、“1101”、“1110”和“1111”。
示例性的,第一调制方式为RS码和具有32种相位状态的32相移键控32PSK混合调制方式。其中,对于32PSK调制方式,一个时域符号代表5bit,传输一个时域符号为传输5bit的数据。第一 调制方式为RS码和具有64种相位状态的64相移键控64PSK,对于64PSK调制方式,一个时域符号代表6bit,传输一个时域符号为传输6bit的数据。
在本申请实施例中,可以采用5/6码率的RS码和8PSK的混合调制,数据传输速率可达到10Mbps。与EDR调制模式相比,数据传输速率提高了3倍以上,能够很好地满足大吞吐量数据传输的需求。并且采用RS码与8PSK调制相结合的方案,相比于直接采用8PSK调制方式,调制性能提高了5dB。同时,可以实现不同调制格式(例如,5/6码率的RS码和8PSK混合调制)之间的自适应调节,实现自适应速率(auto rate)传输。
相关技术中,传统蓝牙传输模式(例如,BR帧格式和EDR帧格式),带宽较窄(例如,2MHz),灵敏度可以达到-90dBm,其中,dBm是纯计数单位,表示一个指代功率的绝对值,但是其传输速率较低,大约在3Mbps左右。而本申请实施例提供的混合调制方式,带宽较宽,可以达到4MHz,可以在灵敏度损失较低的情况下,灵敏度可达到-89dBm,传输速率可提升到10Mbps,相较于传统蓝牙传输模式,灵敏度损失较低,虽然灵敏度有一点损失,但是数据传输速率有很大的提升。也就是,在不损失较多通信性能的情况下,极大提高了数据传输速率。
在本申请实施例中,灵敏度可以理解为接收性能、解调信噪比(SNR),即解调极限,以灵敏度是-97dBm和-89dBm为例对灵敏度和SNR的关系进行说明,灵敏度是-97dBm时需要的SNR更低一点,灵敏度是-89dBm时需要的SNR更高一点。发射信号通常在0dBm~-100dBm,本申请实施例对于-89dBm的小信号也可以解调成功。可以通过以下两种场景进行说明,一种场景中,在车库或距离比较远的场景中通过蓝牙传输数据,需要较高的灵敏度,例如,-90dBm;一种应用场景中,耳机与终端设备之间近距离蓝牙传输,例如,传输音频或视频等,或者是其他无损数据传输,这时需要较高的传输速率,对于灵敏度没有非常高的要求。
在一些实施例中,在上述图1中S102之后,该数据帧传输方法还包括以下步骤。在经调制后的第一序列中插入一个或多个导频符号。
本申请实施例提供的蓝牙传输方案,采用RS码和具有2N种相位状态的相移键控混合调制方式对第一序列进行调制,可在数据包较短,干净信号场景下获得较好的调制性能。但是,在某些发送场景或接收场景中,例如,数据包较长的场景、脏(dirty)数据较多的场景、存在干扰数据的场景等,会对调制性能产生影响。初步统计的时候,虽然利用蓝牙数据帧对应的帧格式中的帧同步字(Sync Word)可进行频偏估计和补偿,但残留的频偏仍然会对较长包的数据解调产生极大影响,从而影响接收性能。也就是说,通过Sync Word字段可以纠正一部分频偏,但是仍然还有一部分残留频偏无法消除。可见,数据包越长,频偏产生的影响越大。因此本申请实施例可以在第一序列所包括的多个调制符号之间间隔插入多个导频符号(也可以称为导频点),通过导频符号进行频偏纠正。
在本申请实施例中,第一序列包括多个调制符号,对于接收方来说,调制符号是未知的,导频符号为已知的,也就是说,接收方在接收到导频符号之后,可以根据接收到的导频符号与已知的导频符号进行比较,估计残余频偏,然后根据残余频偏对调制符号进行频率补偿(即,补偿频偏),从而提高解调性能(即接收性能)。在传输多个调制符号时,是随着时间对多个调制符号进行传输的,插入的导频符号可以对其之前的一段时间内传输的调制符号进行频率补偿,因此,在多个调制符号之间间隔插入多个导频符号,可以保证频偏校正效果,提高频偏校正的准确度。
在本申请实施例中,在多个调制符号之间间隔插入多个导频符号时,可以采用均匀间隔插入的方式,例如,每隔预设数量的调制符号,插入一个导频符号,也就是等间隔插入的方式。也可以采用预设规则,在多个调制符号之间间隔插入多个导频符号,例如,预设规则可以是:每隔2个调制符号插入一个导频符号,然后每隔3个调制符号插入一个导频符号,然后每隔4个调制符号插入一个导频符号,重复以上过程,直至在多个调制符号中按照预设规则插入多个导频符号为止。
需要说明的是,预设数量和预设规则可以由本领域技术人员根据实际情况进行设置,只要能够保证数据传输的码率和频偏校正效果即可,对此本申请实施例不做限制。
本申请实施例提供的数据帧传输方法可保持稳定蓝牙传输的同时,提供更高的数据传输速率。并且通过在多个调制符号之间间隔插入多个导频符号的方式,使其可以进行频率跟踪,从而进行频偏补偿,使长数据包在dirty场景下依然获得较好的调制性能。对于接收方来说,接收方基于导频符号进行频率跟踪,补偿其残余频偏,从而提高长数据包下的解调性能。
在一些实施例中,多个导频符号构成目标导频序列,该数据帧传输方法还包括目标导频序列的生成过程。获取第一导频序列;第一导频序列的长度为M;对第一导频序列的至少部分数据进行二进制运算,得到第一运算结果;基于第一运算结果,对第一导频序列进行移位,得到第二导频序列;继续对第二导频序列的至少部分数据进行二进制运算,得到第二运算结果,基于第二运算结果,对 第二导频序列进行移位,直至完成2M-1次二进制运算和移位,得到第2M-1导频序列;基于2M-1个导频序列,确定目标导频序列。
其中,M为大于1的整数。
在本申请实施例中,第一导频序列可以是初始导频序列,可以由本领域技术人员根据实际需求进行设置。应理解,当发送方和接收方的初始导频序列相同,且二进制运算相同时,得到目标导频序列也相同。在实际应用时,第一设备(作为发送方)和第二设备(作为接收方)进行约定,均根据相同的第一导频序列和相同的二进制运算,得到相同的目标导频序列。当然,该目标导频序列也可以由第一设备生成,然后,向第二设备发送,或者,该目标导频序列也可以由第二设备生成,然后,向第一设备发送。也就是说,第一设备和第二设备约定好相同的目标导频序列即可。使得第一设备根据目标导频序列进行导频符号的插入,完成调制过程,从而提高调制性能,第二设备根据目标导频序列进行调制符号的频偏纠正,完成解调过程,从而提高解调性能。
示例性的,为便于理解上述二进制运算和移位,以第一导频序列是0001、第一导频序列的长度M是4、第一导频序列的至少部分数据是首位比特和末位比特、二进制运算是异或运算、对第一导频序列进行移位是将第一导频序列往右移一个比特,经异或运算后的运算结果补到首位比特,为例进行说明。对0001的首位比特和末位比特进行异或运算,得到的第一运算结果是1;基于第一运算结果,对第一导频序列进行移位,得到第二导频序列1000。对1000的首位比特和末位比特进行异或运算,得到第二运算结果1,基于第二运算结果,对第二导频序列进行移位,得到第三导频序列1100,依次类推,得到的2M-1=24-1=15个导频序列分别是1000、1100、1110、1111、0111、1011、0101、1010、1101、0110、0011、1001、0100、0010、0001。然后对0001的首位比特和末位比特进行异或预算,得到运算结果1,根据运算结果对0001进行移位,得到1000,从而开启新一轮的循环,在此不再赘述。然后,将上述15个导频序列中末位比特确定为目标导频序列000111101011001,当然,也可以将上述15个导频序列中首位比特确定为目标导频序列111101011001000。目标导频序列也可以称为m序列,m序列是一种基本又典型的伪随机序列,m序列属于PN序列的一种。
在本申请实施例中,根据以上示例,目标导频序列是111101011001000,根据第十五导频序列0001,确定的第十六导频序列1000,可以理解为下一轮的第一导频序列,可见该生成目标导频序列的过程是循环的,对应的,目标导频序列也可以是循环的,例如,111101011001000111101011001000……。若目标导频序列的表示形式是循环序列,则将目标导频序列中循环的多个导频符号插入到多个调制符号之间。若目标导频序列的表示形式是有限序列,将目标导频序列中有限的多个导频符号插入到多个调制符号之间,在最后一个导频符号插入之后,再次循环将有限的多个导频符号插入到多个调制符号之间,依次类推。
需要说明的是,本申请实施例对第一导频序列、二进制运算、至少部分数据、移位规则、目标导频序列的表示形式,以及基于2M-1个导频序列确定目标导频序列的方式并不限制,也可以约定其他的生成规则,只要保证第一设备和第二设备采用的目标导频序列相同即可,对此本申请实施例不做限制。
在一些实施例中,该数据帧传输方法应用于第一设备,第一设备包括:二进制处理单元和多个移位寄存器;上述生成第二导频序列的步骤可以通过以下方式实现。通过二进制处理单元,对第一导频序列的至少部分数据进行二进制运算,得到第一运算结果;通过多个移位寄存器,基于第一运算结果,对第一导频序列进行移位,得到第二导频序列;多个移位寄存器的工作状态是基于目标生成多项式配置的。
在本申请实施例中,可以采用线性反馈移位寄存器(linear feedback shift register,LFSR)实现上述生成第二导频序列的步骤,线性反馈移位寄存器包括M级串联的移位寄存器和若干个异或门。移位寄存器的级数与第一导频序列的长度一致,第一导频序列也可以理解为多级移位寄存器的初始状态,二进制处理单元包括至少一个异或门。(各个反馈系数路径只由模二加/异或组成为线性反馈)。M级移位寄存器共有2M个状态,除去全0状态外还剩2M-1种状态,因此,一个M级线性反馈移位寄存器生成序列的最长周期为2M-1。线性反馈移位寄存器设定初始状态(即第一导频序列)后,在时钟触发下,每次移位后各级移位寄存器会发生变化,其中任何一级移位寄存器的输出,随着时钟的推移都会产生一个序列,例如,第二导频序列、第三导频序列……第2M-1导频序列。
在本申请实施例中,目标生成多项式中x的幂次表示元素的相应位置,目标生成多项式的幂次与输出序列的周期有密切关系。目标生成多项式可以由本领域技术人员根据实际情况进行设置,例如,目标生成多项式可以是x15+1,也可以是x10+x3+1,只要第一设备和第二设备采用的目标生成多项式一致即可。
在本申请实施例中,如图9所示,图9为本申请实施例提供的一种PN序列的生成框图。图9中的a14-a0对应于15级移位寄存器的输出,⊕表示异或运算,a14对应于目标生成多项式中的x0(例如,目标生成多项式x15+1中的1),a0对应于目标生成多项式中的x15,反馈(feedback)表示将异或运算后的结果反馈到a14,也可以理解为替代a14中的内容,原来a14-a1中的内容移位到a13-a0,从而输出(output)新的导频序列(例如,第一导频序列、第二导频序列……第215-1导频序列),最后再根据215-1个导频序列确定PN序列,即目标导频序列。基于目标生成多项式对多个移位寄存器的工作状态进行配置,示例性的,以目标生成多项式是x15+1为例进行说明,第一设备根据目标生成多项式x15+1对15级移位寄存器的工作状态进行配置,使得第一设备对上述图9中a14和a0的输出进行异或运算。a14-a0的具体输出数值对应于各个生成的导频序列,例如,第一导频序列00000000000001可以表示为(a14,a13,a12,a11,a10,a9,a8,a7,a6,a5,a4,a3,a2,a1,a0)=(0,0,0,0,0,0,0,0,0,0,0,0,0,1)。
在本申请实施例中,线性反馈移位寄存器输出序列是随机的(伪随机序列,或伪噪声序列),但达到一定位数后会循环。其中,伪噪声(Pseudorandom Noise,PN)序列是一种具有与白噪声类似的自相关性质的0和1所构成的编码序列。m序列属于PN序列的一种,m序列是线性移位寄存器输出序列的简称。本申请实施例中的目标导频序列可以是PN序列。
需要说明的是,上述任一生成导频序列(例如,第二导频序列、第三导频徐磊、第四导频序列……第2M-1导频序列)的步骤均可以通过上述方式实现,在此仅是以生成第二导频序列为例进行说明。
在一些实施例中,第一序列包括多个调制符号,上述在经调制后的第一序列中插入多个导频符号的步骤,还可以通过以下方式实现。每隔预设数量的调制符号,插入一个导频符号,直至将目标导频序列中的多个导频符号,依次循环间隔插入到多个调制符号之间。
在本申请实施例中,在多个调制符号中插入导频符号时,如果插的过于密集(导频符号间隔较近),会影响数据传输的码率,如果插的过于稀疏(导频符号间隔较远),会降低频偏校正的效果。因此本申请实施例通过在每隔预设数量的调制符号,插入一个导频符号,多个调制符号中均匀插入导频符号。目标导频序列是循环序列,示例性的,导频符号是8个,例如,abcdefgh(导频符号是由多个0和1组成的随机序列,在此为了便于表示,以字母代替)一种理解方式中,目标导频序列包括循环的导频符号,即,abcdefghabcdefghabcdefgh……,将目标导频序列中的多个导频符号插入到多个调制符号之间,一种理解方式中,将多个导频符号abcdefgh插入到多个调制符号之间,在最后一个导频符号h插入之后,再次循环将多个导频符号abcdefgh插入到多个调制符号之间,依次类推,直至将多个调制符号中每隔预设数量的调制符号,均插入一个导频符号为止。
需要说明的是,预设数量可以由本领域技术人员根据实际需求进行设置,示例性的,根据数据传输的码率和频偏校正效果,确定预设数量。可以通过多次实验验证确定预设数量,使得该预设数量在满足数据传输的码率的同时,还提高频偏校正效果即可,例如,预设数量可以是4、8或者12等,对此本申请实施例不做限制,可以间隔4个、8个或12个调制符号插入一个导频符号。
示例性的,如图10所示,图10为本申请实施例提供的一种目标导频序列的插入方法的示意图,图10中以预设数量是4为例进行说明。图10中示出了12个调制符号(也可以表示为8PSK data、8PSK symbol),每隔4个调制符号插入一个导频符号(也可以表示为pilot),依次类推,直至将多个调制符号中每隔预设数量的调制符号,均插入一个导频符号为止。
在本申请实施例中,将数据间(多个调制符号之间)等间隔插入导频符号,使其在数据间可进行相位跟踪及补偿,从而进行频偏补偿,使长数据包在dirty场景下依然获得较好的调制性能。相对应的,接收方基于导频符号进行频率跟踪,补偿其残余频偏,在长数据包的dirty场景下可获得更好的解调性能。
在一些实施例中,第二序列包括前导码、接入码和帧头。
在本申请实施例中,如图11所示,图11为本申请实施例提供的一种BT帧格式的示例性的示意图,蓝牙(Blue tooth,BT)帧格式是在原有帧格式的基础上进行的改进,BT帧格式包括前导信号和数据信号。前导信号对应于第二序列,数据信号对应于第一序列,前导信号包括以下字段:前导码(Preamble)、接入码(Access code)、帧头(Header),数据信号包括帧同步字(Sync word)、有效载荷(payload)、报尾(trailer)。BT帧格式还包括保护间隔部分(guard),guard也可以称为间隔序列。Preamble、Access code、Header、guard、Sync word、payload、trailer对应的长度是8us、32us、32us、5us、Nus、M*2us、6us。N和M均为正整数,可以由本领域技术人员根据实际情况进行设置。
在本申请实施例中,前导信号用于检测、同步以及信号格式的识别,前导信号采用GFSK调制方式,与BLE调制方案相同,能够很好地与BLE调制方案兼容,提高了调制方式的灵活性和适用 性,GFSK调制方式对应于前导信号的调制,可以使用原有的硬件设备,无需更新设备,从而节省硬件资源。同时,数据信号采用8PSK调制方式,提高了数据传输速率。
在一些实施例中,数据帧还包括间隔序列;间隔序列设置于第一序列和第二序列之间。
在本申请实施例中,由于不同调制方式对应的相位调制方式也不同,以第一调制方式是RS码与8PSK混合调制,第二调制方式是GFSK为例进行说明,GFSK一种连续相位频率调制,而RS码是一类非二进制BCH码,8PSK是相位调制的一种形式,用于表达一系列离散的状态,因此,蓝牙数据帧还包括间隔序列(guard),guard也可以称为保护间隔。示例性的,guard对应的长度可以是5us,从GFSK的帧头(Header)的最后一个比特结束开始,到8PSK的帧同步字(sync word)的第一个比特开始的间隔时间,guard用于GFSK、RS码和8PSK之间的相位平滑。
在本申请实施例中,上述图11中header可以包括用于指示蓝牙数据(例如音频数据)的长度的指示信息,Sync word用于第一设备与第二设备进行同步,payload用于承载蓝牙数据。以蓝牙数据是音频数据为例,payload中承载的音频数据可以包括对原始音频数据经过编码之后的音频数据,也可以包括经过加密以及完整性校验的音频数据。
示例性的,图11中示出的BT帧格式中,在前导信号和8PSK sync word之间有5us的guard,用于不同调制方式之间的相位平滑,提高了数据调制的准确性。图11的数据信号中Sync word和payload部分采用8PSK调制方式,提高了数据传输速率,但是由于误码情况的发生,调制性能(或解调性能)会有一定程度的降低,因此本申请实施例采用RS码和相移键控混合调制方式,RS码具有纠错功能,提高了蓝牙信道传输的可靠性,提高了调制性能。
在本申请实施例中,本申请实施例中的BT帧格式将BT信号支持的信道带宽由原始1MHz扩展到2MHz和4MHz。上述图11中帧同步字用于第一设备与第二设备进行同步,对于4MHz信道带宽,帧同步字的长度设置为60us或120us(即图11的N取值可以为60us或120us)。
本申请实施例还提供一种数据帧传输方法,该方法可以由第二设备执行。即从第二设备的解调过程对数据帧传输过程进行说明。如图12所示,图12为本申请实施例提供的另一种数据帧传输方法的步骤流程图,数据帧传输方法包括以下步骤:
S201、通过无线信道接收第一调制序列和第二调制序列;第一调制序列对应于数据帧的数据部分,第二调制序列对应于数据帧的前导部分。
S202、基于第二调制方式对第二调制序列进行解调。
S203、基于第一调制方式对第一调制序列进行解调。
在本申请实施例中,图12与图7分别从第二设备的解调过程和第一设备的调制过程对数据帧传输方法进行说明,图12中S201-S203所实现的数据帧传输方法的实施例具体描述及其所达到的技术效果可参见上述图7,在此不再赘述。
在一些实施例中,上述图12中S202还可以包括S2021、S2022和S2023。如图13所示,图13为本申请实施例提供的再一种数据帧传输方法的步骤流程图。
S2021、根据目标导频序列进行频偏估计,得到残余频偏,目标导频序列包括一个或多个导频符号。
S2022、根据残余频偏对第一调制序列进行补偿,得到补偿数据。
S2023、基于第一调制方式对补偿数据进行解调,得到数据帧的数据部分。
在本申请实施例中,目标导频序列是第一设备和第二设备约定好的序列,对于第二设备来说,调制符号是未知的,导频符号为已知的。
示例性的,第一设备还在多个调制符号(经调制后的第一序列)中间隔插入一个或多个导频符号(即目标导频序列)得到的,第二设备接收到目标导频序列包括多个导频符号。可以根据接收到的导频符号(即接收到的目标导频序列)与已知的导频符号(即,目标导频序列)进行比较,估计残余频偏,然后根据残余频偏对接收信道进行频率补偿(即,补偿频偏),从而实现对接收到的第一调制序列中多个调制符号进行补偿,得到补偿数据,然后,根据第一调制方式对补偿数据进行解调,得到蓝牙数据帧,从而提高解调性能(即接收性能)。
为实现本申请实施例的数据帧传输方法,本申请实施例提供一种数据帧传输装置,如图14所示,图14为本申请实施例提供的一种数据帧传输装置的可选的结构示意图,数据帧传输装置140应用于上述第一设备,该数据帧传输装置140包括:调制部分1401,被配置为根据第一调制方式对数据帧的第一序列进行调制;根据第二调制方式对数据帧的第二序列进行调制;其中,第一序列对应于数据帧的数据部分,第二序列对应于数据帧的前导部分;传输部分1402,被配置为通过无线信道传输经调制的第一序列和经调制的第二序列。
在一些实施例中,数据帧传输装置140包括编码部分1403;
编码部分1403,被配置为对第一序列进行RS编码。
在一些实施例中,数据帧还包括间隔序列;间隔序列设置于第一序列和第二序列之间。
在一些实施例中,第二序列包括前导码、接入码和帧头。
在一些实施例中,第一调制方式包括相移键控调制,第二调制方式包括高斯频移键控。
在一些实施例中,调制部分1401,还被配置为在经调制后的第一序列中插入一个或多个导频符号。
在一些实施例中,无线信道是蓝牙信道。
为实现本申请实施例的数据帧传输方法,本申请实施例还提供一种数据帧传输装置,如图15所示,图15为本申请实施例提供的另一种数据帧传输装置的可选的结构示意图,数据帧传输装置150应用于上述第二设备,数据帧传输装置150包括:接收部分1501,被配置为通过无线信道接收第一调制序列和第二调制序列,第一调制序列对应于数据帧的数据部分,第二调制序列对应于数据帧的前导部分;解调部分1502,被配置为基于第二调制方式对第二调制序列进行解调,基于第一调制方式对第一调制序列进行解调。
在一些实施例中,解调部分1502,还被配置为根据目标导频序列进行频偏估计,得到残余频偏,目标导频序列包括一个或多个导频符号;根据残余频偏对第一调制序列进行补偿,得到补偿数据;基于第一调制方式对补偿数据进行解调,得到数据帧的数据部分。
需要说明的是,上述实施例提供的任一数据帧传输装置在进行数据帧传输时,仅以上述各程序部分的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序部分完成,即将装置的内部结构划分成不同的程序部分,以完成以上描述的全部或者部分处理。另外,上述实施例提供的数据帧传输装置与数据帧传输方法实施例属于同一构思,其具体实现过程及有益效果详见方法实施例,这里不再赘述。对于本装置实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。
本申请实施例还提供一种芯片,芯片包括第一处理器,第一处理器配置成:根据第一调制方式对数据帧的第一序列进行调制;根据第二调制方式对数据帧的第二序列进行调制;通过无线信道传输经调制的第一序列和经调制的第二序列;其中,第一序列对应于数据帧的数据部分,第二序列对应于数据帧的前导部分。
本申请实施例还提供另一种芯片,芯片包括第二处理器,第二处理器配置成:通过无线信道接收第一调制序列和第二调制序列;基于第二调制方式对第二调制序列进行解调;基于第一调制方式对第一调制序列进行解调;其中,第一调制序列对应于数据帧的数据部分,第二调制序列对应于数据帧的前导部分。
在本申请实施例中,图16为本申请实施例提出的一种蓝牙设备组成结构示意图,如图16所示,本申请实施例提出的蓝牙设备160包括第一处理器1601、存储可执行计算机程序的第一存储器1602,第一处理器1601,被配置为执行第一存储器1602中存储的可执行计算机程序时,实现本申请实施例中第一设备侧所执行的数据帧传输方法。蓝牙设备160对应于上述第一设备。
在一些实施例中,第一处理器1601,运行所述第一存储器1602中存储的计算机程序时,还可以执行以下指令:
根据第一调制方式对数据帧的第一序列进行调制;根据第二调制方式对所述数据帧的第二序列进行调制;通过无线信道传输经调制的所述第一序列和经调制的所述第二序列;其中,所述第一序列对应于所述数据帧的数据部分,所述第二序列对应于所述数据帧的前导部分。
在一些实施例中,第一处理器1601,运行所述第一存储器1602中存储的计算机程序时,还可以执行以下指令:
对所述第一序列进行RS编码。
在一些实施例中,第一处理器1601,运行所述第一存储器1602中存储的计算机程序时,还可以执行以下指令:
在经调制后的所述第一序列中插入一个或多个导频符号。
在一些实施例中,蓝牙设备160还可以包括第一通信接口1603,以及被配置为连接第一处理器1601、第一存储器1602和第一通信接口1603的第一总线1604。
在本申请实施例中,第一总线1604被配置为连接第一通信接口1603、第一处理器1601以及第一存储器1602,实现这些器件之间的相互通信。
在本申请实施例中,图17为本申请实施例提出的另一种蓝牙设备组成结构示意图,如图17所 示,本申请实施例提出的蓝牙设备170包括第二处理器1701、存储可执行计算机程序的第二存储器1702,第二处理器1701,被配置为执行第二存储器1702中存储的可执行计算机程序时,实现本申请实施例中第二设备侧所执行的数据帧传输方法。蓝牙设备170对应于上述第二设备。
在一些实施例中,第二处理器1701,运行所述第二存储器1702中存储的计算机程序时,还可以执行以下指令:
通过无线信道接收第一调制序列和第二调制序列;基于第二调制方式对所述第二调制序列进行解调;基于第一调制方式对所述第一调制序列进行解调;其中,所述第一调制序列对应于数据帧的数据部分,所述第二调制序列对应于所述数据帧的前导部分。
在一些实施例中,第二处理器1701,运行所述第二存储器1702中存储的计算机程序时,还可以执行以下指令:
根据目标导频序列进行频偏估计,得到残余频偏,所述目标导频序列包括一个或多个导频符号;根据所述残余频偏对所述第一调制序列进行补偿,得到补偿数据;基于所述第一调制方式对所述补偿数据进行解调,得到所述数据帧的数据部分。
在一些实施例中,蓝牙设备170还可以包括第二通信接口1703,以及被配置为连接第二处理器1701、第二存储器1702和第二通信接口1703的第二总线1704。
在本申请实施例中,第二总线1704被配置为连接第二通信接口1703、第二处理器1701以及第二存储器1702,实现这些器件之间的相互通信。
在本申请实施例中,上述第一处理器1601和第二处理器1701可以为特定用途集成电路(Application Specific Integrated Circuit,ASIC)、数字信号处理器(Digital Signal Processor,DSP)、数字信号处理装置(Digital Signal Processing Device,DSPD)、可编程逻辑装置(ProgRAMmable Logic Device,PLD)、现场可编程门阵列(Field ProgRAMmable Gate Array,FPGA)、中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器中的至少一种。可以理解地,对于不同的设备,用于实现上述处理器功能的电子器件还可以为其它,本申请实施例不作具体限定。
第一存储器1602和第二存储器1702被配置为存储可执行计算机程序和数据,该可执行计算机程序包括计算机操作指令,第一存储器1602和第二存储器1702可能包含高速RAM存储器,也可能还包括非易失性存储器,例如,至少两个磁盘存储器。在实际应用中,上述第一存储器1602和第二存储器1702可以是易失性存储器(volatile memory),例如随机存取存储器(Random-Access Memory,RAM);或者非易失性存储器(non-volatile memory),例如只读存储器(Read-Only Memory,ROM),快闪存储器(flash memory),硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-State Drive,SSD);或者上述种类的存储器的组合。
另外,在本实施例中的各功能部分可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能部分的形式实现。
集成的单元如果以软件功能部分的形式实现并非作为独立的产品进行销售或使用时,可以存储在一个计算机可读取存储介质中,基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或processor(处理器)执行本实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
如图18所示,图18是本申请实施例提供的一种通信系统的示意性框图。该通信系统1800包括蓝牙设备160和蓝牙设备170。
该蓝牙设备160可以用于实现上述方法中由第一设备实现的相应的功能,以及该蓝牙设备170可以用于实现上述方法中由第二设备实现的相应的功能,为了简洁,在此不再赘述。
本申请实施例提供一种计算机可读存储介质,存储有计算机程序,被配置为被第一处理器执行时实现如上第一设备侧执行的任一实施例所述的数据帧传输方法;被配置为被第二处理器执行时实现如上第二设备侧执行的任一实施例所述的数据帧传输方法。
示例性的,该计算机可读存储介质可应用于本申请实施例中的蓝牙设备160,并且该计算机程序使得计算机执行本申请实施例的各个方法中由第一设备实现的相应流程,为了简洁,在此不再赘述。
示例性的,该计算机可读存储介质可应用于本申请实施例中的蓝牙设备170,并且该计算机程 序使得计算机执行本申请实施例的各个方法中由第二设备实现的相应流程,为了简洁,在此不再赘述。
本申请实施例还提供了一种计算机程序产品,包括计算机程序指令。
示例性的,该计算机程序产品可应用于本申请实施例中的蓝牙设备160,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由第一设备实现的相应流程,为了简洁,在此不再赘述。
示例性的,该计算机程序产品可应用于本申请实施例中的蓝牙设备170,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由第二设备实现的相应流程,为了简洁,在此不再赘述。
本申请实施例还提供了一种计算机程序。
示例性的,该计算机程序可应用于本申请实施例中的蓝牙设备160,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由第一设备实现的相应流程,为了简洁,在此不再赘述。
示例性的,该计算机程序可应用于本申请实施例中的蓝牙设备170,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由第二设备实现的相应流程,为了简洁,在此不再赘述。
示例性的,本实施例中的一种数据帧传输方法对应的程序指令可以被存储在光盘,硬盘,U盘等存储介质上,当存储介质中的与一种数据帧传输方法对应的程序指令被一电子设备读取或被执行时,可以实现如上述任一实施例所述的数据帧传输方法。
本领域内的技术人员应明白,本申请实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的实现流程示意图和/或方框图来描述的。应理解可由计算机程序指令实现流程示意图和/或方框图中的每一流程和/或方框、以及实现流程示意图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。
工业实用性
本申请实施例提供了一种数据帧传输方法、装置、芯片、计算机可读存储介质、蓝牙设备、程序及程序产品。该方法包括:根据第一调制方式对数据帧的第一序列进行调制;根据第二调制方式对数据帧的第二序列进行调制;通过无线信道传输经调制的第一序列和经调制的第二序列;其中,第一序列对应于数据帧的数据部分,第二序列对应于数据帧的前导部分。采用两种调制方式分别对数据帧的前导部分和数据部分进行调制,提高了调制性能。

Claims (20)

  1. 一种数据帧传输方法,所述方法包括:
    根据第一调制方式对数据帧的第一序列进行调制;
    根据第二调制方式对所述数据帧的第二序列进行调制;
    通过无线信道传输经调制的所述第一序列和经调制的所述第二序列;
    其中,所述第一序列对应于所述数据帧的数据部分,所述第二序列对应于所述数据帧的前导部分。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    对所述第一序列进行RS编码。
  3. 根据权利要求1或2所述的方法,其中,所述数据帧还包括间隔序列;所述间隔序列设置于所述第一序列和所述第二序列之间。
  4. 根据权利要求1-3任一项所述的方法,其中,所述第二序列包括前导码、接入码和帧头。
  5. 根据权利要求1-4任一项所述的方法,其中,所述第一调制方式包括相移键控调制,所述第二调制方式包括高斯频移键控。
  6. 根据权利要求1-5任一项所述的方法,其中,所述方法还包括:
    在经调制后的所述第一序列中插入一个或多个导频符号。
  7. 根据权利要求1-6任一项所述的方法,其中,所述无线信道是蓝牙信道。
  8. 一种数据帧传输方法,所述方法包括:
    通过无线信道接收第一调制序列和第二调制序列;
    基于第二调制方式对所述第二调制序列进行解调;
    基于第一调制方式对所述第一调制序列进行解调;
    其中,所述第一调制序列对应于数据帧的数据部分,所述第二调制序列对应于所述数据帧的前导部分。
  9. 根据权利要求8所述的方法,其中,所述基于第一调制方式对所述第一调制序列进行解调,包括:
    根据目标导频序列进行频偏估计,得到残余频偏,所述目标导频序列包括一个或多个导频符号;
    根据所述残余频偏对所述第一调制序列进行补偿,得到补偿数据;
    基于所述第一调制方式对所述补偿数据进行解调,得到所述数据帧的数据部分。
  10. 一种数据帧传输装置,所述装置包括:
    调制部分,被配置为根据第一调制方式对数据帧的第一序列进行调制;根据第二调制方式对所述数据帧的第二序列进行调制;其中,所述第一序列对应于所述数据帧的数据部分,所述第二序列对应于所述数据帧的前导部分;
    传输部分,被配置为通过无线信道传输经调制的所述第一序列和经调制的所述第二序列。
  11. 根据权利要求10所述的装置,其中,所述装置还包括编码部分;
    所述编码部分,被配置为对所述第一序列进行RS编码。
  12. 一种数据帧传输装置,所述装置包括:
    接收部分,被配置为通过无线信道接收第一调制序列和第二调制序列;其中,所述第一调制序列对应于数据帧的数据部分,所述第二调制序列对应于所述数据帧的前导部分;
    解调部分,被配置为基于第二调制方式对所述第二调制序列进行解调;基于第一调制方式对所述第一调制序列进行解调。
  13. 一种计算机可读存储介质,存储有计算机程序,被配置为被第一处理器执行时,实现权利要求1-7任一项所述的方法;
    或者,被配置为被第二处理器执行时,实现权利要求8或9所述的方法。
  14. 一种芯片,所述芯片包括第一处理器,所述第一处理器配置成:
    根据第一调制方式对数据帧的第一序列进行调制;
    根据第二调制方式对所述数据帧的第二序列进行调制;
    通过无线信道传输经调制的所述第一序列和经调制的所述第二序列;
    其中,所述第一序列对应于所述数据帧的数据部分,所述第二序列对应于所述数据帧的前导部 分。
  15. 一种芯片,所述芯片包括第二处理器,所述第二处理器配置成:
    通过无线信道接收第一调制序列和第二调制序列;
    基于第二调制方式对所述第二调制序列进行解调;
    基于第一调制方式对所述第一调制序列进行解调;
    其中,所述第一调制序列对应于数据帧的数据部分,所述第二调制序列对应于所述数据帧的前导部分。
  16. 一种蓝牙设备,所述蓝牙设备包括存储器和处理器;
    所述存储器存储有可在处理器上运行的计算机程序;
    所述处理器执行所述计算机程序时实现权利要求1-9任一项所述方法。
  17. 一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如权利要求1-7中任一项所述的方法。
  18. 一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如权利要求8或9所述的方法。
  19. 一种计算机程序,所述计算机程序使得计算机执行如权利要求1-7中任一项所述的方法。
  20. 一种计算机程序,所述计算机程序使得计算机执行如权利要求8或9所述的方法。
PCT/CN2023/090027 2022-07-25 2023-04-23 数据帧传输方法、装置、芯片、计算机可读存储介质、蓝牙设备、程序及程序产品 WO2024021706A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210876956.2 2022-07-25
CN202210876956.2A CN115276907B (zh) 2022-07-25 2022-07-25 数据帧传输方法、装置、芯片、存储介质和蓝牙设备

Publications (1)

Publication Number Publication Date
WO2024021706A1 true WO2024021706A1 (zh) 2024-02-01

Family

ID=83769345

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/090027 WO2024021706A1 (zh) 2022-07-25 2023-04-23 数据帧传输方法、装置、芯片、计算机可读存储介质、蓝牙设备、程序及程序产品

Country Status (2)

Country Link
CN (1) CN115276907B (zh)
WO (1) WO2024021706A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115276907B (zh) * 2022-07-25 2024-02-06 哲库科技(上海)有限公司 数据帧传输方法、装置、芯片、存储介质和蓝牙设备

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040165576A1 (en) * 2003-02-26 2004-08-26 Nokia Corporation Method for synchronizing bluetooth packets
CN105657739A (zh) * 2016-01-29 2016-06-08 深圳市极致汇仪科技有限公司 一种无线综测仪蓝牙信号帧同步检测方法
US20200067633A1 (en) * 2018-08-23 2020-02-27 Sr Technologies, Inc. Blind detection and synchronization of data packets
US20200112395A1 (en) * 2018-10-05 2020-04-09 Sr Technologies, Inc. Blind decoding of data packets
CN111065083A (zh) * 2019-12-31 2020-04-24 锐迪科微电子科技(上海)有限公司 蓝牙通信方法及装置、存储介质、终端
CN113489567A (zh) * 2018-02-14 2021-10-08 华为技术有限公司 一种高速传输音频数据的方法和装置
CN115276907A (zh) * 2022-07-25 2022-11-01 哲库科技(上海)有限公司 数据帧传输方法、装置、芯片、存储介质和蓝牙设备
CN115277323A (zh) * 2022-07-25 2022-11-01 Oppo广东移动通信有限公司 数据帧传输方法、装置、芯片、存储介质和蓝牙设备
CN115276906A (zh) * 2022-07-25 2022-11-01 哲库科技(上海)有限公司 数据帧传输方法、装置、芯片、存储介质和蓝牙设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6438570B2 (ja) * 2014-08-25 2018-12-12 ワン メディア,エルエルシー フレキシブルな直交周波数分割多重phy伝送データフレームプリアンブルの動的な構成
CN107566972B (zh) * 2017-09-04 2021-02-26 马新禹 一种基于ble标准的蓝牙数据高速传输方法及装置
CN109890018A (zh) * 2019-01-29 2019-06-14 深圳傲智天下信息科技有限公司 音频的蓝牙传输方法、蓝牙收发器及计算机可读存储介质
CN110312237B (zh) * 2019-07-05 2022-06-17 恒玄科技(上海)股份有限公司 无线耳机及无线耳机的通信方法
CN113157300A (zh) * 2021-05-19 2021-07-23 深圳Tcl新技术有限公司 一种数据处理方法、装置和存储介质

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040165576A1 (en) * 2003-02-26 2004-08-26 Nokia Corporation Method for synchronizing bluetooth packets
CN105657739A (zh) * 2016-01-29 2016-06-08 深圳市极致汇仪科技有限公司 一种无线综测仪蓝牙信号帧同步检测方法
CN113489567A (zh) * 2018-02-14 2021-10-08 华为技术有限公司 一种高速传输音频数据的方法和装置
US20200067633A1 (en) * 2018-08-23 2020-02-27 Sr Technologies, Inc. Blind detection and synchronization of data packets
US20200112395A1 (en) * 2018-10-05 2020-04-09 Sr Technologies, Inc. Blind decoding of data packets
CN111065083A (zh) * 2019-12-31 2020-04-24 锐迪科微电子科技(上海)有限公司 蓝牙通信方法及装置、存储介质、终端
CN115276907A (zh) * 2022-07-25 2022-11-01 哲库科技(上海)有限公司 数据帧传输方法、装置、芯片、存储介质和蓝牙设备
CN115277323A (zh) * 2022-07-25 2022-11-01 Oppo广东移动通信有限公司 数据帧传输方法、装置、芯片、存储介质和蓝牙设备
CN115276906A (zh) * 2022-07-25 2022-11-01 哲库科技(上海)有限公司 数据帧传输方法、装置、芯片、存储介质和蓝牙设备

Also Published As

Publication number Publication date
CN115276907B (zh) 2024-02-06
CN115276907A (zh) 2022-11-01

Similar Documents

Publication Publication Date Title
WO2024021690A1 (zh) 数据帧传输方法、装置、芯片、计算机可读存储介质、蓝牙设备、程序及程序产品
JP5237358B2 (ja) ワイヤレス通信システムのためのマルチレベル・シェーピングのためのシステム、方法、およびコンピューター可読媒体
JP4612864B2 (ja) 通信装置、当該装置における受信方法、コーデック、デコーダ、通信モジュール、通信部及びデコード方法
US8559539B2 (en) Method, apparatus and computer readable storage medium
US8582603B2 (en) Method and apparatus for configuring protocol header in wireless communication system
WO2024021706A1 (zh) 数据帧传输方法、装置、芯片、计算机可读存储介质、蓝牙设备、程序及程序产品
US8213616B2 (en) Systems and methods for providing opportunistic security for physical communication channels
KR20040075952A (ko) 인트라-디코더 컴포넌트 블록 메시징
US8261165B2 (en) Multi-syndrome error correction circuit
Shrivastava et al. Error detection and correction using Reed Solomon codes
CN111600677A (zh) 一种数据传输方法及装置
CN109889311B (zh) 基于组合编码的间隙信道通信方法
US8245107B2 (en) Techniques for enabling simplified LDPC encoding and decoding
KR20040075953A (ko) 에러 정정 디코더용 치엔 탐색 셀
US7987413B2 (en) Systems and methods for encoding a control channel in a wireless communication system
JP2011254459A (ja) ワイヤレス遠隔通信システムのためのパケットを安全に伝送する方法
Mahajan et al. Reed-Solomon code performance for M-ary modulation over AWGN channel
CN113078924A (zh) 一种扩频通信方法及系统
US11456819B2 (en) Partial pseudo-randomization processing method, and corresponding apparatus and device, and storage medium
KR101459176B1 (ko) 이산 대수에 기초한 동기-프레임 방법
Chen et al. A research on internet of things with CRC method
WO2020257960A1 (en) Transceiver architectures for high-rate optical communication
CN111052614B (zh) 消息处理和对应装置
EP4336736A1 (en) Data modulation method, data processing method, device, and storage medium
Ndlovu A permutation coding and OFDM-MFSK modulation scheme for power-line communication

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23844922

Country of ref document: EP

Kind code of ref document: A1