CN111835472B - Data communication method, data communication device and data communication system - Google Patents

Data communication method, data communication device and data communication system Download PDF

Info

Publication number
CN111835472B
CN111835472B CN202010611611.5A CN202010611611A CN111835472B CN 111835472 B CN111835472 B CN 111835472B CN 202010611611 A CN202010611611 A CN 202010611611A CN 111835472 B CN111835472 B CN 111835472B
Authority
CN
China
Prior art keywords
physical
subframes
data
layer
data link
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
CN202010611611.5A
Other languages
Chinese (zh)
Other versions
CN111835472A (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.)
Qingdao Zhixin Semiconductor Technology Co ltd
Original Assignee
State Grid Sigi Ziguang Qingdao 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 Sigi Ziguang Qingdao Microelectronics Technology Co ltd filed Critical State Grid Sigi Ziguang Qingdao Microelectronics Technology Co ltd
Priority to CN202010611611.5A priority Critical patent/CN111835472B/en
Publication of CN111835472A publication Critical patent/CN111835472A/en
Application granted granted Critical
Publication of CN111835472B publication Critical patent/CN111835472B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1858Transmission or retransmission of more than one copy of acknowledgement message
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • H04L1/189Transmission or retransmission of more than one copy of a message

Landscapes

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

Abstract

The invention relates to the technical field of wireless communication, and provides a data communication method, which comprises the following steps: the network layer processes the data packet to be transmitted to obtain a plurality of network layer subframes; the data link layer processes the plurality of network layer subframes to obtain a plurality of data link layer subframes; the physical layer groups a plurality of data link layer subframes to obtain a plurality of subframe sets, wherein each subframe set comprises M data link layer subframes; the following operations are performed for each subframe set to obtain a plurality of physical frames: sequentially carrying out scrambling, channel coding and interleaving treatment on the subframes of the M data link layers to obtain M bit data streams, modulating each bit data stream, respectively adding physical frame heads to the M modulated data streams to obtain M physical subframes, and taking the M physical subframes as one physical frame; the physical layer transmits a plurality of physical frames. The technical scheme provided by the invention can effectively improve the single transmission performance of the data packet, thereby avoiding higher retransmission control overhead.

Description

