CN110418320B - Data communication method, device and computer readable storage medium - Google Patents

Data communication method, device and computer readable storage medium Download PDF

Info

Publication number
CN110418320B
CN110418320B CN201910644193.7A CN201910644193A CN110418320B CN 110418320 B CN110418320 B CN 110418320B CN 201910644193 A CN201910644193 A CN 201910644193A CN 110418320 B CN110418320 B CN 110418320B
Authority
CN
China
Prior art keywords
data
pdu
initial
aoa
whitening
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.)
Active
Application number
CN201910644193.7A
Other languages
Chinese (zh)
Other versions
CN110418320A (en
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.)
Shenzhen Yaoguang Technology Co ltd
Original Assignee
Shenzhen Yaoguang Technology 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 Shenzhen Yaoguang Technology Co ltd filed Critical Shenzhen Yaoguang Technology Co ltd
Priority to CN201910644193.7A priority Critical patent/CN110418320B/en
Publication of CN110418320A publication Critical patent/CN110418320A/en
Application granted granted Critical
Publication of CN110418320B publication Critical patent/CN110418320B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • H04L1/0007Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings

Landscapes

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

Abstract

According to the data communication method, the device and the computer readable storage medium disclosed by the embodiment of the invention, the preset bit in the initial PDU payload is replaced by a special field to obtain the target PDU payload; whitening the whole target PDU payload, wherein the special field generates continuous bit strings with the same logic state after whitening, and generates angle of arrival (AOA) data based on the whitened target PDU payload; and sending the AOA data to the data receiving terminal based on the Bluetooth communication connection with the data receiving terminal so as to perform AOA calculation. By implementing the invention, a special field which can be whitened into a continuous bit string is generated in the PDU payload by an algorithm, does not need to depend on the configuration of a hardware layer, and has wider applicability on different kinds of Bluetooth equipment.

Description

