Underwater big data transmission method and device and underwater sound equipment

By subcontracting and encoding the data to be transmitted in underwater communication and retransmitting according to the type of response packet of the receiver, the problems of low throughput and low reliability of underwater communication data are solved, and efficient and reliable underwater data transmission is achieved.

CN119561621APending Publication Date: 2025-03-04SHENZHEN SMART OCEAN TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411716293.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

In the prior art, underwater communication data throughput and low reliability lead to low underwater communication efficiency, low throughput, high latency and high energy consumption.

Method used

By acquiring the data to be transmitted, subcontracting and encoding processing are performed, the data packet is formed, and sent to the receiver according to the encoding order. After the receiver receives the data packet, it establishes a bitmap to determine whether there is a missing data packet. If it exists, a retransmission request packet is constructed and sent to the sender. The sender retransmits the missing data packet based on the retransmission request packet.

Benefits of technology

It improves the data throughput and reliability of underwater communication, reduces the number of responses and processes of the receiver and sender, reduces the data loss rate, and improves the efficiency of water acoustic communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119561621A_ABST
    Figure CN119561621A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of underwater acoustic communication, and mainly provides an underwater big data transmission method and device and underwater acoustic equipment, and the method comprises the steps: obtaining to-be-transmitted data through a sender, carrying out the subpackage and coding of the to-be-transmitted data to obtain a data package, and transmitting the data package to a receiver according to a coding sequence; after receiving a data packet, a receiver parses the data packet, establishes a corresponding bitmap, determines whether data is missing according to the content of the bitmap, constructs a retransmission request packet according to the bitmap when data is missing, and sends the retransmission request packet to a sender. And after receiving the retransmission request packet, the sender parses the retransmission request packet and resends the data packet of the missing data to the receiver according to the parsed content. On the basis, the response times and processes of the receiver and the sender can be reduced, so that the throughput of underwater acoustic communication is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of underwater acoustic communication technology, and in particular to a method, device and underwater acoustic equipment for transmitting underwater big data. Background Art

[0002] The ocean accounts for 70% of the earth's surface area. The ocean contains huge energy and resources, and human cognition and exploration of the ocean are still very scarce. With the continuous deepening of people's development and utilization of marine biological resources, seabed mineral resources and marine energy, the improvement of underwater communication technology has become very urgent. The communication methods that can be used for underwater communication include electromagnetic waves and sound waves. There is a great difference between underwater communication and air communication. The attenuation of electromagnetic waves (including light) in water is very serious, and the propagation distance is only tens of meters or even a few meters. Therefore, underwater communication generally uses sound waves, but the propagation of sound waves underwater has problems such as low transmission baud rate, slow speed and limited bandwidth, resulting in low efficiency, low throughput, high latency and high energy consumption of underwater communication.

[0003] Due to the fading and channel conflict of underwater acoustic channels, underwater acoustic communication is prone to data parsing failure, bit errors, packet loss, etc. Therefore, how to improve the data throughput and reliability of underwater communication has become an urgent problem to be solved. Summary of the invention

[0004] The embodiments of the present invention provide a method, device and underwater acoustic equipment for transmitting underwater big data, aiming to solve the technical problems of low throughput and low reliability of underwater communication data in the prior art.

[0005] In order to solve the above technical problems, a technical solution adopted in the embodiment of the present invention is: to provide a method for transmitting underwater big data, the method comprising:

[0006] Acquire data to be transmitted, and perform packetization and encoding processing on the data to be transmitted to obtain data packets;

[0007] Send the data packets to the receiver in sequence according to the encoding order;

[0008] Receive a response packet sent back by the receiving party, and determine the type of the response packet;

[0009] When the type of the response packet is a retransmission request packet, the retransmission request packet is parsed, and the missing data packets are resent to the receiver according to the parsing result.

[0010] Optionally, the acquiring the data to be transmitted, and performing packetization and encoding processing on the data to be transmitted to obtain a data packet includes:

[0011] Acquire a data transmission mode, and determine a data transmission size according to the transmission mode;

