CN113922923A - Bluetooth baseband receiving system and method with compatibility - Google Patents

Bluetooth baseband receiving system and method with compatibility Download PDF

Info

Publication number
CN113922923A
CN113922923A CN202110963609.9A CN202110963609A CN113922923A CN 113922923 A CN113922923 A CN 113922923A CN 202110963609 A CN202110963609 A CN 202110963609A CN 113922923 A CN113922923 A CN 113922923A
Authority
CN
China
Prior art keywords
frame structure
bytes
data
address
target frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110963609.9A
Other languages
Chinese (zh)
Inventor
辛建宏
姚宗宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Panchip Microelectronics Co ltd
Original Assignee
Shanghai Panchip Microelectronics Co ltd
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 Shanghai Panchip Microelectronics Co ltd filed Critical Shanghai Panchip Microelectronics Co ltd
Priority to CN202110963609.9A priority Critical patent/CN113922923A/en
Publication of CN113922923A publication Critical patent/CN113922923A/en
Pending legal-status Critical Current

Links

Images

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/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/0003Software-defined radio [SDR] systems, i.e. systems wherein components typically implemented in hardware, e.g. filters or modulators/demodulators, are implented using software, e.g. by involving an AD or DA conversion stage such that at least part of the signal processing is performed in the digital domain
    • H04B1/0028Software-defined radio [SDR] systems, i.e. systems wherein components typically implemented in hardware, e.g. filters or modulators/demodulators, are implented using software, e.g. by involving an AD or DA conversion stage such that at least part of the signal processing is performed in the digital domain wherein the AD/DA conversion occurs at baseband stage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control

Abstract

The invention provides a compatible Bluetooth baseband receiving system and method, which realizes data communication between a receiving end and a transmitting end with different wireless communication protocols, and comprises the following steps: receiving a data packet, and converting the data packet into a digital signal through analog-to-digital conversion; the data compatible processing module processes the data packet and comprises the following steps: configuring respective conversion rules for frame structures of at least one wireless communication protocol in advance to form a uniform target frame structure; selecting a corresponding conversion rule in advance based on a wireless communication protocol of a transmitting terminal; converting the frame structure of the data packet according to the selected conversion rule to form a data packet with a target frame structure; the converted data packet is checked and stored; and acquiring the data frame after the successful inspection, and analyzing the data packet to obtain a control instruction of the transmitting terminal. Different wireless communication protocols can be directly communicated, and compatibility among products can be realized only by modifying software on a chip, so that application is more flexible.

Description

