Data transmission and data processing method, device and underwater acoustic communication network system
By designing a lightweight communication transmission protocol in the underwater acoustic communication network and using node identification and communication time as synchronous session keys to achieve encryption and decryption, the high overhead and low security problems of the underwater acoustic communication network system are solved, and the security and efficiency of data transmission are improved.
Patent Information
- Application Number
- CN202410509504.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2044-04-25
AI Technical Summary
Underwater acoustic communication network systems have problems such as large transmission delay, low transmission rate and narrow transmission bandwidth. Conventional communication protocols lead to high system overhead and affect the security of data transmission.
A lightweight communication transmission protocol is designed. By integrating the node identification and communication time of the communication node as the synchronization session key, key synchronization is achieved. The data transmission time information and node identification are used for encryption and decryption, and the data packets are packaged for transmission.
While reducing system overhead, the security and efficiency of information transmission in the underwater acoustic communication network are improved.
Smart Images

Figure CN118368303B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data communications, and in particular to a data transmission and data processing method and device, as well as an underwater acoustic communication network system. Background Art
[0002] In the fields of marine resource development and environmental monitoring, it is often necessary to upload the data collected by various communication nodes deployed in the ocean through an underwater acoustic communication network system.
[0003] However, due to the limitations of actual application scenarios, unlike terrestrial wireless communications, underwater acoustic channels often have problems such as large transmission delay, low transmission rate and narrow transmission bandwidth. When conventional communication transmission protocols are used to ensure data transmission security, it often brings huge system overhead to the underwater acoustic communication network system. Summary of the Invention
[0004] Based on this, it is necessary to provide a data transmission and data processing method, device and underwater acoustic communication network system to address the above technical problems, so as to solve the problem of high overhead of underwater acoustic communication network system when ensuring data transmission security in related technologies.
[0005] In a first aspect, the present application provides a data transmission method, which is applied to a first underwater acoustic communication node in an underwater acoustic communication network, wherein the first underwater acoustic communication node pre-stores a first node identifier corresponding to the first underwater acoustic communication node and a destination node identifier of a destination underwater acoustic communication node corresponding to the first underwater acoustic communication node; the data transmission method includes:
[0006] Obtaining initial transmission data to be transmitted and data transmission time information;
[0007] Encrypting the initial transmission data according to the data transmission time information, the first node identifier, and the destination node identifier to obtain encrypted data;
[0008] The encrypted data, the data transmission time information and the first node identifier are packaged to obtain a transmission data packet through a preset communication transmission protocol, so as to perform data transmission on the transmission data packet.
[0009] In a second aspect, the present application provides a data processing method, which is applied to a second underwater acoustic communication node in an underwater acoustic communication network, wherein the second underwater acoustic communication node pre-stores a second node identifier corresponding to the second underwater acoustic communication node; the data processing method comprises:
[0010] Parsing the received target transmission data packet through a preset communication transmission protocol to obtain target encrypted data, target data transmission time information, and a target node identifier in the target transmission data packet, wherein the target transmission data packet is obtained by transmitting the data using the above-mentioned data transmission method;
[0011] The target encrypted data is decrypted according to the target data transmission time information, the target node identifier and the second node identifier to obtain target transmission data.
[0012] In a third aspect, the present application provides a data transmission device, which is applied to a first underwater acoustic communication node in an underwater acoustic communication network, wherein the first underwater acoustic communication node pre-stores a first node identifier corresponding to the first underwater acoustic communication node and a destination node identifier of a destination underwater acoustic communication node corresponding to the first underwater acoustic communication node; the data transmission device includes:
[0013] An acquisition module is used to acquire the initial transmission data to be transmitted and the data transmission time information;
[0014] An encryption module, configured to encrypt the initial transmission data according to the data transmission time information, the first node identifier, and the destination node identifier to obtain encrypted data;
[0015] The transmission module is used to package the encrypted data, the data transmission time information and the first node identifier into a transmission data packet through a preset communication transmission protocol, so as to transmit the transmission data packet.
[0016] In a fourth aspect, the present application provides a data processing device, which is applied to a second underwater acoustic communication node of an underwater acoustic communication network, wherein the second underwater acoustic communication node pre-stores a second node identifier corresponding to the second underwater acoustic communication node; the data processing device includes:
[0017] a parsing module, configured to parse a received target transmission data packet using a preset communication transmission protocol to obtain target encrypted data, target data transmission time information, and a target node identifier in the target transmission data packet, wherein the target transmission data packet is obtained by transmitting the data using the data transmission method described above;
[0018] The decryption module is used to decrypt the target encrypted data according to the target data transmission time information, the target node identifier and the second node identifier to obtain target transmission data.
[0019] In the fifth aspect, the present application also provides an underwater acoustic communication network system, which includes at least a first underwater acoustic communication node and a second underwater acoustic communication node; wherein, after obtaining the initial transmission data to be transmitted, the first underwater acoustic communication node generates a transmission data packet and performs data transmission by executing the data transmission method as described above; after receiving the transmission data packet, the second underwater acoustic communication node obtains the target transmission data by executing the data processing method as described above.
[0020] The data transmission method and data processing method provided in the embodiment of the present application are respectively applied to the first underwater acoustic communication node and the second underwater acoustic communication node of the underwater acoustic communication network, wherein the first underwater acoustic communication node pre-stores its corresponding node identifier and the destination node identifier of the corresponding destination underwater acoustic communication node, obtains real-time data transmission time information, and uses the data transmission time information, the first node identifier and the destination node identifier to lightweightly complete the encryption of the transmission data to obtain encrypted data, and finally packages the encrypted data, the data transmission time information and the first node identifier through a preset communication transmission protocol to obtain a transmission data packet for data transmission, after obtaining the transmission data packet, the second underwater acoustic communication node parses the data packet through the corresponding communication transmission protocol to obtain the corresponding target encrypted data, the target data transmission time information and the target node identifier, and then uses the target node identifier, the second node identifier stored in itself and the target data transmission time information to perform corresponding decryption to restore the original transmission data. The present application designs a lightweight communication transmission protocol, which realizes key synchronization with minimal bandwidth overhead by integrating the node identifier (serial number) of the communication node and the communication time as a synchronization session key, which can effectively reduce the system overhead of the underwater acoustic communication network while greatly improving the security of information transmission in the underwater acoustic communication network. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 A schematic diagram of the system architecture of an underwater acoustic communication network system provided in an embodiment of the present application;
[0023] Figure 2a A schematic diagram of a data transmission method according to an embodiment of the present invention;
[0024] Figure 2bA schematic diagram of a data processing method according to an embodiment of the present invention;
[0025] Figure 3a A schematic diagram of a data encryption process according to an embodiment of the present invention;
[0026] Figure 3b A schematic diagram of a process flow for decrypting data provided in an embodiment of the present application;
[0027] Figure 4a A schematic diagram of the steps of another data transmission method provided in an embodiment of the present application;
[0028] Figure 4b A schematic diagram of the steps of another data processing method provided in an embodiment of the present application;
[0029] Figure 5a A schematic diagram of a step flow chart of another data transmission method provided in an embodiment of the present application;
[0030] Figure 5b A flowchart of the steps of another data processing method provided in an embodiment of the present application;
[0031] Figure 6 A schematic diagram of the structure of transmitting data packets in a lightweight communication transmission protocol provided in an embodiment of the present application;
[0032] Figure 7 A schematic diagram of the structure of a data transmission device provided in an embodiment of the present application;
[0033] Figure 8 A schematic diagram of the structure of a data processing device provided in an embodiment of the present application;
[0034] Figure 9 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.
[0036] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature specified as "first" or "second" may explicitly or implicitly include one or more of the described features. In the description of this application, "plurality" means two or more, unless otherwise specifically specified.
[0037] In the description of this application, the word "for example" is used to mean "used as an example, illustration or illustration". Any embodiment described in this application as "for example" is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is given to enable any person skilled in the art to implement and use the present invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other examples, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the present invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in this application.
[0038] In order to facilitate understanding of the data transmission method and data processing method provided in the embodiments of the present application, the implementation scenarios of the data transmission method and data processing method are first described. Specifically, the data transmission method and data processing method provided in the embodiments of the present application are mainly used in the underwater acoustic communication nodes of the underwater acoustic communication network system, for use in the fields of marine resource development, environmental monitoring, etc. Among them, taking the field of environmental monitoring as an example, by deploying a number of communication nodes in the ocean, and setting sensors at a number of terminal communication nodes for real-time or periodic collection of marine environmental monitoring data, and realizing data transmission through the data transmission method and data processing method provided in the embodiments of the present application, and uploading it to the final communication node, it is possible to realize the collection and monitoring of marine environmental information in various areas within a large sea area. Please refer to Figure 1 , Figure 1 The system architecture diagram of an underwater acoustic communication network system provided in the embodiment of the present application is as follows. Specifically, the underwater acoustic communication network system exists in the form of a star network topology. In the star communication network system, the central node N 00 , first-level observation node (i.e., first-level communication node, a communication node in the underwater acoustic communication system) N 10 、N 20 ...N i0 and the secondary observation node (i.e., the secondary communication node, another communication node N in the underwater acoustic communication system) 11 、N 12 ...N 1i―1 , N 21、N 22 ...N 2i―1 ,……,N i1 、N i2 ...N ii―1 ,After collecting the data of the surrounding waters, the secondary observation nodes will transmit the data to the corresponding primary observation nodes, for example, Figure 1 Secondary observation node N in 41 、N 42 The data will be transmitted to the first-level observation node N 40 , secondary observation node N 21 The data will be transmitted to the first-level observation node N 20 , and the first-level observation node N 10 、N 20 、N 30 、N 40 After collecting the data transmitted by the corresponding secondary observation nodes, they will be aggregated and sent to the central node N 00 , in order to complete the collection of marine environment information in the entire area. It can be seen that in the above-mentioned underwater acoustic communication network, the information transmission between each observation node is relatively fixed.
[0039] However, due to the limitations of actual application scenarios, unlike terrestrial wireless communications, underwater acoustic channels often have problems such as large transmission delay, low transmission rate and narrow transmission bandwidth. If conventional communication protocols are used, the performance requirements of communication nodes deployed in the ocean are often high, resulting in high system overhead of the underwater acoustic communication network system. In order to solve the above problems, the present application provides a data transmission and data processing method, and designs a lightweight communication transmission protocol. By integrating the node identifier (serial number) of the communication node and the communication time as a synchronization session key, key synchronization is achieved with extremely small bandwidth overhead, which can effectively reduce the system overhead of the underwater acoustic communication network while greatly improving the security of information transmission in the underwater acoustic communication network.
[0040] Specifically, in one embodiment, please refer to Figure 2a , Figure 2a A flowchart of the steps of a data transmission method provided in an embodiment of the present application is described in detail as follows.
[0041] In the embodiment of the present application, the data transmission method is mainly applied to the first underwater acoustic communication node of the underwater acoustic communication network, wherein the first underwater acoustic communication node refers to a node in the underwater acoustic communication network system that has a data transmission demand, for example, Figure 1In the star-shaped communication network system shown, the secondary observation node has the need to transmit data to the primary observation node. Therefore, the secondary observation node can be used as the first underwater acoustic communication node, and the corresponding primary observation node is the destination underwater acoustic communication node corresponding to the first underwater acoustic communication node. For example, at the secondary observation node N 41 The node identifier SN corresponding to the node is pre-stored in 41 And the first-level observation node N 40 The corresponding node identifier SN 40 , or, at the first-level observation node N 30 The node identifier SN corresponding to the node is pre-stored in 30 and the central node N 00 The corresponding node identifier SN 00 , wherein the node identifier can be understood as the unique serial number of each communication node in the underwater acoustic communication network system, that is, in an underwater acoustic communication network system, the node identifier of each communication node is different. On this basis, the data transmission method specifically includes steps S210 to S230:
[0042] S210: Acquire initial transmission data to be transmitted and data transmission time information.
[0043] In the embodiments of the present application, the initial transmission data to be transmitted often refers to data that needs to be uploaded and transmitted. The specific content of the data to be transmitted varies in different application scenarios. For example, in the field of marine environmental monitoring, the initial transmission data to be transmitted by the first underwater acoustic communication node may be marine environmental information. Furthermore, when the initial transmission data needs to be transmitted, the first underwater acoustic communication node further obtains real-time data transmission time information. Specifically, the data transmission time information often varies at different times and can therefore be used as dynamically changing information to implement encryption of the transmitted data. For details, see step S220 below.
[0044] S220: Encrypt the initial transmission data according to the data transmission time information, the first node identifier, and the destination node identifier to obtain encrypted data.
[0045] In an embodiment of the present application, on the basis of the aforementioned acquisition of real-time data transmission time information, the first underwater acoustic communication node will also encrypt the initial transmission data based on the dynamically changing data transmission time information, and the pre-stored first node identifier and destination node identifier to obtain encrypted data, wherein the dynamic change of the data transmission time information ensures the non-uniqueness of the key during the encryption process and improves the security of data transmission, while the first node identifier and destination node identifier can be used to ensure that the encrypted information can only be decrypted and read by the corresponding destination underwater acoustic communication node.
[0046] Specifically, there are many implementation schemes for encrypting the initial transmission data according to the data transmission time information, the first node identifier and the destination node identifier to obtain the encrypted data. For example, as one of the most common implementation schemes, a preset encryption algorithm can be used to regard the data transmission time information, the first node identifier and the destination node identifier as encryption parameters and encrypt the initial transmission data to obtain the encrypted data. However, considering that there are certain regularities in the changes of the data transmission time information, and the first node identifier and the destination node identifier are often fixed values, the conventional method of encrypting the initial transmission data is at risk of being cracked. Therefore, in order to improve the security of data transmission, as a feasible embodiment of the present application, the data transmission time information, the first node identifier and the destination node identifier can be first processed based on a hash algorithm to ensure the randomness of the communication key obtained when only the data transmission time information changes. For details, please refer to Figure 3a , Figure 3a A schematic flow chart of a step of encrypting data provided in an embodiment of the present application, specifically including steps S310 to S320:
[0047] S310: Perform hash processing on the data transmission time information, the first node identifier, and the destination node identifier using a preset hash algorithm to obtain a communication key.
[0048] In an embodiment of the present application, a hash algorithm is an algorithm that processes information into a fixed character length, and can process different input information into different output information, and even if the input information differs by only 1 bit, a completely different string of characters will be output. Therefore, in the process of hashing the data transmission time information, the first node identifier, and the destination node identifier through the hash algorithm, due to the different data transmission time information, the communication key finally obtained by the hash processing will also be different, thereby avoiding the risk of encrypted data being cracked when encrypting data using relatively regular data transmission time information and completely fixed first node identifier and destination node identifier.
[0049] Specifically, the hash algorithm here can be MD5 (Message Digest Algorithm, Message Digest Algorithm 5) or SHA1 (Secure Hash Algorithm, Secure Hash Algorithm). Of course, it is also feasible to use other hash algorithms (hash algorithms) with similar functions, which will not be repeated in the embodiments of this application.
[0050] S320: Encrypt the initial transmission data according to the communication key and a preset symmetric encryption algorithm to obtain encrypted data.
[0051] In the embodiment of the present application, after obtaining the communication key by processing the data transmission time information, the first node identifier and the destination node identifier, the initial transmission data is further encrypted according to the communication key and the preset symmetric encryption algorithm to obtain the encrypted data, i.e., the final encrypted data C = Enc(key, P), wherein Enc() represents the symmetric encryption algorithm, key is the communication key obtained by processing the data transmission time information, the first node identifier and the destination node identifier through the hash algorithm, and P is the communication plaintext, i.e., the initial transmission data. Specifically, the symmetric encryption algorithm here can adopt the DES (Data Encryption Standard) algorithm or the AES (Advanced Encryption Standard) algorithm. Of course, it is also feasible to adopt other symmetric encryption algorithms, which will not be described in detail in the embodiment of the present application.
[0052] Through the method provided above, the initial transmission data in plain text can be encrypted into ciphertext, that is, encrypted data, and the hashing processing of the data transmission time information, the first node identifier and the destination node identifier also ensures the randomness of the obtained communication key, further improving the security of data transmission.
[0053] S230: Pack the encrypted data, the data transmission time information, and the first node identifier into a transmission data packet through a preset communication transmission protocol, so as to transmit the transmission data packet.
[0054] After the encryption of the initial data is completed to obtain the encrypted data, considering that in order to restore the encrypted data, a communication key is needed, and the key is obtained by hashing the data transmission time information, the first node identifier and the destination node identifier, and the destination underwater acoustic communication node corresponding to the first underwater acoustic communication node does not store the data transmission time information and the first node identifier corresponding to the first underwater acoustic communication node. Therefore, the lightweight communication transmission protocol designed in this application needs to at least package the data transmission time information and the first node identifier together with the encrypted data to generate a corresponding transmission data packet, thereby ensuring that the destination underwater acoustic communication node can use the data transmission time information and the first node identifier in the transmission data packet, as well as its own pre-stored destination node identifier to decrypt the encrypted data.
[0055] In addition, in order to further improve the security of data transmission, the final generated transmission data packet can also contain more information, that is, the communication transmission protocol can also add other information besides the encrypted data, data transmission time information and the first node identifier to the transmission data packet. The specific implementation plan will be further given in other subsequent embodiments.
[0056] After data encryption and compression packaging are achieved through the above scheme, the transmission data packet can be transmitted so that the communication node of the underwater acoustic communication network can receive the transmission data packet.
[0057] On the basis of the aforementioned data transmission, a corresponding data processing method is also provided in the embodiment of the present application. For details, please refer to Figure 2b ,like Figure 2b As shown, Figure 2b A flowchart of the steps of a data processing method provided in an embodiment of the present application is described in detail as follows.
[0058] In the embodiment of the present application, the data processing method is mainly applied to the second underwater acoustic communication node of the underwater acoustic communication network, wherein the second underwater acoustic communication node refers to a node in the underwater acoustic communication network system that has a data receiving demand, for example, Figure 1 In the star-shaped communication network system shown, the first-level observation node has the need to receive data transmitted by the second-level observation node, and the central node also has the need to receive data transmitted by the first-level observation node. Therefore, both the first-level observation node and the central node can be regarded as the second underwater acoustic communication node. Specifically, in addition, for the second underwater acoustic communication node, it usually also pre-stores its corresponding node identifier, and the description of the node identifier can be found in the aforementioned Figure 2a , the embodiment of the present application will not be described in detail here. On this basis, the data transmission method specifically includes steps S240 to S250:
[0059] S240, parsing the received target transmission data packet through a preset communication transmission protocol to obtain target encrypted data, target data transmission time information, and target node identifier in the target transmission data packet.
[0060] In an embodiment of the present application, the target transmission data packet is usually transmitted by the first underwater acoustic communication node through the data transmission method as described above. In addition, the second underwater acoustic communication node parses the received target transmission data packet through the corresponding communication transmission protocol, and can accordingly obtain the target encryption data, target data transmission time information and target node identification contained in the target transmission data packet. Specifically, the content contained in the above-mentioned target transmission data packet usually corresponds to the content added to the transmission data packet by the first underwater acoustic communication node during the data transmission process in the aforementioned step S230.
[0061] In addition, it should be noted that in a two-way communication network, the second underwater acoustic communication node usually stores the node identifier corresponding to the sender in addition to storing its corresponding node identifier. Figure 1 The network structure shown is taken as an example, the central node N 00 and the first-level observation node N20 There is a need for mutual communication between them. At this time, at the first-level observation node N 20 When serving as the first underwater acoustic communication node, it usually pre-stores the central node N 00 Node identification, so that at the central node N 00 To the first-level observation node N 20 During the information transmission process, the first-level observation node N as the second underwater acoustic communication node 20 After obtaining the target transmission data packet and parsing it to obtain the target node identifier, the target node identifier can be further compared with the first-level observation node N 20 The pre-stored central node N 00 The node identification is compared to determine whether the received target transmission data packet is from the central node N. 00 The information transmitted, similarly, the first-level observation node N 20 There is also a pre-stored secondary observation node N 21 The node identification can also determine whether the received target transmission data packet is from the secondary observation node N 21 The information transmitted. That is, through the above method, the second underwater acoustic communication node can use the target node identifier to determine whether the received target transmission data packet is a data packet transmitted by a trusted communication node. When the target node identifier obtained by parsing the target transmission data packet received by the second underwater acoustic communication node does not exist in its pre-stored node identifiers, the target transmission data packet can be considered as an untrusted data packet and will be discarded, thereby avoiding the risk of other forged communication nodes forging communication data packets to transmit erroneous information. Conversely, when the target node identifier obtained by parsing the target transmission data packet received by the second underwater acoustic communication node exists in its pre-stored node identifiers, the target node identifier can be understood as the first node identifier of the first underwater acoustic communication node that transmitted the data packet.
[0062] S250 , decrypting the target encrypted data according to the target data transmission time information, the target node identifier, and the second node identifier to obtain target transmission data.
[0063] On the basis of the foregoing, the target node identifier contained in the target transmission data packet is the first node identifier of the first underwater acoustic communication node transmitting the data packet. In addition, when the second underwater acoustic communication node is the destination communication node of the data packet, the second node identifier pre-stored in the second underwater acoustic communication node is the destination node identifier used by the first underwater acoustic communication node in the data process. Thus, the second underwater acoustic communication node can use the corresponding target data transmission time information, target node identifier, and second node identifier to complete decryption processing of the target encrypted data, thereby obtaining the target transmission data corresponding to the initial transmission data. When the receiving second underwater acoustic communication node is not the destination communication node of the data packet, the second underwater acoustic communication node cannot implement decryption processing of the target encrypted data to restore the initial transmission data because the second node identifier is different from the destination node identifier used in the encryption process. Of course, it should be noted that the decryption processing of the target encrypted data is usually performed in correspondence with the foregoing step S220, that is, when the data encryption process is implemented in the manner of step S220, the decryption processing of the target encrypted data by the second underwater acoustic communication node usually needs to be decrypted in the corresponding manner. For details, please refer to Figure 3a , Figure 3b , Figure 3b FIG. 3 is a schematic diagram of a step flow of decryption processing of target encrypted data provided by an embodiment of the present application, and specifically includes steps S330-S340.
[0064] S330, performing hash processing on the target data transmission time information, the target node identifier, and the second node identifier by using a preset hash algorithm to obtain a target communication key.
[0065] In the embodiment of the present application, similar to the encryption process, in order to implement decryption of the encrypted data, the corresponding communication key usually needs to be obtained, that is, the same hash algorithm as in step S310 needs to be used to perform hash processing on the target data transmission time information, the target node identifier, and the second node identifier. Specifically, only when the target data transmission time information is the same as the data transmission time information in the foregoing step S310, the target node identifier in the data packet is the same as the first node identifier of the first underwater acoustic communication node, and the second node identifier is the same as the destination node identifier of the first underwater acoustic communication node, the obtained target communication key is equal to the communication key in step S310.
[0066] S340, performing decryption processing on the initial transmission data according to the target communication key and a preset symmetric decryption algorithm to obtain target transmission data.
[0067] After obtaining the target communication key as mentioned above, if the target communication key is consistent with the communication key, the second underwater acoustic node can use the symmetric decryption algorithm corresponding to the symmetric encryption algorithm in step S320 to complete the decryption processing of the target encrypted data, and can restore the target transmission data consistent with the initial transmission data, thereby realizing complete data transmission.
[0068] It can be seen that in the data transmission method and data processing method provided in the embodiments of the present application, by designing a lightweight communication transmission protocol and integrating the node identification of the communication node and the communication time as a synchronization session key, key synchronization is achieved with extremely small bandwidth overhead, which can effectively reduce the system overhead of the underwater acoustic communication network while greatly improving the security of information transmission in the underwater acoustic communication network.
[0069] Furthermore, based on the aforementioned embodiment, considering that the data packets transmitted by the first underwater acoustic communication node are often received by other underwater acoustic communication nodes except the destination underwater acoustic communication node, in order to avoid other underwater acoustic communication nodes from incorrectly decrypting the received data packets, as another optional embodiment of the present application, during the data transmission process, the destination node identifier will also be added to the transmission data packet. At this time, in addition to the node identifier corresponding to the sending communication node, the transmission data packet also includes the node identifier corresponding to the receiving communication node. Please refer to Figure 4a , Figure 4a A flowchart of another data transmission method provided in an embodiment of the present application, specifically, Figure 2a Compared with the step flow diagram of the data transmission method shown in FIG, step S230 is to package the encrypted data, the data transmission time information, and the first node identifier through a preset communication transmission protocol to obtain a transmission data packet, so as to transmit the transmission data packet, specifically:
[0070] S410: Pack the encrypted data, the data transmission time information, the first node identifier, and the destination node identifier into a transmission data packet through a preset communication transmission protocol, so as to transmit the transmission data packet.
[0071] In this embodiment of the present application, compared to step S230, in addition to packaging and compressing the encrypted data, data transmission time information, and the first node identifier into a transmission data packet, the communication transmission protocol also includes the destination node identifier. This allows other underwater acoustic communication nodes to receive the data packet, parse the destination node identifier, and compare it with their own stored node identifier to quickly determine whether the data packet is intended for the node.
[0072] Specifically, in the aforementioned Figure 4aBased on the data transmission method shown in FIG, in the embodiment of the present application, a data processing method applied to the second underwater acoustic communication node is also provided. Figure 4b ,like Figure 4b As shown, Figure 4b This is a flowchart of another data processing method provided in an embodiment of the present application, which is similar to Figure 2b Compared with the step flow diagram of the data transmission method shown in FIG, in step S250, before decrypting the target encrypted data according to the target data transmission time information, the target node identifier, and the second node identifier to obtain the target transmission data, the method further includes:
[0073] S420: Determine whether the first target node identifier or the second target node identifier in the target node identifier is the same as the second node identifier. If yes, execute step S250; if no, discard the target transmission data packet.
[0074] In the embodiment of the present application, it is first necessary to explain that, in the process of the first underwater acoustic communication node packaging and processing data to obtain a transmission data packet, if the first underwater acoustic communication node packages the first node identifier and the destination node identifier, that is, the node identifiers of the sending and receiving communication nodes, into the transmission data packet, at this time, after the second underwater acoustic communication node parses the received target transmission data packet, the target node identifier obtained will also include two, namely the first target node identifier and the second target node identifier. At this time, it is possible to determine whether it is the destination underwater acoustic communication node corresponding to the transmission data packet by judging whether these two node identifiers are the same as the node identifier stored in itself, that is, the second node identifier. That is, when the first target node identifier or the second target node identifier in the target node identifier is the same as the second node identifier stored in itself, it can be considered that the communication node is the destination underwater acoustic communication node corresponding to the transmission data packet. At this time, the subsequent step S250 can be executed, that is, the target data transmission time information, the target node identifier and the second node identifier are used to complete the decryption of the target encrypted data to restore the target transmission data corresponding to the initial transmission data. Conversely, when the first target node identifier and the second target node identifier in the target node identifier are different from the second node identifier stored in itself, it can be considered that the communication node is not the destination underwater acoustic communication node corresponding to the transmission data packet. At this time, the transmission data packet can be discarded to save system overhead.
[0075] It can be seen that through the aforementioned implementation scheme of packaging and transmitting the first node identifier of the sending end and the destination node identifier of the receiving end together, the underwater acoustic communication node receiving data can quickly identify the target communication packet sent to itself, thereby reducing the processing link of useless data packets and further saving system overhead.
[0076] In addition, based on the above embodiment, in order to further avoid the risk of data tampering, a transmission check value of the encrypted data can be further added to the transmission data packet, so that the receiver can quickly identify the transmission data packet whose encrypted data has been tampered with. For details, please refer to Figure 5a , Figure 5a A flowchart of another data transmission method provided in an embodiment of the present application is provided. Specifically, Figure 2a Compared with the step flow diagram of the data transmission method shown in FIG, step S230 is to package the encrypted data, the data transmission time information, and the first node identifier through a preset communication transmission protocol to obtain a transmission data packet, so as to transmit the transmission data packet, specifically:
[0077] S510: Process the encrypted data using a preset verification algorithm to obtain a transmission verification value of the encrypted data.
[0078] In the embodiment of the present application, the encrypted data is processed by a preset verification algorithm to obtain a corresponding transmission verification value. Specifically, the verification algorithm here can adopt the CRC16 (Cyclic Redundancy Check, cyclic redundancy check code) algorithm, of course, other methods can also be adopted.
[0079] S520: Pack the encrypted data, the data transmission time information, the first node identifier, and the transmission check value into a transmission data packet through a preset communication transmission protocol, so as to transmit the transmission data packet.
[0080] In the embodiment of the present application, in addition to packaging and compressing the encrypted data, data transmission time information, and the first node identifier, the aforementioned transmission check value is also packaged into the transmission data packet. Thus, if the encrypted data is tampered with, the check value obtained by applying the corresponding verification algorithm to the tampered encrypted data will often change. In other words, if the obtained check value differs from the check value in the transmission data packet, it can be considered that the encrypted data has been tampered with, and the transmission data packet needs to be discarded.
[0081] Specifically, in the aforementioned Figure 5a Based on the data transmission method shown in FIG, in the embodiment of the present application, a data processing method applied to the second underwater acoustic communication node is also provided. Figure 5b ,like Figure 5b As shown, Figure 5b A flowchart of another data processing method provided in the embodiment of the present application is provided. Figure 2bCompared with the step flow diagram of the data transmission method shown in FIG, step S240 is to parse the received target transmission data packet through a preset communication transmission protocol to obtain the target encrypted data, target data transmission time information, and target node identifier in the target transmission data packet, specifically:
[0082] S530, parsing the received target transmission data packet through a preset communication transmission protocol to obtain target encryption data, target data transmission time information, target node identifier, and target check value in the target transmission data packet.
[0083] In an embodiment of the present application, since the first underwater acoustic communication node adds a transmission verification value during the data packaging process, the second underwater acoustic communication node will obtain a target verification value in addition to the target encryption data, target data transmission time information, and target node identification during the process of parsing the received target transmission data packet based on the corresponding communication protocol. The target verification value is often the transmission verification value calculated by the first underwater acoustic communication node during the data packaging process. Specifically, the target verification value can be used to further determine whether the encrypted data has been tampered with, as described later.
[0084] S540: Process the target encrypted data using a preset verification algorithm to obtain an initial verification value of the target encrypted data.
[0085] In an embodiment of the present application, the second underwater acoustic communication node will perform corresponding processing on the target encrypted data parsed above through a preset verification algorithm, thereby obtaining an initial verification value of the target encrypted data.
[0086] S550: Determine whether the initial check value is the same as the target check value. If yes, execute step S250; if no, discard the target transmission data packet.
[0087] In an embodiment of the present application, if the initial check value is the same as the target check value (transmission check value) in the transmission data packet, it indicates that the target encrypted data is the same as the transmitted encrypted data, that is, the transmitted encrypted data has not been tampered with during the transmission process. At this time, the subsequent steps can be further executed, that is, the target encrypted data is decrypted according to the target data transmission time information, the target node identifier and the second node identifier to restore the target transmission data consistent with the initial transmission data. Conversely, if the initial check value is different from the target check value (transmission check value) in the transmission data packet, it indicates that the encrypted data may be tampered with during the transmission of the data packet. At this time, the transmission data packet can be directly discarded.
[0088] It can be seen that the implementation scheme provided above effectively avoids the risk of data packets being tampered with during transmission, further improving the security of data transmission.
[0089] Furthermore, in the aforementioned embodiments, data transmission time information generally refers to information related to the time when data transmission occurs. For example, the more common ones may include transmission date, transmission hour, transmission minute and transmission second. However, in combination with the specific application scenario of the underwater acoustic communication network system, considering that in the underwater acoustic communication network system, the data transmission volume is relatively small and the data transmission frequency is relatively low, therefore, as a feasible embodiment of the present application, the data transmission time information mainly includes date information, hour information and minute information, but does not include transmission seconds, that is, the key used in the same minute is the same. Compared with scenarios with frequent communication requests such as conventional terrestrial communication network systems, such a setting can further effectively reduce the system overhead of the underwater acoustic communication network while ensuring the security of data transmission.
[0090] In addition, the aforementioned Figure 4a as well as Figure 5a Different implementation schemes of adding additional information to the transmission data packet, such as the destination node identifier or the verification value obtained by verifying the encrypted data, are shown respectively. In fact, as another optional embodiment of the present application, the transmission data packet can also be added with the destination node identifier and the verification value obtained by verifying the encrypted data at the same time, so that the receiving communication node can quickly identify whether the data packet is sent to itself or whether it has been tampered with.
[0091] For ease of understanding, and to better implement the data transmission method and data processing method provided in the embodiments of the present application, the following will be combined with the aforementioned Figures 1 to 5b The content provides a complete implementation process of the data transmission method and data processing method in the data communication process, which is detailed as follows:
[0092] by Figure 1 The central node N shown 00 and the first-level observation node N 40 For example, data communication between
[0093] Level 1 observation node N 40 Towards the central node N 00 Data sending process:
[0094] (1) Communication key generation: Level 1 observation node N 40 First, use a hash algorithm, such as SHA1, to generate the key K required for data encryption, K = H (ID 00 ‖ID 40 ‖d‖h‖m), where ID 00 The central node N 00 The corresponding unique serial number, that is, the destination node identifier in the above embodiment, ID 40 is the first-level observation node N40 The corresponding unique serial number is the first node identifier mentioned in the above embodiment, d, h, and m are data transmission time information, representing the date, hour, and minute of the communication, respectively, and H() is the corresponding hash algorithm;
[0095] (2) Data encryption: Level 1 observation node N 40 Use the symmetric encryption algorithm Enc() to encrypt the communication plaintext P to obtain the encrypted data C, C = Enc(K, P).
[0096] (3) Data Packaging and Transmission: After the data is encrypted, it is packaged according to the designed communication transmission protocol, and the CRC16 check value of the data packet is calculated. The check value is attached to the data packet and sent. The content of the communication transmission protocol is as follows: Figure 6 For details, please refer to Figure 6 The transmission data packet includes a 1-byte fixed frame header 0x5A, a 1-byte communication date (0x01 to 0x1f for the 1st to 31st days), a 1-byte source node number (i.e., the node number of the data sender, which is the node number of the first-level observation node N in this implementation scheme). 40 The corresponding unique serial number), 1-byte destination node number (that is, the data receiving end node number, which is the same as the central node N in this implementation scheme) 00 The corresponding unique serial number), 2 bytes of current communication time (where the hours and minutes each occupy 1 byte), communication payload ciphertext (i.e. encrypted data), and 2 bytes of data packet CRC16 checksum;
[0097] Central node N 00 Receiving decryption process:
[0098] (1) Data packet reception and analysis: Central node N 00 After receiving the data packet and parsing is completed, the first step is to determine whether the fourth byte of the data packet is the node number (that is, to determine whether the target node identifier in the transmission data packet is the same as the node identifier stored by the underwater acoustic communication node). If not, the data packet is discarded directly. If it is, the CRC16 checksum of the data packet is calculated and compared with the checksum attached to the data packet. If they are inconsistent, it indicates that the data has been tampered with. If they are consistent, the subsequent process is continued.
[0099] (2) Communication key generation: Central node N 00 According to the parsed data packet, the source node number is obtained, that is, the first-level observation node N 40 Corresponding unique serial number ID 40 The number and specific data transmission time information d, h, m, the key K is calculated using the hash algorithm H(), K=H(ID 00 ‖ID 40 ‖d‖h‖m).
[0100] (3) Data decryption: Central node N 00 The encrypted data C is decrypted using the symmetric decryption algorithm Dec() to obtain the final plaintext P, P=Dec(K, C), where the plaintext P is the initial transmission data to be transmitted.
[0101] In order to better implement the data transmission method provided in the embodiment of the present application, based on the data transmission method provided in the embodiment of the present application, the embodiment of the present application also provides a data transmission device, which is applied to the first underwater acoustic communication node of the underwater acoustic communication network, and the first underwater acoustic communication node pre-stores a first node identifier corresponding to the first underwater acoustic communication node and a destination node identifier of the destination underwater acoustic communication node corresponding to the first underwater acoustic communication node, such as Figure 7 As shown, Figure 7 This is a schematic diagram of the structure of a data transmission device provided in an embodiment of the present application. Specifically, the data transmission device 700 includes:
[0102] An acquisition module 710 is configured to acquire initial transmission data to be transmitted and data transmission time information;
[0103] An encryption module 720 is configured to encrypt the initial transmission data according to the data transmission time information, the first node identifier, and the destination node identifier to obtain encrypted data;
[0104] The transmission module 730 is configured to package the encrypted data, the data transmission time information, and the first node identifier into a transmission data packet through a preset communication transmission protocol, so as to transmit the transmission data packet.
[0105] In some embodiments of the present application, the encryption module 720 is used to hash the data transmission time information, the first node identifier and the destination node identifier through a preset hash algorithm to obtain a communication key; and encrypt the initial transmission data according to the communication key and a preset symmetric encryption algorithm to obtain encrypted data.
[0106] In some embodiments of the present application, the transmission module 730 is used to package the encrypted data, the data transmission time information, the first node identifier and the destination node identifier to obtain a transmission data packet through a preset communication transmission protocol to transmit the transmission data packet.
[0107] In some embodiments of the present application, the transmission module 730 is used to process the encrypted data through a preset verification algorithm to obtain a transmission verification value of the encrypted data; and to package the encrypted data, the data transmission time information, the first node identifier and the transmission verification value through a preset communication transmission protocol to obtain a transmission data packet, so as to transmit the transmission data packet.
[0108] In order to better implement the data processing method provided in the embodiment of the present application, on the basis of the data processing method provided in the embodiment of the present application, a data processing device is also provided in the embodiment of the present application, which is applied to the second underwater acoustic communication node of the underwater acoustic communication network, and the second underwater acoustic communication node pre-stores the second node identifier corresponding to the second underwater acoustic communication node, such as Figure 8 As shown, Figure 8 This is a schematic diagram of the structure of a data processing device provided in an embodiment of the present application. Specifically, the data processing device 800 includes:
[0109] a parsing module 810 configured to parse a received target transmission data packet using a preset communication transmission protocol to obtain target encrypted data, target data transmission time information, and a target node identifier in the target transmission data packet, wherein the target transmission data packet is obtained by transmitting the data using the aforementioned data transmission method;
[0110] The decryption module 820 is configured to decrypt the target encrypted data according to the target data transmission time information, the target node identifier, and the second node identifier to obtain target transmission data.
[0111] In some embodiments of the present application, the decryption module 820 is used to hash the target data transmission time information, the target node identifier and the second node identifier through a preset hash algorithm to obtain a target communication key; and decrypt the target encrypted data according to the target communication key and a preset symmetric decryption algorithm to obtain target transmission data.
[0112] In some embodiments of the present application, the target node identifier includes a first target node identifier and a second target node identifier, and the decryption module 820 is also used to decrypt the target encrypted data according to the target data transmission time information, the target node identifier and the second node identifier to obtain the target transmission data if the first target node identifier or the second target node identifier in the target node identifier is the same as the second node identifier.
[0113] In some embodiments of the present application, the parsing module 810 is used to parse the received target transmission data packet through a preset communication transmission protocol to obtain the target encrypted data, target data transmission time information, target node identifier and target verification value in the target transmission data packet; the decryption module 820 is also used to process the target encrypted data through a preset verification algorithm to obtain the initial verification value of the target encrypted data; if the initial verification value is the same as the target verification value, the target encrypted data is decrypted according to the target data transmission time information, the target node identifier and the second node identifier to obtain the target transmission data.
[0114] In some embodiments of the present application, the data transmission device 700 and the data processing device 800 can be implemented in the form of a computer program. The computer program can be used in Figure 9 The computer device shown in FIG. 1 is run on the computer device shown in FIG. The memory of the computer device may store various program modules constituting the data transmission device 700 or the data processing device 800, for example, Figure 7 The acquisition module 710, encryption module 720, transmission module 730 or Figure 8 The parsing module 810 and the decryption module 820 are shown. The computer program composed of various program modules enables the processor to execute the steps of the data transmission method or data processing method of each embodiment of the present application described in this specification.
[0115] For example, Figure 9 The computer device shown can be Figure 7 The acquisition module 710 in the data transmission device 700 shown in FIG. 10 executes step S210. The computer device may execute step S220 through the encryption module 720. The computer device may execute step S230 through the transmission module 730. The computer device may execute step S230 through the transmission module 730. Figure 8 The parsing module 810 in the data processing device 800 shown executes step S240. The computer device can execute step S250 through the decryption module 820. The computer device includes a processor, a memory, and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external computer device via a network connection. When the computer program is executed by the processor, a data transmission method or a data processing method is implemented.
[0116] Those skilled in the art will understand that Figure 9The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0117] In some embodiments of the present application, an underwater acoustic communication network system is provided, wherein the underwater acoustic communication network system includes at least a first underwater acoustic communication node and a second underwater acoustic communication node;
[0118] After obtaining the initial transmission data to be transmitted, the first underwater acoustic communication node performs the following steps:
[0119] Obtaining initial transmission data to be transmitted and data transmission time information;
[0120] Encrypting the initial transmission data according to the data transmission time information, the first node identifier, and the destination node identifier to obtain encrypted data;
[0121] The encrypted data, the data transmission time information and the first node identifier are packaged to obtain a transmission data packet through a preset communication transmission protocol, so as to perform data transmission on the transmission data packet.
[0122] In some embodiments of the present application, the first underwater acoustic communication node may further perform the following steps: performing a hash process on the data transmission time information, the first node identifier, and the destination node identifier using a preset hash algorithm to obtain a communication key;
[0123] The initial transmission data is encrypted according to the communication key and a preset symmetric encryption algorithm to obtain encrypted data.
[0124] In some embodiments of the present application, the first underwater acoustic communication node may also perform the following steps: package the encrypted data, the data transmission time information, the first node identifier and the destination node identifier through a preset communication transmission protocol to obtain a transmission data packet, so as to transmit the transmission data packet.
[0125] In some embodiments of the present application, the first underwater acoustic communication node may further perform the following steps: processing the encrypted data using a preset verification algorithm to obtain a transmission verification value of the encrypted data;
[0126] The encrypted data, the data transmission time information, the first node identifier and the transmission check value are packaged to obtain a transmission data packet through a preset communication transmission protocol, so as to perform data transmission on the transmission data packet.
[0127] After receiving the transmission data packet, the second underwater acoustic communication node performs the following steps:
[0128] Parsing the received target transmission data packet through a preset communication transmission protocol to obtain target encrypted data, target data transmission time information, and target node identification in the target transmission data packet;
[0129] The target encrypted data is decrypted according to the target data transmission time information, the target node identifier and the second node identifier to obtain target transmission data.
[0130] In some embodiments of the present application, the second underwater acoustic communication node may further perform the following steps: performing a hash process on the target data transmission time information, the target node identifier, and the second node identifier using a preset hash algorithm to obtain a target communication key;
[0131] The target encrypted data is decrypted according to the target communication key and a preset symmetric decryption algorithm to obtain target transmission data.
[0132] In some embodiments of the present application, the second underwater acoustic communication node may also perform the following steps: if the first target node identifier or the second target node identifier in the target node identifier is the same as the second node identifier, the target encrypted data is decrypted according to the target data transmission time information, the target node identifier and the second node identifier to obtain the target transmission data.
[0133] In some embodiments of the present application, the second underwater acoustic communication node may further perform the following steps: parsing the received target transmission data packet through a preset communication transmission protocol to obtain target encrypted data, target data transmission time information, target node identifier, and target check value in the target transmission data packet;
[0134] Processing the target encrypted data using a preset verification algorithm to obtain an initial verification value of the target encrypted data;
[0135] If the initial check value is the same as the target check value, the target encrypted data is decrypted according to the target data transmission time information, the target node identifier and the second node identifier to obtain target transmission data.
[0136] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Any reference to memory, storage, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0137] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0138] The above is a detailed introduction to a data transmission method, device, computer equipment and storage medium provided in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core ideas. At the same time, for those skilled in the art, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A data transmission method, characterized in that: In a first underwater acoustic communication node applied to an underwater acoustic communication network, the underwater acoustic communication network exists in a star network topology structure, and a fixed information transmission node exists among the nodes in the underwater acoustic communication network; the first underwater acoustic communication node pre-stores a first node identifier corresponding to the first underwater acoustic communication node and a destination node identifier of a destination underwater acoustic communication node corresponding to the first underwater acoustic communication node; The data transmission method includes: Obtaining initial transmission data to be transmitted and data transmission time information; Encrypting the initial transmission data according to the data transmission time information, the first node identifier, and the destination node identifier to obtain encrypted data; packaging the encrypted data, the data transmission time information, and the first node identifier to obtain a transmission data packet through a preset communication transmission protocol, and transmitting the transmission data packet; The step of packaging the encrypted data, the data transmission time information, and the first node identifier to obtain a transmission data packet through a preset communication transmission protocol, and transmitting the transmission data packet includes: Packing the encrypted data, the data transmission time information, the first node identifier, and the destination node identifier to obtain a transmission data packet through a preset communication transmission protocol, so as to transmit the transmission data packet; Among them, the transmission data packet is transmitted by broadcasting, and the destination node identifier is used to enable other underwater acoustic communication nodes to decrypt the encrypted data using the stored node identifier only at the destination node corresponding to the destination node identifier after receiving the transmission data packet.
2. The data transmission method according to claim 1, wherein: The encrypting the initial transmission data according to the data transmission time information, the first node identifier, and the destination node identifier to obtain encrypted data includes: Performing hash processing on the data transmission time information, the first node identifier, and the destination node identifier using a preset hash algorithm to obtain a communication key; The initial transmission data is encrypted according to the communication key and a preset symmetric encryption algorithm to obtain encrypted data.
3. The data transmission method according to any one of claims 1 to 2, characterized in that: The data transmission time information includes date information, hour information, and minute information.
4. A data processing method, characterized in that: In a second underwater acoustic communication node applied to an underwater acoustic communication network, a second node identifier corresponding to the second underwater acoustic communication node is pre-stored in the second underwater acoustic communication node; the data processing method includes: Parsing a received target transmission data packet through a preset communication transmission protocol to obtain target encrypted data, target data transmission time information, and a target node identifier in the target transmission data packet, wherein the target transmission data packet is obtained by transmitting the data transmission method according to any one of claims 1 to 3; If the first target node identifier or the second target node identifier in the target node identifier is the same as the second node identifier, the target encrypted data is decrypted according to the target data transmission time information, the target node identifier and the second node identifier to obtain the target transmission data.
5. The data processing method according to claim 4, characterized in that: The decrypting the target encrypted data according to the target data transmission time information, the target node identifier, and the second node identifier to obtain target transmission data includes: Performing hash processing on the target data transmission time information, the target node identifier, and the second node identifier using a preset hash algorithm to obtain a target communication key; The target encrypted data is decrypted according to the target communication key and a preset symmetric decryption algorithm to obtain target transmission data.
6. A data transmission device, characterized in that: In a first underwater acoustic communication node applied to an underwater acoustic communication network, the underwater acoustic communication network exists in a star network topology structure, and a fixed information transmission node exists among the nodes in the underwater acoustic communication network; the first underwater acoustic communication node pre-stores a first node identifier corresponding to the first underwater acoustic communication node and a destination node identifier of a destination underwater acoustic communication node corresponding to the first underwater acoustic communication node; The data transmission device includes: An acquisition module is used to acquire the initial transmission data to be transmitted and the data transmission time information; An encryption module, configured to encrypt the initial transmission data according to the data transmission time information, the first node identifier, and the destination node identifier to obtain encrypted data; a transmission module, configured to package the encrypted data, the data transmission time information, and the first node identifier to obtain a transmission data packet through a preset communication transmission protocol, so as to transmit the transmission data packet; The step of packaging the encrypted data, the data transmission time information, and the first node identifier to obtain a transmission data packet through a preset communication transmission protocol, and transmitting the transmission data packet includes: Packing the encrypted data, the data transmission time information, the first node identifier, and the destination node identifier to obtain a transmission data packet through a preset communication transmission protocol, so as to transmit the transmission data packet; Among them, the transmission data packet is transmitted by broadcasting, and the destination node identifier is used to enable other underwater acoustic communication nodes to decrypt the encrypted data using the stored node identifier only at the destination node corresponding to the destination node identifier after receiving the transmission data packet.
7. A data processing device, characterized in that: In a second underwater acoustic communication node applied to an underwater acoustic communication network, a second node identifier corresponding to the second underwater acoustic communication node is pre-stored in the second underwater acoustic communication node; the data processing device includes: a parsing module, configured to parse a received target transmission data packet through a preset communication transmission protocol to obtain target encrypted data, target data transmission time information, and a target node identifier in the target transmission data packet, wherein the target transmission data packet is obtained by transmitting the data transmission method according to any one of claims 1 to 4; A decryption module is used to decrypt the target encrypted data according to the target data transmission time information, the target node identifier and the second node identifier to obtain the target transmission data if the first target node identifier or the second target node identifier in the target node identifier is the same as the second node identifier.
8. An underwater acoustic communication network system, characterized in that: The underwater acoustic communication network system includes at least a first underwater acoustic communication node and a second underwater acoustic communication node; wherein, after obtaining the initial transmission data to be transmitted, the first underwater acoustic communication node generates a transmission data packet and performs data transmission by executing the data transmission method described in any one of claims 1 to 3; after receiving the transmission data packet, the second underwater acoustic communication node obtains the target transmission data by executing the data processing method described in any one of claims 4 to 5.
Citation Information
Patent Citations
Information security communication method and system, network card and storage medium
CN109450937A