Electronic equipment real-time data transmission method based on underwater acoustic communication

Through water acoustic communication technology and data packet segmentation and retransmission mechanisms, the problem of underwater radio communication fading is solved, stable and efficient data transmission in the marine environment is achieved, and data accuracy and security are ensured.

CN119232274APending Publication Date: 2024-12-31HANGZHOU BLUE ASPIRATIONS TECH PARTNERSHIP (LLP) HANGZHOU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411290150.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

Due to the severe decline of electromagnetic waves in water, underwater radio communication cannot be effectively applied in marine environments, resulting in limited underwater communication stability and signal propagation distance, and a communication method that is more suitable for underwater environment is needed.

Method used

Using water acoustic communication technology, the water is realized by converting the electric signal into a sound wave signal at the transmitting end and converting the sound wave signal back to the electric signal at the receiving end, combining data packet segmentation, retransmission mechanism and cyclic redundancy verification technologies. Real-time data transmission from down equipment to surface platform.

Benefits of technology

It realizes stable and efficient real-time data transmission in the marine environment, meets the needs of underwater equipment status monitoring and real-time data return, and ensures data accuracy and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119232274A_ABST
    Figure CN119232274A_ABST
Patent Text Reader

Abstract

The invention discloses a real-time data transmission method for electronic equipment, belongs to the technical field of underwater acoustic communication, and particularly relates to a real-time data transmission method for the electronic equipment based on underwater acoustic communication. According to the file transmission method provided by the invention, a data file is automatically divided into a plurality of packets, and the file is transmitted to a receiving end through a sending end; a receiving end stores packets in a buffer file after receiving the packets, the packets are automatically packed into data files after transmission is finished, the receiving end calculates waiting time after receiving each packet of data and enters a retransmission mechanism according to missing conditions, and the receiving end enters automatic packing after receiving is finished. And the received packets are grouped according to a packet number sequence to obtain a final data file, so that the requirements of real-time monitoring of the state of the underwater equipment, real-time data return and the like are met, and stable and efficient real-time data transmission is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention discloses a real-time data transmission method for electronic equipment, belongs to the technical field of underwater acoustic communication, and specifically relates to a real-time data transmission method for electronic equipment based on underwater acoustic communication. Background Art

[0002] Today's maritime communications include two forms: surface communications and underwater communications. Since maritime communications are mainly communications between mobile objects such as ships and submarines, they are mainly wireless communications, and wired communications are not considered. The wireless communication environment on water is completely similar to the wireless communication environment on land, so radio communication systems can be used. However, underwater wireless communications can no longer use radio communication systems. This is because electromagnetic waves decay particularly severely in the medium of water, making it impossible for radio communication systems to be used underwater. Later, people discovered that the propagation distance of sound waves in water can meet the communication requirements, so underwater sound wave communication technology was born.

[0003] As a communication system, underwater acoustic wave communication technology has the general structure of a communication system, so compared with radio communication systems, the only difference between them is the type of waves used for communication. Radio communication systems use electromagnetic waves to achieve communication, while underwater acoustic communication systems use sound waves to achieve communication. Radio communication systems use antennas to send and receive electromagnetic waves, while underwater acoustic communication systems use transducers to convert electrical signals into sound wave signals at the sending end and convert sound wave signals into electrical signals at the receiving end.

[0004] The marine environment has a variety of effects on underwater acoustic communications, including: 1. Sound velocity profile: Changes in seawater temperature, salinity and pressure will affect the sound velocity, and thus affect the propagation path of sound waves. 2. Multipath effect: Sound waves reflect on the seabed and the sea surface to create multiple signal paths, which may cause signals to interfere with each other. 3. Time-varying: Dynamic changes in the marine environment, such as tides, flows and waves, will cause the propagation characteristics of sound waves to change over time. 4. Noise: Noise generated by sources such as ships, waves, and biological activities may interfere with signals. 5. Attenuation: Sound waves will attenuate due to absorption and scattering during propagation, limiting the communication distance. 6. Internal waves: Internal waves in the ocean can cause drastic fluctuations in the seawater temperature profile, which has a significant impact on the propagation of sound waves. These influencing factors objectively lead to challenges to the stability of underwater acoustic communications and put forward requirements for underwater acoustic communication systems. Summary of the invention