Bluetooth baseband receiving system and method with compatibility
Technical Field
The invention relates to the technical field of Bluetooth communication, in particular to a Bluetooth baseband receiving system with compatibility.
Background
With the explosion of the internet of things technology, more and more bluetooth terminal devices work in an unlicensed 2.4GHz band. Since bluetooth chips were expensive in early times and the demand for networking was not strong, many application scenarios used custom protocol wireless communication chips at 2.4GHz, such as Nordic nRF24L01 and 297L which is very powerful microelectronics. With the development of the internet of things and the wide application of smart phones and smart homes, the application using the 2.4GHz custom protocol chip tends to be switched to a Bluetooth chip. However, the existing 2.4GHz custom protocol chip cannot be networked or communicated with a smart phone like bluetooth.
Disclosure of Invention
Based on the above problems, the present invention provides a bluetooth baseband receiving system and method with compatibility, and aims to solve the technical problem that some wireless communication chips in the prior art cannot be compatible for communication.
A Bluetooth baseband receiving system with compatibility is applied to a receiving end and realizes data communication between the receiving end and a transmitting end with different wireless communication protocols, and comprises:
the radio frequency front end module is used for receiving the data packet and converting the data packet into a digital signal through an analog-to-digital mode;
the data compatible processing module is connected with the radio frequency front end module and used for processing the data packet, and the data compatible processing module comprises:
the configuration submodule configures respective conversion rules for the frame structure of at least one wireless communication protocol in advance to form a uniform target frame structure;
the selection submodule is connected with the configuration submodule and presets a corresponding conversion rule based on a wireless communication protocol of a transmitting terminal;
the conversion sub-modules are respectively connected with the selection sub-modules and are used for converting the frame structure of the data packet according to the selected conversion rule to form the data packet with a target frame structure;
the detection submodule is connected with the conversion submodule and is used for detecting and storing the converted data packet;
and the controller is connected with the data compatible processing module and used for acquiring the data frame after the successful inspection, analyzing the data packet and acquiring the control instruction of the transmitting terminal.
Further, the target frame structure includes:
the first field is a lead code and is fixed to be 3 bytes;
the second field is an address, and the address length is 4-40 bits;
the third field is data, and the length of the data is 1-64 bytes;
the fourth field is a cyclic redundancy check of 1/2/3 bytes.
Further, the detection submodule includes:
the packet head detection unit is used for acquiring lead code information of a target frame structure and detecting the lead code of the data packet;
the address receiving and judging unit is connected with the packet head detecting unit and used for receiving the address information of the target frame structure when the lead code is detected and judging whether the address information is correct or not;
the data receiving unit is connected with the address receiving and judging unit and used for receiving the data information of the target frame structure when the address is correct;
the cyclic check unit is connected with the address receiving and judging unit (242) and is used for receiving the cyclic redundancy check information of the target frame structure and carrying out cyclic redundancy check when the address is correct;
and when the cyclic redundancy check is correct, the controller acquires the data information and analyzes the data information to acquire a control instruction of the transmitting terminal.
Further, the detection sub-module further includes:
the first-in first-out storage unit is connected with the data receiving unit and used for storing data information;
the reporting unit is connected with the cyclic check unit and used for sending the reported extraction information to the controller when the cyclic redundancy check is correct;
the controller acquires data information from the first-in first-out storage unit based on the extraction information.
Further, the first frame structure of the wireless communication protocol of the transmitting end includes:
the first field is a lead code and is 1 byte in length;
the second field is an address, and the length of the address is 3-5 bytes;
the third field is data, and the length of the data is 1-32 bytes;
the fourth field is a cyclic redundancy check with the length of 1/2 bytes;
the first conversion rule for converting the first frame structure into the target frame structure includes:
the preamble in the target frame structure is: a1 byte preamble plus a2 byte address high in the first frame structure; the preamble of the first frame structure is fixed 8' hAA and the address is configured by registers.
The address length in the target frame structure is AW 8 bits, AW represents the address length in the first frame structure, AW represents 3 bytes when being 1, AW represents 4 bytes when being 2, and AW represents 5 bytes when being 3;
the data in the target frame structure is consistent with the data in the first frame structure and is 1-32 bytes; are all configurable with 1-32 bytes.
The cyclic redundancy check in the target frame structure is identical to the cyclic redundancy check of the first frame structure and is CRC16 or CRC 8.
Further, the second frame structure of the wireless communication protocol of the transmitting end includes:
the first field is a lead code and has the length of 3 bytes;
the second field is an address, and the length of the address is 3-5 bytes;
the third field is data, and the length of the data is 1-64 bytes;
the fourth field is a cyclic redundancy check of 1/2 bytes.
The second conversion rule for converting the second frame structure into the target frame structure includes:
the lead code in the target frame structure is consistent with the lead code in the second frame structure and is fixed into 3 bytes; are all fixed 3 bytes 24' h710F 55.
The address length in the target frame structure is (AW 8) +16 bits, AW represents the address length in the second frame structure, AW represents 3 bytes when being 1, AW represents 4 bytes when being 2, and AW represents 5 bytes when being 3;
the data in the target frame structure is consistent with the data in the second frame structure and is 1-64 bytes; are all configurable from 1 to 64 bytes.
The cyclic redundancy check in the target frame structure is identical to the cyclic redundancy check of the second frame structure and is CRC16 or CRC 8.
Further, the third frame structure of the wireless communication protocol of the transmitting end includes:
the first field is a lead code and is 1 byte in length;
the second field is an address and is 4 bytes in length;
the third field is a Header, and the length of the third field is 2 bytes;
the fourth field is AdvA, and the length is 6 bytes;
the fifth field is AdvD, and the length of the fifth field is 0-31 bytes;
the sixth field is a cyclic redundancy check and has the length of 3 bytes;
the third conversion rule for converting the third frame structure into the target frame structure includes:
the preamble in the target frame structure is: 27 bits to 4 bits of the address in the third frame structure; the lead code in the target frame structure is bit 27-bit 4 in the address of the third frame structure, and is just 3 bytes, and the lead code of 1 byte in the third frame structure does not have specific meaning, so the lead code is ignored in the target frame structure.
The addresses in the target frame structure are: 3 bits to 0 bits of the address in the third frame structure; the new address length of the third frame structure is 4 bits. Which is just bit 3-bit 0 in the address inside the third frame structure.
The data in the target frame structure is: adding 2 bytes of Header in a third frame structure, adding 6 bytes of AdvA, and adding 0-31 bytes of AdvD;
the cyclic redundancy check in the target frame structure is consistent with the cyclic redundancy check of the first frame structure, which is CRC 24.
And the state machine is respectively connected with the radio frequency front end module and the data compatible processing module and is used for respectively controlling the opening and closing of the radio frequency front end module and the detection submodule.
In particular, the method comprises the following steps of,
a compatible bluetooth baseband receiving method, including the aforementioned bluetooth baseband receiving system, for pre-selecting a conversion rule about a frame structure corresponding to a wireless communication protocol of a transmitting end, comprising the steps of:
step A1, the radio frequency front end module receives the data packet and converts the data packet into digital signal through analog-to-digital conversion;
step A2, converting the frame structure of the data packet according to the selected conversion rule to form a data packet with a target frame structure;
step A3, checking and storing the converted data packet;
and step A4, acquiring the data frame after the successful inspection, and analyzing the data packet to obtain the control instruction of the transmitting terminal.
Further, the target frame structure includes: the first field is a lead code and is fixed to be 3 bytes; the second field is an address, and the address length is 4-40 bits; the third field is data, and the length of the data is 1-64 bytes; the fourth field is a cyclic redundancy check of 1/2/3 bytes;
step a3 includes:
step a31, obtaining preamble information of the target frame structure, and detecting the preamble of the data packet:
if the preamble information is not detected, packet loss processing is performed, and the step A31 is returned;
detecting the preamble information, continuing with step a 32;
step a32, receiving the address information of the target frame structure, and determining whether the address information is correct:
if so, continuing to step A33;
if not, the packet loss processing is carried out, and the step A31 is returned;
step a33, receiving and storing the data information of the target frame structure, and receiving the cyclic redundancy check information of the target frame structure, and performing cyclic redundancy check:
if the cyclic redundancy check is correct, continuing to step A4;
if the cyclic redundancy check is incorrect, packet loss processing is carried out, and the step A31 is returned;
step a4 includes: and when the cyclic redundancy check is correct, the controller acquires the data information and analyzes the data information to acquire a control instruction of the transmitting terminal.
The beneficial technical effects of the invention are as follows: the data compatibility processing module is arranged at the receiving end, and a proper conversion rule is selected according to the wireless communication protocol of the transmitting end to form a uniform target frame structure, so that different wireless communication protocols can be directly communicated, and the compatibility among products can be realized only by modifying software on a chip, and the application is more flexible.
Drawings
Fig. 1 is a block diagram of a compatible bluetooth baseband receiving system according to the present invention;
fig. 2 is a block diagram of a data compatibility processing module of a bluetooth baseband receiving system with compatibility according to the present invention;
FIG. 3 is a block diagram of a compatible Bluetooth baseband receiving system test sub-module according to the present invention;
fig. 4 is a block diagram of another embodiment of a bluetooth baseband receiving system verification sub-module with compatibility according to the present invention;
FIG. 5 is a flowchart illustrating a compatible Bluetooth baseband receiving method according to the present invention;
fig. 6 is a flowchart illustrating the steps of the verification of a compatible bluetooth baseband receiving method according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The invention is further described with reference to the following drawings and specific examples, which are not intended to be limiting.
Referring to fig. 1-2, the present invention provides a bluetooth baseband receiving system with compatibility, which is applied to a receiving end to implement data communication between the receiving end and a transmitting end with different wireless communication protocols, and includes:
the radio frequency front end module (1) is used for receiving the data packet and converting the data packet into a digital signal through an analog-to-digital mode;
the data compatibility processing module (2) is connected with the radio frequency front end module (1) and is used for processing the data packet, and the data compatibility processing module comprises:
a configuration sub-module (21) which configures respective conversion rules for the frame structure of at least one wireless communication protocol in advance to form a uniform target frame structure;
the selection submodule (22) is connected with the configuration submodule (21) and presets a corresponding conversion rule based on the wireless communication protocol of the transmitting terminal;
the conversion sub-modules (23) are respectively connected with the selection sub-modules (22) and are used for converting the frame structure of the data packet according to the selected conversion rule to form the data packet with a target frame structure;
the detection submodule (24) is connected with the conversion submodule (23) and is used for checking and storing the converted data packet;
and the controller (3) is connected with the data compatibility processing module (2) and is used for acquiring the data frame after the successful inspection, analyzing the data packet and acquiring the control instruction of the transmitting terminal.
Further, the target frame structure includes:
the first field is a lead code and is fixed to be 3 bytes;
the second field is an address, and the address length is 4-40 bits;
the third field is data, and the length of the data is 1-64 bytes;
the fourth field is a cyclic redundancy check of 1/2/3 bytes.
Referring to fig. 3, further, the detection sub-module (24) includes:
a packet header detection unit (241) for acquiring preamble information of a target frame structure and detecting a preamble of a data packet;
an address receiving judging unit (242) connected with the packet head detecting unit (241) and used for receiving the address information of the target frame structure when the lead code is detected and judging whether the address information is correct or not;
a data receiving unit (243) connected with the address receiving judging unit (242) and used for receiving the data information of the target frame structure when the address is correct;
a cyclic check unit (244) connected with the address receiving judgment unit (242) and used for receiving the cyclic redundancy check information of the target frame structure and carrying out cyclic redundancy check when the address is correct;
and when the cyclic redundancy check is correct, the controller acquires the data information and analyzes the data information to acquire a control instruction of the transmitting terminal.
Referring to fig. 4, further, the detection sub-module (24) further includes:
a First-In First-Out storage unit (245) (FIFO, First In First Out) connected to the data receiving unit (243) for storing data information;
a reporting unit (246), connected to the cyclic check unit (244), for sending the reported extracted information to the controller when the cyclic redundancy check is correct;
the controller acquires data information from a first-in first-out storage unit (245) based on the extraction information.
Specifically, the first frame structure is a Nordic nRF24L01 general packet frame structure, as shown in the following table:
lead code (1 byte) Address (3 to 5 bytes) Data (1 to 32 bytes) CRC check (1/2 bytes)
Specifically, the second frame structure is a strong 297L common frame structure, as shown in the following table:
lead code (3 bytes) Address (3 to 5 bytes) Data (1 to 64 bytes) CRC check (1/2 bytes)
Specifically, the third frame structure is a bluetooth BLE broadcast packet frame structure, and is shown in the following table:
Figure RE-GDA0003398826690000071
the target frame structure is as follows:
lead code (3 bytes) Address (4 to 40 bits) Data (1 to 64 bytes) CRC check (1/2/3 bytes)
Further, the first frame structure of the wireless communication protocol of the transmitting end includes:
the first field is a lead code and is 1 byte in length;
the second field is an address, and the length of the address is 3-5 bytes;
the third field is data, and the length of the data is 1-32 bytes;
the fourth field is a cyclic redundancy check with the length of 1/2 bytes;
the first conversion rule for converting the first frame structure into the target frame structure includes:
the preamble in the target frame structure is: a1 byte preamble plus a2 byte address high in the first frame structure; the preamble of the first frame structure is fixed 8' hAA and the address is configured by registers.
The address length in the target frame structure is AW 8 bits, AW represents the address length in the first frame structure, AW represents 3 bytes when being 1, AW represents 4 bytes when being 2, and AW represents 5 bytes when being 3;
the data in the target frame structure is consistent with the data in the first frame structure and is 1-32 bytes; are all configurable with 1-32 bytes.
The cyclic redundancy check in the target frame structure is identical to the cyclic redundancy check of the first frame structure and is CRC16 or CRC 8.
Further, the second frame structure of the wireless communication protocol of the transmitting end includes:
the first field is a lead code and has the length of 3 bytes;
the second field is an address, and the length of the address is 3-5 bytes;
the third field is data, and the length of the data is 1-64 bytes;
the fourth field is a cyclic redundancy check of 1/2 bytes.
The second conversion rule for converting the second frame structure into the target frame structure includes:
the lead code in the target frame structure is consistent with the lead code in the second frame structure and is fixed into 3 bytes; are all fixed 3 bytes 24' h710F 55.
The address length in the target frame structure is (AW 8) +16 bits, AW represents the address length in the second frame structure, AW represents 3 bytes when being 1, AW represents 4 bytes when being 2, and AW represents 5 bytes when being 3;
the data in the target frame structure is consistent with the data in the second frame structure and is 1-64 bytes; are all configurable from 1 to 64 bytes.
The cyclic redundancy check in the target frame structure is identical to the cyclic redundancy check of the second frame structure and is CRC16 or CRC 8.
Further, the third frame structure of the wireless communication protocol of the transmitting end includes:
the first field is a lead code and is 1 byte in length;
the second field is an address and is 4 bytes in length;
the third field is a Header, and the length of the third field is 2 bytes;
the fourth field is AdvA, and the length is 6 bytes;
the fifth field is AdvD, and the length of the fifth field is 0-31 bytes;
the sixth field is a cyclic redundancy check and has the length of 3 bytes;
the third conversion rule for converting the third frame structure into the target frame structure includes:
the preamble in the target frame structure is: 27 bits to 4 bits of the address in the third frame structure; the lead code in the target frame structure is bit 27-bit 4 in the address of the third frame structure, and is just 3 bytes, and the lead code of 1 byte in the third frame structure does not have specific meaning, so the lead code is ignored in the target frame structure.
The addresses in the target frame structure are: 3 bits to 0 bits of the address in the third frame structure; the new address length of the third frame structure is 4 bits, which is just bit 3-bit 0 in the address inside the third frame structure.
The data in the target frame structure is: adding 2 bytes of Header in a third frame structure, adding 6 bytes of AdvA, and adding 0-31 bytes of AdvD; the data of the target frame structure includes Header (2 bytes) + AdvA (6 bytes) + AdvD (0-31 bytes).
The cyclic redundancy check in the target frame structure is consistent with the cyclic redundancy check of the first frame structure, which is CRC 24.
Referring to fig. 1, further, the system further comprises a state machine (4) for controlling the running state of the whole system. The state machine (4) is respectively connected with the radio frequency front end module (1) and the data compatible processing module (2) and is used for respectively controlling the opening and closing of the radio frequency front end module (1) and the detection submodule (24).
Specifically, the state machine (4) controls the opening and closing of the packet header detection unit (241), the address receiving judgment unit (242), the data receiving unit (243) and the cyclic check unit (244).
Specifically, the data compatible processing module (2) communicates with an external upper computer, namely a controller, through an SPI or I2C protocol.
Specifically, the state machine (4) controls the running state of the radio frequency front end module (1).
Specifically, the system of the invention is applied to the controlled device.
In the application scenario one, for example, the transmitting terminal is a remote controller, and the controlled device is a remote control toy car. The 2.4GHz wireless communication chip of design is used in the toy dolly of remote control, not only can use this toy dolly of remote controller control, also can use this dolly of smart mobile phone control, realizes parent-child's interdynamic.
And in the second application scene, the designed 2.4GHz wireless communication chip is used on the remote control lamp, so that the lamp can be controlled by a remote controller and also can be controlled by a smart phone, and the smart home is realized.
The terminal product can realize the communication with nRF24L01 or 297L of Nordic company, or Bluetooth BLE equipment and Bluetooth of a smart phone only by modifying software. Such new product can not only realize with old product communication compatibility, can also pass through bluetooth BLE equipment or smart mobile phone bluetooth and join the thing networking fast, realize cloud operation.
Referring to fig. 5, the present invention provides a compatible bluetooth baseband receiving method, including the aforementioned compatible bluetooth baseband receiving system, and pre-selecting a conversion rule about a frame structure corresponding to a wireless communication protocol of a transmitting end, including the following steps:
step A1, the radio frequency front end module receives the data packet and converts the data packet into digital signal through analog-to-digital conversion;
step A2, converting the frame structure of the data packet according to the selected conversion rule to form a data packet with a target frame structure;
step A3, checking and storing the converted data packet;
and step A4, acquiring the data frame after the successful inspection, and analyzing the data packet to obtain the control instruction of the transmitting terminal.
Referring to fig. 6, further, the target frame structure includes: the first field is a lead code and is fixed to be 3 bytes; the second field is an address, and the address length is 4-40 bits; the third field is data, and the length of the data is 1-64 bytes; the fourth field is a cyclic redundancy check of 1/2/3 bytes;
step a3 includes:
step a31, obtaining preamble information of the target frame structure, and detecting the preamble of the data packet:
if the preamble information is not detected, packet loss processing is performed, and the step A31 is returned;
detecting the preamble information, continuing with step a 32;
step a32, receiving the address information of the target frame structure, and determining whether the address information is correct:
if so, continuing to step A33;
if not, the packet loss processing is carried out, and the step A31 is returned;
step a33, receiving and storing the data information of the target frame structure, and receiving the cyclic redundancy check information of the target frame structure, and performing cyclic redundancy check:
if the cyclic redundancy check is correct, continuing to step A4;
if the cyclic redundancy check is incorrect, packet loss processing is carried out, and the step A31 is returned;
step a4 includes: and when the cyclic redundancy check is correct, the controller acquires the data information and analyzes the data information to acquire a control instruction of the transmitting terminal.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.

