CN116567595A - Data processing method and device and electronic equipment - Google Patents

Data processing method and device and electronic equipment Download PDF

Info

Publication number
CN116567595A
CN116567595A CN202210101406.3A CN202210101406A CN116567595A CN 116567595 A CN116567595 A CN 116567595A CN 202210101406 A CN202210101406 A CN 202210101406A CN 116567595 A CN116567595 A CN 116567595A
Authority
CN
China
Prior art keywords
field
data frame
preamble
bits
access code
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
CN202210101406.3A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210101406.3A priority Critical patent/CN116567595A/en
Publication of CN116567595A publication Critical patent/CN116567595A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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/0079Formats for control data
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a data processing method, a data processing device and electronic equipment, and relates to the technical field of communication. The method comprises the following steps: generating a data frame, wherein the data frame comprises a preamble field and an access code field, the value of the last bit in the preamble field is the same as the value of the first bit in the access code field, and the form of the bits in the preamble field is 0/1 alternation; and transmitting the data frame through Bluetooth. In this way, during communication, the transmitting end sets the bit form in the preamble field in the data frame to 0/1 alternation, and sets the value of the last bit in the preamble field to be the same as the value of the first bit in the access code field, so that the receiving end can easily distinguish the preamble field and the access code field in the data frame when acquiring the data frame, thereby accurately processing the content contained in the data frame and reducing the probability of data error processing.

Description