[0012] Packetizing the data to be transmitted according to the size of the data transmission to obtain a data packet, wherein the data packet includes data blocks, and each data block includes a fixed amount of the data to be transmitted;

[0013] The data packet is encoded to obtain a data packet in a preset format.

[0014] Optionally, if the type of the response packet is a retransmission request packet, parsing the retransmission request packet, and resending the missing data packet to the receiver according to the parsing result, includes:

[0015] Parsing the retransmission request packet to obtain a corresponding bitmap table;

[0016] determining the missing data packets according to the bitmap table;

[0017] repackaging the missing data packets based on the size of the data transmission to obtain retransmitted data packets;

[0018] The retransmitted data packets are sent to the receiving party in sequence.

[0019] Optionally, after determining that the type of the response packet is a retransmission request packet, the method further includes:

[0020] The data loss rate of the data transmission is calculated according to the retransmission request packet, and the transmission mode during the data transmission is adjusted in real time according to the data loss rate.

[0021] Optionally, the method further includes:

[0022] Obtaining the return time of the response packet returned by the receiver, and determining whether the return time exceeds a preset time;

[0023] When the return time exceeds the preset time and the type of the return response packet is a retransmission request packet, obtaining the number of requests for the retransmission request packet;

[0024] Determine whether the number of requests exceeds the number of retransmissions;

[0025] If the number of requests exceeds the number of retransmissions, an error response packet is sent to the receiving party and data transmission is stopped;

[0026] If the number of requests does not exceed the number of retransmissions, a detection packet is sent to the receiver to verify whether the communication channel is successfully established.

[0027] Optionally, the method further includes:

[0028] When the type of the response packet is an error response packet, data transmission is stopped.

[0029] In order to solve the above technical problems, another technical solution adopted in the embodiment of the present invention is: to provide a method for transmitting underwater big data, the method comprising:

[0030] receiving data packets in sequence, wherein the data packets include a leading packet and a data block;

[0031] Establishing a bitmap table according to the leading packet, and filling the bitmap table according to the data block;

[0032] After all the data packets are received, determining whether there are any missing data packets in the bitmap table;

[0033] If there are missing data packets in the bitmap table, a retransmission request packet is constructed according to the bitmap table, and the retransmission request packet is sent to the sender.

[0034] In order to solve the above technical problems, another technical solution adopted by the embodiment of the present invention is: to provide an underwater big data transmission device, the device comprising:

[0035] A processing module, used for acquiring data to be transmitted, and performing packetization and encoding processing on the data to be transmitted to obtain data packets;

[0036] A sending module, used for sending the data packets to the receiving party in sequence according to the encoding order;

[0037] A first determination module, configured to receive a response packet sent back by the receiving party and determine a type of the response packet;

[0038] A parsing module is used to parse the retransmission request packet when the type of the response packet is a retransmission request packet, and resend the missing data packet to the receiving party according to the parsing result.

[0039] In order to solve the above technical problems, another technical solution adopted by the embodiment of the present invention is: to provide an underwater big data transmission device, the device comprising:

[0040] A receiving module, used to sequentially receive data packets, wherein the data packets include a leading packet and a data block;

[0041] A building module, used for building a bitmap table according to the leading packet, and filling the bitmap table according to the data block;

[0042] A second judgment module, used for judging whether there are missing data packets in the bitmap table after all the data packets are received;

[0043] The request module is used to construct a retransmission request packet based on the bitmap table when there are missing data packets in the bitmap table, and send the retransmission request packet to the sender.

[0044] In order to solve the above technical problems, another technical solution adopted by the embodiment of the present invention is: to provide an underwater acoustic device, the underwater acoustic device comprising:

[0045] at least one processor; and,

[0046] a memory communicatively connected to the at least one processor; wherein,

[0047] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described above.

