CN114301572B - Transmitting terminal, receiving terminal, data frame transmission method thereof and storage medium - Google Patents

Transmitting terminal, receiving terminal, data frame transmission method thereof and storage medium Download PDF

Info

Publication number
CN114301572B
CN114301572B CN202111350406.9A CN202111350406A CN114301572B CN 114301572 B CN114301572 B CN 114301572B CN 202111350406 A CN202111350406 A CN 202111350406A CN 114301572 B CN114301572 B CN 114301572B
Authority
CN
China
Prior art keywords
data
frame
length
partial load
frame header
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
CN202111350406.9A
Other languages
Chinese (zh)
Other versions
CN114301572A (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.)
State Grid Information and Telecommunication Co Ltd
Beijing Smartchip Microelectronics Technology Co Ltd
Original Assignee
State Grid Information and Telecommunication Co Ltd
Beijing Smartchip Microelectronics 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 State Grid Information and Telecommunication Co Ltd, Beijing Smartchip Microelectronics Technology Co Ltd filed Critical State Grid Information and Telecommunication Co Ltd
Priority to CN202111350406.9A priority Critical patent/CN114301572B/en
Publication of CN114301572A publication Critical patent/CN114301572A/en
Application granted granted Critical
Publication of CN114301572B publication Critical patent/CN114301572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Error Detection And Correction (AREA)

Abstract

The embodiment of the invention provides a transmitting end, a receiving end, a data frame transmission method thereof and a storage medium, belonging to the technical field of communication. The transmission method of the data frame of the transmitting end comprises the following steps: obtaining a spreading factor; determining the length of the data length indication domain of the frame header based on the corresponding relation between the spreading factor and the length of the data length indication domain of the frame header according to the spreading factor; and generating the frame header according to the length of the data length indication field of the frame header so as to transmit the data frame. The invention can generate the frame head more efficiently.

Description