Data processing method and device and electronic equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a data processing method, an apparatus, and an electronic device.
Background
Bluetooth (bluetooth) is a technical specification for short-range wireless communication, and its operating frequency band is generally the globally unified open 2.4GHz industrial, scientific and medical (ISM) frequency band. Bluetooth can be integrated into most devices because of its small size and low power. At present, in the process of transmitting data by utilizing bluetooth, the situation that adjacent data frames are difficult to distinguish often exists, so that data transmission errors occur, and user experience is reduced.
Disclosure of Invention
The application provides a data processing method, a device, electronic equipment, a computer storage medium and a computer program product, which can conveniently distinguish adjacent data frames in the process of transmitting data by utilizing Bluetooth, and reduce the probability of data error processing.
In a first aspect, the present application provides a data processing method, the method including: generating a data frame, wherein the data frame comprises a preamble field and an access code field, the value of the last bit in the preamble field is the same as the value of the first bit in the access code field, and the form of the bits in the preamble field is 0/1 alternation; the data frame is sent via bluetooth.
In this way, the bit form in the preamble field in the data frame is set to 0/1 alternation, and the value of the last bit in the preamble field is set to be the same as the value of the first bit in the access code field, so that the preamble field and the access code field in the data frame can be easily distinguished, the content contained in the data frame can be accurately processed, and the probability of data misprocessing is reduced.
In one possible implementation, the number of bits in the preamble field is 8 bits or 16 bits.
In one possible implementation, the data frame further includes a header field, where the header field includes a rate indication field, and the rate indication field is used to indicate at least one of a modulation mode, a bandwidth, a transmission rate, and a code rate. In this way, the RI field indicates a corresponding modulation mode, bandwidth, transmission rate and/or code rate, so that data to be transmitted can be modulated, transmitted and/or encoded by using different modulation modes, bandwidths, transmission rates and/or code rates, and multiple different MCS levels can be obtained, and multiple transmission rates can be formed in a bluetooth high-speed transmission scene, so that data transmission in the bluetooth high-speed transmission scene can be satisfied.
In one possible implementation, the number of bits in the rate indication field is N bits, N+.3.
In one possible implementation, the preamble field and the access code field are modulated by a modulation scheme of gaussian frequency shift keying GFSK.
In a second aspect, the present application provides a data processing method, the method comprising: the data frame is received through Bluetooth, the data frame comprises a preamble field and an access code field, the value of the last bit in the preamble field is the same as the value of the first bit in the access code field, and the form of the bits in the preamble field is 0/1 alternation.
In one possible implementation, the number of bits in the preamble field is 8 bits or 16 bits.
In one possible implementation, the data frame further includes a header field, where the header field includes a rate indication field, and the rate indication field is used to indicate at least one of a modulation mode, a bandwidth, a transmission rate, and a code rate.
In one possible implementation, the number of bits in the rate indication field is N bits, N+.3.
In one possible implementation, the preamble field and the access code field are modulated by a modulation scheme of gaussian frequency shift keying GFSK.
In a third aspect, the present application provides a data frame structure comprising: a preamble field and an access code field, wherein the value of the last bit in the preamble field is the same as the value of the first bit in the access code field, and the form of the bits in the preamble field is 0/1 alternation.
In one possible implementation, the number of bits in the preamble field is 8 bits or 16 bits.
In one possible implementation, the data frame further includes a header field, where the header field includes a rate indication field, and the rate indication field is used to indicate at least one of a modulation mode, a bandwidth, a transmission rate, and a code rate.
In one possible implementation, the number of bits in the rate indication field is N bits, N+.3.
In a fourth aspect, the present application provides a data processing apparatus, the apparatus comprising: the processing unit is used for generating a data frame, wherein the data frame comprises a preamble field and an access code field, the value of the last bit in the preamble field is the same as the value of the first bit in the access code field, and the form of the bits in the preamble field is 0/1 alternation; and the communication unit is used for sending the data frames.
In one possible implementation, the number of bits in the preamble field is 8 bits or 16 bits.
In one possible implementation, the data frame further includes a header field, where the header field includes a rate indication field, and the rate indication field is used to indicate at least one of a modulation mode, a bandwidth, a transmission rate, and a code rate.
In one possible implementation, the number of bits in the rate indication field is N bits, N+.3.
In one possible implementation, the preamble field and the access code field are modulated by a modulation scheme of gaussian frequency shift keying GFSK.
In a fifth aspect, the present application provides a data processing apparatus, the apparatus comprising: and the communication unit is used for receiving the data frame, the data frame comprises a preamble field and an access code field, the value of the last bit in the preamble field is the same as the value of the first bit in the access code field, and the form of the bits in the preamble field is 0/1 alternation.
In one possible implementation, the number of bits in the preamble field is 8 bits or 16 bits.
In one possible implementation, the data frame further includes a header field, where the header field includes a rate indication field, and the rate indication field is used to indicate at least one of a modulation mode, a bandwidth, a transmission rate, and a code rate.
In one possible implementation, the number of bits in the rate indication field is N bits, N+.3.
In one possible implementation, the preamble field and the access code field are modulated by a modulation scheme of gaussian frequency shift keying GFSK.
In a sixth aspect, the present application provides an electronic device control apparatus, including: at least one memory for storing a program; at least one processor for executing a memory-stored program, the processor being for performing the method as provided in the first or second aspect when the memory-stored program is executed.
In a seventh aspect, the present application provides an electronic device comprising at least one memory for storing a program and at least one processor for executing the program stored in the memory. Wherein the processor is adapted to perform the method as provided in the first or second aspect, when the program stored in the memory is executed.
In an eighth aspect, the present application provides a computer readable storage medium storing a computer program which, when run on an electronic device, causes the electronic device to perform the method as provided in the first or second aspect.
In a ninth aspect, the present application provides a computer program product for, when run on an electronic device, causing the electronic device to perform the method as provided in the first or second aspect.
It will be appreciated that the advantages of the second to ninth aspects may be found in the relevant description of the first aspect, and are not described here again.
Drawings
Fig. 1 is a schematic structural diagram of a data frame according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a preamble and an access code in a data frame according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a preamble and an access code in another data frame according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another data frame according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of yet another data frame according to an embodiment of the present application;
fig. 6 is a process schematic diagram of a data processing method according to an embodiment of the present application.
Detailed Description
The term "and/or" herein is an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. The symbol "/" herein indicates that the associated object is or is a relationship, e.g., A/B indicates A or B.
The terms "first" and "second" and the like in the description and in the claims are used for distinguishing between different objects and not for describing a particular sequential order of objects. For example, the first response message and the second response message, etc. are used to distinguish between different response messages, and are not used to describe a particular order of response messages.
In the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality of" means two or more, for example, a plurality of processing units means two or more processing units and the like; the plurality of elements means two or more elements and the like.
Illustratively, when the bluetooth low energy (bluetooh low energy, BLE) protocol is used to transmit data over bluetooth, it is generally necessary to modulate the data to be transmitted using gaussian frequency shift keying (gauss frequency shift keying, GFSK) to obtain a data frame and transmit the data frame to other receiving devices. Here, the GFSK modulation scheme is represented by 0 or 1 using different frequencies. Typically, increasing the frequency by a specific value represents 1, whereas decreasing the frequency by a specific value represents 0. Since GFSK is a representation of information by frequency variation, and bluetooth devices require power to participate in frequency conversion, the frequency variation of GFSK in the definition of existing bluetooth needs to be maintained at a small value to meet the performance of using low cost devices. However, the frequency modulation index of the signal is not accurately estimated in the actual transmission process, and the temperature of the hardware is affected by the frequency conversion, so that after a certain time, the temperature of the bluetooth device is changed, and accurate estimation cannot be performed at the receiving end. In order to avoid the occurrence of the situation, the preamble of the frame structure can be designed to adopt a mode of 0 and 1 alternation in the application, so that the amplitude of frequency change is improved, the influence of the Bluetooth device along with the change of temperature is reduced, the probability of unclear preamble caused by phase ambiguity in the transmission process is reduced, and the transmission performance of the data frame is improved.
The structure of a data frame obtained by GFSK modulation may be shown in fig. 1, for example. In fig. 1, a preamble (preamble) is mainly used to identify data of each frame, and may also be considered as separating two data frames, where the length of the preamble is related to bluetooth performance, and the longer the preamble, the clearer the distinction between frames, but the longer the delay. The shorter the preamble, the lower the delay, but the more ambiguous the frame-to-frame distinction. Illustratively, the preamble in fig. 1 may be an 8-bit alternating sequence, such as 01010101 or 10101010. The sequence of bits in the preamble is mainly dependent on the first bit of the access code, wherein the last bit in the preamble is different from the first bit in the access code, for example: if the first bit of the access code is 0, the bit sequence in the preamble is 01010101, and if the first bit of the access code is 1, the bit sequence in the preamble is 10101010. The preamble may also be 16 bits in some embodiments, or other bits.
An Access Code (AC) is mainly used for a receiving device to identify a received packet. The access code may be a 68 or 72 bit field.
Protocol data units (protocol data unit, PDUs) mainly refer to data units transferred between peer layers. The protocol data unit may include a header (header), a data length, data, and the like.
The check code is mainly used for detecting errors of data transmission. Illustratively, the check code may be a cyclic redundancy check code (cyclic redundancy check, CRC).
With continued reference to fig. 1, since the last bit in the preamble is specified in the BLE protocol to be different from the first bit in the access code, and the 0/1 alternating pattern is employed in the preamble. This therefore makes it difficult to distinguish between the preamble and the access code, thereby resulting in difficulty in distinguishing two data frames, causing data identification errors. For example, as shown in fig. 2, the bit sequence in the preamble is "01010101", the first bit in the access code is "0", and when the preamble is identified, 0 and 1 that alternately appear can be used as bits in the preamble, which makes it easy to treat the first bit in the access code as the bit in the preamble, thereby causing data identification errors.
To facilitate distinguishing between the preamble and the access code in a data frame when transmitting data using bluetooth, the last bit in the preamble and the first bit in the access code are set to the same value, i.e., are the same in the embodiments of the present application. For example, as shown in fig. 3 (a), if the bit sequence in the preamble is "01010101", the first bit in the access code is 1; as shown in fig. 3 (B), if the bit sequence in the preamble is "10101010", the first bit in the access code is 0. Because the bit sequence in the preamble is in 0/1 alternating form, when 0/1 alternation does not occur, the recognition of the preamble is ended, and the recognition of the access code is started at the moment, so that the preamble and the access code can be conveniently distinguished, two adjacent data frames can be easily distinguished, and the error rate of data recognition is reduced.
In some embodiments, to meet the scenario of bluetooth high speed transmission, for example: a scenario of increasing the bluetooth transmission rate may also be where the number of bits in the preamble is increased, e.g. from 8 bits to 16 bits, etc., to ensure differentiation for longer data frame transmissions.
In some embodiments, when bluetooth transmits data, a fixed rate (such as 2Mbps or 4 Mbps) is often used for data transmission, so that in the process of modulating and encoding data to be transmitted, only the data needs to be encoded and/or modulated according to the fixed rate and/or modulation mode. However, in the bluetooth HDT scenario, since the scenario supports multiple different modulation and coding schemes (modulation and scheme, MCS) levels, multiple transmission rates exist in the scenario, which makes it difficult for the current transmission scheme to satisfy the bluetooth HDT scenario. To solve this problem, in the embodiment of the present application, a Rate Indicator (RI) field is added to the data frame. The RI field is mainly used to indicate a modulation scheme, a bandwidth, a transmission rate, and/or a code rate. The RI field is used for indicating a modulation mode, bandwidth, transmission rate and/or code rate required by the transmission, so that data to be transmitted can be modulated, transmitted and/or encoded by using different modulation modes, bandwidths, transmission rates and/or code rates, and a plurality of different MCS levels can be obtained, so that a plurality of transmission rates can be formed in a Bluetooth HDT scene, and data transmission in the Bluetooth HDT scene can be satisfied. In addition, through the RI field, the purpose of changing the speed and/or the modulation mode under the condition of not using signaling participation can be achieved, and the convenience of data transmission is improved.
By way of example, fig. 4 shows a structure of a data frame. As shown in fig. 4, the data frame mainly includes: a preamble, an access code AC, a protocol data unit PDU and a check code CRC. The protocol data unit PDU mainly includes a header (header) and a data payload (payload). The header (header) mainly includes a rate indication RI field, an expected sequence number (next expected sequence number, NESN), a Sequence Number (SN), and a header error control (hybrid error correction, HEC) field.
The RI field is used to indicate the modulation mode and code rate of the subsequent data. By way of example, table 1 provides one possible way to indicate MCS level through RI field under fixed bandwidth. In Table 1, possible choices for the RI field include 8 combinations from 2Mbps to 8 Mbps. QPSK in Table 1 is quadrature phase shift keying (quadrature phase shift keying), 8PSK is 8phase shift keying (8 phase shift keying), and 16QAM is quadrature amplitude modulation (quadrature amplitude modulation). In table 1, in the first combination, the transmission rate is 2Mbps, the modulation scheme is QPSK, the code rate is 1/2, and the content of ri field is 000. It will be appreciated that since table 1 is at a fixed bandwidth, no indication of bandwidth may be required.
TABLE 1
RI Rate (Mbps) Modulation of Code rate Content of RI field
0 2 QPSK 1/2 000
1 3 QPSK 3/4 001
2 4 QPSK 1 010
3 5 8PSK 5/6 011
4 6 8PSK 1 100
5 6 16QAM 3/4 101
6 7 16QAM 7/8 110
7 8 16QAM 1 111
By way of example, table 2 provides one possible way to indicate MCS level through RI field under variable bandwidth. In table 2, the bit width of the RI field may be, but is not limited to, 4 bits, which are expressed as: x (indicating bandwidth) XXX (indicating modulation scheme and code rate), table 2 only lists one possible RI field representation, for example, 0XXX for bandwidth 2,1XXX for bandwidth 4. Wherein the bit width of the indication of the MCS level, etc. may be more expressive for the bandwidth. In table 2, in the first combination, the bandwidth is 2, the transmission rate is 2Mbps, the modulation scheme is QPSK, the code rate is 1/2, and the ri field content is 0000. It will be appreciated that since table 2 is under variable bandwidth, the indicated bandwidth is required; further, in this case, bluetooth can support a variety of bandwidths.
TABLE 2
The expected sequence number NESN is mainly used to indicate the sequence number of the next data frame. The sequence number SN is mainly used to indicate the sequence number of consecutive frames. The header error control HEC field is mainly used to provide error detection and correction information about the bit errors.
By way of example, fig. 5 shows another data frame structure. As shown in fig. 5, the data frame includes a preamble (preamble), an Access Code (AC), a header (header), a guard interval (guard), a synchronization code (Sync), a data payload (payload), a check code (CRC), and a trailer (trailer). Wherein, the header (header) may include: RI field, expected sequence number NESN, sequence number SN, header error control HEC field, and zero padding field (zero padding). Illustratively, a preamble, an Access Code (AC), and a header (header) may be transmitted by GFSK modulation; a synchronization code (Sync), a data load (payload), and a check code (CRC) may be transmitted through a modulation scheme, a bandwidth, a transmission rate, and a code rate indicated by an RI field in a header, that is, through a bandwidth and an MCS indicated by the RI field.
It should be understood that the structure of the data frame illustrated in the embodiments of the present application does not constitute a specific limitation on the data frame. In other embodiments of the present application, the data frame may include more or fewer fields than those illustrated above.
A data processing method provided in the present application is next described based on the above description.
By way of example, fig. 6 shows a flow diagram of a data processing method. In fig. 6, a bluetooth module may be configured in both the first device and the second device so that communication between the two may be performed through bluetooth. For example, the bluetooth communication scenario between the first device and the second device may be a bluetooth high speed transmission scenario. By way of example, the first device and the second device may each be, but are not limited to, an electronic device such as a cell phone, a television, a computer, etc. As shown in fig. 6, the data processing method may include the steps of:
s601, the first device generates a data frame, wherein the data frame comprises a preamble field and an access code field, the value of the last bit in the preamble field is the same as the value of the first bit in the access code field, and the form of the bits in the preamble field is 0/1 alternation.
Specifically, when the first device generates the data frame, the preamble, the access code and the header in the data frame can be generated through the modulation mode of GFSK, and the data to be transmitted is processed according to the modulation mode, bandwidth, transmission rate and/or code rate and the like which are preset or obtained in other modes (such as determined by the transmission quality of a channel or determined by an upper layer protocol) so as to generate the data in the data frame. The data frame comprises a preamble field and an access code field, the value of the last bit in the preamble field is the same as the value of the first bit in the access code field, and the bits in the preamble field are in 0/1 alternation. Illustratively, the preamble field may be understood as the preamble described above and the access code field may be understood as the access code described above. Illustratively, the data frame may further include therein the data protocol unit PDU described above.
S602, the first device sends a data frame.
Specifically, after the first device generates the data frame, the data frame may be sent to the second device through bluetooth thereon.
S603, the second device receives the data frame.
Specifically, after the first device transmits a data frame to the second device through bluetooth, the second device may receive the data frame through bluetooth thereon. Illustratively, when receiving a data frame, the second device may distinguish the data frame from the previous data frame by a preamble and an access code in the data frame.
Therefore, when the first device and the second device communicate, the first device sets the bit form in the preamble field in the data frame sent by the first device to be 0/1 alternately, and sets the value of the last bit in the preamble field to be the same as the value of the first bit in the access code field, so that the second device can easily distinguish the preamble field and the access code field in the data frame when acquiring the data frame, thereby accurately processing the content contained in the data frame and reducing the probability of data error processing.
In some embodiments, the number of bits in the preamble field may be 16 bits to ensure differentiation for longer data frame transmissions.
In some embodiments, the first device may further include a header field (which may be understood as the header described above) in the data frame generated by the first device, and the header field may include the rate indication RI field described above. In this way, the RI field is used to indicate the corresponding modulation mode, bandwidth, transmission rate and/or code rate, so that data to be transmitted can be modulated, transmitted and/or encoded by using different modulation modes, bandwidths, transmission rates and/or code rates, and multiple different MCS levels can be obtained, and multiple transmission rates can be formed in a bluetooth high-speed transmission scene, so that data transmission in the bluetooth high-speed transmission scene can be satisfied. For example, when receiving a data frame, the second device may further obtain a corresponding modulation mode, bandwidth, transmission rate and/or code rate according to an RI field in a header field in the data frame, and further may receive and process the data frame according to the corresponding modulation mode, receiving bandwidth and/or decoding rate, so as to obtain required data.
Based on the method in the above embodiment, the present application further provides a data processing device. The apparatus may include: a processing unit and a communication unit. The processing unit is used for generating a data frame, the data frame comprises a preamble field and an access code field, the value of the last bit in the preamble field is the same as the value of the first bit in the access code field, and the form of the bits in the preamble field is 0/1 alternation. And the communication unit is used for sending the data frames. The processing unit may be a processor, and the communication unit may be a bluetooth module, for example.
In one embodiment, the number of bits in the preamble field is 8 bits or 16 bits.
In one embodiment, the data frame further includes a header field, where the header field includes a rate indication field, and the rate indication field is used to indicate at least one of a modulation mode, a bandwidth, a transmission rate, and a code rate.
In one embodiment, the number of bits in the rate indication field is N bits, N+.3.
In one embodiment, the preamble field and the access codeword field are modulated by a modulation scheme of gaussian frequency shift keying GFSK.
It should be understood that, the foregoing apparatus is used to perform the method in the foregoing embodiment, and corresponding program modules in the apparatus implement principles and technical effects similar to those described in the foregoing method, and reference may be made to corresponding processes in the foregoing method for the working process of the apparatus, which are not repeated herein.
Based on the method in the above embodiment, the present application also provides another data processing apparatus. The apparatus may include: and a communication unit. The communication unit may be configured to receive a data frame comprising a preamble field and an access code field, a value of a last bit in the preamble field being the same as a value of a first bit in the access code field, and a morphology of bits in the preamble field being 0/1 alternation. The communication unit may be, for example, a bluetooth module.
In one embodiment, the number of bits in the preamble field is 8 bits or 16 bits.
In one embodiment, the data frame further includes a header field, where the header field includes a rate indication field, and the rate indication field is used to indicate at least one of a modulation mode, a bandwidth, a transmission rate, and a code rate.
In one embodiment, the number of bits in the rate indication field is N bits, N+.3.
In one embodiment, the preamble field and the access codeword field are modulated by a modulation scheme of gaussian frequency shift keying GFSK.
It should be understood that, the foregoing apparatus is used to perform the method in the foregoing embodiment, and corresponding program modules in the apparatus implement principles and technical effects similar to those described in the foregoing method, and reference may be made to corresponding processes in the foregoing method for the working process of the apparatus, which are not repeated herein.
It is to be appreciated that the processor in embodiments of the present application may be a central processing unit (central processing unit, CPU), but may also be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate arrays (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general purpose processor may be a microprocessor, but in the alternative, it may be any conventional processor.
The method steps in the embodiments of the present application may be implemented by hardware, or may be implemented by a processor executing software instructions. The software instructions may be comprised of corresponding software modules that may be stored in random access memory (random access memory, RAM), flash memory, read-only memory (ROM), programmable ROM (PROM), erasable programmable PROM (EPROM), electrically erasable programmable EPROM (EEPROM), registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted across a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
It will be appreciated that the various numerical numbers referred to in the embodiments of the present application are merely for ease of description and are not intended to limit the scope of the embodiments of the present application.

Claims (19)

1. A method of data processing, the method comprising:
generating a data frame, wherein the data frame comprises a preamble field and an access code field, the value of the last bit in the preamble field is the same as the value of the first bit in the access code field, and the form of the bits in the preamble field is 0/1 alternation;
and transmitting the data frame through Bluetooth.
2. The method of claim 1, wherein the number of bits in the preamble field is 8 or 16 bits.
3. The method according to claim 1 or 2, wherein the data frame further comprises a header field, and the header field comprises a rate indication field, and the rate indication field is used for indicating at least one of a modulation mode, a bandwidth, a transmission rate and a code rate.
4. A method according to claim 3, wherein the number of bits in the rate indication field is N bits, N being ≡3.
5. The method according to any one of claims 1-4, wherein the preamble field and the access codeword section are modulated by means of gaussian frequency shift keying GFSK.
6. A method of data processing, the method comprising:
and receiving a data frame through Bluetooth, wherein the data frame comprises a preamble field and an access code field, the value of the last bit in the preamble field is the same as the value of the first bit in the access code field, and the form of the bits in the preamble field is 0/1 alternation.
7. The method of claim 6, wherein the number of bits in the preamble field is 8 bits or 16 bits.
8. The method according to claim 6 or 7, wherein the data frame further comprises a header field, and the header field comprises a rate indication field, and the rate indication field is used for indicating at least one of a modulation mode, a bandwidth, a transmission rate and a code rate.
9. The method of claim 8, wherein the number of bits in the rate indication field is N bits, N being ≡3.
10. The method according to any of claims 6-9, wherein the preamble field and the access code field are modulated by means of gaussian frequency shift keying GFSK.
11. A data frame structure comprising: a preamble field and an access code field, wherein the value of the last bit in the preamble field is the same as the value of the first bit in the access code field, and the form of the bits in the preamble field is 0/1 alternation.
12. The data frame structure of claim 11, wherein the number of bits in the preamble field is 8 or 16 bits.
13. The data frame structure according to claim 11 or 12, further comprising a header field, wherein the header field includes a rate indication field, and wherein the rate indication field is used to indicate at least one of a modulation scheme, a bandwidth, a transmission rate, and a code rate.
14. The data frame structure of claim 13, wherein the number of bits in the rate indication field is N, N being ≡3.
15. A data processing apparatus, the apparatus comprising:
a processing unit, configured to generate a data frame, where the data frame includes a preamble field and an access code field, a value of a last bit in the preamble field is the same as a value of a first bit in the access code field, and a bit in the preamble field is in 0/1 alternation;
and the communication unit is used for sending the data frame.
16. A data processing apparatus, the apparatus comprising:
a communication unit, configured to receive a data frame, where the data frame includes a preamble field and an access code field, a value of a last bit in the preamble field is the same as a value of a first bit in the access code field, and a bit in the preamble field is in 0/1 alternation.
17. An electronic device, comprising
At least one memory for storing a program;
at least one processor for executing the programs stored in the memory;
wherein the processor is adapted to perform the method of any of claims 1-5 or to perform the method of any of claims 6-10 when the program stored by the memory is executed.
18. A computer readable storage medium storing a computer program which, when run on an electronic device, causes the electronic device to perform the method of any one of claims 1-5 or to perform the method of any one of claims 6-10.
19. A computer program product, characterized in that the computer program product, when run on an electronic device, causes the electronic device to perform the method according to any of claims 1-5 or to perform the method according to any of claims 6-10.
CN202210101406.3A 2022-01-27 2022-01-27 Data processing method and device and electronic equipment Pending CN116567595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210101406.3A CN116567595A (en) 2022-01-27 2022-01-27 Data processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210101406.3A CN116567595A (en) 2022-01-27 2022-01-27 Data processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116567595A true CN116567595A (en) 2023-08-08

Family

ID=87498758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210101406.3A Pending CN116567595A (en) 2022-01-27 2022-01-27 Data processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN116567595A (en)

Similar Documents

Publication Publication Date Title
US11736247B2 (en) Identification of packet traffic transmitted by various devices operated in multiple overlapped frequency bands in packet-based OFDM systems
EP3606242B1 (en) Data transmission method and apparatus
US7729234B2 (en) Apparatus and method for transmitting uplink control information in OFDMA communication systems
CN111342941B (en) Configuration method and equipment of feedback control channel
US8315240B2 (en) Enhanced uplink rate indicator
US9130712B2 (en) Physical channel segmentation in wireless communication system
US20050265227A1 (en) Method and apparatus for transmitting uplink fast feedback information in an OFDMA communication system
US8094749B2 (en) Signaling format for wireless communications
KR101901211B1 (en) Modulation and coding schemes in sub-1 ghz networks
KR102662470B1 (en) System and method for interleaving distributed crc in polar codes for early termination
CN110166168B (en) Method, device and system for determining size of transmission block
CN108632003A (en) A kind of information transferring method and device
US11917645B2 (en) Determination of start time of PDCCH monitoring occasion
US20050169261A1 (en) Method of signaling the length of OFDM WLAN packets
WO2018106001A1 (en) Method and device for transmitting control information by using polar code
JP4299854B2 (en) Communications system
EP1054526A1 (en) Method and apparatus for link adaptation in telecommunications networks
US9337957B2 (en) Method and device for interleaving processing in a WLAN system
CN116567595A (en) Data processing method and device and electronic equipment
CN111801965B (en) Transmission power control
JP2005012454A (en) Radio communication device
CN111865519B (en) V2X communication method and device
CN109391393A (en) A kind of method and apparatus of transmission control information
JP2000101536A (en) Communication equipment
CN117040990A (en) Subcarrier table updating and using method based on OFDM wired carrier communication

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