Data communication method, device and computer readable storage medium
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a data communication method, an apparatus, and a computer-readable storage medium.
Background
With the development of wireless communication technology, the indoor positioning technology has made a major breakthrough, and AOA (Angle of Arrival) positioning is a two-base station positioning method, and performs positioning based on the incident Angle of a signal.
In order to satisfy AOA communication, the transmitting-end data must generate modulated continuous bit strings to transmit continuous waveforms over the air; if the PDU valid data does not satisfy the characteristics of the continuous bit string after whitening, the continuous waveform cannot be transmitted. Currently, to implement the transmitter data to generate modulated continuous bit strings, the PDU payload is usually modified, a supplemental field with continuous bit strings is added, and then the supplemental field is controlled by the hardware layer to remain unwhitened, so that continuous waveforms are transmitted over the radio, satisfying AOA communications. Therefore, the AOA communication mode has high dependence on a hardware layer, and is limited in applicability on different types of Bluetooth equipment.
Disclosure of Invention
Embodiments of the present invention mainly aim to provide a data communication method, an apparatus, and a computer-readable storage medium, which can at least solve the problems in the related art that a hardware layer control supplementary field is kept in an unwhited state to transmit a continuous waveform, so that the dependence on the hardware layer is high, and the applicability on different types of bluetooth devices is limited.
In order to achieve the above object, a first aspect of the embodiments of the present invention provides a data communication method, including:
generating an initial protocol data unit PDU; wherein the initial PDU comprises an initial PDU header and an initial PDU payload;
replacing a preset bit in the initial PDU payload with a special field to obtain a target PDU payload; wherein the special field generates a continuous bit string with the same logic state after being subjected to whitening processing;
whitening the whole target PDU payload, and generating angle of arrival (AOA) data based on the whitened target PDU payload;
based on Bluetooth communication connection with a data receiving terminal, the AOA data is sent to the data receiving terminal; wherein the AOA data is used for the data receiving terminal to perform AOA calculation according to the contained continuous bit string.
To achieve the above object, a second aspect of an embodiment of the present invention provides a data communication apparatus, including:
a generating module, configured to generate an initial protocol data unit PDU; wherein the initial PDU comprises an initial PDU header and an initial PDU payload;
a replacement module, configured to replace a preset bit in the initial PDU payload with a special field to obtain a target PDU payload; wherein the special field generates a continuous bit string with the same logic state after being subjected to whitening processing;
a whitening module, configured to perform whitening processing on the entire target PDU payload and generate angle of arrival AOA data based on the whitened target PDU payload;
the sending module is used for sending the AOA data to a data receiving terminal based on Bluetooth communication connection with the data receiving terminal; wherein the AOA data is used for the data receiving terminal to perform AOA calculation according to the contained continuous bit string.
To achieve the above object, a third aspect of embodiments of the present invention provides an electronic apparatus, including: a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of any of the data communication methods described above.
To achieve the above object, a fourth aspect of the embodiments of the present invention provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of any one of the data communication methods described above.
According to the data communication method, the data communication device and the computer readable storage medium, provided by the embodiment of the invention, the preset bit in the initial PDU payload is replaced by a special field to obtain a target PDU payload; whitening the whole target PDU payload, wherein the special field generates continuous bit strings with the same logic state after whitening, and generates angle of arrival (AOA) data based on the whitened target PDU payload; and sending the AOA data to the data receiving terminal based on the Bluetooth communication connection with the data receiving terminal so as to perform AOA calculation. By implementing the invention, a special field which can be whitened into a continuous bit string is generated in the PDU payload by an algorithm, does not need to depend on the configuration of a hardware layer, and has wider applicability on different kinds of Bluetooth equipment.
Other features and corresponding effects of the present invention are set forth in the following portions of the specification, and it should be understood that at least some of the effects are apparent from the description of the present invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is an architecture diagram of a wireless communication system according to a first embodiment of the present invention;
fig. 2 is a basic flowchart of a data communication method according to a first embodiment of the present invention;
fig. 3 is a schematic diagram of a PDU structure after replacing a special field according to a first embodiment of the present invention;
FIG. 4 is a basic flowchart of a special field replacement method according to a first embodiment of the present invention;
FIG. 5 is a diagram illustrating the structure of AOA data provided by the first embodiment of the present invention;
fig. 6 is a detailed flowchart of a data communication method according to a second embodiment of the present invention;
fig. 7 is a schematic structural diagram of a data communication device according to a third embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to a fourth embodiment of the invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent 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.
The first embodiment:
fig. 1 is an architecture diagram of a wireless communication system provided in this embodiment, and the wireless communication system includes a data transmitting terminal and a data receiving terminal, where the data transmitting terminal can be understood as a tag, and the data receiving terminal is a locator. The data transmitting terminal has a bluetooth transceiver coupled to a single transmitting antenna, the data receiving terminal has an antenna array coupled to the bluetooth transceiver, and the data receiving terminal has an AOA estimation module coupled to the bluetooth transceiver.
In order to solve the technical problems in the related art that the dependence on a hardware layer is high and the applicability on different types of bluetooth devices is limited due to the fact that a supplementary field is controlled by the hardware layer to keep an unwhitened state to transmit a continuous waveform, the present embodiment provides a data communication method, which is applied to a data transmission terminal, and as shown in fig. 2, the data communication method provided by the present embodiment is a basic flow diagram of the data communication method provided by the present embodiment, and includes the following steps:
step 201, generating an initial protocol data unit PDU; wherein the initial PDU includes an initial PDU header and an initial PDU payload.
Specifically, a Protocol Data Unit (PDU) in this embodiment refers to a Data Unit transferred between equal layers, and the PDU includes two parts, namely a PDU header and a PDU payload.
Optionally, generating the initial PDU includes: receiving an AOA data request sent by a data receiving terminal; based on the AOA data request, a corresponding initial PDU is generated.
Specifically, in this embodiment, the data sending terminal executes the algorithm of this embodiment in response to the AOA data request sent by the data receiving terminal, but of course, in some other embodiments, PDU generation may be triggered according to a clock inside the data sending terminal, that is, the algorithm of this embodiment is executed when a preset time node is reached.
Step 202, replacing a preset bit in the initial PDU payload with a special field to obtain a target PDU payload; wherein the special field generates a continuous bit string having the same logic state after being subjected to whitening processing.
Specifically, as shown in fig. 3, which is a schematic diagram of a PDU structure after replacing a special field provided in this embodiment, a special field is used to replace a part of data bits in an original PDU payload, wherein after whitening, the special field is converted into a bit string with the same logic state, for example, a consecutive "1" bit string or a consecutive "0" bit string. The continuous bit string of the same logic state is modulated by the modulator, so that the data transmitting terminal can transmit a continuous waveform to satisfy the AOA communication, and the data receiving terminal can use the continuous waveform to perform AOA estimation.
Optionally, replacing the preset bits in the initial PDU payload with special fields includes: and replacing the preset bit at the tail position of the initial PDU payload into a special field.
Specifically, in this embodiment, in order to conveniently modulate the continuous bit string, when the special field is replaced into the PDU payload, the bit at the end position in the PDU payload, that is, the bit at the inverse number, may be selected to be replaced. Of course, in other alternative embodiments, the bit at the start position of the PDU payload may be replaced, or even the bit at the middle position of the PDU payload may be replaced. Thus, replacing the predetermined bit of the PDU payload end position with a special field should be a preferred implementation and should not be construed as the only implementation.
As shown in fig. 4, which is a flowchart of the special field replacing method provided in this embodiment, optionally, when the preset bit in the initial PDU payload is replaced with the special field to obtain the target PDU payload, the method specifically includes the following steps:
step 401, replacing a preset bit in an initial PDU payload with an initial field;
step 402, performing overall whitening on the PDU payload obtained after replacing the initial field, and replacing all bits in the whitened initial field with continuous bit strings with the same logic state;
step 403, performing overall inverse whitening on the PDU payload obtained after replacing the continuous bit string to obtain a target PDU payload; wherein, the special field is generated after the continuous bit string with the same logic state is whitened reversely.
Specifically, in this embodiment, an original PDU payload is replaced to obtain an initial field, then the whole PDU payload including the initial field is whitened, the corresponding bit of the initial field is replaced with a continuous bit string having the same logic state in the whitened whole field, and then the whole field is whitened in an inverse manner, so as to obtain a PDU payload including a special field.
And 203, whitening the whole target PDU payload, and generating the AOA data based on the whitened target PDU payload.
Specifically, unlike the prior art in which whitening is implemented by a hardware layer only on the part of the PDU payload excluding the consecutive bit string, in the present embodiment, the entire PDU payload replaced with the special field is whitened (i.e., randomized), wherein the data in the PDU payload becomes whitened data, and the part of the special field is whitened into the consecutive bit string with the same logic state. Fig. 5 is a schematic structural diagram of AOA data provided in this embodiment, in which a preamble and an access address with a preset number of bits are sequentially added before a PDU, the PDU includes a header and a whitened PDU payload with a continuous bit string, and a Check field is further disposed after the PDU and is used for performing Cyclic Redundancy Check (CRC) on the PDU payload.
It should be noted that, a length field may be inserted into a header of the PDU, and a bit number of the length field is associated with a maximum bit number of the allowed PDU, and in addition, CRC may also be inserted into a payload of the PDU in this embodiment, which is not described herein again. In addition, it should be noted that, in practical applications, a step of encrypting the PDU payload may be further included before generating the CRC field.
Optionally, before generating angle-of-arrival AOA data based on the target PDU payload after the whitening processing, the method further includes: replacing a preset bit in the initial PDU header with an indication field to obtain a target PDU header; wherein the indication field is used for indicating the attribute of the continuous bit string.
Specifically, in this embodiment, the initial PDU header is further extended to include an indication field for performing attribute indication on the consecutive bit strings in the whitened payload, where the indication field may be used to indicate at least one of the existence of the consecutive bit strings, the type of the consecutive bit strings, the length of the consecutive bit strings, and the positions of the consecutive bit strings. Of course, it should be understood that the attribute type indicated by the indication field in the present embodiment may have other options in practical applications, depending on practical usage requirements. In addition, in this embodiment, when generating angle-of-arrival AOA data based on the target PDU payload after the whitening processing, the method specifically includes: forming a target PDU through a target PDU header and a target PDU payload after whitening processing; AOA data is generated based on the target PDU.
Step 204, based on the Bluetooth communication connection with the data receiving terminal, sending the AOA data to the data receiving terminal; the AOA data is used for the data receiving terminal to perform AOA calculation according to the contained continuous bit string.
Specifically, in this embodiment, the continuous bit string may enable the data transmitting terminal to transmit a continuous waveform, and then the data receiving terminal may use the continuous waveform to perform AOA estimation. In this embodiment, after receiving AOA data, a data receiving terminal determines an angle of arrival of the AOA data based on a continuous bit string in a PDU payload, that is, when receiving the continuous bit string in the AOA data, switches among a plurality of antennas included in an antenna array of the data receiving terminal; capturing in-phase and quadrature samples of a continuous string of bits; one or more phase differences are calculated based on the in-phase and quadrature sampling results, and an angle of arrival is estimated based on the calculated phase differences. It should also be noted that, as a further alternative, the structure of the AOA data may follow version 4.x of the bluetooth link layer.
According to the data communication method provided by the embodiment of the invention, the preset bit in the initial PDU payload is replaced by a special field to obtain the target PDU payload; whitening the whole target PDU payload, wherein the special field generates continuous bit strings with the same logic state after whitening, and generates angle of arrival (AOA) data based on the whitened target PDU payload; and sending the AOA data to the data receiving terminal based on the Bluetooth communication connection with the data receiving terminal so as to perform AOA calculation. By implementing the invention, a special field which can be whitened into a continuous bit string is generated in the PDU payload by an algorithm, does not need to depend on the configuration of a hardware layer, and has wider applicability on different kinds of Bluetooth equipment.
Second embodiment:
in order to better explain the technical solution of the present invention, the method in fig. 6 is a refined data communication method provided in this embodiment, and the data communication method includes:
601, when receiving an AOA data request sent by a data receiving terminal, generating a corresponding initial PDU based on the AOA data request; the initial PDU includes an initial PDU header and an initial PDU payload.
In this embodiment, a subsequent data communication flow is triggered based on a data receiving terminal sending an AOA data request. Of course, in practical applications, the PDU generation may also be triggered according to an internal clock of the data transmission terminal, that is, the subsequent flow of this embodiment is executed when the preset time node is reached.
Step 602, replacing the preset bits in the initial PDU payload with the initial field.
Step 603, performing overall whitening on the PDU payload obtained after replacing the initial field, and replacing all bits in the whitened initial field with continuous bit strings with the same logic state.
In the present embodiment, the consecutive bit strings having the same logic state may be consecutive "1" bit strings, or consecutive "0" bit strings.
Step 604, performing overall inverse whitening on the PDU payload obtained after replacing the continuous bit string to obtain a target PDU payload comprising a special field; wherein, the special field is generated after the continuous bit string with the same logic state is whitened reversely.
Specifically, in this embodiment, a special field is substituted for a preset bit in the initial PDU payload to obtain the target PDU payload, where the special field generates a continuous bit string with the same logic state after whitening processing, and the whitening and anti-whitening processing here is a reversible process. In addition, in practical applications, the position of the special field in the PDU payload is the end position.
605, whitening the whole target PDU payload, and replacing a preset bit in the initial PDU header with an indication field to obtain a target PDU header; wherein, the indication field is used for indicating the attribute of the continuous bit string generated after the whitening of the special field in the target PDU payload.
Wherein the attribute of the continuous bit string may include at least one of: the presence of a consecutive bit string, the type of consecutive bit string, the length of the consecutive bit string, the location of the consecutive bit string.
Step 606, forming the target PDU with the target PDU header and the whitened target PDU payload, and generating AOA data based on the target PDU.
Step 607, based on the bluetooth communication connection with the data receiving terminal, sending the AOA data to the data receiving terminal; the AOA data is used for the data receiving terminal to perform AOA calculation according to the contained continuous bit string.
In this embodiment, the continuous bit string may enable the data transmitting terminal to transmit a continuous waveform, which may then be used by the data receiving terminal for AOA estimation. In addition, the structure of AOA data in this embodiment may follow version 4.x of the bluetooth link layer.
According to the data communication method provided by the embodiment of the invention, the preset bit in the initial PDU payload is replaced by a special field to obtain the target PDU payload; whitening the whole target PDU payload, wherein the special field generates continuous bit strings with the same logic state after whitening, and generates angle of arrival (AOA) data based on the whitened target PDU payload; and based on the Bluetooth communication connection with the data receiving terminal, the AOA data is sent to the data receiving terminal so as to be used for the data receiving terminal to perform AOA calculation. By implementing the invention, a special field which can be whitened into a continuous bit string is generated in the PDU payload by an algorithm, does not need to depend on the configuration of a hardware layer, and has wider applicability on different kinds of Bluetooth equipment.
The third embodiment:
in order to solve the technical problems in the related art that the dependence on a hardware layer is high and the applicability on different types of bluetooth devices is limited due to the fact that a supplementary field is controlled by the hardware layer to be kept in an unwhited state to transmit a continuous waveform, this embodiment shows a data communication apparatus applied to a data transmission terminal, and referring to fig. 7 specifically, the data communication apparatus of this embodiment includes:
a generating module 701, configured to generate an initial protocol data unit PDU; wherein the initial PDU comprises an initial PDU header and an initial PDU payload;
a replacing module 702, configured to replace a preset bit in the initial PDU payload with a special field to obtain a target PDU payload; wherein, the special field generates continuous bit strings with the same logic state after whitening treatment;
a whitening module 703, configured to perform whitening processing on the entire target PDU payload, and generate angle of arrival AOA data based on the whitened target PDU payload;
a sending module 704, configured to send AOA data to a data receiving terminal based on a bluetooth communication connection with the data receiving terminal; the AOA data is used for the data receiving terminal to perform AOA calculation according to the contained continuous bit string.
In some embodiments of this embodiment, the generating module 701 is specifically configured to receive an AOA data request sent by a data receiving terminal; based on the AOA data request, a corresponding initial PDU is generated.
In some embodiments of this embodiment, the replacing module 702 is specifically configured to replace the preset bit at the end position of the initial PDU payload with the special field when replacing the preset bit in the initial PDU payload with the special field.
In some implementations of this embodiment, the consecutive bit strings having the same logic state include: a string of consecutive "1" bits, or a string of consecutive "0" bits.
In some embodiments of this embodiment, the replacing module 702 is further configured to replace preset bits in the initial PDU header with an indication field before generating angle of arrival AOA data based on the target PDU payload after the whitening processing, resulting in a target PDU header; wherein the indication field is used for indicating the attribute of the continuous bit string. Correspondingly, when the whitening module 703 generates the angle of arrival AOA data based on the target PDU payload after the whitening processing, it is specifically configured to form a target PDU by the target PDU header and the target PDU payload after the whitening processing; AOA data is generated based on the target PDU.
Further, in some implementations of the present embodiment, the attributes of the consecutive bit strings include at least one of: the presence of a consecutive bit string, the type of consecutive bit string, the length of the consecutive bit string, the location of the consecutive bit string.
Further, in some embodiments of this embodiment, the replacing module 702 is specifically configured to replace a preset bit in the initial PDU payload with an initial field; carrying out integral whitening on the PDU payload obtained after replacing the initial field, and replacing all bit positions in the whitened initial field by adopting continuous bit strings with the same logic state; carrying out integral inverse whitening on the PDU effective load obtained after replacing the continuous bit string to obtain a target PDU effective load; wherein, the special field is generated after the continuous bit string with the same logic state is whitened reversely.
It should be noted that, the data communication methods in the foregoing embodiments can be implemented based on the data communication device provided in this embodiment, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the data communication device described in this embodiment may refer to the corresponding process in the foregoing method embodiments, and is not described herein again.
By adopting the data communication device provided by the embodiment, the preset bit in the initial PDU payload is replaced by the special field to obtain the target PDU payload; whitening the whole target PDU payload, wherein the special field generates continuous bit strings with the same logic state after whitening, and generates angle of arrival (AOA) data based on the whitened target PDU payload; and sending the AOA data to the data receiving terminal based on the Bluetooth communication connection with the data receiving terminal so as to perform AOA calculation. By implementing the invention, a special field which can be whitened into a continuous bit string is generated in the PDU payload by an algorithm, does not need to depend on the configuration of a hardware layer, and has wider applicability on different kinds of Bluetooth equipment.
The fourth embodiment:
the present embodiment provides an electronic device, as shown in fig. 8, which includes a processor 801, a memory 802, and a communication bus 803, wherein: the communication bus 803 is used for realizing connection communication between the processor 801 and the memory 802; the processor 801 is configured to execute one or more computer programs stored in the memory 802 to implement at least one step of the data communication method in the first embodiment.
The present embodiments also provide a computer-readable storage medium including volatile or non-volatile, removable or non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact disk Read-Only Memory), Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
The computer-readable storage medium in this embodiment may be used for storing one or more computer programs, and the stored one or more computer programs may be executed by a processor to implement at least one step of the method in the first embodiment.
The present embodiment also provides a computer program, which can be distributed on a computer readable medium and executed by a computing device to implement at least one step of the method in the first embodiment; and in some cases at least one of the steps shown or described may be performed in an order different than that described in the embodiments above.
The present embodiments also provide a computer program product comprising a computer readable means on which a computer program as shown above is stored. The computer readable means in this embodiment may include a computer readable storage medium as shown above.
It will be apparent to those skilled in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software (which may be implemented in computer program code executable by a computing device), firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit.
In addition, communication media typically embodies computer readable instructions, data structures, computer program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to one of ordinary skill in the art. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of embodiments of the present invention, and the present invention is not to be considered limited to such descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (9)