Transmitting terminal, receiving terminal, data frame transmission method thereof and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a transmitting end, a receiving end, a data frame transmission method thereof, and a storage medium.
Background
Currently, when a transmitting end generates a data frame, it is necessary to generate header (header) and payload (payload) data contained in the data frame, but in many cases, for example, in the case of LORA modulation, the generated header data includes fixed fields, and the length of each field is fixed, so that many invalid bits are generated, which results in low efficiency of generating the header.
Disclosure of Invention
The embodiment of the invention aims to provide a transmitting end, a receiving end and a data frame transmission method thereof and a storage medium.
In order to achieve the above object, an embodiment of the present invention provides a method for transmitting a data frame of a transmitting end, including: obtaining a spreading factor; determining the length of the data length indication domain of the frame header based on the corresponding relation between the spreading factor and the length of the data length indication domain of the frame header according to the spreading factor; and generating the frame header according to the length of the data length indication field of the frame header so as to transmit the data frame.
Preferably, when generating the frame header of the downlink frame, the method further comprises: the cyclic redundancy check indication field is deleted.
Preferably, transmitting the data frame includes: interleaving the data of the frame header and the first partial load data; and interleaving the second partial load data, wherein the first partial load data and the second partial load data form the whole load data.
Preferably, the interleaving the data of the frame header and the first partial load data together includes: determining the size of an interleaver and the length of the data of the frame header; using a difference between a size of the interleaver and a length of data of the frame header as a length of the first partial load data; determining the first partial load data according to the length of the first partial load data; the data of the frame header and the first partial load data are interleaved together.
The embodiment of the invention also provides a method for transmitting the data frame of the receiving end, which comprises the following steps: obtaining a spreading factor; and according to the spreading factor, analyzing the data length indication domain based on the corresponding relation between the spreading factor and the length of the data length indication domain of the frame header so as to receive the data frame.
Preferably, the method further comprises: determining whether the data frame is an uplink frame or a downlink frame; when the data frame is a downlink frame, analyzing each field of the frame header of the data frame without the cyclic redundancy check indication field; when the data frame is an uplink frame, each field of the frame header of the data frame including the cyclic redundancy check indication field is analyzed.
Preferably, receiving the data frame includes: de-interleaving the data of the frame header and the first partial load data together; and performing de-interleaving processing on the second partial load data, wherein the first partial load data and the second partial load data form the whole load data.
Preferably, the de-interleaving the data of the frame header and the first partial load data together includes: data of a length of the interleaver is received and deinterleaved.
Preferably, after the data of the frame header and the first partial load data are subjected to the deinterleaving process together, the method further includes: analyzing the data of the length of the data of the frame header to obtain the information of the whole load data; first partial load data having a length that is a difference between a size of the interleaver and a length of data of the frame header is processed.
The embodiment of the invention also provides a transmitting end, which comprises: the device comprises a first acquisition unit, a determination unit and a generation unit, wherein the first acquisition unit is used for acquiring a spread spectrum factor; the determining unit is configured to determine, according to the spreading factor, a data length indication field length of the frame header based on a correspondence between the spreading factor and a data length indication field length of the frame header; the generating unit is used for generating the frame header according to the length of the data length indication field of the frame header so as to transmit the data frame.
Preferably, in generating the frame header of the downlink frame, the generating unit is further configured to: the cyclic redundancy check indication field is deleted.
Preferably, the transmitting end further includes: a transmission unit configured to: interleaving the data of the frame header and the first partial load data; and interleaving the second partial load data, wherein the first partial load data and the second partial load data form the whole load data.
Preferably, the transmission unit is further configured to: determining the size of an interleaver and the length of the data of the frame header; using a difference between a size of the interleaver and a length of data of the frame header as a length of the first partial load data; determining the first partial load data according to the length of the first partial load data; the data of the frame header and the first partial load data are interleaved together.
The embodiment of the invention also provides a receiving end, which comprises: the device comprises a second acquisition unit and an analysis unit, wherein the second acquisition unit is used for acquiring a spread spectrum factor; the parsing unit is configured to parse the data length indication field based on a correspondence between the spreading factor and a length of the data length indication field of the frame header according to the spreading factor, so as to receive the data frame.
Preferably, the parsing unit is further configured to: determining whether the data frame is an uplink frame or a downlink frame; when the data frame is a downlink frame, analyzing each field of the frame header of the data frame without the cyclic redundancy check indication field; when the data frame is an uplink frame, each field of the frame header of the data frame including the cyclic redundancy check indication field is analyzed.
Preferably, the receiving end further includes: a receiving unit configured to: de-interleaving the data of the frame header and the first partial load data together; and performing de-interleaving processing on the second partial load data, wherein the first partial load data and the second partial load data form the whole load data.
Preferably, the receiving unit is further configured to: data of a length of the interleaver is received and deinterleaved.
Preferably, after the data of the frame header and the first partial load data are subjected to a deinterleaving process together, the receiving unit is further configured to: analyzing the data of the length of the data of the frame header to obtain the information of the whole load data; first partial load data having a length that is a difference between a size of the interleaver and a length of data of the frame header is processed.
By adopting the technical scheme, the transmitting end, the receiving end, the data frame transmission method and the storage medium thereof can enable the domain length of the frame header to be self-adaptive, effectively reduce the generation of invalid bits and generate the frame header more efficiently.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings are included to provide a further understanding of embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain, without limitation, the embodiments of the invention. In the drawings:
fig. 1 is a flowchart of a method for transmitting a data frame of a transmitting end according to an embodiment of the present invention;
fig. 2 is a flowchart of a transmission method of a data frame of a transmitting end according to another embodiment of the present invention;
fig. 3 is a flowchart of a transmission method of a data frame of a transmitting end according to another embodiment of the present invention;
fig. 4 is a transmission method of a data frame of a receiving end according to an embodiment of the present invention;
fig. 5 is a transmission method of a data frame of a receiving end according to another embodiment of the present invention;
fig. 6 is a transmission method of a data frame of a receiving end according to another embodiment of the present invention;
fig. 7 is a transmission method of a data frame of a receiving end according to another embodiment of the present invention;
fig. 8 is a block diagram of a transmitting end according to an embodiment of the present invention;
fig. 9 is a block diagram of a receiving end according to an embodiment of the present invention.
Description of the reference numerals
81. The first acquisition unit 82 determination unit
83. Generating unit 84 transmitting unit
91. The second acquisition unit 92 analyzes the unit
93. Receiving unit
Detailed Description
The following describes the detailed implementation of the embodiments of the present invention with reference to the drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the invention, are not intended to limit the invention.
Fig. 1 is a flowchart of a method for transmitting a data frame of a transmitting end according to an embodiment of the present invention. As shown in fig. 1, the method includes:
step S11, obtaining a spread spectrum factor;
for example, the spreading factor is set according to the actual need, and in general, may be determined according to the number rate requirement of the data service transmission.
Step S12, according to the spread spectrum factor, determining the length of the data length indication domain of the frame head based on the corresponding relation between the spread spectrum factor and the length of the data length indication domain of the frame head;
for example, the frame header contains information required for receiving payload data, such as a payload data length coding rate, etc. In general, payload data can be processed only after receiving the completion frame header data and parsing out the information of each field. In the prior art, in order to easily receive the frame header, the length of each field of the frame header and the information contained therein are fixed.
The frame header contains a data length indication field, and in general, for example, in order to support a payload data length of 1024 bytes, the length of the data length indication field in the frame header is 10 bits. However, as the spreading factor becomes progressively larger, the data length indicates that the field supports a payload data length progressively smaller than 1024 bytes, and a 10 bit length is not required. Accordingly, the present invention sets the data length indication field length to be related to the spreading factor, and particularly sets the correspondence of the preferred spreading factor to the length of the data length indication field of the frame header as follows:
spreading factor Data length indication field length Maximum load data length
6 9 511
7 8 255
8 7 127
9 6 63
10 5 31
11 4 14
12 3 7
Thus, after the spreading factor is obtained, the data length indication field length of the frame header can be determined according to the spreading factor.
Step S13, generating the frame header according to the length of the data length indication field of the frame header so as to transmit the data frame.
For example, in generating the frame header, the data length indication field is generated in accordance with the determined data length indication field length. The remaining generation manners of the data frames may be unchanged, and are not described herein.
In another embodiment, the cyclic redundancy check indication field (CRC indication field) in the frame header may also be adjusted based on the uplink data frame and the downlink data frame. For example, the CRC indication field may be removed, considering that the downstream data frame does not have a CRC check. Thus, in generating the frame header of the downlink data frame, the method further comprises: the cyclic redundancy check indication field is deleted. And when generating the uplink data frame, the CRC indication field is not adjusted. In this way, the fields of the frame header of the downstream data frame and the upstream data frame are set to different categories.
Fig. 2 is a flowchart of a transmission method of a data frame of a transmitting end according to another embodiment of the present invention. As shown in fig. 2, the method for transmitting the data frame includes:
step S21, interleaving the data of the frame header and the first partial load data;
for example, in order to improve transmission efficiency, the embodiment of the present invention may perform hybrid interleaving on frame header data and partial load data. The length of the first partial load data may be set as desired.
And S22, interleaving the second partial load data, wherein the first partial load data and the second partial load data form the whole load data.
For example, after the whole payload data is divided into the first partial payload data and the second partial payload data, and the first partial payload data is mixed-interleaved with the data of the frame header, the remaining second partial payload data may be interleaved alone.
An embodiment is provided below in which the length of the first partial load data is preferably determined in particular.
Fig. 3 is a flowchart of a transmission method of a data frame of a transmitting end according to another embodiment of the present invention. As shown in fig. 3, interleaving the data of the frame header and the first partial load data together includes:
step S31, determining the size of an interleaver and the length of the data of the frame head;
for example, assume that the size of the interleaver is C and the length of the data of the frame header is H.
Step S32 of using a difference between the size of the interleaver and the length of the data of the frame header as the length of the first partial load data;
for example, the length of the first partial load data (C-H) is obtained by subtracting the length of the data of the frame header from the size C of the interleaver as H, so that interleaving with the interleaver can be maximized.
Step S33, determining the first partial load data according to the length of the first partial load data;
for example, after the length (C-H) of the first partial load data is obtained, the first partial load data may be separated from the load data according to the length.
And step S34, interleaving the data of the frame header and the first partial load data together.
For example, as described above, since the field length of the generated frame header may become small, the data length of the frame header may be reduced, and at this time, the first partial load data may be used for supplementing, and the data length of the frame header after supplementing may be recovered. And finally, interleaving the data of the frame header and the first part of load data together.
It will be appreciated that if the length of the overall payload data is P, the length of the second partial payload data should be P- (C-H), and the remaining second partial payload data of length P- (C-H) is interleaved separately.
In the embodiment of the invention, the data of the frame head and the partial load data are put together for interleaving, which is beneficial to reducing collision among frames, improving the interleaving utilization efficiency and improving the transmission efficiency of effective data. Particularly, the effect is very obvious for data transmission with high spreading factor.
Fig. 4 is a transmission method of a data frame of a receiving end according to an embodiment of the present invention. As shown in fig. 4, the method includes:
step S41, obtaining a spread spectrum factor;
for example, the value of the spreading factor may be obtained from frame header synchronization information received by the receiving end.
Step S42, according to the spreading factor, analyzing the data length indication field based on the corresponding relation between the spreading factor and the length of the data length indication field of the frame header, so as to receive the data frame.
For example, according to the corresponding relation of the length of the data length indication domain of the frame head of the spreading factor in the table and the obtained value of the spreading factor, the data length indication domain is analyzed. The parsing manner of other fields of the frame header may be unchanged, and will not be described in detail herein.
Fig. 5 is a transmission method of a data frame of a receiving end according to another embodiment of the present invention. As shown in fig. 5, the method includes:
step S51, determining whether the data frame is an uplink frame or a downlink frame;
for example, as described above, the uplink data frame and the downlink data frame may have different configurations for the CRC indication field, and thus it is also necessary to determine whether the data frame is an uplink frame or a downlink frame at the time of parsing.
Step S52, when the data frame is a downlink frame, analyzing each field of the frame header of the data frame without the cyclic redundancy check indication field;
for example, if the data frame is a downlink frame, the data frame may not contain a CRC indication field, and thus the fields may be parsed in such a way that they do not contain a CRC indication field.
Step S53, when the data frame is an uplink frame, analyzing each field of the frame header of the data frame containing the cyclic redundancy check indication field.
For example, if the data frame is an uplink frame, the data frame still contains a CRC indication field, so each field needs to be parsed in a normal manner.
Fig. 6 is a transmission method of a data frame of a receiving end according to another embodiment of the present invention. As shown in fig. 6, receiving the data frame includes:
step S61, de-interleaving the data of the frame header and the first partial load data;
for example, in the case where the data of the frame header and the first partial load data are interleaved together, the present embodiment requires that the data of the frame header and the first partial load data be deinterleaved together. More specifically, data of a length of the interleaver may be first received and deinterleaved. E.g., the interleaver size is C, data of length C is first received and deinterleaved.
And step S62, performing de-interleaving processing on the second partial load data, wherein the first partial load data and the second partial load data form whole load data.
For example, the remaining data, i.e., the second partial payload data, is then received and deinterleaved. When the length of the whole load data is P and the length of the data of the frame header is H, the length of the second partial load data should be p+h-C.
Fig. 7 is a transmission method of a data frame of a receiving end according to another embodiment of the present invention. As shown in fig. 7, after the data of the frame header and the first partial load data are subjected to the deinterleaving process together, the method further includes:
step S71, analyzing the data of the length of the data of the frame header to obtain the information of the whole load data;
for example, the data of the frame header and the data of the first partial load data after deinterleaving are divided into data of the frame header with the length H and first partial load data with the length (C-H), and then the data of the frame header with the length H is analyzed to obtain information such as length information, coding rate, and the like of the entire load data.
Step S72, processing the first partial load data having a length that is the difference between the size of the interleaver and the length of the data of the frame header.
For example, the first partial load data of length (C-H) is then processed, and, of course, the second partial load data of length p+h-C is finally processed after receiving and de-interleaving the second partial load data.
Fig. 8 is a block diagram of a transmitting end according to an embodiment of the present invention. As shown in fig. 8, the transmitting end includes: a first obtaining unit 81, a determining unit 82, and a generating unit 83, wherein the first obtaining unit 81 is configured to obtain a spreading factor; the determining unit 82 is configured to determine, according to the spreading factor, a data length indication field length of the frame header based on a correspondence between the spreading factor and a length of the data length indication field of the frame header; the generating unit 83 is configured to generate the frame header according to the length of the data length indication field of the frame header, so as to transmit the data frame.
Preferably, in generating the frame header of the downlink frame, the generating unit 83 is further configured to: the cyclic redundancy check indication field is deleted.
Preferably, the transmitting end further includes: a transmission unit 84 for: interleaving the data of the frame header and the first partial load data; and interleaving the second partial load data, wherein the first partial load data and the second partial load data form the whole load data.
Preferably, the transmission unit 84 is further configured to: determining the size of an interleaver and the length of the data of the frame header; using a difference between a size of the interleaver and a length of data of the frame header as a length of the first partial load data; determining the first partial load data according to the length of the first partial load data; the data of the frame header and the first partial load data are interleaved together.
Fig. 9 is a block diagram of a receiving end according to an embodiment of the present invention. As shown in fig. 9, the receiving end includes: a second obtaining unit 91 and an analyzing unit 92, where the second obtaining unit 91 is configured to obtain a spreading factor; the parsing unit 92 is configured to parse the data length indication field based on the corresponding relationship between the spreading factor and the length of the data length indication field of the frame header according to the spreading factor, so as to receive the data frame.
Preferably, the parsing unit 92 is further configured to: determining whether the data frame is an uplink frame or a downlink frame; when the data frame is a downlink frame, each field of the frame header of the data frame not including the cyclic redundancy check indication field is analyzed. When the data frame is an uplink frame, each field of the frame header of the data frame including the cyclic redundancy check indication field is analyzed.
Preferably, the receiving end further includes: a receiving unit 93 for: de-interleaving the data of the frame header and the first partial load data together; and performing de-interleaving processing on the second partial load data, wherein the first partial load data and the second partial load data form the whole load data.
Preferably, the receiving unit 93 is further configured to: data of a length of the interleaver is received and deinterleaved.
Preferably, after the data of the frame header and the first partial load data are subjected to the deinterleaving process together, the receiving unit 93 is further configured to: analyzing the data of the length of the data of the frame header to obtain the information of the whole load data; first partial load data having a length that is a difference between a size of the interleaver and a length of data of the frame header is processed.
The receiving end and the transmitting end comprise a processor and a memory, the first acquisition unit, the determining unit, the generating unit, the transmitting unit, the second acquisition unit, the analyzing unit, the receiving unit and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel may be provided with one or more functions to send and receive data by adjusting the kernel parameters.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
The embodiment of the invention provides a storage medium, on which a program is stored, which when executed by a processor, implements a method for transmitting data frames of a receiving end and a transmitting end.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program runs to execute a transmission method of data frames of a receiving end and a transmitting end.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor realizes the following steps when executing the program:
obtaining a spreading factor; determining the length of the data length indication domain of the frame header based on the corresponding relation between the spreading factor and the length of the data length indication domain of the frame header according to the spreading factor; and generating the frame header according to the length of the data length indication field of the frame header so as to transmit the data frame.
Preferably, when generating the frame header of the downlink frame, the method further comprises: the cyclic redundancy check indication field is deleted.
Preferably, transmitting the data frame includes: interleaving the data of the frame header and the first partial load data; and interleaving the second partial load data, wherein the first partial load data and the second partial load data form the whole load data.
Preferably, the interleaving the data of the frame header and the first partial load data together includes: determining the size of an interleaver and the length of the data of the frame header; using a difference between a size of the interleaver and a length of data of the frame header as a length of the first partial load data; determining the first partial load data according to the length of the first partial load data; the data of the frame header and the first partial load data are interleaved together.
Obtaining a spreading factor; and according to the spreading factor, analyzing the data length indication domain based on the corresponding relation between the spreading factor and the length of the data length indication domain of the frame header so as to receive the data frame.
Preferably, the method further comprises: determining whether the data frame is an uplink frame or a downlink frame; when the data frame is a downlink frame, analyzing each field of the frame header of the data frame without the cyclic redundancy check indication field; when the data frame is an uplink frame, each field of the frame header of the data frame including the cyclic redundancy check indication field is analyzed.
Preferably, receiving the data frame includes: de-interleaving the data of the frame header and the first partial load data together; and performing de-interleaving processing on the second partial load data, wherein the first partial load data and the second partial load data form the whole load data.
Preferably, the de-interleaving the data of the frame header and the first partial load data together includes: data of a length of the interleaver is received and deinterleaved.
Preferably, after the data of the frame header and the first partial load data are subjected to the deinterleaving process together, the method further includes: analyzing the data of the length of the data of the frame header to obtain the information of the whole load data; first partial load data having a length that is a difference between a size of the interleaver and a length of data of the frame header is processed.
The device herein may be a server, PC, PAD, cell phone, etc.
The present application also provides a computer program product adapted to perform, when executed on a data processing device, a program initialized with the method steps of:
obtaining a spreading factor; determining the length of the data length indication domain of the frame header based on the corresponding relation between the spreading factor and the length of the data length indication domain of the frame header according to the spreading factor; and generating the frame header according to the length of the data length indication field of the frame header so as to transmit the data frame.
Preferably, when generating the frame header of the downlink frame, the method further comprises: the cyclic redundancy check indication field is deleted.
Preferably, transmitting the data frame includes: interleaving the data of the frame header and the first partial load data; and interleaving the second partial load data, wherein the first partial load data and the second partial load data form the whole load data.
Preferably, the interleaving the data of the frame header and the first partial load data together includes: determining the size of an interleaver and the length of the data of the frame header; using a difference between a size of the interleaver and a length of data of the frame header as a length of the first partial load data; determining the first partial load data according to the length of the first partial load data; the data of the frame header and the first partial load data are interleaved together.
Obtaining a spreading factor; and according to the spreading factor, analyzing the data length indication domain based on the corresponding relation between the spreading factor and the length of the data length indication domain of the frame header so as to receive the data frame.
Preferably, the method further comprises: determining whether the data frame is an uplink frame or a downlink frame; when the data frame is a downlink frame, analyzing each field of the frame header of the data frame without the cyclic redundancy check indication field; when the data frame is an uplink frame, each field of the frame header of the data frame including the cyclic redundancy check indication field is analyzed.
Preferably, receiving the data frame includes: de-interleaving the data of the frame header and the first partial load data together; and performing de-interleaving processing on the second partial load data, wherein the first partial load data and the second partial load data form the whole load data.
Preferably, the de-interleaving the data of the frame header and the first partial load data together includes: data of a length of the interleaver is received and deinterleaved.
Preferably, after the data of the frame header and the first partial load data are subjected to the deinterleaving process together, the method further includes: analyzing the data of the length of the data of the frame header to obtain the information of the whole load data; first partial load data having a length that is a difference between a size of the interleaver and a length of data of the frame header is processed.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (19)

