Search

CN-122027359-A - Sonar data transmission and cooperative processing method

CN122027359ACN 122027359 ACN122027359 ACN 122027359ACN-122027359-A

Abstract

The invention discloses a sonar data transmission and cooperative processing method, which relates to the technical field of data transmission and comprises the following steps of processing a sonar terminal to obtain an original session key, encrypting communication data of sonar data to be uploaded by the sonar terminal by using the original session key to obtain data to be uploaded, constructing a joint communication link for communication between the sonar terminal and a remote control terminal, encrypting a communication channel to generate a data packet to be transmitted, uploading the data packet to the remote control terminal through the constructed joint communication link, verifying the received data packet by the remote control terminal, decrypting the verified data packet, analyzing whether the received data packet is abnormal or not according to a decryption result, and executing a corresponding data execution strategy according to the analysis result.

Inventors

  • LI NING
  • CAO YUNHUI
  • XIAO WENTAO
  • DING SHAOCHUN
  • CHEN YAN
  • Xin Wangshi
  • Hou Quanxu

Assignees

  • 宁波博海深衡科技有限公司
  • 台州博海深衡科技有限公司

Dates

Publication Date
20260512
Application Date
20260410

Claims (8)

  1. 1. The sonar data transmission and cooperative processing method is characterized by comprising the following steps of: step S1, processing a sonar terminal to obtain an original session key; S2, encrypting communication data of sonar data to be uploaded by the sonar terminal by using an original session key to obtain data to be uploaded; s3, constructing a joint communication link for communication between the sonar terminal and the remote control terminal, encrypting the communication channel, generating a data packet to be transmitted, and uploading the data packet to be transmitted to the remote control terminal through the constructed joint communication link; And S4, the remote control terminal verifies the received data packet, decrypts the verified data packet, analyzes whether the received data packet is abnormal according to a decryption result, and executes a corresponding data execution strategy according to an analysis result.
  2. 2. The sonar data transmission and cooperative processing method according to claim 1, wherein the process of processing the sonar terminal to obtain the original session key includes: Projecting each sonar terminal in the target sea area into a plane coordinate system to obtain coordinate values of each sonar terminal; Numbering each sonar terminal and acquiring coordinate values of the sonar terminals; in a plane coordinate system, selecting any two sonar terminals to be associated, and marking the sonar terminals as a sonar terminal pair; Constructing a corresponding elliptic curve equation according to the position of a sonar terminal required to transmit sonar data, and marking the base points of the elliptic curve equation as P1 and P2; generating an original session key K, a vertical point R and a storage point M according to the base point P1 and the base point P2, wherein K=M-R; And generating an input link according to the original session key K, and storing K into the input link.
  3. 3. The sonar data transmission and cooperative processing method according to claim 2, wherein the elliptic curve construction process comprises: constructing a corresponding plane coordinate system according to the coverage range of the target sea area; Selecting two sonar terminals with any association, and respectively marking the selected sonar terminals as a base point P1 and a base point P2; Connecting the base point P1 and the base point P2 to obtain a line segment P1P2; Acquiring the length of a line segment P1P 2; marking the center point of the line segment P1P2, marking as P0, obtaining the coordinates of the center point in a plane coordinate system, marking as P0 # , ) And making a straight line passing through the center point and perpendicular to the line segment P1P2; the distance from the center point P0 to the base points P1 and P2 is denoted as ; Obtaining the vertical distance between other sonar terminals and the straight line, selecting the sonar terminal with the minimum vertical distance, respectively marking the perpendicular points of the sonar terminal and the sonar terminal on the straight line as a storage point M and a perpendicular point R, obtaining the coordinates of the storage point M and the perpendicular point R, and marking the coordinates as M # , )、R( , ); According to 、P0( , ) And R is% , ) An elliptic curve is generated.
  4. 4. A sonar data transmission and co-processing method according to claim 3, wherein the process of encrypting the communication data of the sonar data to be uploaded by the sonar terminal by using the original session key, and obtaining the data to be uploaded comprises: integrating the sonar data to be uploaded by the sonar terminal, and converting the integrated sonar data into an original data stream; dividing an original data stream into a plurality of data fragments with the same length; performing encryption operation on the current data segment by using an original session key, wherein the encryption operation comprises an exclusive-or operation, a cyclic left-shift operation and a binary conversion operation, so as to obtain a ciphertext block; And splicing the ciphertext blocks in sequence to obtain the data to be uploaded.
  5. 5. A sonar data transmission and co-processing method according to claim 4, wherein encrypting the communication channel to generate the data packet to be sent comprises: The joint communication link comprises a plurality of communication channels, and the basic information of the communication channels comprises signal-to-noise ratio, bandwidth, bit error rate, time delay and channel occupancy rate; obtaining the comprehensive score corresponding to each communication channel according to the basic information of the communication channel; creating an application instruction, selecting a communication channel with the highest comprehensive score, and sending the application instruction to a remote control terminal according to the selected communication channel; after receiving the application instruction, the remote control terminal generates a public key and a corresponding communication verification key, and performs communication encryption on the selected communication channel according to the generated communication verification key to obtain an encrypted communication channel; Attaching a channel number, an elliptic curve equation, a base point P1, a base point P2, an input link and a communication verification key to the tail end of data to be uploaded to form a data packet to be sent; and the sonar terminal sends the data packet to be sent to a remote control terminal through the encrypted communication channel.
  6. 6. A sonar data transmission and co-processing method according to claim 5, wherein the process of verifying the received data packet to be sent by the remote control terminal includes: Before receiving the data packet to be sent, the remote control terminal reads the channel number in the data packet to be sent, matches the corresponding communication verification key through the public key corresponding to the channel number, judges that the data transmission process is normal if the matching result is consistent, judges that the data transmission process is abnormal if the data transmission process is inconsistent, and refuses to receive the data packet to be sent.
  7. 7. The sonar data transmission and cooperative processing method according to claim 6, wherein the process of decrypting the verified sonar data packet, analyzing whether the received sonar data packet has an abnormality according to the decryption result, and executing the corresponding data execution policy according to the analysis result includes: Acquiring a data packet passing verification, and extracting data to be uploaded, an elliptic curve equation, a base point P1, a base point P2, an input link and a sonar terminal number; Connecting the base point P1 and the base point P2 to obtain a line segment P1P2; Acquiring the length of a line segment P1P 2; Marking the center point of the line segment P1P2, and making a straight line which passes through the center point and is perpendicular to the line segment P1P 2; acquiring the vertical distance between other sonar terminals and the straight line, selecting the sonar terminal with the minimum vertical distance, marking the sonar terminal and the perpendicular points of the sonar terminal on the straight line as a storage point N and a perpendicular point Y, and acquiring the coordinates of the storage point N and the perpendicular point Y; Generating a new session key V according to the storage point N and the hanging point Y, matching the new session key V with the input link, if the new session key V is successfully matched with the input link, proving that the new session key is correct, if the new session key V is failed to be matched with the input link, discarding the data packet, recording an abnormal log and triggering retransmission operation; Sequentially analyzing the data to be uploaded into a plurality of ciphertext blocks with the same length, and if the ciphertext blocks have different lengths, complementing the ciphertext blocks with 0; And performing decryption operation on the current ciphertext block by using the new session key, wherein the decryption operation is the inverse operation of the encryption operation.
  8. 8. A sonar data transmission and co-processing method according to claim 7, wherein each sonar terminal is associated with only one other sonar terminal, and if there is no association between the sonar terminals, it is associated with the center point of the target sea area.