[0005] Purpose of the invention: To provide a real-time data transmission method for electronic equipment based on underwater acoustic communication to solve the above-mentioned problems.

[0006] Technical solution: A real-time data transmission method for electronic equipment based on underwater acoustic communication, the data transmission method comprising the following steps:

[0007] Step 1: The data file is automatically divided into multiple packages, and the files are transmitted from the sending end to the receiving end, that is, the underwater device is the sending end, the surface platform is the receiving end, and the file transmission direction is from the underwater device to the surface platform;

[0008] Step 2: After receiving the packet, the receiving end stores it in the buffer file and automatically assembles it into a data file after the transmission is completed. After receiving each packet of data, the receiving end will calculate the waiting time based on the current packet number, the total number of packets, and the interval between each packet transmission, and decide when to send a resend instruction; if the last packet is received, the receiving end thread ends immediately, and automatically assembles it into a data file or automatically retransmits it to make up for the lost packet;

[0009] Step 3: After all packets of the sending end, i.e. the underwater device, are sent, the receiving end will enter the retransmission mechanism according to the missing packets. If there are any missing packets, it will automatically send the packet number sequence of the missing packets, triggering the underwater device to resend the lost packets.

[0010] Step 4: After the receiving end finishes receiving, it enters the automatic packet assembly process and assembles the received packets in the order of the packet number sequence to obtain the final data file.

[0011] In a further embodiment, the data sent every day by the underwater device, i.e., the sending end, is the data of the previous day. Before sending, the sending end automatically divides the data file of the previous day into multiple packets. The number of packets is determined based on the performance of the underwater acoustic communication device. The current packet number and the total number of packets are added to the header of each packet to indicate the identity information of each packet.

[0012] In a further embodiment, the underwater device, i.e., the sending end, automatically wakes up at a fixed time every day and actively starts to send packets out at a fixed periodic interval, without relying on the trigger of the receiving end, and no response is made for each packet.

[0013] In a further embodiment, the number of retransmissions of the retransmission mechanism described in step 3 can be set, and the reception automatically stops when the number of retransmissions is reached; each retransmission will have a waiting time for the instruction response, and if there is no response, the retransmission instruction will be resent, or the reception will be terminated if the number of retransmissions exceeds the limit; if there is a response, the current timeout time will be recalculated according to the information of each packet.

[0014] In a further embodiment, each packet has a verification mechanism to ensure the accuracy of each packet data; at the same time, each packet will be encrypted to ensure data security; after the reception is completed, if the number of packets is not complete, the remaining packet data can continue to be used.

[0015] In a further embodiment, when a data file is automatically divided into multiple packets, each packet of data will be subjected to a cyclic redundancy check CRC test; the cyclic redundancy check CRC test includes a check mode confirmation and a cyclic selection XOR calculation; the specific process of the cyclic redundancy check CRC test is as follows:

[0016] The first step is to actually select the CRC16XMODERM mode, and the initial value of the CRC register is 0x0000;

[0017] Step 2: XOR the first 8-bit data with the lower eight bits of the CRC register, and keep the upper eight bits unchanged. The XOR value is used as the new CRC register.

[0018] Step 3: Check whether the first bit of the register is 0 or 1. If it is 1, move the register one bit to the right and XOR it with the binary inverse of the polynomial. If it is 0, move the register one bit to the right directly. The polynomial is: 16 +x 12 +x 5 +1, the corresponding binary value is 0x1021;

[0019] Step 4: Repeat step 3 and shift right 8 times to get a new CRC register, thus completing the processing of an 8-bit data.

[0020] Step 5: Process the remaining data and repeat steps 2, 3, and 4 to get the final CRC register, which is the CRC check value.

[0021] In a further embodiment, the waiting time is calculated in step 2 by dividing the file into multiple fragments during the packet transmission process. Each packet of data will contain the total number of packets and the current number of fragments. The fragments will be transmitted one by one in sequence. The time interval between each packet of data is fixed. After receiving each packet of data, the remaining number of packets and the waiting time are obtained, or the entire transmission process is interrupted by an interrupt instruction.