Claims (10)

1. A Bluetooth baseband receiving system with compatibility, applied to a receiving end, for implementing data communication between the receiving end and a transmitting end having different wireless communication protocols, is characterized by comprising:
the radio frequency front end module is used for receiving the data packet and converting the data packet into a digital signal through an analog-to-digital mode;
the data compatible processing module is connected with the radio frequency front-end module, is used for processing the data packet, and comprises:
the configuration submodule configures respective conversion rules for the frame structure of at least one wireless communication protocol in advance to form a uniform target frame structure;
the selection submodule is connected with the configuration submodule and presets the corresponding conversion rule based on the wireless communication protocol of the transmitting terminal;
the conversion sub-modules are respectively connected with the selection sub-modules and are used for converting the frame structure of the data packet according to the selected conversion rule to form the data packet with the target frame structure;
the detection submodule is connected with the conversion submodule and is used for checking and storing the converted data packet;
and the controller is connected with the data compatible processing module and used for acquiring the data packet after the successful inspection, analyzing the data packet and acquiring the control instruction of the transmitting terminal.
2. The compatible bluetooth baseband receiving system according to claim 1, wherein said target frame structure comprises:
the first field is a lead code and is fixed to be 3 bytes;
the second field is an address, and the address length is 4-40 bits;
the third field is data, and the length of the data is 1-64 bytes;
the fourth field is a cyclic redundancy check of 1, 2 or 3 bytes.
3. The compatible bluetooth baseband receiving system according to claim 2, wherein said detection sub-module comprises:
a packet header detection unit, configured to acquire preamble information of the target frame structure and detect the preamble of the data packet;
the address receiving and judging unit is connected with the packet header detecting unit and used for receiving the address information of the target frame structure when the lead code is detected and judging whether the address information is correct or not;
the data receiving unit is connected with the address receiving and judging unit and used for receiving the data information of the target frame structure when the address is correct;
the cyclic check unit is connected with the address receiving and judging unit and used for receiving cyclic redundancy check information of the target frame structure and carrying out cyclic redundancy check when the address is correct;
and when the cyclic redundancy check is correct, the controller acquires the data information and analyzes the data information to acquire the control instruction of the transmitting terminal.
4. The compatible bluetooth baseband receiving system according to claim 3, wherein said detection sub-module further comprises:
the first-in first-out storage unit is connected with the data receiving unit and is used for storing the data information;
the reporting unit is connected with the cyclic redundancy check unit and used for sending reporting extraction information to the controller when the cyclic redundancy check is correct;
the controller acquires the data information from the first-in first-out storage unit based on the extraction information.
5. The bluetooth baseband receiving system having compatibility according to claim 2, wherein the first frame structure of the wireless communication protocol of the transmitting end comprises:
the first field is a lead code and is 1 byte in length;
the second field is an address, and the length of the address is 3-5 bytes;
the third field is data, and the length of the data is 1-32 bytes;
the fourth field is a cyclic redundancy check which is 1 or 2 bytes;
the first conversion rule for converting the first frame structure into the target frame structure comprises:
the preamble in the target frame structure is: the preamble of 1 byte in the first frame structure plus the upper 2 bytes of the address;
the address length in the target frame structure is AW 8 bits, the AW represents the address length in the first frame structure, 3 bytes are represented when AW is 1, 4 bytes are represented when AW is 2, and 5 bytes are represented when AW is 3;
the data in the target frame structure is consistent with the data in the first frame structure and is 1-32 bytes;
the cyclic redundancy check in the target frame structure is consistent with the cyclic redundancy check of the first frame structure, being CRC16 or CRC 8.
6. The bluetooth baseband receiving system having compatibility according to claim 2, wherein the second frame structure of the wireless communication protocol of the transmitting end comprises:
the first field is a lead code and has the length of 3 bytes;
the second field is an address, and the length of the address is 3-5 bytes;
the third field is data, and the length of the data is 1-64 bytes;
the fourth field is a cyclic redundancy check which is 1 or 2 bytes;
the second conversion rule for converting the second frame structure into the target frame structure includes:
the lead code in the target frame structure is consistent with the lead code in the second frame structure and is fixed to be 3 bytes;
the address length in the target frame structure is (AW 8) +16 bits, AW representing the address length in the second frame structure, 3 bytes for AW of 1, 4 bytes for AW of 2, and 5 bytes for AW of 3;
the data in the target frame structure is consistent with the data in the second frame structure and is 1-64 bytes;
the cyclic redundancy check in the target frame structure is consistent with a cyclic redundancy check of the second frame structure, being CRC16 or CRC 8.
7. The bluetooth baseband receiving system having compatibility according to claim 2, wherein the third frame structure of the wireless communication protocol of the transmitting end comprises:
the first field is a lead code and is 1 byte in length;
the second field is an address and is 4 bytes in length;
the third field is a Header, and the length of the third field is 2 bytes;
the fourth field is AdvA, and the length is 6 bytes;
the fifth field is AdvD, and the length of the fifth field is 0-31 bytes;
the sixth field is a cyclic redundancy check and has the length of 3 bytes;
a third conversion rule for converting the third frame structure into the target frame structure includes:
the preamble in the target frame structure is: 27-4 bits of said address in said third frame structure;
the address in the target frame structure is: 3-0 bits of the address in the third frame structure;
the data in the target frame structure is: adding 2 bytes of the Header in the third frame structure, adding 6 bytes of the AdvA, and adding 0-31 bytes of the AdvD;
the cyclic redundancy check in the target frame structure is consistent with the cyclic redundancy check of the third frame structure and is CRC 24.
8. The bluetooth baseband receiving system according to claim 2, further comprising a state machine, wherein said state machine is connected to said rf front-end module and said data compatibility processing module, respectively, for controlling the on and off of said rf front-end module and said detection sub-module, respectively.
9. A compatible bluetooth baseband reception method, comprising a compatible bluetooth baseband reception system according to any one of claims 1 to 8, wherein a conversion rule regarding a frame structure corresponding to a wireless communication protocol of a transmitting end is preselected, comprising the steps of:
step A1, the radio frequency front end module receives the data packet and converts the data packet into digital signal through analog-to-digital conversion;
step A2, converting the frame structure of the data packet according to the selected conversion rule to form a data packet with the target frame structure;
step A3, checking and storing the converted data packet;
and A4, acquiring the data packet after the successful inspection, and analyzing the data packet to acquire the control instruction of the transmitting terminal.
10. The compatible bluetooth baseband receiving method according to claim 9, wherein said target frame structure comprises: the first field is a lead code and is fixed to be 3 bytes; the second field is an address, and the address length is 4-40 bits; the third field is data, and the length of the data is 1-64 bytes; the fourth field is a cyclic redundancy check and is 1, 2 or 3 bytes;
the step A3 includes:
step a31, obtaining preamble information of the target frame structure, and detecting the preamble of the data packet:
if the preamble information is not detected, packet loss processing is performed, and the step a31 is returned;
detecting the preamble information, and continuing to step a 32;
step a32, receiving the address information of the target frame structure, and determining whether the address information is correct:
if so, continuing to step A33;
if not, performing packet loss processing, and returning to the step A31;
step a33, receiving and storing the data information of the target frame structure, receiving the cyclic redundancy check information of the target frame structure, and performing cyclic redundancy check:
if the cyclic redundancy check is correct, continuing the step A4;
if the cyclic redundancy check is incorrect, packet loss processing is carried out, and the step A31 is returned;
the step A4 includes: and when the cyclic redundancy check is correct, the controller acquires the data information and analyzes the data information to acquire the control instruction of the transmitting terminal.
CN202110963609.9A 2021-08-20 2021-08-20 Bluetooth baseband receiving system and method with compatibility Pending CN113922923A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110963609.9A CN113922923A (en) 2021-08-20 2021-08-20 Bluetooth baseband receiving system and method with compatibility

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110963609.9A CN113922923A (en) 2021-08-20 2021-08-20 Bluetooth baseband receiving system and method with compatibility