Description

Sonar data transmission and cooperative processing method Technical Field The invention relates to the technical field of data transmission, in particular to a sonar data transmission and cooperative processing method. Background In the transmission process of sonar data, the safety and the transmission reliability of the data are important. The traditional sonar data transmission mode generally adopts a single fixed channel for communication, and an encryption mechanism is easy to be interfered by the channel, stolen data or maliciously tampered. Meanwhile, the prior art lacks of dynamic property and space cooperativity in the aspect of key management, and is difficult to effectively cope with complex and changeable marine environments. In addition, data among a plurality of sonar terminals are often independently transmitted, and an effective cooperative processing mechanism is lacked, so that the problems of low data transmission efficiency and low channel utilization rate are caused. How to improve the safety of sonar data transmission and realize multi-terminal cooperative processing is a problem which needs to be solved, and therefore, the sonar data transmission and cooperative processing method is provided. Disclosure of Invention The invention aims to provide a sonar data transmission and cooperative processing method. The invention can realize the purposes of sonar data transmission and cooperative processing method by the following technical scheme: step S1, processing a sonar terminal to obtain an original session key; S2, encrypting communication data of sonar data to be uploaded by the sonar terminal by using an original session key to obtain data to be uploaded; s3, constructing a joint communication link for communication between the sonar terminal and the remote control terminal, encrypting the communication channel, generating a data packet to be transmitted, and uploading the data packet to be transmitted to the remote control terminal through the constructed joint communication link; And S4, the remote control terminal verifies the received data packet, decrypts the verified data packet, analyzes whether the received data packet is abnormal according to a decryption result, and executes a corresponding data execution strategy according to an analysis result. Further, the process of processing the sonar terminal to obtain the original session key includes: Projecting each sonar terminal in the target sea area into a plane coordinate system to obtain coordinate values of each sonar terminal; Numbering each sonar terminal and acquiring coordinate values of the sonar terminals; in a plane coordinate system, selecting any two sonar terminals to be associated, and marking the sonar terminals as a sonar terminal pair; Constructing a corresponding elliptic curve equation according to the position of a sonar terminal required to transmit sonar data, and marking the base points of the elliptic curve equation as P1 and P2; generating an original session key K, a vertical point R and a storage point M according to the base point P1 and the base point P2, wherein K=M-R; And generating an input link according to the original session key K, and storing K into the input link. Further, the elliptic curve construction process includes: constructing a corresponding plane coordinate system according to the coverage range of the target sea area; Selecting two sonar terminals with any association, and respectively marking the selected sonar terminals as a base point P1 and a base point P2; Connecting the base point P1 and the base point P2 to obtain a line segment P1P2; Acquiring the length of a line segment P1P 2; marking the center point of the line segment P1P2, marking as P0, obtaining the coordinates of the center point in a plane coordinate system, marking as P0 # ,) And making a straight line passing through the center point and perpendicular to the line segment P1P2; the distance from the center point P0 to the base points P1 and P2 is denoted as ; Obtaining the vertical distance between other sonar terminals and the straight line, selecting the sonar terminal with the minimum vertical distance, respectively marking the perpendicular points of the sonar terminal and the sonar terminal on the straight line as a storage point M and a perpendicular point R, obtaining the coordinates of the storage point M and the perpendicular point R, and marking the coordinates as M #,)、R(,); According to、P0(,) And R is%,) An elliptic curve is generated. Further, the process of encrypting the communication data of the sonar data to be uploaded by the sonar terminal by using the original session key to obtain the data to be uploaded comprises the following steps: integrating the sonar data to be uploaded by the sonar terminal, and converting the integrated sonar data into an original data stream; dividing an original data stream into a plurality of data fragments with the same length; performing encryption operation on