[0022] In a further embodiment, in step 3, the missing situation is judged by the protocol in each packet, each packet adopts the data_key protocol, and each fragment in the data_key protocol has an independent unique ID and increases continuously; after one transmission is completed, the remaining fragments that have not been transmitted are judged based on the IDs of all fragments received, and the missing fragments are supplemented through the remote fragment supplement instruction.

[0023] Beneficial effect: The present invention proposes a file transmission method, in which a data file is automatically divided into multiple packages, and the file is transmitted from the sending end to the receiving end. After the receiving end receives the package, it stores it in a buffer file, and automatically assembles it into a data file after the transmission is completed. After receiving each package of data, the receiving end calculates the waiting time and enters the retransmission mechanism according to the missing situation. After the receiving end completes the reception, it enters the automatic package assembly, and assembles the received packages in the order of the package number sequence to obtain the final data file. Therefore, the present invention meets the needs of real-time monitoring of the status of underwater equipment, real-time data transmission, etc., so as to realize stable and efficient real-time data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a flow chart of the real-time data transmission method of the present invention.

[0025] Figure 2 It is a schematic diagram of packet sub-packaging of the real-time data transmission method of the present invention.

[0026] Figure 3 It is a schematic diagram of the real-time data transmission method of the present invention.

[0027] Figure 4 It is a cyclic redundancy check CRC check flow chart of the present invention. DETAILED DESCRIPTION

[0028] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] A method for real-time data transmission of electronic equipment based on underwater acoustic communication, such as Figure 1 and Figure 4 As shown, the following steps are included:

[0030] Step 1: The data file is automatically divided into multiple packages, and the files are transmitted from the sending end to the receiving end, that is, the underwater device is the sending end, the surface platform is the receiving end, and the file transmission direction is from the underwater device to the surface platform;

[0031] Step 2: After receiving the packet, the receiving end stores it in the buffer file and automatically assembles it into a data file after the transmission is completed. After receiving each packet of data, the receiving end will calculate the waiting time based on the current packet number, the total number of packets, and the interval between each packet transmission, and decide when to send a resend instruction; if the last packet is received, the receiving end thread ends immediately, and automatically assembles it into a data file or automatically retransmits it to make up for the lost packet;

[0032] Step 3: After all packets of the sending end, i.e. the underwater device, are sent, the receiving end will enter the retransmission mechanism according to the missing packets. If there are any missing packets, it will automatically send the packet number sequence of the missing packets, triggering the underwater device to resend the lost packets.

[0033] Step 4: After the receiving end finishes receiving, it enters the automatic packet assembly process and assembles the received packets in the order of the packet number sequence to obtain the final data file.

[0034] In one embodiment, the data sent every day by the underwater device, i.e., the sending end, is the data of the previous day. Before sending, the sending end automatically divides the data file of the previous day into multiple packets. The number of packets is determined based on the performance of the underwater acoustic communication device. The current packet number and the total number of packets are added to the header of each packet to indicate the identity information of each packet.

[0035] In one embodiment, the underwater device, i.e., the sending end, automatically wakes up at a fixed time every day and actively starts to send packets out at a fixed periodic interval, without relying on the trigger of the receiving end, and does not respond to each packet.

[0036] In one embodiment, the number of retransmissions of the retransmission mechanism described in step 3 can be set, and the reception automatically stops when the number of retransmissions is reached; each retransmission will have a waiting time for the instruction response, and if there is no response, the retransmission instruction will be resent, or the reception will be terminated if the number of retransmissions exceeds the limit; if there is a response, the current timeout time will be recalculated according to the information of each packet.

[0037] In one embodiment, each packet has a verification mechanism to ensure the accuracy of each packet data; at the same time, each packet will be encrypted to ensure data security; after the reception is completed, if the number of packets is not complete, the remaining number of packets can continue to be used.

[0038] In one embodiment, when a data file is automatically divided into multiple packets, each packet of data will be subjected to a cyclic redundancy check (CRC) check; the cyclic redundancy check (CRC) check includes a check mode confirmation and a cyclic selection XOR calculation.

[0039] In one embodiment, the waiting time is calculated in step 2 by dividing the file into multiple fragments during the packet transmission process. Each packet of data will contain the total number of packets and the current number of fragments. The fragments will be transmitted packet by packet in sequence. The time interval between each packet of data is fixed. After receiving each packet of data, the remaining number of packets and the waiting time are obtained, or the entire transmission process is interrupted by an interrupt instruction.