Data communication method, data communication device and data communication system
Technical Field
The present invention relates to the field of wireless communications technologies, and in particular, to a data communication method, a data communication device, and a data communication system.
Background
The industrial internet communication scene such as electric power is complicated various, often receives electromagnetic environment interference. In order to enable reliable transmission of traffic information, acknowledgement retransmission mechanisms are often employed. That is, if the receiver correctly receives the decoding, the receiver feeds back the confirmation information to the sender; if the transmitter does not receive the confirmation information within the prescribed time, the transmitter considers that the data is not effectively transmitted, and starts to execute the retransmission operation.
The wireless communication air interface protocol generally adopts layered transmission, that is, network transmission frames such as an application Layer (Application Layer, AL), a Network Layer (NWL), a Data Link Layer (DLL), a Physical Layer (PHY) and the like are set on a sender and a receiver, so as to realize functions of generating, sending, receiving and processing service Data, controlling flow of Data transmission, avoiding congestion, guaranteeing reliability and the like.
The transmission of service data is divided into a small traffic transmission scenario and a large traffic transmission scenario. Small traffic transmission scenarios, such as electricity consumption wireless meter reading service in power systems, service packets are typically in the tens of bytes to hundreds of bytes. For such service packets, the current local communication system may employ a narrowband micro-power wireless technology, and utilize a single variable-length data packet for transmission, that is, only 1 data packet is used for transmission regardless of the size of the upper layer traffic, and single service multi-packet transmission is not supported. In this process, to improve the reliability of communication, a single packet supports a feedback acknowledgement mechanism, i.e. if the receiver successfully receives and demodulates the packet data, it immediately replies an acknowledgement message; if the receiver cannot successfully demodulate the packet data so that the sender does not receive the acknowledgement information after waiting for a plurality of times, the packet data is considered to be unsuccessful, and a retransmission or reporting high-level mechanism is started.
In a large traffic transmission scene, such as uploading service of power inspection pictures and inspection videos, data packets are often large, and a single data packet transmission mode is adopted to cause a plurality of problems such as transmission delay, increase of receiver processing complexity, system capacity reduction and the like, so that the data packets are generally divided into a plurality of small data packets with equal length at a data link layer, header information is added to each divided small data packet respectively, and then the small data packets are modulated and transmitted by a physical layer; the receiver demodulates each small data packet one by one, and obtains the whole big data packet information, such as the serial number of each small data packet and the number of the small data packets, through the received header information. In this process, in order to improve the reliability of communication, if a small packet is demodulated in error, the receiver indicates in the feedback acknowledgement frame which packet has an error, and it is desirable to retransmit. The transmitter selectively retransmits according to the confirmation instruction result.
As can be seen, the prior art method of ensuring reliable transmission of data only employs an acknowledgment retransmission mechanism, whether it is a small traffic transmission scenario or a large traffic transmission scenario. In this way, under a poor communication environment or a low network transmission performance, a data packet may need to be transmitted repeatedly and repeatedly, especially when the network transmission performance is low, the block error rate of the data packet received by the receiving party is high, which results in high retransmission control overhead of the system and affects the network throughput.
Disclosure of Invention
In view of this, the present invention aims to propose a data communication method, device and system, which can effectively improve the single transmission performance of a data packet, so as to avoid higher retransmission control overhead.
In order to achieve the above purpose, the technical scheme of the invention is realized as follows:
a data communication method is applied to a network transmission system, wherein the system comprises a network layer, a data link layer and a physical layer which are sequentially connected from top to bottom; the method comprises the following steps:
the network layer processes the data packet to be transmitted to obtain a plurality of network layer subframes;
the data link layer processes the plurality of network layer subframes to obtain a plurality of data link layer subframes;
the physical layer groups the plurality of data link layer subframes to obtain a plurality of subframe sets, wherein each subframe set comprises M data link layer subframes; wherein M is a preset number; the physical layer performs the following operation on each subframe set to obtain a plurality of physical frames:
sequentially carrying out scrambling, channel coding and interleaving treatment on the M data link layer subframes to obtain M bit data streams, respectively modulating each bit data stream in the M bit data streams to obtain M modulated data streams, respectively adding physical frame heads to the M modulated data streams to obtain M physical subframes, and taking the M physical subframes as one physical frame;
The physical layer transmits the plurality of physical frames.
Preferably, the processing, by the network layer, the data packet to be sent to obtain a plurality of network layer subframes, including:
the network layer averagely divides a data packet to be transmitted into a plurality of first subframes, and adds a first frame header to each first subframe to obtain a plurality of network layer subframes; wherein each first frame header comprises: the sequence number of the data packet to be sent, the subframe sequence number of the network layer subframe corresponding to the first frame header, and the routing information of the network layer subframe corresponding to the first frame header.
Further, the routing information includes: an address of a source node of the network layer subframe, an address of a destination node of the network layer subframe, and an address of an intermediate node for transmitting the network layer subframe; the method further comprises the steps of: determining the preset number according to one or more of the following parameters:
the current system time-frequency interference detected by the source node;
the intermediate node detects the current system time-frequency interference;
the current system service time delay detected by the target node;
the source node's ability to process data packets;
the ability of the target node to process data packets;
Preset network communication quality requirements.
Preferably, the processing, by the data link layer, the plurality of network layer subframes to obtain a plurality of data link layer subframes includes:
adding a second frame header to each network layer subframe to obtain a plurality of data link layer subframes; wherein each second frame header includes: the frame type of the data link layer subframe corresponding to the second frame header.
Further, after the data link layer processes the plurality of network layer subframes to obtain a plurality of data link layer subframes, the method further includes:
the data link layer allocates an existing communication resource for each of the data link layer subframes.
Preferably, the communication resources include: a time domain channel and a frequency domain channel; the data link layer allocates an existing communication resource for each data link layer subframe, including:
the data link layer performs the following operation on each data link layer subframe:
the currently available time domain channels are preferentially allocated to the data link layer sub-frame, and when all the time domain channels are unavailable, the currently available frequency domain channels are allocated to the data link layer sub-frame.
According to one embodiment of the present invention, another data communication method is provided and applied to a network transmission system, where the system includes a network layer, a data link layer and a physical layer sequentially connected from top to bottom; the method comprises the following steps:
The physical layer receives a plurality of physical frames, wherein each physical frame is obtained by the following method: sequentially carrying out scrambling, channel coding and interleaving treatment on M data link layer subframes to obtain M bit data streams, respectively modulating each bit data stream in the M bit data streams to obtain M modulated data streams, respectively adding physical frame heads to the M modulated data streams to obtain M physical subframes, and taking the M physical subframes as one physical frame;
the physical layer performs the following operation on each physical frame to obtain a verified data link layer subframe: respectively demodulating M physical subframes in the physical frame to obtain M demodulated data streams, and sequentially performing de-interleaving, channel decoding and descrambling on the M demodulated data streams to obtain M data link layer subframes; checking the M data link layer subframes, and feeding back a confirmation frame when the check is passed;
the data link layer processes the verified data link layer subframes to obtain a plurality of network layer subframes;
and the network layer processes the plurality of network layer subframes to obtain the required data packet.
Another objective of the present invention is to provide a data communication apparatus, which can effectively improve single transmission performance of a data packet, so as to avoid higher retransmission control overhead.
In order to achieve the above purpose, the technical scheme of the invention is realized as follows:
a data communication device is applied to a network transmission system, wherein the system comprises a network layer, a data link layer and a physical layer which are sequentially connected from top to bottom; the device comprises:
the first processing unit is used for enabling the network layer to process the data packet to be transmitted to obtain a plurality of network layer subframes;
the second processing unit is used for enabling the data link layer to process the plurality of network layer subframes to obtain a plurality of data link layer subframes;
a physical frame obtaining unit, configured to enable the physical layer to group the plurality of data link layer subframes to obtain a plurality of subframe sets, where each subframe set includes M data link layer subframes; wherein M is a preset number; the physical frame acquisition unit is further configured to cause the physical layer to perform the following operation on each of the subframe sets to obtain a plurality of physical frames:
sequentially carrying out scrambling, channel coding and interleaving treatment on the M data link layer subframes to obtain M bit data streams, respectively modulating each bit data stream in the M bit data streams to obtain M modulated data streams, respectively adding physical frame heads to the M modulated data streams to obtain M physical subframes, and taking the M physical subframes as one physical frame;
And the sending unit is used for enabling the physical layer to send the physical frames.
According to one embodiment of the present invention, there is further provided another data communication apparatus applied to a network transmission system, where the system includes a network layer, a data link layer and a physical layer sequentially connected from top to bottom; the device comprises:
a receiving unit, configured to make the physical layer receive a plurality of physical frames, where each physical frame is obtained by: sequentially carrying out scrambling, channel coding and interleaving treatment on M data link layer subframes to obtain M bit data streams, respectively modulating each bit data stream in the M bit data streams to obtain M modulated data streams, respectively adding physical frame heads to the M modulated data streams to obtain M physical subframes, and taking the M physical subframes as one physical frame;
the decoding and checking unit is configured to make the physical layer perform the following operation on each physical frame to obtain a checked data link layer subframe: respectively demodulating M physical subframes in the physical frame to obtain M demodulated data streams, and sequentially performing de-interleaving, channel decoding and descrambling on the M demodulated data streams to obtain M data link layer subframes; checking the M data link layer subframes, and feeding back a confirmation frame when the check is passed;
A third processing unit, configured to enable the data link layer to process the verified data link layer subframes to obtain a plurality of network layer subframes;
and the fourth processing unit is used for enabling the network layer to process the plurality of network layer subframes to obtain the required data packet.
Another objective of the present invention is to provide a data communication system, which can effectively improve single transmission performance of a data packet, so as to avoid higher retransmission control overhead.
In order to achieve the above purpose, the technical scheme of the invention is realized as follows:
a data communication system, comprising: a transmitting end and a receiving end; the transmitting end comprises the data communication device; the receiving end comprises the other data communication device.
The data communication method, the device and the system of the invention adopt a mode of uniformly scrambling, channel coding and interleaving M data link layer subframes in a physical layer to obtain one physical frame, and are different from the technical scheme of independently processing each data link layer subframe in the prior art, the mode can enhance the forward error correction capability in the data transmission process, so that the single transmission performance of the data packet is greatly improved, and higher retransmission control overhead is avoided. In addition, when the receiving end adopts the acknowledgement retransmission technology to ensure the reliability of data transmission, the number of acknowledgement frames can be greatly reduced and the retransmission control overhead can be further reduced because the acknowledgement technology aims at a physical frame with increased data length.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention, illustrate and explain the invention and are not to be construed as limiting the invention. In the drawings:
FIG. 1 is a schematic flow chart of a data communication method according to an embodiment of the invention;
fig. 2 is a schematic diagram of a frame structure of a network layer, a data link layer, and a physical layer according to an embodiment of the present invention;
FIG. 3 is a flow chart of another data communication method according to an embodiment of the invention;
fig. 4 is a schematic structural diagram of a data communication device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another data communication device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a data communication system according to an embodiment of the present invention;
FIG. 7 is a flow chart of data communications using the data communications system of the present invention;
fig. 8 is a graph showing data transmission performance when M takes different values in the embodiment of the present invention.
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.
The data communication method provided by the embodiment of the invention is applied to a network transmission system, wherein the system comprises a network layer, a data link layer and a physical layer which are sequentially connected from top to bottom; as shown in fig. 1, the method includes:
step S101, the network layer processes the data packet to be sent to obtain a plurality of network layer subframes.
The data packet to be sent is specifically derived from other higher layers above the network layer in the network transmission system, such as other protocol layering systems of an application layer and the like. The data communication scenario in this embodiment is a large traffic data transmission scenario, and correspondingly, the data packet to be sent is a large traffic data packet.
As shown in fig. 2, the network layer averagely divides a data packet to be sent into a plurality of first subframes, the length of each first subframe is the same, and a first frame header is added to each first subframe to obtain a plurality of network layer subframes. Wherein each first frame header comprises: the sequence number of the data packet to be sent, the subframe sequence number of the network layer subframe corresponding to the first frame header, and the routing information of the network layer subframe corresponding to the first frame header. The routing information includes: the address of the source node of the network layer subframe, the address of the destination node of the network layer subframe, and the address of the intermediate node for transmitting the network layer subframe.
The length of the first subframe is related to the data transmission capability and the data processing capability of the data link layer and the physical layer. Each network layer subframe consists of a subframe header (i.e., the first frame header) and a subframe payload (i.e., the first subframe).
After the network layer obtains a plurality of network layer subframes, the network layer subframes are sent to the data link layer through an interlayer interface.
Step S102, the data link layer processes the multiple network layer subframes to obtain multiple data link layer subframes.
As shown in fig. 2, the data link layer receives a plurality of network layer subframes transmitted by the network layer, takes each network layer subframe as a frame load, and adds a second frame header to each network layer subframe to obtain the plurality of data link layer subframes; wherein each second frame header includes: the frame type of the data link layer subframe corresponding to the second frame header. The frame type specifically includes: command frames, data frames, acknowledgement frames, etc., for example, in the second frame header, command frames may be denoted by "00" and data frames may be denoted by "01".
In this embodiment, after the data link layer processes the plurality of network layer subframes to obtain a plurality of data link layer subframes, the method further includes: the data link layer allocates an existing communication resource for each of the data link layer subframes.
Specifically, the above communication resources include: time domain channels (time slots), frequency domain channels (frequency bands), and spatial domain channels (air interface antennas). Time domain channel refers to a TDMA (Time division multiple access ) technique that divides transmission time into a number of time slots to transmit data; the frequency domain channel refers to a technology of dividing a frequency band into several frequency points to transmit data, i.e., FDMA (frequency division multiple access ). The data link layer allocates a time domain channel and/or a frequency domain channel for each data link layer subframe. The spatial channel may be understood as a data link layer allocating a different transmission path for each data link layer subframe. The above allocation results determine the transmission mode of each data link layer subframe, that is, whether each data link layer subframe is transmitted to the physical layer one by one according to time, or transmitted to the physical layer at the same time on different frequency points, or transmitted to the physical layer in multiple hops according to different transmission paths.
In this embodiment, the data link layer allocates existing communication resources for each data link layer subframe, and specifically includes: the data link layer performs the following operations for each data link layer subframe: the currently available time domain channels are preferentially allocated to the data link layer sub-frame, and when all the time domain channels are unavailable, the currently available frequency domain channels are allocated to the data link layer sub-frame. The instant domain channels have a higher priority in allocation than the frequency domain channels.
In practical applications, the data link layer stores resource occupancy information, such as which time slots and frequency points are currently occupied by other nodes in the network, in a networking stage or a later network maintenance stage. Therefore, the data link layer can integrate the interference condition and the access mechanism of the frequency point on the unoccupied time slot and the frequency point, and allocate a specific time slot and frequency point for each data link layer subframe. The above-mentioned frequency point interference situation can be obtained through interference measurement technology, and the access mechanism can be obtained through CSMA (Carrier Sense Multiple Access ) technology.
Step S103, the physical layer groups the plurality of data link layer subframes to obtain a plurality of subframe sets, wherein each subframe set comprises M data link layer subframes; wherein M is a preset number; the physical layer performs the following operation on each subframe set to obtain a plurality of physical frames: and sequentially carrying out scrambling, channel coding and interleaving treatment on the M data link layer subframes to obtain M bit data streams, respectively modulating each bit data stream in the M bit data streams to obtain M modulated data streams, respectively adding physical frame heads to the M modulated data streams to obtain M physical subframes, and taking the M physical subframes as one physical frame.
As shown in fig. 2, one physical frame is composed of M physical subframes, each physical subframe is composed of a physical subframe load and a physical subframe frame header, and the above one bit data stream corresponds to one physical subframe load, where the physical subframe load carries data of a data link layer. The information contained in the physical subframe frame header is used for synchronization between the receiving node and the transmitting node, wireless channel model estimation between the receiving node and the transmitting node and the like, and the physical subframe frame header also contains control information of a physical layer, wherein the control information comprises a frame sequence number of the physical subframe, the number (namely M value) of the physical subframe and modulation coding parameters of the physical layer.
After the physical layer performs the above processing on each subframe set, a corresponding physical frame is obtained, and multiple subframe sets can correspondingly obtain multiple physical frames. In this embodiment, one physical frame actually includes M processed data link layer subframes, that is, M data link layer subframes are combined to perform scrambling, channel coding and interleaving uniformly, so that forward error correction capability can be effectively enhanced, single transmission performance of a data packet is improved, and higher retransmission control overhead is avoided. Meanwhile, the number of data packets transmitted by the physical layer is reduced by the mode, and when the receiving end adopts the acknowledgement retransmission technology to ensure the reliability of data transmission, the number of acknowledgement frames can be greatly reduced and the retransmission control overhead is further reduced because the acknowledgement frame is aimed at a physical frame with increased data length.
The above-mentioned M value has an influence on the transmission reliability of the data packet, the transmission delay of the system, and the processing complexity of each layer of the network transmission system, and the M value is configured by the transmitting end (or called transmitting node) before the service transmission. The process is similar to the prior art when the value of M is 1. In general, the larger the M value is, the higher the transmission reliability is, but the transmission delay is increased and the processing complexity is increased. Therefore, for the selection of the M value, it is necessary to balance the relationship among transmission reliability, transmission delay, and processing complexity.
Fig. 8 is a graph of data transmission performance when M takes different values in the embodiment of the present invention, which shows transmission reliability (the variation of block error rate BLER with signal-to-noise ratio SNR) when 1 physical frame is divided into 8/16/20 (i.e., M-value) physical subframes. As can be seen from fig. 8, the same SNR (e.g., snr=8db), the larger the M value, the smaller the block error rate BLER, i.e., the better the transmission performance.
In addition to the above-mentioned value of M, the present embodiment may further determine the size K of one physical subframe in one physical frame. This value is related to transmission reliability, processing complexity and network access capability. The larger the K value is, the anti-interference capability and the access capability can be deteriorated, but the transmission delay can be smaller, and the processing cost can be also small; the K value is too small, and although the anti-complex electromagnetic environment is better, the transmission delay and the overhead are larger. Therefore, comprehensive balance is needed, and the K value is reasonably selected.
It is simply understood that this embodiment is similar to the diversity transmission concept, the larger the M value, the more diversity and the larger the gain, but the delay and complexity will increase somewhat; the K value is the size of a single packet (i.e., one physical subframe), and a reasonable K value can integrate the relationship between diversity gain and processing delay and processing overhead.
In this embodiment, the value of M may be determined according to one or more of the following parameters: the method comprises the steps of detecting current system time-frequency interference by a source node, detecting current system time-frequency interference by an intermediate node, detecting current system service time delay by a target node, processing data packets by the source node, processing the data packets by the target node and presetting network communication quality requirements.
Step S104, the physical layer sends the plurality of physical frames.
The embodiment of the invention also provides another data communication method which is applied to a network transmission system, wherein the system comprises a network layer, a data link layer and a physical layer which are sequentially connected from top to bottom; as shown in fig. 3, the method includes:
in step S201, the physical layer receives a plurality of physical frames, where each physical frame is obtained by: sequentially performing scrambling, channel coding and interleaving on the subframes of the M data link layers to obtain M bit data streams, respectively modulating each bit data stream in the M bit data streams to obtain M modulated data streams, respectively adding physical frame heads to the M modulated data streams to obtain M physical subframes, and taking the M physical subframes as one physical frame.
Step S202, the physical layer performs the following operations on each physical frame to obtain a verified data link layer subframe: respectively demodulating M physical subframes in the physical frame to obtain M demodulated data streams, and sequentially performing de-interleaving, channel decoding and descrambling on the M demodulated data streams to obtain M data link layer subframes; and checking the M data link layer subframes, and feeding back a confirmation frame when the check is passed. Here, an acknowledgement frame is fed back to the sender (source node).
Step S203, the data link layer processes the verified data link layer subframes to obtain a plurality of network layer subframes.
In step S204, the network layer processes the plurality of network layer subframes to obtain a required data packet.
In this embodiment, the required data packet is the data packet to be sent in step S101.
Corresponding to the embodiment, the invention also provides a data communication device which is applied to a network transmission system, wherein the system comprises a network layer, a data link layer and a physical layer which are sequentially connected from top to bottom. As shown in fig. 4, the apparatus includes:
a first processing unit 301, configured to process a data packet to be sent by the network layer, so as to obtain a plurality of network layer subframes;
A second processing unit 302, configured to enable the data link layer to process the plurality of network layer subframes to obtain a plurality of data link layer subframes;
a physical frame obtaining unit 303, configured to enable the physical layer to group the plurality of data link layer subframes to obtain a plurality of subframe sets, where each subframe set includes M data link layer subframes; wherein M is a preset number; the physical frame obtaining unit 303 is further configured to cause the physical layer to perform the following operation on each of the subframe sets to obtain a plurality of physical frames:
sequentially carrying out scrambling, channel coding and interleaving treatment on the M data link layer subframes to obtain M bit data streams, respectively modulating each bit data stream in the M bit data streams to obtain M modulated data streams, respectively adding physical frame heads to the M modulated data streams to obtain M physical subframes, and taking the M physical subframes as one physical frame;
a transmitting unit 304, configured to enable the physical layer to transmit the plurality of physical frames.
Preferably, the first processing unit 301 is configured to cause the network layer to obtain a plurality of network layer subframes by: the network layer averagely divides a data packet to be transmitted into a plurality of first subframes, and adds a first frame header to each first subframe to obtain a plurality of network layer subframes; wherein each first frame header comprises: the sequence number of the data packet to be sent, the subframe sequence number of the network layer subframe corresponding to the first frame header, and the routing information of the network layer subframe corresponding to the first frame header.
Further, the routing information includes: an address of a source node of the network layer subframe, an address of a destination node of the network layer subframe, and an address of an intermediate node for transmitting the network layer subframe; the apparatus further comprises: a determining unit for determining the preset number according to one or more of the following parameters: the method comprises the steps of detecting current system time-frequency interference by a source node, detecting current system time-frequency interference by an intermediate node, detecting current system service time delay by a target node, processing data packets by the source node, processing the data packets by the target node and presetting network communication quality requirements.
Preferably, the second processing unit 302 is configured to cause the data link layer to obtain a plurality of data link layer subframes by: adding a second frame header to each network layer subframe to obtain a plurality of data link layer subframes; wherein each second frame header includes: the frame type of the data link layer subframe corresponding to the second frame header.
Further, the apparatus further comprises: and the communication resource allocation unit is used for processing the plurality of network layer subframes at the data link layer to obtain a plurality of data link layer subframes, and then enabling the data link layer to allocate the existing communication resource for each data link layer subframe.
Preferably, the communication resources include: a time domain channel and a frequency domain channel; the communication resource allocation unit is configured to cause a data link layer to allocate an existing communication resource for each data link layer subframe by: the data link layer performs the following operation on each data link layer subframe: the currently available time domain channels are preferentially allocated to the data link layer sub-frame, and when all the time domain channels are unavailable, the currently available frequency domain channels are allocated to the data link layer sub-frame.
Corresponding to the embodiment, the invention also provides another data communication device which is applied to a network transmission system, wherein the system comprises a network layer, a data link layer and a physical layer which are sequentially connected from top to bottom. As shown in fig. 5, the apparatus includes:
a receiving unit 401, configured to enable the physical layer to receive a plurality of physical frames, where each physical frame is obtained by: sequentially carrying out scrambling, channel coding and interleaving treatment on M data link layer subframes to obtain M bit data streams, respectively modulating each bit data stream in the M bit data streams to obtain M modulated data streams, respectively adding physical frame heads to the M modulated data streams to obtain M physical subframes, and taking the M physical subframes as one physical frame;
The decoding and checking unit 402 is configured to cause the physical layer to perform the following operation on each physical frame to obtain a checked data link layer subframe: respectively demodulating M physical subframes in the physical frame to obtain M demodulated data streams, and sequentially performing de-interleaving, channel decoding and descrambling on the M demodulated data streams to obtain M data link layer subframes; checking the M data link layer subframes, and feeding back a confirmation frame when the check is passed;
a third processing unit 403, configured to enable the data link layer to process the verified data link layer subframes to obtain a plurality of network layer subframes;
a fourth processing unit 404, configured to enable the network layer to process the plurality of network layer subframes to obtain a required data packet.
The working principle, workflow, etc. of the device shown in fig. 4 and fig. 5 may refer to the specific embodiment of the data communication method provided by the present invention, and the same technical content will not be described in detail herein.
Corresponding to the above embodiment, the present invention also provides a data communication system, as shown in fig. 6, including: a transmitting end and a receiving end; the transmitting end comprises a data communication device as shown in fig. 4; the receiving end comprises a data communication device as shown in fig. 5.
Fig. 7 is a flowchart of data communication using the data communication system of the present invention, specifically comprising the steps of:
step one, a transmitting end network layer processes a data packet to be transmitted to obtain a plurality of network layer subframes.
When a transmitting end (namely a source node) transmits a service data packet, a network layer of the transmitting end receives the data packet to be transmitted and judges whether the data packet exceeds a preset threshold according to the size of the data packet, if so, the data packet to be transmitted is divided into a plurality of first subframes on average, and a first frame header is added to each first subframe; if the preset threshold is not exceeded, the data packet to be sent is directly added with a frame header without segmentation and is transmitted to a data link layer through an interlayer interface. The preset threshold may be set according to frame lengths supported by the data link layer and the physical layer. The network layer will also select a route for each network layer subframe according to the routing table to the target node, and the frame header of the network layer subframe has relevant routing information.
The routing table generally stores a plurality of paths reaching the destination node, and the network layer can select a suitable path for each instant network layer subframe according to the busy status and the link quality of each path. In addition, in the routing process, the factors such as the hop count from the destination node, the comprehensive link quality of each hop, the busy/idle degree of each path and the like need to be comprehensively considered. In this embodiment, the routing policy for the network layer sub-frame includes, but is not limited to, the sum of path overheads.
And step two, the transmitting end data link layer processes the plurality of network layer subframes to obtain a plurality of data link layer subframes.
The transmitting end data link layer receives a plurality of data link layer subframes successively and allocates transmission resources for each data link layer subframe. If a plurality of frequency points are available, transmission resources can be respectively allocated to each data link layer subframe in both the time dimension and the frequency dimension. The related resource allocation information may be carried in a control channel (fixed frequency point) or broadcast signaling. The data link layer communicates a plurality of data link layer subframes to the physical layer through an inter-layer interface.
The data link layer of each node maintains a resource occupancy table that indicates the time slot and frequency point resources currently available. The following method is specifically adopted to allocate transmission resources for each data link layer subframe: firstly, selecting available time slot resources; when no time slot resource is available, selecting an available frequency point resource; if the time slot resources and the frequency point resources are not available, the data is cached to the local. Meanwhile, monitoring time-frequency resources available for a period of time; and if available resources exist in the given time, transmitting data according to the sequence of the time slot before the frequency point. Otherwise, the frame data is discarded.
Step three, the physical layer of the transmitting end groups the subframes of the data link layer to obtain a plurality of subframe sets, wherein each subframe set comprises M subframes of the data link layer; wherein M is a preset number; the physical layer performs the following operation on each subframe set to obtain a plurality of physical frames: sequentially carrying out scrambling, channel coding and interleaving on the M data link layer subframes to obtain M bit data streams, and respectively modulating each bit data stream in the M bit data streams to obtain M modulated data streams; and respectively adding physical frame heads to the M modulated data streams to obtain M physical subframes, and taking the M physical subframes as one physical frame.
The processing of the physical layer of the transmitting end comprises bit level processing and symbol level processing. The bit level part is mainly used for processing bit layers such as scrambling whitening, coding and interleaving of the subframes of the data link layer, namely, the subframes of the data link layer are jointly scrambled, coded and interleaved. The symbol level processing is to modulate the data processed by bit level by sub-frames, and the physical sub-frame head consists of a preamble sequence for synchronization, channel estimation, frame number, sub-frame number indication and the like.
The main process of bit-level processing is scrambling, then encoding, and finally interleaving. The specific processing mode is as follows: the M data link layer subframes are sequentially sent to a scrambling module for scrambling treatment; the M scrambled data link layer subframes enter a coding module in sequence to execute channel coding; the M coded data link layer subframes sequentially enter an interleaving module for interleaving treatment. After the steps, M bit data streams are obtained.
And step four, the physical layer of the transmitting end transmits the plurality of physical frames.
The physical layer of the transmitting end transmits the plurality of physical frames obtained in the step three to the receiving end (namely the target node) through a radio frequency channel, and the physical frames reach the physical layer of the receiving end after radio frequency processing.
And fifthly, the receiving end physical layer receives a plurality of physical frames sent by the sending end physical layer.
Step six, the receiving end physical layer performs the following operation on each physical frame to obtain the verified data link layer subframe: respectively demodulating M physical subframes in the physical frame to obtain M demodulated data streams, and sequentially performing de-interleaving, channel decoding and descrambling on the M demodulated data streams to obtain M data link layer subframes; and checking the M data link layer subframes, and feeding back a confirmation frame when the check is passed. Here, an acknowledgement frame is fed back to the sender (source node).
The physical layer of the receiving end firstly takes the physical subframe as a basic unit to carry out symbol-level receiving processing, namely operations related to channel demodulation, such as synchronization, channel estimation, equalization, constellation de-mapping and the like; and then carrying out bit-level processing on the data after channel demodulation by taking the physical frame as a basic unit, namely carrying out joint decoding, de-interleaving and de-scrambling on M physical subframes. The M physical subframes may come from different time slots, different frequency points, and go through different routes; after bit-level processing, if decoding is correct (such as through CRC confirmation), each data packet is transmitted to a data link layer one by one, a confirmation frame (ACK) is fed back to a source node, and data processed by the data link layer is uploaded to a network layer; if the physical layer decoding is incorrect, the data link layer is notified and an error frame (NACK) is fed back to the source node.
And step seven, the receiving end data link layer processes the verified data link layer subframes to obtain a plurality of network layer subframes.
And step eight, the receiving end network layer processes the plurality of network layer subframes to obtain the required data packet.
The network layer of the receiving end determines whether the data block combination is needed according to the size of the service packet of the application layer (which can be carried by the frame head of the control channel or the data link layer). If so, uploading the combined data blocks to other high layers; otherwise, it is not necessary to perform a network layer merging operation.
The data communication method, the device and the system of the invention adopt a mode of uniformly scrambling, channel coding and interleaving M data link layer subframes in a physical layer to obtain one physical frame, and are different from the technical scheme of independently processing each data link layer subframe in the prior art, the mode can enhance the forward error correction capability in the data transmission process, so that the single transmission performance of the data packet is greatly improved, and higher retransmission control overhead is avoided. In addition, when the receiving end adopts the acknowledgement retransmission technology to ensure the reliability of data transmission, the number of acknowledgement frames can be greatly reduced and the retransmission control overhead can be further reduced because the acknowledgement technology aims at a physical frame with increased data length.
The foregoing details of the optional implementation of the embodiment of the present invention have been described in detail with reference to the accompanying drawings, but the embodiment of the present invention is not limited to the specific details of the foregoing implementation, and various simple modifications may be made to the technical solution of the embodiment of the present invention within the scope of the technical concept of the embodiment of the present invention, and these simple modifications all fall within the protection scope of the embodiment of the present invention.
In addition, the specific features described in the above embodiments may be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, various possible combinations of embodiments of the present invention are not described in detail.
Those skilled in the art will appreciate that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, including instructions for causing a single-chip microcomputer, chip or processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In addition, any combination of different implementations of the embodiment of the present invention may be performed, so long as it does not deviate from the idea of the embodiment of the present invention, which should also be regarded as disclosure of the embodiment of the present invention.

