Data display method, device, equipment and medium
By receiving, preprocessing and transmitting underwater data on the shore-based platform, the problem of visual display of underwater communication, detection and navigation information is solved, and real-time and realistic display of the underwater environment is achieved.
Patent Information
- Application Number
- CN202310187313.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-01
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2043-03-01
AI Technical Summary
Existing technologies make it difficult to display the communication, networking, detection and navigation information in underwater wireless sensor networks in real time and realistically on the water surface or on shore.
The underwater data transmitted by the main base station is received on the shore-based platform, pre-processed and then transmitted to the database server for display through the display terminal.
It realizes the visualization of underwater environment, restores underwater communication, detection and navigation data in real time and truthfully, and solves the problem of underwater environment visualization.
Smart Images

Figure CN116170769B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of underwater wireless sensor networks, and in particular to a data display method, device, equipment and medium. Background Art
[0002] Underwater wireless sensor networks (UWSNs) are underwater monitoring network systems composed of sensor nodes equipped with acoustic communication and computing capabilities, also known as underwater acoustic systems. They are currently widely used in a wide range of fields, including disaster warning, pollutant monitoring, hydrological data monitoring and collection, marine resource exploration, navigation assistance, and marine military operations. Acoustic communication is the most mature communication method in underwater wireless sensor networks. However, due to the unique characteristics of the underwater environment (salinity, temperature, and refraction and reflection), the multipath effect, time-varying effects, narrow available bandwidth, and severe signal attenuation in the underwater acoustic channel result in high propagation delays, high bit error rates, and low link quality, particularly limiting long-distance transmission.
[0003] Currently, underwater acoustic systems enable underwater communication, detection, and navigation by deploying fixed nodes, mobile nodes, and buoys both underwater and on the surface, providing a foundation for underwater military and civilian applications. However, underwater acoustic communication, detection, navigation, and networking processes all occur underwater, making them difficult to observe directly from the surface or onshore. While simulation systems can retrospectively visualize underwater communication, detection, navigation, and networking processes based on real-world sea trial data, they are unable to accurately reproduce the underwater scene in real time.
[0004] In view of the above problems, how to realize the visualization of underwater communication, networking, detection and navigation information is an urgent problem to be solved by technicians in this field. Summary of the Invention
[0005] The purpose of this application is to provide a data display method, device, equipment and medium to achieve visual display of underwater communication, networking, detection and navigation information.
[0006] To solve the above technical problems, the present application provides a data display method, which is applied to a shore-based platform; the method comprises:
[0007] Receiving underwater data transmitted by the main base station; wherein the underwater data at least includes detection data, communication data and navigation data of each node in the underwater wireless sensor network;
[0008] Preprocessing the underwater data;
[0009] The pre-processed underwater data is transmitted to a database server, so that the display terminal can obtain the underwater data through the database server and display it.
[0010] Preferably, before receiving the underwater data transmitted by the main base station, the method further includes:
[0011] respectively setting up network connections for the main base station, the shore-based platform, the database server, and the display terminal;
[0012] respectively determining whether the status of the main base station, the shore-based platform, the database server, and the display terminal are normal;
[0013] If so, the main base station, the shore-based platform, the database server and the display terminal are initialized respectively, and the step of receiving the underwater data transmitted by the main base station is entered;
[0014] If not, the device in the abnormal state is debugged, and after the debugging is successful, the step of receiving the underwater data transmitted by the main base station is entered.
[0015] Preferably, the preprocessing of the underwater data includes:
[0016] Obtaining node coordinates and networking configuration information of each node in the underwater wireless sensor network;
[0017] Acquire each transmission information and each reception information piggybacked by the communication data in the underwater data; wherein the transmission information is generated when the node in the underwater wireless sensor network transmits data; and the reception information is generated when the node in the underwater wireless sensor network receives data;
[0018] Binding each of the sent information with the corresponding received information according to the node coordinates and the networking configuration information;
[0019] The receiving status in each of the receiving information is obtained respectively, and the communication data is marked according to each of the receiving statuses for data display.
[0020] Preferably, before respectively binding each of the sent information with the corresponding received information according to the node coordinates and the networking configuration information, and after obtaining each of the sent information and each of the received information piggybacked by the communication data in the underwater data, the method further includes:
[0021] Performing a uniqueness check on each of the sent information to remove duplicate information of the same sent information;
[0022] The sending information after the uniqueness check is stored in a sending information library for binding with the corresponding receiving information.
[0023] Preferably, respectively obtaining the reception status in each of the received information and marking the communication data according to each of the reception statuses includes:
[0024] When the receiving status in the receiving information is that data is received successfully, combining the receiving information with the sending information bound thereto, and marking the communication data as successful;
[0025] When the receiving status in the received information is data reception failure, determining whether the sent information bound to the received information is unique;
[0026] If yes, marking the communication data as a bit error;
[0027] If not, the communication data is marked as a collision.
[0028] Preferably, the preprocessing of the underwater data includes:
[0029] Obtaining a moving speed of each of the nodes in the underwater wireless sensor network;
[0030] Abnormal navigation data in the underwater data is removed according to the moving speed of each of the nodes.
[0031] Preferably, transmitting the pre-processed underwater data to a database server comprises:
[0032] The underwater data is written into the database server according to the timestamp of the underwater data by using a scheduling method based on a time axis.
[0033] Preferably, the display terminal obtains the underwater data through the database server and displays the data, including:
[0034] Reading the underwater data in the database server in real time through the display terminal and storing it locally;
[0035] The underwater data is parsed by the display terminal, and displayed according to the parsed underwater data.
[0036] In order to solve the above technical problems, the present application also provides a data display device, which is applied to a shore-based platform; the device comprises:
[0037] A receiving module, configured to receive underwater data transmitted by a master base station; wherein the underwater data at least includes detection data, communication data, and navigation data of each node in the underwater wireless sensor network;
[0038] A data processing module, configured to pre-process the underwater data;
[0039] The transmission module is used to transmit the pre-processed underwater data to the database server, so that the display terminal can obtain the underwater data through the database server and display it.
[0040] To solve the above technical problems, the present application also provides a data display device, including:
[0041] memory for storing computer programs;
[0042] A processor is used to implement the steps of the above-mentioned data display method when executing the computer program.
[0043] In order to solve the above technical problems, the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above data display method are implemented.
[0044] The data display method provided in this application is applied to a shore-based platform; by receiving underwater data transmitted by a main base station; wherein the underwater data at least includes detection data, communication data and navigation data of each node in the underwater wireless sensor network; pre-processing the underwater data; transmitting the pre-processed underwater data to a database server, so that the display terminal can obtain the underwater data through the database server and display it. It can be seen that the above scheme directly obtains the underwater data of the underwater wireless sensor network and pre-processes the underwater data, so that the display terminal can better display the underwater environment. It solves the problem of underwater environment visualization, realizes the display of various types of data such as communication data, detection data and navigation data in the underwater environment, and restores the underwater scene in real time and realistically.
[0045] In addition, the embodiments of the present application also provide a data display device, equipment and medium, with the same effects as above. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0047] Figure 1 A schematic diagram of a data processing and display system provided in an embodiment of the present application;
[0048] Figure 2 A flowchart of a data display method provided in an embodiment of the present application;
[0049] Figure 3 A schematic diagram of a data display device provided in an embodiment of the present application;
[0050] Figure 4 A schematic diagram of a data display device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] The following will be combined with the accompanying 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 them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0052] The core of this application is to provide a data display method, device, equipment and medium to achieve visual display of underwater communication, networking, detection and navigation information.
[0053] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0054] Currently, underwater acoustic communication, detection, navigation, and networking processes all occur underwater, making them difficult to observe directly from the surface or on shore. While simulation systems can visualize underwater communication, detection, navigation, and networking processes based on real sea trial data, they are unable to realistically reproduce the underwater scene in real time. Therefore, embodiments of the present application provide a data display method that enables visualization of the underwater environment.
[0055] It should be noted that the application scenario of the method provided in this application is located on a shore-based platform. Figure 1 This is a schematic diagram of a data processing and display system provided in an embodiment of the present application. Figure 1 As shown, the shore-based platform, the main base station, the database server, and the display terminal together constitute a data processing and display system, and the visual display of the underwater environment is realized based on the data processing and display system.
[0056] Figure 2 This is a flow chart of a data display method provided in an embodiment of the present application. The method is applied to a shore-based platform; Figure 2 As shown, the method includes:
[0057] S10: Receive underwater data transmitted by the main base station.
[0058] The underwater data at least includes detection data, communication data and navigation data of each node in the underwater wireless sensor network.
[0059] It is understandable that in order to display underwater acoustic communication, detection, navigation, and networking data, it is first necessary to obtain this data. Specifically, as a node in the underwater wireless sensor network, the main base station can obtain various data from each underwater terminal node and subnet base station in the underwater wireless sensor network, and can send this underwater data to the shore-based platform for processing.
[0060] It should be noted that since the main base station needs to transmit underwater data to the shore-based platform, a communication connection must be established between the main base station and the shore-based platform. In practice, to obtain underwater data in the open sea, the main base station and the shore-based platform can be connected via a satellite network. If factors such as communication costs and anti-interference are taken into consideration, a communication connection between the main base station and the shore-based platform can also be established via wired communication. In this embodiment, there is no restriction on the communication connection method between the main base station and the shore-based platform, which will be determined based on the specific implementation situation.
[0061] S11: Preprocess the underwater data.
[0062] Furthermore, after receiving underwater data transmitted from the main base station, the shore-based platform must pre-process the underwater data for subsequent visualization. In specific implementations, the shore-based platform pre-processes the underwater data using an internal data processing system. After parsing and pre-processing the underwater data, the data is written to a database server. Preferably, the data processing system is developed in Python, but other programming languages are also possible. This is not a limitation in this embodiment and depends on the specific implementation.
[0063] It should be noted that, in this embodiment, there is no limitation on the specific process of pre-processing the underwater data by the data processing system of the shore-based platform, which depends on the specific implementation situation.
[0064] S12: The pre-processed underwater data is transmitted to the database server, so that the display terminal obtains the underwater data through the database server and displays it.
[0065] It is understandable that the shore-based platform transmits the pre-processed underwater data to the database server, and the database server can store the underwater data, so that the display terminal can obtain the underwater data through the database server and display it.
[0066] In a specific implementation, considering the security of data transmission, the shore-based platform and the database server can communicate via a local area network, and the database server and the display terminal can also communicate via a local area network. In addition, the shore-based platform and the database server, and the database server and the display terminal can also use other communication methods, such as satellite communication, wired communication, etc., which are not limited in this embodiment and depend on the specific implementation.
[0067] It should be noted that, in this embodiment, there is no restriction on the specific display process of the underwater data by the display terminal, which depends on the specific implementation situation.
[0068] In this embodiment, underwater data transmitted by a main base station is received; the underwater data includes at least detection data, communication data, and navigation data from each node in the underwater wireless sensor network; the underwater data is preprocessed; and the preprocessed underwater data is transmitted to a database server, whereby a display terminal obtains and displays the underwater data through the database server. Thus, the above solution, by directly obtaining and preprocessing underwater data from the underwater wireless sensor network, enables the display terminal to better display the underwater environment. This solves the problem of underwater environment visualization, enables the display of multiple types of data in the underwater environment, including communication data, detection data, and navigation data, and realistically restores the underwater scene in real time.
[0069] In order to enable the data processing and display system to better visualize the underwater environment, based on the above embodiment, as a preferred embodiment, before receiving the underwater data transmitted by the main base station, it also includes:
[0070] Set up network connections for the main base station, shore-based platform, database server, and display terminal respectively;
[0071] Determine whether the status of the main base station, shore-based platform, database server and display terminal are normal;
[0072] If so, the main base station, shore-based platform, database server and display terminal are initialized respectively, and the step of receiving underwater data transmitted by the main base station is entered;
[0073] If not, the device in the abnormal state is debugged, and after the debugging is successful, the step of receiving underwater data transmitted by the main base station is entered.
[0074] Specifically, before performing the visualization of the underwater environment, in order to better perform the visualization of the underwater environment, the entire data processing and display system needs to be initialized.
[0075] First, install and connect the network equipment for the data processing and display system. Set up network connections for the main base station, shore-based platform, database server, and display terminal. For example, connect the main base station and shore-based platform to satellite network equipment simultaneously, establishing a satellite network connection between the two. Also, connect the shore-based platform to a local area network (LAN), and connect the database server, display terminal, and shore-based platform to the same LAN.
[0076] Further determine whether the status of the main base station, shore-based platform, database server and display terminal is normal; if normal, initialize the main base station, shore-based platform, database server and display terminal respectively by reading configuration files, and enter the relevant steps of subsequent visualization display; if abnormal, it is necessary to debug the equipment with abnormal status in the data processing and display system, and enter the relevant steps of subsequent visualization display after successful debugging.
[0077] In this embodiment, before receiving underwater data transmitted by the main base station, network connections are established for the main base station, shore-based platform, database server, and display terminal. A determination is made as to whether the status of the main base station, shore-based platform, database server, and display terminal is normal. If so, the main base station, shore-based platform, database server, and display terminal are initialized, and the process of receiving underwater data transmitted by the main base station begins. If not, the abnormally functioning device is debugged, and after successful debugging, the process of receiving underwater data transmitted by the main base station begins. Network connections, device initialization, and device debugging are implemented for the data processing and display system before the visualization process begins, facilitating subsequent visualization.
[0078] In practice, after receiving underwater data from the shore-based platform, the data processing system pre-processes the data. The purpose of pre-processing is to parse the raw data to analyze the data type and data transmission status, mark the raw data, and transmit it to the database server for display terminal use.
[0079] It's understandable that communication data can exist in different states: correct transmission, collisions between multiple communication data streams, and bit errors due to factors like noise. A collision occurs when multiple signals are transmitted simultaneously on the same channel, interfering with each other and preventing the receiver from receiving the correct data. A bit error occurs when external factors interfere with the signal during transmission, resulting in incorrect data being interpreted by the receiver. Therefore, a data receiving node cannot detect collisions or bit errors.
[0080] Therefore, the data processing system needs to analyze the data, analyze the transmission information of collision and error data, and mark the data transmission status.
[0081] Specifically, based on the above embodiment, as a preferred embodiment, preprocessing the underwater data includes:
[0082] Obtain node coordinates and networking configuration information of each node in the underwater wireless sensor network;
[0083] Acquire each transmission information and each reception information piggybacked by the communication data in the underwater data; wherein the transmission information is generated when a node in the underwater wireless sensor network transmits data; and the reception information is generated when a node in the underwater wireless sensor network receives data;
[0084] Bind each sent message with the corresponding received message according to the node coordinates and network configuration information;
[0085] The receiving status in each receiving information is obtained respectively, and the communication data is marked according to each receiving status for data display.
[0086] In practice, preprocessing underwater data begins with obtaining the node coordinates and network configuration information of each node in the underwater wireless sensor network, thereby determining the location and configuration of each node. Furthermore, the transmission information and reception information piggybacked by the communication data in the underwater data are obtained. Transmission information is generated when a node in the underwater wireless sensor network transmits data, while reception information is generated when a node in the underwater wireless sensor network receives data.
[0087] It's understandable that in underwater wireless sensor networks, when a node sends data, it generates a transmission message. This message includes information such as the sending node ID, receiving node ID, and transmission time. When a node sends data, it piggybacks its transmission message into the data packet. If the data is a retransmission, the transmission message for this retransmission and all previous transmissions of the data are also piggybacked, preventing the transmission from failing and ultimately failing to reach the data processing system in the event of a transmission failure.
[0088] When a node receives data, it can experience two different states: successful data reception and failed data reception due to poor channel conditions or data collisions. When data is successfully received, the receiving node can parse the packet to obtain the piggybacked information. However, when data reception fails, the receiving node only knows the time of failure and cannot analyze the cause of the data transmission failure. It is understood that the reception information includes the receiving node ID, reception status, and reception time.
[0089] After obtaining the transmission and reception information of communication data, the shore-based platform's data processing system can bind each transmission message to the corresponding reception message based on the node coordinates and network configuration information. Specifically, the data processing system estimates the time range in which the data corresponding to the transmission message should be received based on the inter-node distance and the node modulation and demodulation mode. If the reception time of a certain reception message falls within this estimated time range, the transmission message is bound to the reception message. The system further obtains the reception status of each reception message and applies different labeling to the communication data based on the reception status for data display.
[0090] As a preferred embodiment, respectively obtaining the reception status in each reception information and marking the communication data according to each reception status includes:
[0091] When the receiving status in the receiving information indicates that the data has been received successfully, the receiving information is combined with the sending information bound thereto, and the communication data is marked as successful;
[0092] When the receiving status in the receiving information is data reception failure, determining whether the sending information bound to the receiving information is unique;
[0093] If so, mark the communication data as bit error;
[0094] If not, the communication data is marked as a collision.
[0095] Specifically, when the reception status in the received information indicates successful data reception, the transmitted information and received information are combined to form data that can be used by the display system, and the communication data is marked as successful. When the reception status in the received information indicates failed data reception, a determination is made as to whether the transmitted information bound to the received information is unique. If the received information is bound to only one transmitted information, the communication data is marked as errored. If the received information is bound to multiple transmitted information, a collision between the multiple data points leads to reception failure, and the transmitted data points are bound together and marked as collisioned.
[0096] In addition, since there is a delay in transmitting the underwater data to the data processing system, as a preferred embodiment, transmitting the pre-processed underwater data to the database server includes:
[0097] The underwater data is written into the database server according to the timestamp of the underwater data using the timeline-based scheduling method.
[0098] In specific implementations, the data processing system will maintain a timeline that lags behind the real world, and further utilize a timeline-based scheduling method to write underwater data into the database server according to the timestamp of the underwater data, so that the time information of the underwater data in the database server is consistent with the time when the underwater data is generated.
[0099] In this way, the data processing system realizes the preprocessing of underwater data, so that the failed communication process can also be displayed. By preprocessing the underwater data, different failure states can also be distinguished, that is, collisions and errors in the failure state can be further distinguished, making the subsequent visual display content more detailed.
[0100] In order to avoid the influence of the existence of multiple identical sent information on information binding, based on the above embodiment, as a preferred embodiment, before binding each sent information with the corresponding received information according to the node coordinates and the networking configuration information, after obtaining each sent information and each received information piggybacked by the communication data in the underwater data, the method further includes:
[0101] Perform uniqueness checks on each sent message to remove duplicate messages of the same message;
[0102] The sending information that has passed the uniqueness check is stored in the sending information library for binding with the corresponding receiving information.
[0103] Specifically, when the data processing system receives a sending information, since the previous sending information will be repeated when the data is retransmitted, it is necessary to first check the uniqueness of the sending information, remove multiple duplicate information of the same sending information, and then store the sending information in the sending information library, so that the data processing system can retrieve the sending information from the sending information library for information binding.
[0104] The above embodiment introduces the preprocessing of communication data in underwater data. In order to implement the preprocessing of navigation data in underwater data, the preprocessing of underwater data includes:
[0105] Obtain the moving speed of each node in the underwater wireless sensor network;
[0106] Abnormal navigation data in underwater data is removed according to the moving speed of each node.
[0107] In practice, the data processing system handles abnormal navigation data. Navigation data is used to display the location of nodes in an underwater wireless sensor network. However, due to factors such as channel quality and positioning accuracy, the uploaded node coordinates may have significant errors. To mitigate these errors, the data processing system removes abnormal navigation data based on the node's movement speed, ensuring the accuracy of the navigation data.
[0108] Based on the above embodiment, as a preferred embodiment, the display terminal obtains underwater data through the database server and displays the data, including:
[0109] The underwater data in the database server is read in real time through the display terminal and stored locally;
[0110] The underwater data is parsed through the display terminal and displayed based on the parsed underwater data.
[0111] In practice, for the visualization of underwater data, the display terminal simulates underwater communication and detection by reading and parsing data from a database server in real time. The data is then stored in a local history file for historical playback. For navigation, the display terminal displays the node's location information in real time based on its historical navigation and positioning information. It is understood that the display terminal primarily displays information such as the underwater node's appearance, device parameters, and historical coordinates.
[0112] It should be noted that, in a specific implementation, the display terminal can be developed using Unity3D and C#, creating 3D models of the underwater environment, various ships, underwater vehicles, and fixed detection nodes, thereby visually displaying various events in the underwater wireless sensor network. The display terminal can also be developed using other methods, which are not limited in this embodiment and depend on the specific implementation. Furthermore, since the display terminal is connected to a database server, a C# script can be used to monitor new data from the database server, thereby displaying different types of data.
[0113] In the above embodiments, the data display method is described in detail, and the present application also provides corresponding embodiments of the data display device.
[0114] Figure 3 This is a schematic diagram of a data display device provided in an embodiment of the present application. The device is applied to a shore-based platform; Figure 3 As shown, the data display device includes:
[0115] The receiving module 10 is used to receive underwater data transmitted by the main base station; wherein the underwater data at least includes detection data, communication data and navigation data of each node in the underwater wireless sensor network.
[0116] The data processing module 11 is used to pre-process the underwater data.
[0117] The transmission module 12 is used to transmit the pre-processed underwater data to the database server, so that the display terminal can obtain the underwater data through the database server and display it.
[0118] In this embodiment, the data display device includes a receiving module, a data processing module, and a transmission module. The data display device can implement all the steps of the above-mentioned data display method when it is running. By receiving underwater data transmitted by the main base station; wherein the underwater data at least includes detection data, communication data, and navigation data of each node in the underwater wireless sensor network; pre-processing the underwater data; transmitting the pre-processed underwater data to the database server, so that the display terminal can obtain the underwater data through the database server and display it. It can be seen that the above-mentioned scheme directly obtains the underwater data of the underwater wireless sensor network and pre-processes the underwater data, so that the display terminal can better display the underwater environment. It solves the problem of underwater environment visualization, realizes the display of various types of data such as communication data, detection data, and navigation data in the underwater environment, and restores the underwater scene in real time and realistically.
[0119] Figure 4 This is a schematic diagram of a data display device provided in an embodiment of the present application. Figure 4 As shown, the data display device includes:
[0120] The memory 20 is used to store computer programs.
[0121] The processor 21 is configured to implement the steps of the data display method mentioned in the above embodiment when executing a computer program.
[0122] The data display device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer, or a desktop computer.
[0123] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of a digital signal processor (DSP), a field programmable gate array (FPGA), and a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
[0124] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include high-speed random access memory, and non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the data display method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include but is not limited to data involved in the data display method.
[0125] In some embodiments, the data display device may further include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power supply 25 , and a communication bus 26 .
[0126] Those skilled in the art will understand that Figure 4 The structure shown in the figure does not constitute a limitation of the data display device, and may include more or fewer components than shown in the figure.
[0127] In this embodiment, the data display device includes a memory and a processor. The memory is used to store computer programs. The processor is used to implement the steps of the data display method mentioned in the above embodiment when executing the computer program. By receiving underwater data transmitted by the main base station; wherein the underwater data at least includes detection data, communication data and navigation data of each node in the underwater wireless sensor network; pre-processing the underwater data; transmitting the pre-processed underwater data to the database server, so that the display terminal can obtain the underwater data through the database server and display it. It can be seen that the above scheme directly obtains the underwater data of the underwater wireless sensor network and pre-processes the underwater data, so that the display terminal can better display the underwater environment. It solves the problem of underwater environment visualization, realizes the display of multiple types of data such as communication data, detection data, and navigation data in the underwater environment, and restores the underwater scene in real time and realistically.
[0128] Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps described in the above method embodiment.
[0129] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0130] In this embodiment, a computer program is stored on a computer-readable storage medium, and when the computer program is executed by a processor, the steps described in the above method embodiment are implemented. Underwater data transmitted by a main base station is received; wherein the underwater data at least includes detection data, communication data, and navigation data of each node in the underwater wireless sensor network; the underwater data is pre-processed; and the pre-processed underwater data is transmitted to a database server, so that the display terminal can obtain the underwater data through the database server and display it. It can be seen that the above scheme directly obtains underwater data from the underwater wireless sensor network and pre-processes the underwater data, so that the display terminal can better display the underwater environment. It solves the problem of underwater environment visualization, realizes the display of multiple types of data such as communication data, detection data, and navigation data in the underwater environment, and restores the underwater scene in real time and realistically.
[0131] The above is a detailed introduction to a data display method, device, equipment and medium provided by the present application. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of this application, several improvements and modifications can be made to this application, and these improvements and modifications also fall within the scope of protection of the claims of this application.
[0132] It should also be noted that, in this specification, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.
Claims
1. A data display method, characterized in that: Applied to a shore-based platform; the method comprises: Receiving underwater data transmitted by the main base station; wherein the underwater data at least includes detection data, communication data and navigation data of each node in the underwater wireless sensor network; Preprocessing the underwater data; Wherein, the preprocessing of the underwater data includes: obtaining the node coordinates and networking configuration information of each node in the underwater wireless sensor network; obtaining each sending information and each receiving information piggybacked by the communication data in the underwater data; wherein the sending information is generated when the node in the underwater wireless sensor network sends data; the receiving information is generated when the node in the underwater wireless sensor network receives data; binding each sending information with the corresponding receiving information according to the node coordinates and the networking configuration information; respectively obtaining the receiving status in each receiving information, and marking the communication data according to each receiving status for data display; The pre-processed underwater data is transmitted to a database server, so that the display terminal can obtain the underwater data through the database server and display it.
2. The data display method according to claim 1, characterized in that: Before receiving the underwater data transmitted by the main base station, the method further includes: respectively setting up network connections for the main base station, the shore-based platform, the database server, and the display terminal; respectively determining whether the status of the main base station, the shore-based platform, the database server, and the display terminal are normal; If so, the main base station, the shore-based platform, the database server and the display terminal are initialized respectively, and the step of receiving the underwater data transmitted by the main base station is entered; If not, the device in the abnormal state is debugged, and after the debugging is successful, the step of receiving the underwater data transmitted by the main base station is entered.
3. The data display method according to claim 1, characterized in that: Before respectively binding each of the sent information with the corresponding received information according to the node coordinates and the networking configuration information, and after obtaining each of the sent information and each of the received information piggybacked by the communication data in the underwater data, the method further includes: Performing a uniqueness check on each of the sent information to remove duplicate information of the same sent information; The sending information after the uniqueness check is stored in a sending information library for binding with the corresponding receiving information.
4. The data display method according to claim 1, characterized in that: The respectively obtaining the receiving status in each of the received information and marking the communication data according to each of the receiving statuses includes: When the receiving status in the receiving information is that data is received successfully, combining the receiving information with the sending information bound thereto, and marking the communication data as successful; When the receiving status in the received information is data reception failure, determining whether the sent information bound to the received information is unique; If yes, marking the communication data as a bit error; If not, the communication data is marked as a collision.
5. The data display method according to claim 1, characterized in that: The preprocessing of the underwater data comprises: Obtaining a moving speed of each of the nodes in the underwater wireless sensor network; Abnormal navigation data in the underwater data is removed according to the moving speed of each of the nodes.
6. The data display method according to claim 1, characterized in that: The transmitting the pre-processed underwater data to the database server comprises: The underwater data is written into the database server according to the timestamp of the underwater data by using a scheduling method based on a time axis.
7. The data display method according to any one of claims 1 to 6, characterized in that: The display terminal obtains the underwater data through the database server and displays the data, including: Reading the underwater data in the database server in real time through the display terminal and storing it locally; The underwater data is parsed by the display terminal, and displayed according to the parsed underwater data.
8. A data display device, characterized in that: Applicable to shore-based platforms; the device comprises: A receiving module, configured to receive underwater data transmitted by a master base station; wherein the underwater data at least includes detection data, communication data, and navigation data of each node in the underwater wireless sensor network; A data processing module, configured to pre-process the underwater data; Wherein, the preprocessing of the underwater data includes: obtaining the node coordinates and networking configuration information of each node in the underwater wireless sensor network; obtaining each sending information and each receiving information piggybacked by the communication data in the underwater data; wherein the sending information is generated when the node in the underwater wireless sensor network sends data; the receiving information is generated when the node in the underwater wireless sensor network receives data; binding each sending information with the corresponding receiving information according to the node coordinates and the networking configuration information; respectively obtaining the receiving status in each receiving information, and marking the communication data according to each receiving status for data display; The transmission module is used to transmit the pre-processed underwater data to the database server, so that the display terminal can obtain the underwater data through the database server and display it.
9. A data display device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the data presentation method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the data presentation method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Water source monitoring track data processing method, device and equipment and storage medium
CN112487038A