[0040] In one embodiment, in step 3, the missing situation is judged by the protocol in each packet. Each packet adopts the data_key protocol. Each fragment in the data_key protocol has an independent unique ID and increases continuously. After one transmission is completed, the remaining fragments that have not been transmitted are judged based on the IDs of all the fragments received, and the missing fragments are supplemented through the remote fragment supplement instruction.

[0041] In one embodiment, the cyclic redundancy check CRC check specific process is as follows:

[0042] The first step is to actually select the CRC16XMODERM mode, and the initial value of the CRC register is 0x0000;

[0043] Step 2: XOR the first 8-bit data with the lower eight bits of the CRC register, and keep the upper eight bits unchanged. The XOR value is used as the new CRC register.

[0044] Step 3: Check whether the first bit of the register is 0 or 1. If it is 1, move the register one bit to the right and XOR it with the binary inverse of the polynomial. If it is 0, move the register one bit to the right directly. The polynomial is: 16 +x 12 +x 5 +1, the corresponding binary value is 0x1021;

[0045] Step 4: Repeat step 3 and shift right 8 times to get a new CRC register, thus completing the processing of an 8-bit data.

[0046] Step 5: Process the remaining data and repeat steps 2, 3, and 4 to get the final CRC register, which is the CRC check value.

[0047] The specific workflow of the present invention is that the file transmission direction is from the underwater device to the surface platform. The underwater device is generally battery-powered and has limited battery life. It is designed to be a communication device or other device with high power consumption to automatically start working at a fixed time every day.

[0048] 1. The underwater equipment automatically divides the data file of the previous day into multiple packets. The number of packets is determined by the performance of the underwater acoustic communication device. The current packet number and the total number of packets are added to the header of each packet to indicate the identity information of each packet (such as Figure 2 shown);

[0049] 2. After the device automatically wakes up, it will actively start to send packets out periodically, without relying on the receiver to trigger, which increases execution efficiency, because triggering may cause packet loss; it does not respond to each packet, because the response will also cause packet loss, and each packet will time out, which has a great impact on the overall efficiency, so it is designed to actively send out without waiting for a response;

[0050] 3. After receiving the packet, the receiving end stores it in the buffer file and automatically assembles it into a data file after the transmission is completed. After receiving each packet of data, the receiving end will calculate the theoretical waiting time based on the current packet number, the total number of packets and the interval between each packet transmission to decide when to issue a resend instruction; if the last packet is received, the receiving thread will end immediately and automatically assemble the packet into a data file or automatically retransmit to make up for the lost packet;

[0051] 4. After all packets of the underwater device are sent, the receiving end will enter the retransmission mechanism according to the missing situation. If there is any missing packet, it will automatically send the packet number sequence of the missing packet to trigger the underwater device to resend the lost packet.

[0052] 5. The number of retransmissions can be set. When the number of retransmissions is reached, the reception stops automatically. Each retransmission will have a waiting time for the command response. If there is no response, the retransmission command will be resent, or the reception will be terminated if the number of retransmissions exceeds the limit. If there is a response, the current timeout time will be recalculated according to the information of each packet.

[0053] 6. After the receiving end completes the reception (including the completion of the file reception and retransmission), it enters the automatic packet assembly and assembles the received packets in the order of the packet number sequence to obtain the final data file;

[0054] 7. Each package has a verification mechanism to ensure the accuracy of each package data;

[0055] 8. Each package will be encrypted to ensure data security.

[0056] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.

Claims