1. A method of data communication, comprising:
generating an initial protocol data unit PDU; wherein the initial PDU comprises an initial PDU header and an initial PDU payload;
replacing preset bits in the initial PDU payload with an initial field;
carrying out integral whitening on the PDU payload obtained after replacing the initial field, and replacing all bits in the whitened initial field by adopting continuous bit strings with the same logic state;
carrying out integral inverse whitening on the PDU effective load obtained after replacing the continuous bit string to obtain a target PDU effective load; generating a special field after the continuous bit strings with the same logic state are whitened in an anti-whitening mode; wherein the special field generates a continuous bit string with the same logic state after being subjected to whitening processing;
whitening the whole target PDU payload, and generating angle of arrival (AOA) data based on the whitened target PDU payload;
based on Bluetooth communication connection with a data receiving terminal, the AOA data is sent to the data receiving terminal; wherein the AOA data is used for the data receiving terminal to perform AOA calculation according to the contained continuous bit string.
2. The data communication method of claim 1, wherein the generating an initial PDU comprises:
receiving an AOA data request sent by the data receiving terminal;
and generating a corresponding initial PDU based on the AOA data request.
3. The data communication method of claim 1, wherein said replacing preset bits in the initial PDU payload with special fields comprises:
and replacing the preset bit at the tail position of the initial PDU payload with a special field.
4. The data communication method according to claim 1, wherein the consecutive bit strings having the same logic state include: a string of consecutive "1" bits, or a string of consecutive "0" bits.
5. The data communication method of claim 1, wherein prior to said generating angle of arrival (AOA) data based on the target PDU payload after the whitening process, further comprising:
replacing a preset bit in the initial PDU header with an indication field to obtain a target PDU header; wherein the indication field is used for indicating the attribute of the continuous bit string;
the generating angle of arrival AOA data based on the target PDU payload after the whitening process comprises:
composing a target PDU with the target PDU header and the target PDU payload after the whitening process;
generating AOA data based on the target PDU.
6. The data communication method of claim 5, wherein the attributes of the continuous string of bits include at least one of: the presence of a consecutive bit string, the type of consecutive bit string, the length of the consecutive bit string, the location of the consecutive bit string.
7. A data communication apparatus, comprising:
a generating module, configured to generate an initial protocol data unit PDU; wherein the initial PDU comprises an initial PDU header and an initial PDU payload;
a replacing module, configured to replace a preset bit in the initial PDU payload with an initial field;
a whitening module, configured to perform overall whitening on the PDU payload obtained after replacing the initial field, and replace all bits in the whitened initial field with continuous bit strings having the same logic state;
the whitening module is used for carrying out integral inverse whitening on the PDU effective load obtained after the continuous bit string is replaced to obtain a target PDU effective load; generating a special field after the continuous bit strings with the same logic state are whitened in an anti-whitening mode; wherein the special field generates a continuous bit string with the same logic state after being subjected to whitening processing;
a whitening module, configured to perform whitening processing on the entire target PDU payload and generate angle of arrival AOA data based on the whitened target PDU payload;
the sending module is used for sending the AOA data to a data receiving terminal based on Bluetooth communication connection with the data receiving terminal; wherein the AOA data is used for the data receiving terminal to perform AOA calculation according to the contained continuous bit string.
8. An electronic device, comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the data communication method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the steps of the data communication method according to any one of claims 1 to 6.
CN201910644193.7A 2019-07-17 2019-07-17 Data communication method, device and computer readable storage medium Active CN110418320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910644193.7A CN110418320B (en) 2019-07-17 2019-07-17 Data communication method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910644193.7A CN110418320B (en) 2019-07-17 2019-07-17 Data communication method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110418320A CN110418320A (en) 2019-11-05
CN110418320B true CN110418320B (en) 2021-02-02