Claims (10)

1. A data communication method is applied to a network transmission system, wherein the system comprises a network layer, a data link layer and a physical layer which are sequentially connected from top to bottom; characterized in that the method comprises:
the network layer processes the data packet to be transmitted to obtain a plurality of network layer subframes;
the data link layer processes the plurality of network layer subframes to obtain a plurality of data link layer subframes;
The physical layer groups the plurality of data link layer subframes to obtain a plurality of subframe sets, wherein each subframe set comprises M data link layer subframes; wherein M is a preset number; the physical layer performs the following operation on each subframe set to obtain a plurality of physical frames:
sequentially carrying out scrambling, channel coding and interleaving treatment on the M data link layer subframes to obtain M bit data streams, respectively modulating each bit data stream in the M bit data streams to obtain M modulated data streams, respectively adding physical frame heads to the M modulated data streams to obtain M physical subframes, and taking the M physical subframes as one physical frame;
determining a size K of one physical subframe in the one physical frame;
the physical layer transmits the plurality of physical frames.
2. The method according to claim 1, wherein the network layer processes the data packet to be transmitted to obtain a plurality of network layer subframes, including:
the network layer averagely divides a data packet to be transmitted into a plurality of first subframes, and adds a first frame header to each first subframe to obtain a plurality of network layer subframes; wherein each first frame header comprises: the sequence number of the data packet to be sent, the subframe sequence number of the network layer subframe corresponding to the first frame header, and the routing information of the network layer subframe corresponding to the first frame header.
3. The data communication method according to claim 2, wherein the routing information includes: an address of a source node of the network layer subframe, an address of a destination node of the network layer subframe, and an address of an intermediate node for transmitting the network layer subframe; the method further comprises the steps of: determining the preset number according to one or more of the following parameters:
the current system time-frequency interference detected by the source node;
the intermediate node detects the current system time-frequency interference;
the current system service time delay detected by the target node;
the source node's ability to process data packets;
the ability of the target node to process data packets;
preset network communication quality requirements.
4. The method of data communication according to claim 2, wherein the processing the plurality of network layer subframes by the data link layer to obtain a plurality of data link layer subframes comprises:
adding a second frame header to each network layer subframe to obtain a plurality of data link layer subframes; wherein each second frame header includes: the frame type of the data link layer subframe corresponding to the second frame header.
5. The data communication method of claim 1, wherein after the data link layer processes the plurality of network layer subframes to obtain a plurality of data link layer subframes, the method further comprises:
The data link layer allocates an existing communication resource for each of the data link layer subframes.
6. The data communication method of claim 5, wherein the communication resources comprise: a time domain channel and a frequency domain channel; the data link layer allocates an existing communication resource for each data link layer subframe, including:
the data link layer performs the following operation on each data link layer subframe:
the currently available time domain channels are preferentially allocated to the data link layer sub-frame, and when all the time domain channels are unavailable, the currently available frequency domain channels are allocated to the data link layer sub-frame.
7. A data communication method is applied to a network transmission system, wherein the system comprises a network layer, a data link layer and a physical layer which are sequentially connected from top to bottom; characterized in that the method comprises:
the physical layer receives a plurality of physical frames, wherein each physical frame is obtained by the following method: sequentially carrying out scrambling, channel coding and interleaving treatment on M data link layer subframes to obtain M bit data streams, respectively modulating each bit data stream in the M bit data streams to obtain M modulated data streams, respectively adding physical frame heads to the M modulated data streams to obtain M physical subframes, taking the M physical subframes as one physical frame, and determining the size K of one physical subframe in the one physical frame;
The physical layer performs the following operation on each physical frame to obtain a verified data link layer subframe: respectively demodulating M physical subframes in the physical frame to obtain M demodulated data streams, and sequentially performing de-interleaving, channel decoding and descrambling on the M demodulated data streams to obtain M data link layer subframes; checking the M data link layer subframes, and feeding back a confirmation frame when the check is passed;
the data link layer processes the verified data link layer subframes to obtain a plurality of network layer subframes;
and the network layer processes the plurality of network layer subframes to obtain the required data packet.
8. A data communication device is applied to a network transmission system, wherein the system comprises a network layer, a data link layer and a physical layer which are sequentially connected from top to bottom; characterized in that the device comprises:
the first processing unit is used for enabling the network layer to process the data packet to be transmitted to obtain a plurality of network layer subframes;
the second processing unit is used for enabling the data link layer to process the plurality of network layer subframes to obtain a plurality of data link layer subframes;
A physical frame obtaining unit, configured to enable the physical layer to group the plurality of data link layer subframes to obtain a plurality of subframe sets, where each subframe set includes M data link layer subframes; wherein M is a preset number; the physical frame acquisition unit is further configured to cause the physical layer to perform the following operation on each of the subframe sets to obtain a plurality of physical frames:
sequentially carrying out scrambling, channel coding and interleaving treatment on the M data link layer subframes to obtain M bit data streams, respectively modulating each bit data stream in the M bit data streams to obtain M modulated data streams, respectively adding physical frame heads to the M modulated data streams to obtain M physical subframes, and taking the M physical subframes as one physical frame;
and the sending unit is used for enabling the physical layer to send the physical frames.
9. A data communication device is applied to a network transmission system, wherein the system comprises a network layer, a data link layer and a physical layer which are sequentially connected from top to bottom; characterized in that the device comprises:
a receiving unit, configured to make the physical layer receive a plurality of physical frames, where each physical frame is obtained by: sequentially carrying out scrambling, channel coding and interleaving treatment on M data link layer subframes to obtain M bit data streams, respectively modulating each bit data stream in the M bit data streams to obtain M modulated data streams, respectively adding physical frame heads to the M modulated data streams to obtain M physical subframes, and taking the M physical subframes as one physical frame;
The decoding and checking unit is configured to make the physical layer perform the following operation on each physical frame to obtain a checked data link layer subframe: respectively demodulating M physical subframes in the physical frame to obtain M demodulated data streams, and sequentially performing de-interleaving, channel decoding and descrambling on the M demodulated data streams to obtain M data link layer subframes; checking the M data link layer subframes, and feeding back a confirmation frame when the check is passed;
a third processing unit, configured to enable the data link layer to process the verified data link layer subframes to obtain a plurality of network layer subframes;
and the fourth processing unit is used for enabling the network layer to process the plurality of network layer subframes to obtain the required data packet.
10. A data communication system, comprising: a transmitting end and a receiving end; the transmitting end comprises the data communication device of claim 8; the receiving end comprising the data communication apparatus of claim 9.
CN202010611611.5A 2020-06-29 2020-06-29 Data communication method, data communication device and data communication system Active CN111835472B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010611611.5A CN111835472B (en) 2020-06-29 2020-06-29 Data communication method, data communication device and data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010611611.5A CN111835472B (en) 2020-06-29 2020-06-29 Data communication method, data communication device and data communication system

Publications (2)

Publication Number Publication Date
CN111835472A CN111835472A (en) 2020-10-27
CN111835472B true CN111835472B (en) 2023-07-28

Family

ID=72899626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010611611.5A Active CN111835472B (en) 2020-06-29 2020-06-29 Data communication method, data communication device and data communication system

Country Status (1)

Country Link
CN (1) CN111835472B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011130452A2 (en) * 2010-04-13 2011-10-20 Qualcomm Incorporated Heterogeneous network (hetnet) user equipment (ue) radio resource management (rrm) measurements
WO2014110793A1 (en) * 2013-01-18 2014-07-24 华为技术有限公司 Method for sending control information, base station, and user equipment
EP3534544A1 (en) * 2016-11-29 2019-09-04 Huawei Technologies Co., Ltd. Frequency hopping communication method and device thereof

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020089478A (en) * 2000-04-17 2002-11-29 노오텔 네트웍스 리미티드 Cooperation of arq protocols at physical and link layers for wireless communications
US7460524B2 (en) * 2003-12-07 2008-12-02 Lucent Technologies Inc. Method of frame aggregation
CN100576820C (en) * 2004-05-07 2009-12-30 艾格瑞系统有限公司 The mac header that uses with the frame set compresses
CN101610144B (en) * 2009-07-23 2011-05-04 北京新岸线无线技术有限公司 Method used for data sending of subchannel-modulation mode and device
CN104378444B (en) * 2014-11-27 2018-03-27 电子科技大学 For by host-host protocol log data link method
WO2017141729A1 (en) * 2016-02-18 2017-08-24 ソニー株式会社 Data processing device and data processing method
CN109561426A (en) * 2018-11-20 2019-04-02 浙江威星智能仪表股份有限公司 A kind of reliability method of less radio-frequency GFSK networking communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011130452A2 (en) * 2010-04-13 2011-10-20 Qualcomm Incorporated Heterogeneous network (hetnet) user equipment (ue) radio resource management (rrm) measurements
WO2014110793A1 (en) * 2013-01-18 2014-07-24 华为技术有限公司 Method for sending control information, base station, and user equipment
EP3534544A1 (en) * 2016-11-29 2019-09-04 Huawei Technologies Co., Ltd. Frequency hopping communication method and device thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Research of the comparative analysis of the frame structure of TD-SCDMA and WCDMA";Liu Siyu等;《2011 Global Mobile Congress》;全文 *

Also Published As

Publication number Publication date
CN111835472A (en) 2020-10-27

Similar Documents

Publication Publication Date Title
JP5498514B2 (en) Method and apparatus in communication system
KR101409733B1 (en) Method for transmission of data in a radio communication system, first network node and second network node thereof
JP4558739B2 (en) How to provide a multicast service
KR101606947B1 (en) Control channel signaling using code points for indicating the scheduling mode
RU2451403C2 (en) Method and apparatus in telecommunication system
EP3338391B1 (en) Telecommunications apparatuses and methods
US11569941B2 (en) Configuring puncture bundles of data for a first service in a transmission of a second service
EP2218204B1 (en) Method and system for data transmission in a data network
US9451417B2 (en) System and method for multicast communications in Wi-Fi networks
US20090003257A1 (en) Apriori proactive retransmissions
JP2005252964A (en) Communication system, communication method, base station and mobile station
CN108521316B (en) Hybrid automatic repeat request method and device
US7839824B2 (en) Allocation of periodically distributed frames of wireless communication
US20090161621A1 (en) Communication method and radio communication apparatus
EP2386149B1 (en) Method and system for communication in a wireless network
CN111835472B (en) Data communication method, data communication device and data communication system
CN110612682B (en) Method for false alarm detection in narrowband Internet of things downlink control channel

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Room 903, convenience service center, Jiaodong sub district office, Jiaozhou City, Qingdao City, Shandong Province, 266300

Patentee after: Qingdao Zhixin Semiconductor Technology Co.,Ltd.

Address before: Room 903, convenience service center, Jiaodong sub district office, Jiaozhou City, Qingdao City, Shandong Province, 266300

Patentee before: State Grid Sigi Ziguang (Qingdao) Microelectronics Technology Co.,Ltd.