1. A method for transmitting a data frame at a transmitting end, the method comprising:
obtaining a spreading factor;
determining the length of a data length indication domain of a frame head based on the corresponding relation between the spreading factor and the length of the data length indication domain of the frame head according to the spreading factor;
and generating the frame header according to the length of the data length indication field of the frame header so as to transmit the data frame.
2. The transmission method of a data frame at a transmitting end according to claim 1, wherein when generating a frame header of a downlink frame, the method further comprises:
the cyclic redundancy check indication field is deleted.
3. The transmission method of a data frame of a transmitting end according to claim 1, wherein transmitting the data frame comprises:
interleaving the data of the frame header and the first partial load data;
and interleaving the second partial load data, wherein the first partial load data and the second partial load data form the whole load data.
4. A method for transmitting a data frame at a transmitting end according to claim 3, wherein interleaving the data of the frame header together with the first partial load data comprises:
determining the size of an interleaver and the length of the data of the frame header;
using a difference between a size of the interleaver and a length of data of the frame header as a length of the first partial load data;
determining the first partial load data according to the length of the first partial load data;
the data of the frame header and the first partial load data are interleaved together.
5. A method for transmitting a data frame at a receiving end, the method comprising:
obtaining a spreading factor;
and according to the spreading factor, analyzing the data length indication domain based on the corresponding relation between the spreading factor and the length of the data length indication domain of the frame header so as to receive the data frame.
6. The method for transmitting a data frame at a receiving end according to claim 5, further comprising:
determining whether the data frame is an uplink frame or a downlink frame;
when the data frame is a downlink frame, analyzing each field of the frame header of the data frame without the cyclic redundancy check indication field;
when the data frame is an uplink frame, each field of the frame header of the data frame including the cyclic redundancy check indication field is analyzed.
7. The method for transmitting a data frame at a receiving end according to claim 5, wherein receiving the data frame comprises:
de-interleaving the data of the frame header and the first partial load data together;
and performing de-interleaving processing on the second partial load data, wherein the first partial load data and the second partial load data form the whole load data.
8. The method according to claim 7, wherein the de-interleaving the header data together with the first partial load data comprises:
data of a length of the interleaver is received and deinterleaved.
9. The method according to claim 7, further comprising, after the data of the frame header and the first partial load data are deinterleaved together:
analyzing the data of the length of the data of the frame header to obtain the information of the whole load data;
first partial load data having a length that is the difference between the size of the interleaver and the length of the data of the frame header is processed.
10. A transmitting terminal, characterized in that the transmitting terminal comprises:
a first acquisition unit, a determination unit and a generation unit, wherein,
the first acquisition unit is used for acquiring a spread spectrum factor;
the determining unit is configured to determine, according to the spreading factor, a data length indication field length of the frame header based on a correspondence between the spreading factor and a data length indication field length of the frame header;
the generating unit is used for generating the frame header according to the length of the data length indication field of the frame header so as to transmit the data frame.
11. The transmitting end according to claim 10, wherein in generating a frame header of a downlink frame, the generating unit is further configured to:
the cyclic redundancy check indication field is deleted.
12. The transmitting end according to claim 10, further comprising:
a transmission unit configured to:
interleaving the data of the frame header and the first partial load data;
and interleaving the second partial load data, wherein the first partial load data and the second partial load data form the whole load data.
13. The transmitting end according to claim 12, wherein the transmission unit is further configured to:
determining the size of an interleaver and the length of the data of the frame header;
using a difference between a size of the interleaver and a length of data of the frame header as a length of the first partial load data;
determining the first partial load data according to the length of the first partial load data;
the data of the frame header and the first partial load data are interleaved together.
14. A receiving terminal, the receiving terminal comprising:
a second acquisition unit and an analysis unit, wherein,
the second acquisition unit is used for acquiring a spread spectrum factor;
the analyzing unit is configured to analyze the data length indication field based on a correspondence between the spreading factor and a length of the data length indication field of the frame header according to the spreading factor, so as to receive the data frame.
15. The receiving end of claim 14, wherein the parsing unit is further configured to:
determining whether the data frame is an uplink frame or a downlink frame;
when the data frame is a downlink frame, analyzing each field of the frame header of the data frame without the cyclic redundancy check indication field;
when the data frame is an uplink frame, each field of the frame header of the data frame including the cyclic redundancy check indication field is analyzed.
16. The receiver of claim 14, further comprising:
a receiving unit configured to:
de-interleaving the data of the frame header and the first partial load data together;
and performing de-interleaving processing on the second partial load data, wherein the first partial load data and the second partial load data form the whole load data.
17. The receiving end of claim 16, wherein the receiving unit is further configured to:
data of a length of the interleaver is received and deinterleaved.
18. The receiving end of claim 16, wherein after the data of the frame header and the first partial load data are deinterleaved together, the receiving unit is further configured to:
analyzing the data of the length of the data of the frame header to obtain the information of the whole load data;
first partial load data having a length that is the difference between the size of the interleaver and the length of the data of the frame header is processed.
19. A machine readable storage medium having stored thereon a program which when executed by a processor implements a method of transmitting data frames of a transmitting end according to any of claims 1-4 and/or a method of transmitting data frames of a receiving end according to any of claims 5-9.
CN202111350406.9A 2021-11-15 2021-11-15 Transmitting terminal, receiving terminal, data frame transmission method thereof and storage medium Active CN114301572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111350406.9A CN114301572B (en) 2021-11-15 2021-11-15 Transmitting terminal, receiving terminal, data frame transmission method thereof and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111350406.9A CN114301572B (en) 2021-11-15 2021-11-15 Transmitting terminal, receiving terminal, data frame transmission method thereof and storage medium