Family

ID=68361734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910644193.7A Active CN110418320B (en) 2019-07-17 2019-07-17 Data communication method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110418320B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107850655A (en) * 2015-05-22 2018-03-27 诺基亚技术有限公司 Packet prepares
CN109075877A (en) * 2016-04-19 2018-12-21 高通股份有限公司 The wireless communication determined for angle of arrival
US20190014497A1 (en) * 2017-07-10 2019-01-10 Google Inc. Packet Segmentation and Reassembly for Mesh Networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107850655A (en) * 2015-05-22 2018-03-27 诺基亚技术有限公司 Packet prepares
CN109075877A (en) * 2016-04-19 2018-12-21 高通股份有限公司 The wireless communication determined for angle of arrival
US20190014497A1 (en) * 2017-07-10 2019-01-10 Google Inc. Packet Segmentation and Reassembly for Mesh Networks

Also Published As

Publication number Publication date
CN110418320A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
CA2972554C (en) Polar code processing method and system, and wireless communications apparatus
CN110324117A (en) A kind of data transmission method, terminal device and the network equipment
US11357027B2 (en) Uplink grant-free transmission method in URLLC, terminal side device and network side device
CN109428773B (en) Communication method and device
BRPI0609286A2 (en) use of supplementary tasks
CN109196842B (en) Session keeping method, device and storage medium
CN107332700B (en) Method and equipment for configuring wireless routing equipment
WO2010150124A1 (en) Method and device for processing data packets
CN105871819B (en) Transfer control method and equipment
CN111108710A (en) HARQ number determination method, network device, terminal, and computer storage medium
US20230087280A1 (en) Transmission configuration indicator determination and acknowledgment
CN110351757B (en) Scheduling request transmission method, terminal and network side equipment
KR102458563B1 (en) Communication method and communication device using ambient backscatter communication
CN111654399A (en) Networking method, device and equipment based on SD-WAN and storage medium
CN110545230B (en) Method and device for forwarding VXLAN message
CN110418320B (en) Data communication method, device and computer readable storage medium
US10320694B2 (en) Methods, apparatuses and computer-readable storage mediums for communication via user services platform
US11330596B2 (en) Method and device for indicating transmission resources and storage medium
US11436172B2 (en) Data frame interface network device
US20190239215A1 (en) Communication method, terminal and network device
CN111246427B (en) Transmission control method, system, equipment, medium and auxiliary link terminal of auxiliary link
EP3955524A1 (en) Method for managing remote storage device by means of management device
WO2021089983A1 (en) Validating distributed source content
US9942895B2 (en) Burst grouping with reduced overhead
US20240244450A1 (en) Methods and apparatuses for configuring transmission policy, device and storage medium

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
GR01 Patent grant
GR01 Patent grant