Publications (1)

Publication Number Publication Date
CN113922923A true CN113922923A (en) 2022-01-11

Family

ID=79233205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110963609.9A Pending CN113922923A (en) 2021-08-20 2021-08-20 Bluetooth baseband receiving system and method with compatibility

Country Status (1)

Country Link
CN (1) CN113922923A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6742181B1 (en) * 1998-10-16 2004-05-25 Mitsubishi Denki Kabushiki Kaisha Inter-application data transmitting/receiving system and method
CN105812365A (en) * 2016-03-12 2016-07-27 武汉芯泰科技有限公司 Programmable and reconfigurable frame processor
CN112087441A (en) * 2020-09-03 2020-12-15 郑州信大先进技术研究院 Multi-protocol communication method, intelligent home gateway and multi-protocol communication system
CN112671638A (en) * 2021-01-13 2021-04-16 北京方正数码有限公司 Gateway structure for multi-protocol conversion

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6742181B1 (en) * 1998-10-16 2004-05-25 Mitsubishi Denki Kabushiki Kaisha Inter-application data transmitting/receiving system and method
CN105812365A (en) * 2016-03-12 2016-07-27 武汉芯泰科技有限公司 Programmable and reconfigurable frame processor
US20180375688A1 (en) * 2016-03-12 2018-12-27 Wuhan Syntek Ltd. Programmable and reconfigurable frame processor
CN112087441A (en) * 2020-09-03 2020-12-15 郑州信大先进技术研究院 Multi-protocol communication method, intelligent home gateway and multi-protocol communication system
CN112671638A (en) * 2021-01-13 2021-04-16 北京方正数码有限公司 Gateway structure for multi-protocol conversion