[0048] Different from the related art, the present invention provides a method, device and underwater acoustic equipment for transmitting underwater big data. The method obtains the data to be transmitted by the sender, and performs packetization and encoding processing on the data to be transmitted to obtain a data packet, and sends the data packet to the receiver according to the encoding order; after receiving the data packet, the receiver will parse the data packet and establish a corresponding bitmap table, and then determine whether the data is missing according to the content of the bitmap table, and finally, when the data is missing, a retransmission request packet is constructed according to the bitmap table, and the retransmission request packet is sent to the sender; after receiving the retransmission request packet, the sender will parse the retransmission request packet and resend the data packet of the missing data to the receiver according to the parsed content. Based on this, when the underwater data is lost, all the lost data is transmitted to the receiver again, which can avoid packet loss and the like, thereby improving the reliability of underwater communication, and by sending all the data packets of the lost data at a time, not only the number of responses and processes of the receiver and the sender are reduced, but also the throughput of underwater acoustic communication is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] One or more embodiments are exemplarily described by corresponding drawings, which do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and the figures in the drawings do not constitute proportional limitations unless otherwise stated.

[0050] Figure 1 is a flow chart of an underwater acoustic communication method provided by an embodiment of the present invention;

[0051] Figure 2 is a flow chart of a method for transmitting underwater big data provided by another embodiment of the present invention;

[0052] Figure 3 It is an interactive diagram of a method for transmitting underwater big data provided by an embodiment of the present invention;

[0053] Figure 4It is a structural block diagram of an underwater big data transmission device provided by an embodiment of the present invention;

[0054] Figure 5 is a structural block diagram of an underwater big data transmission device provided by another embodiment of the present invention;

[0055] Figure 6 It is a schematic diagram of the hardware structure of an electronic device for executing the above method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0057] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, and all are within the protection scope of the present invention. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device schematic diagram or the order in the flow chart.

[0058] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.

[0059] See also Figure 1 , Figure 1 is a flow chart of an underwater acoustic communication method provided by an embodiment of the present invention. The embodiment takes the sender as the execution subject. Figure 1 As shown, the method includes:

[0060] S01. Acquire data to be transmitted, and perform packetization and encoding processing on the data to be transmitted to obtain data packets.

[0061] First, after the sender obtains the data to be transmitted, it will also determine the current data transmission mode. Due to the influence of the underwater acoustic environment, data may be lost during the transmission process. Therefore, when transmitting data, it is also necessary to obtain the underwater acoustic environment to determine the data transmission mode based on the underwater acoustic environment, thereby reducing the data loss rate. Optionally, the data transmission mode includes any one or more combinations of transmission mode (communication protocol), bandwidth and frequency.

[0062] Among them, in order to reduce the data loss rate, during the data transmission process, it is also necessary to determine the size of the data transmission according to the transmission mode, so as to perform packet processing on the data to be transmitted according to the size of the data transmission, so as to divide the data to be transmitted into M data packets. Among them, each data packet includes N data blocks, and each data block contains a fixed number of data to be transmitted, wherein M and N are both positive integers, and the sizes of M and N may be equal or unequal, and the specific values ​​of M, N and the fixed number of data to be transmitted may be pre-set based on experience or calculated based on hydrological environment data. That is, when transmitting data, the data to be transmitted will first be divided into data blocks including a fixed number of data to be transmitted according to the size of the data transmission; then the data blocks will be divided into M data packets; after the data packets are divided, the data packets need to be encoded according to the transmission mode to obtain data packets in a preset format. It should be noted that the transmission mode is used to enable the data to be transmitted to be accurately transmitted to the receiving party.

[0063] S02. Send the data packets to the receiver in sequence according to the encoding order.

[0064] After the data to be transmitted is packetized and encoded according to the transmission mode of the data, the data packets are sent to the receiver in sequence according to the encoding order and the transmission mode.

[0065] S03: Receive the response packet sent back by the receiving party, and determine the type of the response packet.

[0066] It should be noted that, after the sending packet sends the data to be transmitted to the receiving party, the response packet sent back by the receiving party will be received, and the transmission result of the data to be transmitted will be determined according to the type of the response packet. The types of the response packets include completion response packets, i.e., data is successfully transmitted to the receiving party; retransmission response packets, i.e., data is lost during the transmission process; and error response packets, i.e., data has a transmission error during the transmission process.