Publications (2)

Publication Number Publication Date
CN114301572A CN114301572A (en) 2022-04-08
CN114301572B true CN114301572B (en) 2024-01-26

Family

ID=80964351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111350406.9A Active CN114301572B (en) 2021-11-15 2021-11-15 Transmitting terminal, receiving terminal, data frame transmission method thereof and storage medium

Country Status (1)

Country Link
CN (1) CN114301572B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000069091A1 (en) * 1999-05-07 2000-11-16 Siemens Aktiengesellschaft Pulsing the transmit mode for reducing the power when redundancy is involved in transmission
WO2001091497A1 (en) * 2000-05-25 2001-11-29 Soma Networks, Inc. Frame header for a data communication channel
CN1625916A (en) * 2002-01-31 2005-06-08 三菱电机株式会社 Information notification method, mobile communication system, base station, and mobile station
CN107113856A (en) * 2015-01-22 2017-08-29 华为技术有限公司 Method, equipment and system for indicating transmission frame-form
CN108259134A (en) * 2018-01-10 2018-07-06 上海灵动微电子股份有限公司 A kind of data transmission method based on AFP agreements
CN108306711A (en) * 2018-01-02 2018-07-20 重庆邮电大学 A kind of data frame based on LoRa quickly continuously transmits method
CN110401962A (en) * 2019-08-13 2019-11-01 翱捷科技(深圳)有限公司 The LoRaWAN system and method for adjust automatically data message length
CN112383386A (en) * 2020-11-11 2021-02-19 腾讯科技(深圳)有限公司 Data transmission method and device, computer equipment and computer readable storage medium
CN113098557A (en) * 2021-06-10 2021-07-09 北京全路通信信号研究设计院集团有限公司 Data frame transmitting/receiving method, system and modulation negotiation method thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000069091A1 (en) * 1999-05-07 2000-11-16 Siemens Aktiengesellschaft Pulsing the transmit mode for reducing the power when redundancy is involved in transmission
WO2001091497A1 (en) * 2000-05-25 2001-11-29 Soma Networks, Inc. Frame header for a data communication channel
CN1625916A (en) * 2002-01-31 2005-06-08 三菱电机株式会社 Information notification method, mobile communication system, base station, and mobile station
CN107113856A (en) * 2015-01-22 2017-08-29 华为技术有限公司 Method, equipment and system for indicating transmission frame-form
CN108306711A (en) * 2018-01-02 2018-07-20 重庆邮电大学 A kind of data frame based on LoRa quickly continuously transmits method
CN108259134A (en) * 2018-01-10 2018-07-06 上海灵动微电子股份有限公司 A kind of data transmission method based on AFP agreements
CN110401962A (en) * 2019-08-13 2019-11-01 翱捷科技(深圳)有限公司 The LoRaWAN system and method for adjust automatically data message length
CN112383386A (en) * 2020-11-11 2021-02-19 腾讯科技(深圳)有限公司 Data transmission method and device, computer equipment and computer readable storage medium
CN113098557A (en) * 2021-06-10 2021-07-09 北京全路通信信号研究设计院集团有限公司 Data frame transmitting/receiving method, system and modulation negotiation method thereof

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"25223CR031 (R1-02-0403)".3GPP tsg_ran\TSG_RAN.2002,全文. *
Rami Hamdi ; Marwa Qaraqe ; Saud Althunibat.Dynamic Spreading Factor Assignment in LoRa Wireless Networks.《IEEE》.2020,全文. *
王于波,李延,秦理想,李胜芳,王凤弟.基于LoRa技术的电力抄表模块研究.《国外电子测量技术》.2018,第37卷(第1期),全文. *