1. A method for real-time data transmission of electronic equipment based on underwater acoustic communication, characterized in that: The data transmission method comprises the following steps: Step 1: The data file is automatically divided into multiple packages, and the files are transmitted from the sending end to the receiving end, that is, the underwater device is the sending end, the surface platform is the receiving end, and the file transmission direction is from the underwater device to the surface platform; Step 2: After receiving the packet, the receiving end stores it in the buffer file and automatically assembles it into a data file after the transmission is completed. After receiving each packet of data, the receiving end will calculate the waiting time based on the current packet number, the total number of packets, and the interval between each packet transmission, and decide when to send a resend instruction; if the last packet is received, the receiving end thread ends immediately, and automatically assembles it into a data file or automatically retransmits it to make up for the lost packet; Step 3: After all packets of the sending end, i.e. the underwater device, are sent, the receiving end will enter the retransmission mechanism according to the missing packets. If there are any missing packets, it will automatically send the packet number sequence of the missing packets, triggering the underwater device to resend the lost packets. Step 4: After the receiving end finishes receiving, it enters the automatic packet assembly process and assembles the received packets in the order of the packet number sequence to obtain the final data file.

2. The method for real-time data transmission of electronic equipment based on underwater acoustic communication according to claim 1, characterized in that: The data sent by the underwater device, i.e. the transmitter, every day is the data of the previous day. Before sending, the transmitter automatically divides the data file of the previous day into multiple packets. The number of packets is determined by the performance of the underwater acoustic communication machine. The current packet number and the total number of packets are added to the header of each packet to indicate the identity information of each packet.

3. The method for real-time data transmission of electronic equipment based on underwater acoustic communication according to claim 1, characterized in that: The underwater device, i.e. the transmitter, automatically wakes up every day and starts sending packets out periodically without relying on the receiver to trigger it, and does not respond to each packet.

4. The method for real-time data transmission of electronic equipment based on underwater acoustic communication according to claim 1, characterized in that: The number of retransmissions of the retransmission mechanism described in step 3 can be set. When the number of retransmissions is reached, the reception automatically stops; each retransmission will have a waiting command response time. If there is no response, the retransmission command will be resent, or the reception will be terminated if the number of retransmissions exceeds the limit; if there is a response, the current timeout time will be recalculated according to the information of each packet.

5. The method for real-time data transmission of electronic equipment based on underwater acoustic communication according to claim 1, characterized in that: Each package has a verification mechanism to ensure the accuracy of each package data; at the same time, each package will be encrypted to ensure data security; after the reception is completed, if the number of packages is not complete, the remaining package data can continue to be used.

6. The method for real-time data transmission of electronic equipment based on underwater acoustic communication according to claim 2, characterized in that: When a data file is automatically divided into multiple packets, each packet of data will be subjected to a cyclic redundancy check CRC test; the cyclic redundancy check CRC test includes a check mode confirmation and a cyclic selection XOR calculation.

7. The method for real-time data transmission of electronic equipment based on underwater acoustic communication according to claim 1, characterized in that: The waiting time in step 2 is calculated through the packet transmission process. The actual transmission divides the file into multiple fragments. Each packet of data will contain the total number of packets and the current number of fragments. The fragments will be transmitted packet by packet in sequence. The time interval between each packet of data is fixed. After receiving each packet of data, the remaining number of packets and the waiting time are obtained, or the entire transmission process is interrupted through an interrupt instruction.

8. The method for real-time data transmission of electronic equipment based on underwater acoustic communication according to claim 1, characterized in that: In step 3, the missing situation is judged by the protocol in each packet. Each packet adopts the data_key protocol. Each fragment in the data_key protocol has an independent unique ID and increases continuously. After one transmission is completed, the remaining fragments that have not been transmitted are judged based on the IDs of all fragments received, and the missing fragments are supplemented through the remote fragment supplement instruction.

9. The method for real-time data transmission of electronic equipment based on underwater acoustic communication according to claim 6, characterized in that: The specific process of the cyclic redundancy check CRC test is as follows: The first step is to actually select the CRC16XMODERM mode, and the initial value of the CRC register is 0x0000; Step 2: XOR the first 8-bit data with the lower eight bits of the CRC register, and keep the upper eight bits unchanged. The XOR value is used as the new CRC register. Step 3: Check whether the first bit of the register is 0 or 1. If it is 1, move the register one bit to the right and XOR it with the binary inverse of the polynomial. If it is 0, move the register one bit to the right directly. The polynomial is: 16 +x 12 +x 5 +1, the corresponding binary value is 0x1021; Step 4: Repeat step 3 and shift right 8 times to get a new CRC register, thus completing the processing of an 8-bit data. Step 5: Process the remaining data and repeat steps 2, 3, and 4 to get the final CRC register, which is the CRC check value.