[0067] In some embodiments, after the sender sends the data packets to the receiver in sequence, the sender will start timing to determine whether the receiver returns a response packet within a preset time, that is, to obtain the return time of the response packet. If the return time of the response packet does not exceed the preset time, continue to wait for the response packet returned by the receiver; if the return time of the response packet exceeds the preset time, obtain the number of requests for the retransmission request packet, and determine whether the number of requests exceeds the number of retransmissions. If the number of requests exceeds the number of retransmissions, send an error response packet to the receiver and stop data transmission; if the number of requests does not exceed the number of retransmissions, send a detection packet to the receiver to verify whether the communication channel is successfully established.

[0068] It should be noted that the detection packet is mainly used to determine whether there is a communication channel between the sender and the receiver. After the sender sends the detection packet, the sender will also determine whether it has received the communication signal returned by the receiver. If the communication signal is received, it is considered that there is a communication channel between the sender and the receiver, and the sender will continue to send retransmission request packets based on the retransmission request; if the sender does not receive the communication signal, it is considered that the communication between the sender and the receiver has failed.

[0069] S04. When the type of the response packet is a retransmission request packet, parse the retransmission request packet, and resend the missing data packets to the receiver according to the parsing result.

[0070] After determining that the type of the response packet is a retransmission request packet, the sender will parse the retransmission request packet and establish a corresponding bitmap table based on the parsing result, wherein the bitmap table is used to represent a binary bit sequence within a specific range, mainly using a small memory space to represent a large number of Boolean values, and each bit occupies only one bit. After the bitmap table is established according to the retransmission request packet, the loss of the data packet can be determined according to the established bitmap table.

[0071] Specifically, after the bitmap table is established according to the retransmission request packet, the loss of the data to be transmitted can be determined according to the bitmap table, and the corresponding missing data packet can be determined according to the loss of the data to be transmitted. After determining the missing data packet, the corresponding missing data block is extracted from the data to be transmitted according to the missing data packet. Finally, the extracted missing data block is repackaged and encoded to obtain a retransmission data packet, and the retransmission data packet is sent to the receiver in sequence. It should be noted that in the data transmission process, the unit corresponding to data loss can be a data block. For example, a data packet includes 16 data blocks, and there is data loss in the first and third blocks of the 16 blocks. Then, the data parsed by the sender according to the retransmission request packet is 0101111111111111. Based on this, the missing data packet corresponding to the lost data can be determined according to the data situation in the bitmap table, so as to determine the retransmission data according to the missing data packet.

[0072] In some embodiments, after the sender establishes a bitmap table according to the retransmission request packet, it can also calculate the data loss rate according to the bitmap table, and switch the data transmission mode according to the loss rate to reduce the data loss rate. The switching of the transmission mode includes switching the frequency and bandwidth of data transmission. It should be noted that when the data transmission mode is switched according to the loss rate, it is mainly determined based on the underwater acoustic data compression algorithm. Optionally, the underwater acoustic data compression algorithm can be Huffman coding or arithmetic coding.

[0073] In yet another embodiment, when the type of the response packet is a completion response packet, the sender considers that the data to be transmitted is successfully delivered to the receiver, and thus exits the communication process.

[0074] In another embodiment, if the type of the response packet is an error response packet, the sender considers that the current communication quality is poor, and the sender stops transmitting data. It should be noted that when the sender receives the data retransmission packet, it will adjust the transmission mode in real time according to the loss rate, and if the data transmission still fails after adjusting the mode, it is considered that the underwater acoustic environment in the current area is not good, and the data transmission will be stopped.

[0075] The embodiment of the present invention provides a method for transmitting underwater big data, which mainly obtains data to be transmitted, and performs packetization and encoding processing on the data to be transmitted to obtain data packets; sends the data packets to the receiver in sequence according to the encoding order; and upon receiving the response packet sent back by the receiver, determines the type of the response packet; when the type of the response packet is a retransmission request packet, parses the retransmission request packet, and resends the missing data packets to the receiver according to the parsing result. It mainly transmits all lost data to the receiver again if data is lost when transmitting data in an underwater environment, thereby avoiding packet loss and the like, thereby improving the reliability of underwater communication data, and by sending all lost data packets at a time, the number of responses and processes are reduced, thereby improving the throughput of underwater acoustic communication.

[0076] See also Figure 2 , Figure 2 is a flow chart of a method for transmitting underwater big data provided by another embodiment of the present invention. This embodiment is performed by a receiving party. Figure 2 As shown, the method includes:

[0077] S11. Receive data packets in sequence, wherein the data packets include a leading packet and a data block.

[0078] After the sender sends the data packets to the receiver in sequence, the receiver receives the data packets according to the transmission order.

[0079] It should be noted that the data packet includes a leading packet and a data block, and the leading packet is mainly used to prompt the receiving party to start data transmission, and the number of data packets and data blocks transmitted by the sender can be determined based on the information carried by the leading packet. Among them, since each data packet includes a leading packet and corresponding data, even if the first data packet transmitted is lost, the number of data packets transmitted by the sender can be determined based on the leading packet in the subsequent data packets. Based on this, while determining the data loss situation, the occurrence of data errors can be effectively avoided.

[0080] S12. Create a bitmap table according to the leading packet, and fill the bitmap table according to the data block.

[0081] After receiving the data packet, the number of data packets and the number of data blocks can be determined based on the leading packet in the data packet, and then the bitmap table is established based on the number and number of the data packets and the number of data blocks, and finally the bitmap table is filled in sequence according to the number of the data packet.

[0082] S13: After all the data packets are received, determine whether there are any missing data packets in the bitmap table.

[0083] After all the data packets are filled, it is determined whether there are missing data packets in the bitmap table according to the data in the bitmap table, that is, whether there are unfilled areas in the bitmap table. If yes, the bitmap table is missing data; if not, it is determined that there are no missing data packets in the bitmap table.

[0084] S14. If there are missing data packets in the bitmap table, construct a retransmission request packet according to the bitmap table, and send the retransmission request packet to the sender.

[0085] If there is data missing in the bitmap table, it is considered that data is lost during the transmission process. At this time, a retransmission request packet is constructed according to the bitmap table and the retransmission request packet is sent to the sender.

[0086] If there is no missing data in the bitmap table, it is considered that the data to be transmitted is successfully transmitted. At this time, the receiver will send a completion response packet to the sender to prompt the send packet to end the data transmission.

[0087] In some embodiments, when receiving the data packet, the receiving party also needs to determine whether the time of receiving the data packet exceeds a preset time, and if it exceeds the preset time, determine whether the number of retransmissions of the data packet exceeds a preset number. If so, an error response packet is sent to the sending packet and data reception is stopped.

[0088] In an embodiment, the receiver determines the data loss situation in the entire data transmission after all data packets are sent, and then sends back a retransmission request packet based on the total loss situation, thereby reducing the number and process of responses, thereby improving the throughput of underwater acoustic communication.

[0089] See also Figure 3 , Figure 3 is an interactive diagram of a method for transmitting underwater big data provided by an embodiment of the present invention, such as Figure 3 As shown, the sender will first obtain the data to be transmitted, and perform packetization and encoding processing on the data to be transmitted to obtain a data packet, and then send the data packet to the receiver according to the encoding order; after receiving the data packet, the receiver will parse the data packet and establish a corresponding bitmap table, and then determine whether data is missing according to the content of the bitmap table. Finally, when data is missing, a retransmission request packet is constructed according to the bitmap table, and the retransmission request packet is sent to the sender. After receiving the retransmission request packet, the sender will parse the retransmission request packet and resend the data packet of the missing data to the receiver according to the parsed content. Based on this, the number of responses and processes of the receiver and the sender can be reduced, thereby improving the throughput of underwater acoustic communication.

[0090] See also Figure 4 , Figure 4 is a structural block diagram of an underwater big data transmission device provided by an embodiment of the present invention, which is applied to a sender, such as Figure 4 As shown, the device comprises:

[0091] The processing module 41 is used to obtain the data to be transmitted, and perform packetization and encoding processing on the data to be transmitted to obtain data packets.

[0092] The processing module 41 is specifically used for:

[0093] Acquire a data transmission mode, and determine a data transmission size according to the transmission mode;

[0094] Packetizing the data to be transmitted according to the size of the data transmission to obtain a data packet, wherein the data packet includes data blocks, and each data block includes a fixed amount of the data to be transmitted;

[0095] The data packet is encoded to obtain a data packet in a preset format.

[0096] The sending module 42 is used to send the data packets to the receiving party in sequence according to the encoding order.

[0097] The first determination module 43 is configured to receive the response packet sent back by the receiving party and determine the type of the response packet.

[0098] The parsing module 44 is used to parse the retransmission request packet when the type of the response packet is a retransmission request packet, and resend the missing data packet to the receiving party according to the parsing result.

[0099] The analysis module 44 is specifically used for:

[0100] Parsing the retransmission request packet to obtain a corresponding bitmap table;

[0101] determining the missing data packets according to the bitmap table;

[0102] repackaging the missing data packets based on the size of the data transmission to obtain retransmitted data packets;

[0103] The retransmitted data packets are sent to the receiving party in sequence.

[0104] In some embodiments, the apparatus further comprises a calculation module 45, wherein the calculation module 45 is configured to:

[0105] After determining that the type of the response packet is a retransmission request packet, a data loss rate of data transmission is calculated according to the retransmission request packet, and a transmission mode during data transmission is adjusted in real time according to the data loss rate.

[0106] In yet another embodiment, the device further includes a second determination module 46, wherein the second determination module 46 is configured to:

[0107] Obtaining the return time of the response packet returned by the receiver, and determining whether the return time exceeds a preset time;

[0108] When the return time exceeds the preset time and the type of the return response packet is a retransmission request packet, obtaining the number of requests for the retransmission request packet;

[0109] Determine whether the number of requests exceeds the number of retransmissions;

[0110] If the number of requests exceeds the number of retransmissions, an error response packet is sent to the receiving party and data transmission is stopped;

[0111] If the number of requests does not exceed the number of retransmissions, a detection packet is sent to the receiver to verify whether the communication channel is successfully established.

[0112] In another embodiment, if Figure 4 As shown, the device further includes a stopping module 47, and the stopping module 47 is used to:

[0113] When the type of the response packet is an error response packet, data transmission is stopped.

[0114] See also Figure 5 , Figure 5 is a structural block diagram of an underwater big data transmission device provided by another embodiment of the present invention, which is applied to a receiving party, such as Figure 5 As shown, the device comprises:

[0115] The receiving module 51 is used to sequentially receive data packets, wherein the data packets include a leading packet and a data block;

[0116] A building module 52, used to build a bitmap table according to the leading packet, and fill the bitmap table according to the data block;

[0117] A third judgment module 53 is used to judge whether there are missing data packets in the bitmap table after all the data packets are received;

[0118] The request module 54 is configured to construct a retransmission request packet based on the bitmap table when there are missing data packets in the bitmap table, and send the retransmission request packet to the sender.

[0119] It should be noted that the above-mentioned underwater big data transmission device can execute the underwater big data transmission method provided in the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in the embodiment of the underwater big data transmission device, please refer to the underwater big data transmission method provided in the embodiment of the present invention.

[0120] See also Figure 6 , Figure 6 A schematic diagram of the structure of an underwater acoustic device provided in an embodiment of the present invention, the underwater acoustic device may include a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, wherein the processor 1001, the communication interface 1002 and the memory 1003 communicate with each other through the communication bus 1004. The processor 1001 may call the logic instructions in the memory 1003 to execute the above-mentioned underwater acoustic communication method, the method comprising: obtaining plaintext data, generating a first key and a second key, generating a combined key according to the first key and the second key, encrypting the plaintext data based on the combined key to obtain ciphertext data, sending the first key and the ciphertext data to a recipient, and sending the second key to a third party.

[0121] In addition, the logic instructions in the above-mentioned memory 1003 can be implemented in the form of software functional units and can be stored in several computer-readable storage media when sold or used as independent products. Based on such an understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of any of the above-mentioned methods of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk.

[0122] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0123] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution, in essence, or the part that contributes to the relevant technology, can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.

[0124] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may also be combined, the steps may be implemented in any order, and there are many other changes in different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they may still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for transmitting underwater big data, characterized in that: The method comprises: Acquire data to be transmitted, and perform packetization and encoding processing on the data to be transmitted to obtain data packets; Send the data packets to the receiver in sequence according to the encoding order; Receive a response packet sent back by the receiving party, and determine the type of the response packet; When the type of the response packet is a retransmission request packet, the retransmission request packet is parsed, and the missing data packets are resent to the receiver according to the parsing result.

2. The underwater big data transmission method according to claim 1, characterized in that: The step of obtaining the data to be transmitted, and performing packetization and encoding processing on the data to be transmitted to obtain a data packet includes: Acquire a data transmission mode, and determine a data transmission size according to the transmission mode; Packetizing the data to be transmitted according to the size of the data transmission to obtain a data packet, wherein the data packet includes data blocks, and each data block includes a fixed amount of the data to be transmitted; The data packet is encoded to obtain a data packet in a preset format.

3. The underwater big data transmission method according to claim 2, characterized in that: If the type of the response packet is a retransmission request packet, parsing the retransmission request packet, and resending the missing data packet to the receiving party according to the parsing result, including: Parsing the retransmission request packet to obtain a corresponding bitmap table; determining the missing data packets according to the bitmap table; repackaging the missing data packets based on the size of the data transmission to obtain retransmitted data packets; The retransmitted data packets are sent to the receiving party in sequence.

4. The method for transmitting underwater big data according to any one of claims 1 to 3, characterized in that: After determining that the type of the response packet is a retransmission request packet, the method further includes: The data loss rate of the data transmission is calculated according to the retransmission request packet, and the transmission mode during the data transmission is adjusted in real time according to the data loss rate.

5. The underwater big data transmission method according to claim 4, characterized in that: The method further comprises: Obtaining the return time of the response packet returned by the receiver, and determining whether the return time exceeds a preset time; When the return time exceeds the preset time and the type of the return response packet is a retransmission request packet, obtaining the number of requests for the retransmission request packet; Determine whether the number of requests exceeds the number of retransmissions; If the number of requests exceeds the number of retransmissions, an error response packet is sent to the receiving party and data transmission is stopped; If the number of requests does not exceed the number of retransmissions, a detection packet is sent to the receiver to verify whether the communication channel is successfully established.

6. The underwater big data transmission method according to claim 5, characterized in that: The method further comprises: When the type of the response packet is an error response packet, data transmission is stopped.

7. A method for transmitting underwater big data, characterized in that: The method comprises: receiving data packets in sequence, wherein the data packets include a leading packet and a data block; Establishing a bitmap table according to the leading packet, and filling the bitmap table according to the data block; After all the data packets are received, determining whether there are any missing data packets in the bitmap table; If there are missing data packets in the bitmap table, a retransmission request packet is constructed according to the bitmap table, and the retransmission request packet is sent to the sender.

8. An underwater big data transmission device, characterized in that: The device comprises: A processing module, used for acquiring data to be transmitted, and performing packetization and encoding processing on the data to be transmitted to obtain data packets; A sending module, used for sending the data packets to a receiver in sequence according to the encoding order; A first determination module, configured to receive a response packet sent back by the receiving party and determine a type of the response packet; A parsing module is used to parse the retransmission request packet when the type of the response packet is a retransmission request packet, and resend the missing data packet to the receiving party according to the parsing result.

9. An underwater big data transmission device, characterized in that: The device comprises: A receiving module, used to sequentially receive data packets, wherein the data packets include a leading packet and a data block; A building module, used for building a bitmap table according to the leading packet, and filling the bitmap table according to the data block; A second judgment module, used for judging whether there are missing data packets in the bitmap table after all the data packets are received; The request module is used to construct a retransmission request packet based on the bitmap table when there are missing data packets in the bitmap table, and send the retransmission request packet to the sender.

10. A hydroacoustic device, characterized in that: The hydroacoustic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Underwater robot capable of self-adapting to curved surface and remote control intervention method

    CN119893464A