Also Published As

Publication number Publication date
CN114301572A (en) 2022-04-08

Similar Documents

Publication Publication Date Title
US8738985B2 (en) Methods, systems, and computer readable media for dynamically controlling a turbo decoding process in a long term evolution (LTE) multi-user equipment (UE) traffic simulator
CN108111253B (en) Signal configuration and transmission method and device
CN111770572B (en) Method for determining feedback information and communication device
US10341070B2 (en) Method and apparatus of data transmission by setting segmentation threshold based on transmission time interval
CN102195742A (en) Configuration method of physical downlink control channel, network equipment and terminal
US20220060366A1 (en) Dynamic configuration method, terminal device, network device and computer storage medium
CN108809509A (en) The foundation drawing selection method and device of low density parity check code
CN110677228A (en) Indication method and device of multiple transmission mechanisms
US8509204B2 (en) Efficient encoding of control signaling for communication systems with scheduling and link
US20220200744A1 (en) Methods for processing and indicating harq mechanism, terminal and network side device
CN114301572B (en) Transmitting terminal, receiving terminal, data frame transmission method thereof and storage medium
US10420076B2 (en) Resource allocation method and device and information feedback method and device
CN112492685A (en) Information transmission method, base station and user equipment
CN110832894B (en) Carrier power control method, apparatus, storage medium, and computer program product
EP3484110B1 (en) Data generation method and apparatus, transmitter, and terminal
CN104868942A (en) Communication device and system
CN111064774B (en) Distributed data storage method and device
CN110113139B (en) Downlink service channel sending method, user terminal and base station
CN113973227A (en) Data processing efficiency optimization method and device
CN101562839A (en) Method and device for allocating resource
CN112153612A (en) Method and device for processing master information block MIB (management information base) message of LTE (Long term evolution) system message and base station
US20240147481A1 (en) Data transmission method, apparatus, device and storage medium
CN106162677B (en) Information processing method, base station, electronic equipment and system
CN112243222B (en) MU-MIMO multi-terminal UE pairing method and device
US20230179326A1 (en) Method for transporting data block, terminal, base station 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