Similar Documents

Publication Publication Date Title
US20080146151A1 (en) Apparatus and method for bluetooth connection in portable terminal
CN102158882B (en) Two-channel data detection and protocol analysis meter based on 6LowPAN and method
US9774529B2 (en) Method and apparatus for transmitting data frame
US9824047B2 (en) Discovery mechanisms for universal serial bus (USB) protocol adaptation layer
CN102291398A (en) Data compression and decompression method, device and system in wireless communication system
AU2019203465B2 (en) Link-fault tolerance in a distributed antenna system
EP2436161B1 (en) Apparatus and method for supporting higher data rates on links with variable frame sizes
US10951262B2 (en) Devices, systems and methods for transmitting protocol configuration information between multi-protocol devices
JP4367479B2 (en) Digital radio station identification method and digital radio station identification apparatus
CN100571285C (en) A kind of identification method of multi-stage far-end wireless device and device
CN113922923A (en) Bluetooth baseband receiving system and method with compatibility
US20180063297A1 (en) Method and apparatus for control frame extension
EP2420936B1 (en) Protocol conversion Communication Device
CN113438633A (en) Communication data processing method, terminal and computer readable storage medium
CN106413115A (en) Wireless communication base station, radio signal processing method and device
US20220248310A1 (en) Communication method, direction-of-arrival estimating method, position estimating method, communication system, direction-of-arrival estimating system, position estimating system, and receiver
CN108400802B (en) Bluetooth receiving method, system and electronic equipment
CN103095344B (en) Set up method and the electronic equipment of wireless transfer channel
EP4132087A1 (en) Electronic device for changing communication frequency on basis of detection of hidden interference and method for operating same
CN104539388B (en) Data transmitting and receiving method and device
CN112910838B (en) Composite protocol analysis method, device, equipment, system and storage medium
CN111181689B (en) Method and system for processing NEST mechanism of simplified DigRF receiving side
CN107295014B (en) Radio station communication protocol conversion method, device and system
CN103179094B (en) Sending, receiving method, sending device and the reception device of IP packet head
CN104902350A (en) Digital interphone and data processing device and data transmitting method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination