A method for underwater acoustic network control frame transmission based on information adaptation
By adopting an adaptive control frame transmission method in the water acoustic network, a variable-length frame length and decoding algorithm are designed according to the effective information amount of different network control frames, and the resource waste and signal collision problems caused by fixed information amount design are solved. , improves network transmission efficiency and performance.
Patent Information
- Application Number
- CN202211224446.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-08
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-10-08
AI Technical Summary
The fixed information design of network control frames in existing water acoustic networks leads to waste of resources and signal collisions, affecting network transmission performance.
Adopting the water acoustic network control frame transmission method based on the adaptive information volume, by constructing a network control frame type table, designing variable-length frame length and decoding algorithms according to the effective information volume of different network control frames, shortening the transmission time and reducing the probability of signal collision .
It effectively shortens the transmission time of network control frames, reduces resource waste, improves network transmission efficiency, avoids signal collisions, and improves network performance.
Smart Images

Figure CN115603831B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of underwater acoustic communication networks, and in particular to an underwater acoustic network control frame transmission method based on information volume adaptation. Background Art
[0002] Underwater acoustic communication is an important means of long-distance data transmission in underwater environments. Underwater acoustic networks are transmission networks composed of multiple underwater acoustic communication nodes in underwater environments, using underwater acoustic communication as a means. Underwater acoustic channels are open resources. If multiple nodes in an underwater acoustic network send signals through the underwater acoustic channel at the same time, the signals are likely to collide with each other, resulting in transmission failure. Therefore, it is necessary to design transmission protocols during underwater acoustic network transmission, such as MACAW, DSR and other transmission protocols. Nodes interact with each other through transmission protocols to achieve collision-free data transmission, and then the underwater acoustic network can operate reliably. Underwater acoustic channels are very complex and are affected by various natural environments, geographical conditions and random factors. In order to reduce the impact of underwater acoustic channels on the transmission process, complex encoding processing is usually performed on underwater acoustic signals, and decoding processing is also required at the receiving end.
[0003] The signals in the underwater acoustic network are mainly transmitted in frame format, which are generally divided into network control frames and network data frames. The network data frame corresponds to the valid data transmitted in the network, and the network control frame corresponds to the control information of different network protocols. Since the decoding process needs to know the amount of information of the signal to be decoded, the existing underwater acoustic network usually designs the network control frame as a fixed amount of information and uses it as the network prior information. Each node in the underwater acoustic network decodes the collected signal in real time according to the prior information of the network control frame. If the decoding is successful, the network control frame is successfully received.
[0004] Since the amount of information and communication method corresponding to the network data frame will change with the data transmission requirements, it is usually necessary to send a network control frame before transmitting the network data frame. The sender and receiver agree on the amount of information and communication method of the network data frame. After successfully receiving the network control frame, the receiver decodes the network data frame according to the agreed amount of information and communication method.
[0005] There are many types of network control frames, and different network control frames contain different amounts of effective information. When designing the size of network control frames in existing underwater acoustic networks, they are usually designed according to the maximum amount of information of all network control frames. For example, the RTS of the MACAW protocol contains 5 bytes, including the control frame, source node, destination node, and the size of the data to be transmitted. The RREQ of the DSR protocol contains 11 bytes, including the control frame, source node, destination node, maximum number of hops, and forwarding node list. The size of the network control frame in the underwater acoustic network is uniformly designed to be 11 bytes. When transmitting the RTS control frame, the first 5 bytes are valid data, and the last 6 bytes are usually padded with 0, which will cause a waste of resources for some network control frames. In addition, the larger the amount of information in the network control frame, the longer the corresponding signal duration, and the easier it is to collide with other signals, affecting the network transmission performance. Summary of the invention
[0006] The problem to be solved by the present invention is to provide an underwater acoustic network control frame transmission method based on information volume adaptation in view of the above-mentioned deficiencies existing in the prior art, which solves the problem of poor network transmission performance existing in the prior art.
[0007] The above-mentioned invention object of the present invention is achieved through the following technical scheme: a method for transmitting underwater acoustic network control frames based on information volume adaptation, characterized in that the transmission method comprises the following steps:
[0008] The first step is to construct an underwater acoustic network with multiple network nodes, and establish and store a network control frame type table in each network node;
[0009] In the second step, the source network node selects any network control frame in the network control frame type table and sends it to the destination network node through the underwater acoustic channel;
[0010] In the third step, the destination network node decodes the received network control frame according to the variable-length control frame decoding algorithm.
[0011] The present invention is further configured as follows: the frame format of the network control frame includes a public domain, a private domain, and a check bit which are arranged in sequence.
[0012] The present invention is further configured as follows: the public domain includes a frame type, a source address, and a destination address.
[0013] The present invention is further configured as follows: the network control frame type table is configured with different network control frames, and the configuration information corresponding to any network control frame includes frame type, hexadecimal representation, frame length, proprietary domain information length, and proprietary domain information parameters.
[0014] The present invention is further configured as follows: the frame types include RTS, CTS, ACK, RREQ, and RREP.
[0015] The present invention is further configured such that: the check bit is a result obtained by performing a cyclic redundancy check operation on the data in the public domain and the private domain, and is used to determine whether the received network control frame is correct.
[0016] The present invention is further configured as follows: the second step comprises the following steps:
[0017] (1) The source network node determines the frame type of the network control frame based on the network protocol type and data transmission requirements;
[0018] (2) Constructing a network control frame to be sent according to the frame format of the network control frame and the information in the network control frame type table;
[0019] (3) The network control frame to be sent is subjected to a cyclic redundancy check operation to add check bit information;
[0020] (4) The network control frame with the check bit information is sent to the physical layer for encoding and processing, and then sent to the destination network node through the underwater acoustic channel.
[0021] The present invention is further configured as follows: the variable length control frame decoding algorithm comprises the following steps:
[0022] Step 1: According to the network control frame type table, obtain the maximum frame length as N bytes;
[0023] Step 2: Set the initial value of the network control frame decoding length Q to the maximum frame length N;
[0024] Step 3: Determine whether the decoding length Q is greater than the public domain length. If so, go to step 4, otherwise go to step 10;
[0025] Step 4: Perform communication decoding on the network control frame to obtain a received signal of size Q bytes;
[0026] Step 5: Perform a cyclic redundancy check operation on the first Q-1 bytes of the received signal, and obtain the CRC check information under the current decoding length as Y;
[0027] Step 6: Compare the CRC check information Y with the data information of the Qth byte of the received signal. If they are different, go to step 7, otherwise go to step 8;
[0028] Step 7: After reducing the network control frame decoding length Q by 1, go to step 3;
[0029] Step 8: extract the frame type and frame length K of the received signal, and compare the frame type and frame length K of the received signal with the data information in the network control frame type table. If the frame type and frame length K of the corresponding network control frame in the network control frame type table are the same as the frame type and frame length K of the received signal, go to step 9, otherwise go to step 7;
[0030] Step 9: Successfully receive the data information of the network control frame;
[0031] Step 10: Decoding is completed.
[0032] To sum up, the beneficial technical effects of the present invention are as follows: this underwater acoustic network control frame transmission method based on information volume adaptation designs the frame length and decoding algorithm of the network control frame according to the effective information volume of different network control frames, which is beneficial to shortening the transmission time of the network control frame, reducing the probability of collision with other network control frame signals, and is beneficial to reducing the waste of transmission resources and improving network transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a frame format diagram of the network control frame in the present invention;
[0034] Figure 2 It is a flow chart of the variable length control frame decoding algorithm in the present invention;
[0035] Figure 3 is the example transmission scene graph in the present invention;
[0036] Figure 4 It is a transmission result diagram of a fixed-length network control frame in the present invention;
[0037] Figure 5 It is a transmission result diagram of a variable length network control frame in the present invention;
[0038] Figure 6 It is a frame structure diagram of the RTS control frame of node 1, the RTS control frame of node 2, the CTS control frame of node 3, and the ACK control frame of node 3 in the present invention. DETAILED DESCRIPTION
[0039] In order to make the technical means, creative features, objectives and functions achieved by the present invention clearer and easier to understand, the present invention is further explained below in conjunction with the accompanying drawings and specific implementation methods.
[0040] 1. Implementation process
[0041] The present invention proposes an underwater acoustic network control frame transmission method based on information volume adaptation, and the transmission method comprises the following steps:
[0042] The first step is to construct an underwater acoustic network with multiple network nodes, and establish and store a network control frame type table in each network node.
[0043] In the first step, the network control frame type table is configured with different network control frames, and the configuration information corresponding to any network control frame includes frame type, hexadecimal representation, frame length, proprietary domain information length, and proprietary domain information parameters.
[0044] Table 1 Network control frame type table
[0045]
[0046] As shown in Table 1, in this embodiment, the frame types of the network control frame include RTS, CTS, ACK, RREQ, and RREP. For example, the MACAW protocol includes a send request frame (RTS), a clear to send frame (CTS), and an information confirmation frame (ACK); the DSR protocol includes a route request frame (RREQ) and a route reply frame (RREP).
[0047] The hexadecimal representation of the RTS control frame is 0x00, the frame length is 6 bytes, the proprietary domain information length is 2 bytes, and the proprietary domain information parameters include data length and communication parameters, where the data length and the data size of the communication parameters are both 1 byte and are both represented in hexadecimal.
[0048] The hexadecimal representation of the CTS control frame is 0x01, the frame length is 5 bytes, the length of the proprietary domain information is 1 byte, the proprietary domain information parameters include channel quality electrical parameters, the data size of the channel quality electrical parameters is 1 byte, and the channel quality electrical parameters are represented in hexadecimal.
[0049] The hexadecimal representation of the ACK control frame is 0x02, the frame length is 4 bytes, the length of the proprietary domain information is 0 bytes, and the ACK control frame does not carry proprietary domain information parameters.
[0050] The hexadecimal representation of the RREQ control frame is 0x03, the frame length is 6 to 12 bytes, the proprietary domain information length is 2 to 8 bytes, and the proprietary domain information parameters include the sequence number, route size, and communication addresses of multiple forwarding nodes. The sequence number refers to the number of RREQ control frames sent by the source node to the destination node. The maximum number of forwarding nodes is 6. The size of each data of the sequence number, route size, and forwarding node communication address is 1 byte. The data information of the sequence number, route size, and forwarding node communication address are all represented in hexadecimal.
[0051] The hexadecimal representation of the RREP control frame is 0x04, the frame length is 6 to 12 bytes, the proprietary domain information length is 2 to 8 bytes, and the proprietary domain information parameters include the sequence number, the next hop address, and multiple routing records. The sequence number refers to the number of RREP control frames that the destination node replies to the source node. The maximum number of routing records is 6. The size of each data of the sequence number, the next hop address, and the routing record is 1 byte. The data information of the sequence number, the next hop address, and the routing record are all represented in hexadecimal.
[0052] In the second step, the source network node selects any network control frame in the network control frame type table and sends it to the destination network node through the underwater acoustic channel.
[0053] The second step includes the following steps: (1) the source network node determines the frame type of the network control frame according to the network protocol type and the data transmission requirement; (2) the network control frame to be sent is constructed according to the frame format of the network control frame and the information in the network control frame type table; (3) the network control frame to be sent is added with check bit information after a cyclic redundancy check operation; (4) the network control frame with the check bit information is sent to the physical layer for encoding processing and then sent to the destination network node through the underwater acoustic channel.
[0054] like Figure 1 As shown, in the second step, the frame format of the network control frame includes a public domain, a private domain, and a check bit set in sequence, the public domain includes a frame type, a source address, and a destination address, and the data information of the frame type, source address, and destination address in the public domain are all expressed in hexadecimal, and the data size is 1 byte, then the data size of the public domain is 3 bytes.
[0055] The proprietary domain information parameters of the RTS control frame include data length and communication parameters, where the data length and communication parameters are both 1 byte in size and are both expressed in hexadecimal. The proprietary domain information parameters of the CTS control frame include channel quality electrical parameters, where the channel quality electrical parameters are both 1 byte in size and are expressed in hexadecimal. The ACK control frame has no proprietary domain information parameters. The proprietary domain information parameters of the RREQ control frame include sequence number, route size, multiple forwarding nodes, the maximum number of forwarding nodes is 6, and the sequence number, route size, and data information of the forwarding node are all expressed in hexadecimal. The proprietary domain information parameters of the RREP control frame include sequence number, next address, multiple route records, the maximum number of route records is 6, and the sequence number, next address, and data information of the route record are all expressed in hexadecimal.
[0056] The check bit is the result of a cyclic redundancy check operation on the public domain and private domain data. It is used to determine whether the received network control frame is correct. The check bit data information is represented in hexadecimal and is 1 byte in size.
[0057] In the second step (1), the data transmission requirement refers to the data information that needs to be transmitted by the network control frame, such as data length and communication parameter data information transmitted through the RTS control frame, and channel quality parameters transmitted through the CTS control frame.
[0058] In (2) of the second step, the network control frame to be sent refers to a network control frame having public domain and private domain data information, and constructing the network control frame to be sent refers to forming a public domain having data information such as a frame type, a source address, and a destination address according to a frame format, and constructing a private domain of the network control frame according to information in a network control frame type table.
[0059] In (3) of the second step, the first two steps of the second step have formed a network control frame to be sent with public domain and private domain data information. The above-mentioned network control frame to be sent can form a complete network control frame after adding check bit information through cyclic redundancy check operation.
[0060] In the second step (4), the network control frame is sent to the physical layer for encoding processing, and the network control frame is sent to the destination network node through the underwater acoustic channel. This is the prior art in the art and will not be described in detail here.
[0061] In the third step, the destination network node decodes the received network control frame according to the variable-length control frame decoding algorithm.
[0062] like Figure 2 As shown, the variable length control frame decoding algorithm includes the following steps:
[0063] Step 1: According to the network control frame type table, obtain the maximum frame length as N bytes;
[0064] Step 2: Set the initial value of the network control frame decoding length Q to the maximum frame length N;
[0065] Step 3: Determine whether the decoding length Q is greater than the public domain length. If so, go to step 4, otherwise go to step 10;
[0066] Step 4: Perform communication decoding on the network control frame to obtain a received signal of size Q bytes;
[0067] Step 5: Perform a cyclic redundancy check operation on the first Q-1 bytes of the received signal, and obtain the CRC check information under the current decoding length as Y;
[0068] Step 6: Compare the CRC check information Y with the data information of the Qth byte of the received signal. If they are different, go to step 7, otherwise go to step 8;
[0069] Step 7: After reducing the network control frame decoding length Q by 1, go to step 3;
[0070] Step 8: extract the frame type and frame length K of the received signal, and compare the frame type and frame length K of the received signal with the data information in the network control frame type table. If the frame type and frame length K of the corresponding network control frame in the network control frame type table are the same as the frame type and frame length K of the received signal, go to step 9, otherwise go to step 7;
[0071] Step 9: Successfully receive the data information of the network control frame;
[0072] Step 10: Decoding is completed.
[0073] (II) Simulation and network control frame instance transmission results
[0074] Based on "(I) Implementation process", by analyzing and processing the instance transmission scenario, the transmission results of the fixed-length network control frame and the transmission results of the variable-length network control frame are obtained.
[0075] like Figure 3 As shown in the figure, a network topology diagram of a specific example includes node 1, node 2 and node 3. Node 1 and node 2 need to send data to node 3. The propagation delay τ between node 1 and node 3 13 is 0.4s, the size of the sent data is 48 bytes, and the propagation delay τ between node 2 and node 3 23 The transmission time is 0.5s and the data size is 64 bytes.
[0076] In this embodiment, the data transmission adopts the MACAW protocol, and the specific process of the protocol is as follows: before sending data, the source node first sends a request to send signal (RTS), and after receiving the RTS signal, the destination node replies with a clear to send signal (CTS). After receiving the CTS signal, the source node sends data, and after successfully receiving the data, the destination node replies with an information confirmation signal (ACK). During the simulation process, the time for node 1 to transmit the RTS signal is 0s, and the time for node 2 to transmit the RTS signal is 1s.
[0077] As shown in Table 1, due to the different sizes of the private fields of different types of network control frames, the maximum frame length of all network control frames is 3+8+1=12 bytes. If the network control frames are all transmitted in a fixed length, the length of the network control frame is 12 bytes, and the corresponding time domain signal length is 1.8s. For the RTS signal, the effective data volume is only 6 bytes.
[0078] like Figure 4 As shown in the figure, the result of the network control frame being transmitted according to a fixed length is: node 1 transmits the RTS control frame at 0s, the transmission duration of the RTS control frame is 1.8s, and node 3 receives the signal at 0.4s~2.2s; node 2 transmits the RTS control frame at 1s, the transmission duration of the RTS control frame is 2s, and node 3 receives the signal at 1.5s~3.3s.
[0079] from Figure 4 It can be seen that the reception time of the RTS control frames received by node 3 from node 1 and node 2 overlaps, and the two conflict, resulting in reception failure. At this time, node 1 and node 2 need to back off for a certain period of time and then resend the RTS control frame, which increases the network transmission delay and affects the network transmission efficiency.
[0080] like Figure 6As shown, according to the transmission method proposed in the present invention, the network control frame size changes adaptively according to the amount of information, the RTS control frame size is 6 bytes, corresponding to 3 public domain bytes, 2 dedicated domain bytes, and 1 check bit byte; the CTS control frame size is 5 bytes, corresponding to 3 public domain bytes, 1 dedicated domain byte, and 1 check bit byte; the ACK control frame size is 4 bytes, corresponding to 3 public domain bytes, 0 dedicated domain bytes, and 1 check bit byte.
[0081] exist Figure 3 In the example transmission scenario, the network control frame format that nodes 1 and 2 need to send is defined as: The RTS control frame in the figure has only 6 bytes, which is Figure 4 The fixed-length RTS control frame has its duration reduced by half to 0.9s, but the amount of effective information it transmits has not changed. The CTS and ACK control frames have smaller bytes and correspondingly shorter durations, 0.75s and 0.6s, respectively.
[0082] like Figure 5 As shown in the figure, the result of network control frame transmission according to variable length is: node 1 transmits RTS control frame at 0s, the control frame duration is 0.9s, and node 3 receives the signal at 0.4s~1.3s; node 2 transmits RTS control frame at 1s, the control frame duration is 0.9s, and node 3 receives the signal at 1.5s~2.4s.
[0083] from Figure 5 It can be seen that the reception time of the RTS control frames of node 1 and node 2 by node 3 does not overlap, so the RTS control frames of node 1 and node 2 are both successfully received.
[0084] like Figure 6 As shown, after the RTS control frame is successfully received, node 3 decodes the RTS control frames of node 1 and node 2 according to the variable length control frame decoding algorithm. When the decoding is successful, the decoding length Q of the RTS control frame is 6.
[0085] like Figure 6 As shown in the figure, node 3 first receives the data from node 1 and replies a CTS control frame with 5 bytes to node 1. Node 1 decodes the CTS control frame according to the variable length control frame decoding algorithm. When the decoding is successful, the decoding length of the CTS control frame is Q=5. Then node 1 sends 48 bytes of data. After node 3 successfully receives the data, it replies with a 4-byte ACK control frame. After node 1 successfully receives the ACK control frame, the transmission process of node 1 is completed.
[0086] like Figure 6As shown in the figure, node 3 receives data from node 2 and replies a CTS control frame with 5 bytes to node 2. Node 2 decodes the CTS control frame according to the variable length control frame decoding algorithm. When the decoding is successful, the decoding length of the CTS control frame is Q=5. Then node 2 sends 64 bytes of data. After node 3 successfully receives the data, it replies with a 4-byte ACK control frame. After node 2 successfully receives the ACK control frame, the transmission process of node 2 is completed.
[0087] This underwater acoustic network control frame transmission method based on information volume adaptation designs the frame length and decoding algorithm of the network control frame according to the effective information volume of different network control frames, which is beneficial to shorten the transmission time of the network control frame, reduce the probability of collision with other network control frame signals, and help reduce the waste of transmission resources and improve network transmission efficiency.
[0088] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution of the present invention, which should be included in the scope of the claims of the present invention.
Claims
1. A method for transmitting underwater acoustic network control frames based on information volume adaptation, characterized in that: The transmission method comprises the following steps: The first step is to construct an underwater acoustic network with multiple network nodes, and establish and store a network control frame type table in each network node; The frame format of the network control frame includes a public domain, a private domain, and a check bit which are arranged in sequence; The public domain includes frame type, source address, and destination address; The network control frame type table is configured with different network control frames, and the configuration information corresponding to any network control frame includes frame type, hexadecimal representation, frame length, proprietary domain information length, and proprietary domain information parameters; The frame types include RTS, CTS, ACK, RREQ, and RREP; The check bit is the result of a cyclic redundancy check operation on the data in the public domain and the private domain, and is used to determine whether the received network control frame is correct; In the second step, the source network node selects any network control frame in the network control frame type table and sends it to the destination network node through the underwater acoustic channel; The second step comprises the following steps: (1) The source network node determines the frame type of the network control frame based on the network protocol type and data transmission requirements; (2) Constructing a network control frame to be sent according to the frame format of the network control frame and the information in the network control frame type table; (3) The network control frame to be sent is subjected to a cyclic redundancy check operation to add check bit information; (4) Send the network control frame with the check bit information to the physical layer for encoding and processing, and then send it to the destination network node through the underwater acoustic channel; Step 3: The destination network node decodes the received network control frame according to the variable length control frame decoding algorithm; The variable length control frame decoding algorithm comprises the following steps: Step 1: According to the network control frame type table, obtain the maximum frame length as N bytes; Step 2: Set the initial value of the network control frame decoding length Q to the maximum frame length N; Step 3: Determine whether the decoding length Q is greater than the public domain length. If so, go to step 4, otherwise go to step 10; Step 4: Perform communication decoding on the network control frame to obtain a received signal of size Q bytes; Step 5: Perform a cyclic redundancy check operation on the first Q-1 bytes of the received signal, and obtain the CRC check information under the current decoding length as Y; Step 6: Compare the CRC check information Y with the data information of the Qth byte of the received signal. If they are different, go to step 7, otherwise go to step 8; Step 7: After reducing the network control frame decoding length Q by 1, go to step 3; Step 8: extract the frame type and frame length K of the received signal, and compare the frame type and frame length K of the received signal with the data information in the network control frame type table. If the frame type and frame length K of the corresponding network control frame in the network control frame type table are the same as the frame type and frame length K of the received signal, go to step 9, otherwise go to step 7; Step 9: Successfully receive the data information of the network control frame; Step 10: Decoding is completed.
