Underwater acoustic data visualization situation display system and method thereof

By using parallel thread processing and OpenGL rendering technology, the problems of human-computer interaction and data fusion in the comprehensive situation display of underwater acoustic intelligence data were solved, enabling fast and intuitive situation display and real-time decision support.

CN116880944BActive Publication Date: 2026-11-24BEIJING ZHONGKEHAIXUN DIGITAL S&T CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310854259.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-12
Publication Date
2026-11-24
Estimated Expiration
2043-07-12

AI Technical Summary

Technical Problem

Traditional nautical chart plotting and sand table simulation technologies have weak human-computer interaction capabilities and poor target data fusion and analysis capabilities in the comprehensive situational display of underwater acoustic intelligence data. This results in high complexity of data visualization and cannot meet the needs of commanders for real-time decision-making.

Method used

The system employs parallel-running UI thread, TP thread, BM thread, graphics drawing thread, and OpenGL rendering thread. It asynchronously processes user operation events, performs various data fusions and situation display, generates custom data structures, and utilizes OpenGL rendering technology to achieve real-time situation display.

Benefits of technology

It enables rapid and intuitive display of underwater acoustic data, supports real-time viewing of task execution and decision support, and improves the responsiveness of user operations and the real-time nature of data display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116880944B_ABST
    Figure CN116880944B_ABST
Patent Text Reader

Abstract

A system and method for visualizing and displaying underwater acoustic data are provided. The system includes a UI thread for displaying the user interface, a graphics rendering thread, an OpenGL rendering thread, a TP thread, and a BM thread. The BM thread extracts and analyzes data, the TP thread analyzes and classifies the comprehensive data, and then sends the data to the graphics rendering thread for initial graphical generation and event creation. The OpenGL thread then renders the initially generated image and shares the result with the UI thread, which displays it as a 2D texture.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of integrated situation display technology, specifically relating to an integrated situation display system and method based on underwater acoustic data visualization. Background Technology

[0002] The characteristic of simulation applications (SA) is that they can intuitively and realistically simulate and display situational data and detailed information about weapons and equipment.

[0003] However, in the military field, achieving comprehensive battlefield situational awareness primarily relies on traditional methods such as using symbols plotted on electronic maps and sand tables to simulate and display the overall battlefield environment and the deployment of forces by both sides. Comprehensive situational awareness includes the current state and evolving trends within a designated area. The current state includes information on various scene elements, environment, and target types, attributes, locations, and motion parameters. Evolving trends include descriptions of the target's implicit intentions, capabilities, relationships, and threats to our side. Therefore, it is necessary to utilize computer technology to display the comprehensive situational awareness in real-time using graphics.

[0004] Chinese patent application CN110866887A provides a target situation fusion perception method and system based on multiple sensors. Chinese patent application CN102663959A provides a comprehensive situational awareness display system and implementation method based on map symbol processing. Summary of the Invention

[0005] In integrated situational awareness scenarios involving underwater acoustic intelligence data, the sheer volume, complexity, and high level of specialization of this data, coupled with the need for timely feedback and decision-making by commanders regarding the overall battlefield situation, renders traditional nautical chart plotting and sand table simulation technologies inadequate for meeting user data visualization requirements. These traditional methods suffer from limitations in human-computer interaction, poor target data fusion and analysis capabilities, and low accuracy in controlling and analyzing decision-making data. The integrated battlefield situation reflects diverse and complex information. For example, target tracks originate from continuous data sources and need to be displayed in real time. The types and quantities of targets are diverse, and a single target can be represented by multiple different types of data sources, necessitating the analysis and integrated display of various data in the integrated situation. Data sources may also need to be collected, and the complexity of the collection methods (such as network latency) affects the data collection and processing process, leading to increased complexity in data visualization. The integrated situational awareness display also stems from the actions of (multiple) users. User actions can be based on a graphical user interface or performed remotely via a computer. These actions and corresponding processing also need to be displayed in a graphical interface and integrated into the overall situational awareness display. In big data scenarios, the processing latency of user operations varies, and it is also necessary to avoid the impact of user operation delays on the updating and real-time performance of the display. The marine battlefield environment is also constantly changing. In different levels of display requirements, the scope (size) of the marine area varies, and the environmental and meteorological conditions are different, so the corresponding display methods are also different.

[0006] To address the problems and shortcomings of the existing technologies, this invention provides a comprehensive situational visualization method based on underwater acoustic data processing. This method can quickly provide commanders with intuitive situational awareness of the areas of interest, facilitating rapid decision-making. It also allows for real-time viewing of the current task execution status and judgment results, forming a real-time, intuitive, and comprehensive situational display of the entire process from the occurrence of an event to its resolution.

[0007] To address one or more of the aforementioned issues, a new comprehensive situation visualization method is needed to meet the complex requirements of comprehensive situation display.

[0008] According to an embodiment of this application, a method for implementing an underwater acoustic data visualization and integrated situation display system is provided. The underwater acoustic data visualization and integrated situation display system includes a UI thread, one or more TP threads, a BM thread, a graphics drawing thread, and an OpenGL rendering thread running in parallel. The method includes: in response to a user's operation of the graphical interface of the underwater acoustic data visualization and integrated situation display system, the UI thread generates UI events and provides the generated UI events to the BM thread asynchronously; the BM thread generates tasks based on the acquired UI events and distributes them to the TP thread for processing; the TP thread acquires various types of data from multiple external data sources based on the generated tasks, performs data fusion on the various types of data, generates custom data structure data with a unified format, and provides the custom data structure data to the graphics drawing thread, wherein the custom data structure data describes the elements to be displayed by the underwater acoustic data visualization and integrated situation display system, and the elements are associated with the various types of data; the graphics drawing thread performs situation fusion and classification drawing on different elements based on the custom data structure data; the OpenGL rendering thread renders the drawn elements and provides the rendering results to the UI thread; and the UI thread performs integrated situation display on the rendering results.

[0009] The method of implementing the underwater acoustic data visualization integrated situation display system according to the embodiments of this application further includes: in response to the underwater acoustic data visualization integrated situation display system displaying a target from an external data source, the TP thread receives multiple data from multiple external data sources, the multiple data from multiple external data sources includes target tracks and target information, the multiple data are associated with the target through data fusion, and the custom data structure data with a unified format is generated.

[0010] The method of implementing the underwater acoustic data visualization and integrated situation display system according to the embodiments of this application further includes: the TP thread merging data from multiple external data sources, wherein the multiple external data sources are associated with the same target.

[0011] According to the method of the underwater acoustic data visualization and integrated situation display system implemented according to the embodiments of this application, in response to the underwater acoustic data visualization and integrated situation display system wanting to display target data from a new external data source, an available TP thread is obtained to receive data from the new external data source and generate the custom data structure data with a unified format.

[0012] According to the method of the underwater acoustic data visualization integrated situation display system implemented according to the embodiments of this application, the TP thread obtains the situation display requirements, matches the corresponding situation display method for the element to be displayed according to the situation display requirements, and records the matched situation display method in the custom data structure corresponding to the element to be displayed.

[0013] According to the method of the underwater acoustic data visualization integrated situation display system implemented according to the embodiments of this application, the custom data structure indicates the drawing operation type of the element to be displayed, as well as the information required to draw the element.

[0014] The method of the underwater acoustic data visualization integrated situation display system according to the embodiments of this application further includes: the graphics drawing thread performs situation display classification processing and graphics preprocessing on the elements to be displayed according to a custom data structure, and after the graphics preprocessing is completed, the data is shared with the OpenGL rendering thread for rendering.

[0015] The method implemented according to the underwater acoustic data visualization integrated situation display system of the present application further includes: responding to the underwater acoustic data visualization integrated situation display system to perform simulated situation display, generating simulated situation data and auxiliary decision information according to the current situation to be simulated; providing the simulated situation data and auxiliary decision information as an external data source to the TP thread, wherein the TP thread generates custom data structure data based on the data from the external data source to request the graphics drawing thread to draw elements.

[0016] The method implemented according to the underwater acoustic data visualization and comprehensive situation display system of this application further includes: in response to the comprehensive situation review and reproduction of the underwater acoustic data visualization and comprehensive situation display system, selecting a specified situation area through the UI thread, and providing the situation data associated with the specified situation area to the TP thread, wherein the TP thread processes the situation data and generates custom data structure data.

[0017] The method of implementing the underwater acoustic data visualization integrated situation display system according to the embodiments of this application further includes: responding to the user's selection of the display area of ​​the pre-deployed plan, the UI thread stores the selected area information in a buffer and shares the data with the graphics drawing thread; the graphics drawing thread summarizes and classifies the area data, and distinguishes each divided area by color according to different sea conditions and sea states, and finally obtains well-organized situation information; the OpenGL rendering thread performs graphical rendering of the simulated situation to obtain the graphical rendering result; and the data is shared to the UI thread through pipeline communication to collect and display the rendered sea area situation.

[0018] The method implemented according to the underwater acoustic data visualization integrated situation display system of the present application further includes: responding to the UI event instruction to query historical data, the TP thread obtains the historical data to be queried from the internal cache according to the generated task, and generates the custom data structure data according to the query result to request the graphics drawing thread to draw elements.

[0019] According to a second aspect of this application, a first computer device according to the second aspect of this application is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method of the underwater acoustic data visualization integrated situation display system according to the first aspect of this application. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings.

[0021] Figure 1A An architectural block diagram of a comprehensive situational awareness system based on underwater acoustic data visualization, according to an embodiment of this application, is shown.

[0022] Figure 1B The swim lane diagram of the integrated situational awareness system based on underwater acoustic data visualization according to an embodiment of this application is shown.

[0023] Figure 2 A flowchart illustrating the process of target situation fusion display according to an embodiment of this application is provided.

[0024] Figure 3 A flowchart illustrating the human-computer interface interaction process according to an embodiment of this application is provided.

[0025] Figure 4 A flowchart illustrating the workflow of the TP thread according to an embodiment of this application is shown.

[0026] Figure 5 A flowchart illustrating the visualization of the deployment status of the contingency plan according to an embodiment of this application is provided.

[0027] Figure 6 A flowchart illustrating the process of a visual data classification method according to an embodiment of this application is provided. Detailed Implementation

[0028] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0029] Figure 1A An architectural block diagram of a comprehensive situational awareness system based on underwater acoustic data visualization, according to an embodiment of this application, is shown.

[0030] The underwater acoustic data visualization integrated situation display system according to the embodiments of this application includes a UI (User Interface) thread (also known as an image aggregation and display thread), a TP (Transaction Processing) thread (task processing thread), a BM (Business Management) thread (business control thread), a graphics drawing thread, and an OpenGL rendering thread.

[0031] In the comprehensive situational awareness display system based on underwater acoustic data visualization, the UI thread serves as the main thread and starts other threads. The UI thread is responsible for displaying the comprehensive situational awareness to the user, maintaining the underlying situational awareness layer, and receiving various UI events provided by the user based on the graphical user interface (e.g., operation commands generated based on menus and buttons).

[0032] The BM thread is responsible for scheduling and coordinating the work of each thread in the comprehensive situational awareness system based on underwater acoustic data visualization. The BM thread controls when each thread needs to be scheduled for execution (e.g., when a task processing request occurs, or when the required data is ready), and also determines the timing and number of tasks to be distributed based on system load and / or the scale of the tasks to be processed. For example, the BM thread receives UI events generated by the UI thread and identifies the corresponding tasks to schedule the TP thread or graphics rendering thread to handle the tasks generated by the UI events. For instance, some UI events require acquiring data from external data sources or performing data queries. The TP thread receives data from external data sources or queries data from local caches before performing subsequent rendering, and the BM thread provides such UI events to the TP thread for processing. Some UI events do not require data acquisition but rather, for example, changing the display method; the BM thread can provide such UI events to the graphics rendering thread for processing.

[0033] TP threads consist of one or more, each handling the same or different tasks. TP threads also receive external data sources and create business data entities to process the received data. TP threads also merge data from multiple data sources and encapsulate it into a custom data structure with a unified format, which is then provided to the graphics rendering thread. Instances of the custom data structure provided to the graphics rendering thread are placed, for example, in a cache, so that TP threads and graphics rendering can be scheduled separately. TP threads also inform the BM thread that data has been received from an external data source or that an instance of the custom data structure has been added to the cache, requesting other threads to continue processing.

[0034] The data sources received by the TP thread include various types of data, which can be associated with the same or different elements among multiple data types. In data fusion, data associated with the same elements are grouped together to avoid conflicts when displaying diverse data and to facilitate the related display of various data. An element is, for example, a vessel identified and to be displayed in a comprehensive situational awareness system based on underwater acoustic data visualization. Optionally, some external data sources or portions of data from data sources (e.g., data for specific time periods) that are not associated with any elements (e.g., no identified vessels are included in this portion of data) may be cached locally by the TP thread (not needing to be readily available to other threads) for future query needs.

[0035] Optionally, the TP thread maintains a persistent connection with the corresponding external data source to receive data from the external data source at any time. Alternatively, the TP thread selects a specific external data source to connect to based on user instructions, such as those passed by the UI thread. For example, when scheduling the TP thread, the BM thread also passes external data source information carried in the user UI event to the TP thread, and the TP thread connects to the external data source based on the obtained user instructions.

[0036] The graphics rendering thread identifies image rendering requirements based on information conveyed by the custom data structure, categorizing and rendering different elements, such as elements from different data sources (e.g., targets, interference objects, platforms, various equipment, etc.). Optionally, the custom data structure also indexes the cache address of the data required to render the elements, thus limiting the size of the custom data structure, while the graphics rendering thread retrieves the necessary data from, for example, the cache. The graphics rendering thread also handles, for example, situational fusion. Elements may be associated with multiple data sets to be rendered, and displaying all the data to be rendered to the user may be disadvantageous, as it would lead to cluttered display areas and obscure key information. The graphics rendering thread also performs situational fusion of multiple data sets to be rendered based on a rendering strategy (based on user-specified rendering requirements or an analysis of user-friendly rendering methods) to display key information to the user. The graphics rendering thread also handles the correlation in element display, such as displaying multiple related elements together.

[0037] Understandably, the graphics rendering thread draws elements, but the results are not necessarily displayed to the user; instead, they are stored in a cache. The UI thread determines which elements are displayed on the screen and when. Therefore, for elements not displayed on the screen (e.g., elements hidden in the UI or elements not enabled by the user), the graphics rendering thread can draw them in real-time in the background based on acquired data. This allows for quick display of these elements to the user when they switch or request their presentation, improving the user experience. Optionally, some currently undisplayed elements do not need to be drawn to reduce system load. For example, for multiple ship targets in a specified sea area, the graphics rendering thread draws them all in the background, while the UI thread determines which ships are displayed on the screen; elements in other sea areas do not need to be drawn.

[0038] Optionally or further, the OpenGL rendering thread is used to further process the rendering results from the graphics drawing thread to enhance the display effect. The OpenGL rendering thread encapsulates the OpenGL graphics library and uses graphics acceleration hardware for graphics rendering. Understandably, in some scenarios of the overall situation display, the OpenGL rendering thread (using graphics hardware acceleration for graphics rendering) is not necessary, and the drawing of elements can be completed by the graphics drawing thread. The elements drawn by the graphics drawing thread and the OpenGL rendering thread are provided to the UI thread for situation display.

[0039] The results of rendering completed by the graphics rendering thread and / or OpenGL thread are also provided to the UI thread. The UI thread determines which elements are displayed on the screen and when. Optionally, the graphics rendering thread and / or OpenGL thread each notify the BM thread of their rendering results, and the BM thread schedules the UI thread to retrieve the rendering results. Thus, the BM thread can choose an appropriate time to schedule the UI thread to update the content displayed on the screen based on factors such as current load, task processing status, and user actions.

[0040] Figure 1A The cache shown is used to directly pass or share data between threads. For example, the TP thread merges data obtained from an external data source and puts it into the cache for use by the graphics rendering thread. The results of rendering by the graphics rendering thread / OpenGL thread are put into the cache for use by the UI thread. When a UI event generated by the UI thread corresponds to a data query task, the cache also serves as a data source to provide data query results.

[0041] The UI thread, BM thread, TP thread, graphics drawing thread, and OpenGL rendering thread each process their respective tasks in parallel. Threads communicate with each other through mechanisms such as queues, signals, and shared memory. A blockage or delay in processing a single thread does not affect the processing of other threads.

[0042] Figure 1B The swim lane diagram of the integrated situational awareness system based on underwater acoustic data visualization according to an embodiment of this application is shown.

[0043] After the underwater acoustic data visualization integrated situational awareness system is started, the UI thread begins. As the main thread, the UI thread also starts the BM thread, one or more TP threads, a graphics drawing thread, and an optional OpenGL rendering thread. The UI thread, for example, draws the underlying situational awareness layer and the graphical user interface on the screen.

[0044] During the operation of the underwater acoustic data visualization integrated situation display system, the UI thread generates UI events in response to user operations on the graphical user interface. UI events include mouse, keyboard, and input / output events. The UI thread uses a queue to cache UI events and sends these cached UI events to the BM thread, for example, via a signal-to-data pipeline. Cached UI events, rather than processed immediately, prevent their processing from affecting the integrated situation display. In particular, UI events with long processing times or those prone to causing lag can delay the rendering of one or more elements in the integrated situation display, thus impacting its real-time performance and display quality.

[0045] UI events in the queue are provided to the BM thread sequentially. The BM thread and other threads' handling of UI events does not block the UI thread, thus avoiding UI thread blocking and impacting the overall situational display. Optionally, the BM thread also notifies the UI thread when UI event processing is complete, allowing the UI thread to obtain the results to be displayed on the screen.

[0046] The Business Model (BM) thread receives UI events from the semaphore data pipe. Optionally, the operating system schedules the BM thread based on the presence of UI events to be sent to it in the semaphore data pipe, thus saving processor resources by not scheduling the BM thread when there are no UI events. The BM thread identifies the task described by the UI event, creates the task, and distributes it to the Task Manager (TP) thread. Tasks described by UI events include, for example, loading data, creating targets, and setting up battlefield areas. Each task has corresponding task processing code or functions. The task processing code is loaded and executed within the TP thread, allowing the TP thread to manage the processing time and status (processing in progress, processing failure, etc.) of the task processing code itself, reducing its impact on the overall situational awareness. Multiple TP threads are organized, for example, into a thread pool. When distributing tasks, the BM thread obtains available TP threads from the thread pool, sets the required task processing code to the TP thread, and schedules the TP thread to manage the execution of the task processing code.

[0047] Optionally, in addition to handling UI events, the underwater acoustic data visualization-based integrated situational awareness system according to embodiments of this application also receives data from external data sources in real time. Based on configuration, one or more TP threads are used to receive external data sources, such as external data sources representing target tracks. Different data sources have their own data distribution methods and target display methods. The data provided by external data sources may also have relatively low information density, so the proportion of the target-related part in the overall data can be low and variable. By encapsulating diverse data sources through TP threads, the underwater acoustic data visualization-based integrated situational awareness system according to embodiments of this application can accommodate diverse data sources. Optionally, after the underwater acoustic data visualization-based integrated situational awareness system is deployed, new data sources can still be added or the data distribution method of the data sources can be changed to facilitate the addition of new data sources or new targets to the integrated situational awareness. TP threads can also optionally fuse multiple data sources to reflect and generate the track of the same target through, for example, multiple data sources (e.g., multiple sonars, multiple radars). Optionally, other information about the target (e.g., identification results, risk level) is also associated with the same target during data fusion. Although the data sources are diverse, and the targets they reflect are also diverse, the TP thread fuses data from multiple data sources to generate a unified custom data structure that associates various data sets of the same element to be displayed. Optionally, other dimensions can be used to fuse multiple data sources. For example, multiple data sets can be associated with a specified task. During the generation of the unified custom data structure, irrelevant data is removed or cached. For display purposes, some data values ​​are normalized, making data from multiple data sources comparable when displayed together. Data obtained from external data sources may also contain data not associated with a display target; this data is recorded locally in the TP thread for future use.

[0048] A custom data structure defines various elements processed by the graphics drawing thread according to embodiments of this application, such as lists, icons, lines, and targets to be displayed. The custom data structure also includes various information required for drawing elements, such as display area, data related to the drawing element (position, velocity), risk level, etc. By setting a custom data structure, different display methods of diverse elements in the comprehensive situation display are categorized into a specified number of drawing operation types, enabling the graphics drawing thread to perform drawing operations on different elements (data) according to the drawing operation type. For example, the target's trajectory is drawn and updated based on the target's track and display area. Even if the elements in the comprehensive situation display change, such as adding new targets (even with new icons), the graphics drawing thread can complete the drawing of the new targets based on the drawing operation types described by the custom data structure without modifying the code and re-deploying. The custom data structure describes the interface between the TP thread and the graphics drawing thread. The TP thread adapts to the diversity of elements to be displayed, while delivering a uniform form of custom data structure describing the required drawing operation types and related data to the graphics drawing thread.

[0049] The handling of new targets, new data sources, and / or new UI events is implemented by task processing code loaded by the TP thread. The task processing code can be dynamically loaded by the TP thread without restarting the underwater acoustic data visualization integrated situation display system according to the embodiments of this application. The task processing code generates a unified custom data structure and sends it to the graphics drawing thread to implement element drawing.

[0050] The graphics rendering thread is also responsible for situational fusion, presenting elements or a comprehensive situational awareness derived from analyzing or summarizing multiple elements in a user-friendly manner. For example, due to limitations in display area, displaying multiple targets simultaneously can lead to a poor user experience due to clutter. This is addressed by merging similar targets (displaying multiple similar targets as a single element, rather than showing all the information for each target). Optionally, multiple elements to be displayed that are not of the same category but are related (e.g., the target to be displayed and its attribute information) can be merged and displayed together.

[0051] The graphics rendering thread draws elements based on the drawing operation type and related data corresponding to the custom data structure. To achieve better display effects (e.g., anti-aliasing), some element drawing results are provided to the OpenGL rendering thread for further rendering. Optionally, element drawing results are provided directly to the UI thread without processing by the OpenGL thread. The UI thread organizes and manages the display of the drawing results. For example, the UI thread adjusts the display of each element based on the current window size, position, and / or occlusion. Again, optionally, some element drawing results are not retrieved and displayed by the UI thread, but are instead stored in the cache of the graphics rendering thread or the OpenGL thread, and retrieved by the UI thread when needed by generating UI events.

[0052] The overall situation display of the UI thread can be independent of the latest and completed drawing / rendering results of the TP thread, graphics drawing thread, and OpenGL rendering thread, and can be displayed based on the drawing / rendering results already received. Upon receiving updated drawing / rendering results from the graphics drawing thread and OpenGL rendering thread (e.g., via the BM thread), the UI thread displays the situation based on the updated results. Therefore, the processing latency and load of the TP thread, graphics drawing thread, and OpenGL rendering thread do not affect the UI thread's overall situation display. Optionally, the custom data structure also includes a timestamp. When the timestamp differs significantly from the current time, it indicates a large backlog of drawing operations or elements to be displayed. Accordingly, the backlog of operations can be quickly processed by ignoring parts of the custom data structure.

[0053] Figure 2 A flowchart illustrating the process of target situation fusion display according to an embodiment of this application is provided.

[0054] See Figure 2 In order to build a user interface (UI) to integrate and display the target situation, the UI thread is started. At the same time as the UI thread starts, the graphics drawing thread and TP thread attached to the UI thread also perform runtime initialization processes.

[0055] During TP thread execution, for example, it receives target trajectory information and target tracking information (including location and orientation information) from external data sources. Upon receiving the data, it creates corresponding business data entities (i.e., abstracting the data into an abstract data object in a factory-like manner, subsequently deriving specific data objects of different types to process data from different data sources). Different data sources have different communication methods and / or data formats. The business data entities handle these differences between data sources, extracting valid data and caching it. The TP thread also performs data fusion (data integration), for example, associating multiple data sets based on the elements or targets to be displayed.

[0056] The TP thread generates custom data structures. These custom data structures, with their standardized formats, are transferred to the graphics rendering thread via a data pipeline. Upon receiving the custom data structure, the graphics rendering thread renders the graphical elements to be displayed (such as target shape and threat level), and optionally provides this data to the UI thread for overall situational awareness display. It also performs temporary backup storage of the corresponding situational awareness data. The graphics rendering thread analyzes and processes the data according to specified rules, performing routine classifications (such as classification by common type, number of common entries, and common sources) and storing the data in a temporary buffer. The graphics rendering thread also shares the initially generated data with the OpenGL thread, and finally, the data is delivered to the UI interface via a signal data pipeline to fully reproduce the fused situational awareness.

[0057] The TP thread and the graphics rendering thread perform data situation fusion to obtain the final fused situation. The graphics rendering thread classifies and organizes the processed custom data structure (which includes target data, rendering data, interactive data, clipping data, etc.) and stores it in the cache. At the same time, the target data (such as threat level, threat location, threat type, etc.) in the cache is fused (for example, the tracking data from different data sources is summarized, and what "others" see is transformed into what "I" see). After matching the requirements and processing, the data is returned to the UI thread for situation display of the fused data.

[0058] After initializing the TP thread and graphics rendering thread through the UI thread, a double-buffered rendering environment based on OpenGL is created through the graphics rendering thread. The final two-dimensional appearance displayed in the UI is achieved through OpenGL rendering technology.

[0059] OpenGL is a widely used graphics interface that can be implemented on various platforms. OpenGL is an open 3D graphics software package that is independent of window systems and operating systems, allowing applications developed based on it to be easily ported across various platforms. OpenGL facilitates the implementation of computational and graphics algorithms, ensuring the correctness and reliability of these algorithms. OpenGL is easy to use and highly efficient. Furthermore, OpenGL also has the following features:

[0060] 1. Modeling: In addition to providing basic drawing functions for points, lines, and polygons, the OpenGL graphics library also provides functions for drawing complex curves and surfaces.

[0061] 2. Bitmap Display and Image Enhancement: In addition to basic copying and pixel reading / writing, the image functions also provide special image effects processing such as blending, anti-aliasing, and fog. These three features can make the simulated objects more realistic and enhance the effect of graphic display.

[0062] 3. Dual caching: Animation dual caching refers to front-end caching and back-end caching. The back-end cache calculates the scene and generates the image, while the front-end cache displays the image that has already been drawn in the back-end cache.

[0063] Furthermore, OpenGL can be used to achieve special effects such as depth hints and motion blur, thus enabling the implementation of hidden surface removal algorithms.

[0064] Figure 3 A flowchart illustrating the human-computer interface interaction process according to an embodiment of this application is provided.

[0065] The underwater acoustic data visualization-based integrated situation display system according to embodiments of this application provides a user-friendly human-computer interaction method, displaying an integrated situation to the user and receiving user operations based on the integrated situation. It responds to UI events by calculating whether there are intersections between the situation display area and the data display area, and the coordinates of these intersections, thus realizing user interaction functions. The mouse and keyboard are the primary human-computer interaction methods. Users can operate on the area of ​​interest and the integrated situation display area by selecting or clicking, including operations such as synchronously zooming in on the area, controlling the amount of text information in the area, extending the area's target information, and swapping area units.

[0066] The human-computer interaction process can be referenced as follows: Figure 3 After the UI thread starts, it monitors and captures UI events. For example, when a user clicks on a drawn graphic, the UI thread receives the event through the event propagation mechanism. The UI thread stores UI events (such as mouse, keyboard, input / output events) in an event queue, distributing them to at least two queues based on their priority, and providing them to the TP thread. UI events are sent to the TP thread via a signal data pipe. Optionally, TP threads can be scheduled from a thread pool containing multiple TP threads for processing. Multiple TP threads can be started simultaneously based on the UI event type and data, using a unified custom data structure. Optionally, the BM thread distributes tasks represented by UI events from the UI thread to the TP thread. The BM thread also waits for the tasks in the TP thread to complete and uses a BlockingDeque (double-ended queue) to store the TP thread's return results. The BM thread checks the results of the TP thread's task execution; if a failure occurs, the BM thread marks the status to inform the TP thread to roll back, returning program control to the UI thread or the graphics drawing thread. The BM thread also determines when to dispatch UI events to the TP thread based on the load.

[0067] The graphics rendering thread draws the display elements based on the results of the tasks executed by the TP thread, and the drawing results are sent to the UI thread for display. Optionally, the scene and each element generated by the graphics rendering thread are rendered by the OpenGL thread; the rendered image is sent to the UI thread through the signal data pipeline for clustered display of the categorized data.

[0068] The data required to process UI events comes from, for example, external data sources and / or caches. For instance, if a UI event requires displaying a specific target, the TP thread retrieves data related to that target from one or more external data sources and provides it to the graphics rendering thread for drawing using a unified custom data structure. Or, if a UI event requires querying or displaying historical data, the TP thread retrieves the relevant data from, for example, a local cache.

[0069] UI events also provide configuration information for data sources to connect to, such as to the TP thread, and configuration information for rendering strategies or situational fusion tests, to the graphics rendering thread. This informs the TP thread which data sources to connect to or disconnect from, and which elements to display or hide.

[0070] Optionally, when adding new UI events, the way the TP thread handles UI events is adjusted accordingly, and a unified custom data structure is generated to describe the required drawing operations to the graphics drawing thread, thereby eliminating the need to modify the graphics drawing thread and reducing the development burden.

[0071] Figure 4 A flowchart illustrating the workflow of the TP thread according to an embodiment of this application is shown.

[0072] According to embodiments of this application, the overall situational awareness includes elements drawn based on underwater acoustic data, operational data, and other data. The TP thread processes various data types and generates a custom data structure in a unified format, which is then drawn by the graphics rendering thread. See also... Figure 4 The TP thread receives and processes underwater acoustic data, combat data, and other data. It uses interface methods to categorize and process different data types, normalizing various data types through category relationship establishment, template processing, and large-volume data preloading. The data is then provided to the subsequent graphics rendering thread according to a specified custom data structure, facilitating subsequent drawing and rendering, and greatly improving the adaptability and portability of this method. Furthermore, data unification reduces the tediousness and complexity of organizing various intelligence data, making it easier for commanders to operate and use.

[0073] Figure 4In this system, underwater acoustic data, operational data, and other data originate from external data sources or local caches within the TP thread. Within the TP thread, to handle various data sources and locally cached data formats, the received data is categorized for processing methods. Data types are pre-defined, such as time-series data, spectral data, and target attribute data, and corresponding receiving and processing methods are employed based on the characteristics of each data type. Upon receiving data, the data category relationships are identified, and corresponding processing methods are applied based on different categories (e.g., using templates corresponding to the categories). To accelerate data processing in cases of large volumes of data, data is also pre-loaded and processed in batches. For example, received data from external data sources is cached, and a certain amount of cached data is centrally loaded and processed to reduce pauses introduced during network communication with the data source.

[0074] Data fusion can optionally be performed during data processing to store related data in a correlated manner. Data fusion may also include processes such as data normalization to integrate different data representations from different data sources.

[0075] Figure 5 A flowchart illustrating the visualization of the deployment status of the contingency plan according to an embodiment of this application is provided.

[0076] In some cases, users require a simulated adversarial situation to be displayed to multiple other users. In such situations, even without additional data (or data sources) for comprehensive situational display, users can present the simulated adversarial situation holistically based on their experience, ideas, and insights. To this end, according to embodiments of this application, simulated situational data and auxiliary decision-making information are generated based on the current situation to be simulated. The auxiliary data is provided to the TP thread, for example, as an external data source. The TP thread processes the auxiliary data in a similar manner to external data sources, thereby generating a custom data structure to request the graphics rendering thread to draw elements without requiring real data from an external data source.

[0077] According to embodiments of this application, it can also support the comprehensive situational awareness replay. After selecting a specific situational area through the UI, the cached situational data (such as underwater acoustic signal data, underwater acoustic acquisition data, etc.) is processed to generate a unified custom data structure, which is then provided to the graphics rendering thread. The graphics rendering thread queues the data and stores it in a temporary buffer, then processes it in parallel with the OpenGL rendering thread, finally presenting the final situational awareness set by the user.

[0078] Optionally, the user selects the display area for the pre-plan deployment via the UI thread to facilitate determining the sea conditions and state of the deployment area. Simultaneously, the selected area data is further subdivided by bounding boxes to determine the respective display ranges. The UI thread provides the selected display area information to the graphics rendering thread via UI events (e.g., through the BM thread and TP thread). The graphics rendering thread summarizes and categorizes the sea area data from the UI thread, and distinguishes each subdivided sea area by color according to different sea conditions and state, ultimately obtaining well-organized situational information to provide data support for subsequent rendering and drawing. To improve rendering detail, the pre-plan deployment (i.e., simulated situation) is graphically rendered using an OpenGL rendering thread to obtain the graphical rendering result. Data is shared to the UI thread via pipeline communication to aggregate and display the rendered nautical chart simulation preparation status and sea area situation, ultimately obtaining the pre-plan simulation situation.

[0079] Optionally, simulated UI events are generated to mimic user interactions with the graphical interface, such as deployments or commands issued by the user through the graphical interface. The simulated UI events are provided to the BM thread in the same manner as real UI events generated by the UI thread, for example. The BM thread creates tasks based on the UI events and dispatches them to the TP thread for processing. Optionally, the BM thread may also export the UI events to record, for example, deployments and decisions made by the user.

[0080] Figure 6 A flowchart illustrating the process of a visual data classification method according to an embodiment of this application is provided.

[0081] According to embodiments of this application, users can customize the situation display method. The TP thread organizes the display method of one or more elements based on the user's settings or configuration information and provides it to the graphics rendering thread through a unified custom data structure. The user's personalized situation display method can be provided to the TP thread through UI events or through preset configuration information. In some cases, the TP thread also records and analyzes the user's situation viewing habits and historical behavior to match the user's expected situation display method.

[0082] After the UI thread starts, the TP thread, graphics rendering thread, and OpenGL thread start simultaneously. The TP thread retrieves data to be processed from the data buffer. It obtains the user's situational awareness display requirements through user settings or configuration information. Situational awareness display requirements include different display methods for different types of elements. For example, based on the target type and target threat level to be displayed, the corresponding situational awareness display method (such as partial data display, data overview, detailed data display, etc.) is matched to determine the rendering state that meets the user's expectations, generating a unified custom data structure for the graphics rendering thread.

[0083] The graphics rendering thread stores data from the TP thread in a buffer and performs situational awareness classification processing. After graphics preprocessing (such as text loading and image processing), the data is provided to the OpenGL thread for rendering, and the final rendering result is shared with the UI thread. The UI thread uses the shared data to plan and adjust the status and control of the situational awareness display interface (such as automatic layout and automatic position setting) to ensure consistency with user expectations, making the situational awareness data clear and providing a comprehensive understanding of the situation.

[0084] The embodiments of this application provide a comprehensive situational awareness visualization method. This method is applied to an application that includes a UI thread, a graphics rendering thread, an OpenGL rendering thread, a TP thread, and a BM thread. The BM thread extracts and analyzes data services, the TP thread analyzes and classifies the comprehensive data, and then sends the data to the graphics rendering thread for initial graphical generation and operation event establishment. Subsequently, the OpenGL thread renders the initially generated image and shares the result with the UI thread, which displays it in the form of a two-dimensional texture.

[0085] According to the embodiments of this application, a data-based comprehensive situation visualization method can automatically generate real-time comprehensive situation information and auxiliary decision visualization information by directly injecting data through an interface, without the need for sand table placement or manual plotting. Decision-makers can also perform corresponding human-computer interaction operations based on the situation, thereby improving the decision-making efficiency of commanders.

[0086] The operating environment / client provided in the embodiments of this application includes, for example, a computer, server, or other information processing device. These devices include, for example, memory, one or more processors, one or more presentation components, I / O components, and power supplies that are directly or indirectly coupled to a bus. The bus may represent one or more types of buses (e.g., an address bus, a data bus, or a combination thereof).

[0087] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application. Clearly, those skilled in the art can make various alterations and variations to this application without departing from its spirit and scope. Thus, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for implementing an underwater acoustic data visualization and integrated situation display system, wherein the underwater acoustic data visualization and integrated situation display system includes a UI thread, one or more TP threads, BM threads, a graphics drawing thread, and an OpenGL rendering thread running in parallel; The method includes: In response to the user's operation of the graphical interface of the underwater acoustic data visualization and integrated situation display system, the UI thread generates UI events and provides the generated UI events to the BM thread in an asynchronous manner; The BM thread generates tasks based on the acquired UI events and distributes them to the TP thread for processing. The TP thread acquires various data from multiple external data sources according to the generated tasks, performs data fusion on the various data and generates custom data structure data with a unified format, and provides the custom data structure data to the graphics drawing thread. The custom data structure data describes the elements to be displayed by the underwater acoustic data visualization integrated situation display system, and the elements are associated with the various data. The graphics drawing thread performs situational fusion and classification drawing on different elements based on the custom data structure data; The OpenGL rendering thread renders the elements to be drawn and provides the rendering results to the UI thread; The UI thread provides a comprehensive overview of the rendering results. The method further includes: In response to the underwater acoustic data visualization and situational awareness system displaying targets from external data sources, the TP thread receives various data from multiple external data sources, including target tracks and target information. Through data fusion, the various data are associated with the target, and custom data structure data with a unified format is generated. The TP thread obtains the situation display requirements, matches the corresponding situation display method for the element to be displayed according to the situation display requirements, and records the matched situation display method in the custom data structure corresponding to the element to be displayed.

2. The method according to claim 1, further comprising: The TP thread merges data from multiple external data sources, all of which are associated with the same target.

3. The method according to claim 2, wherein, In response to the underwater acoustic data visualization and integrated situation display system needing to display target data from a new external data source, an available TP thread is obtained to receive data from the new external data source and generate the custom data structure data with a unified format.

4. The method according to claim 3, wherein, The custom data structure indicates the type of drawing operation for the element to be displayed, as well as the information required to draw the element.

5. The method according to claim 4, further comprising: The graphics rendering thread performs situational display classification and graphics preprocessing on the elements to be displayed based on a custom data structure. After the graphics preprocessing is completed, the data is shared with the OpenGL rendering thread for rendering.

6. The method according to claim 5, further comprising: In response to the underwater acoustic data visualization and integrated situation display system, a simulated situation display is performed, and simulated situation data and auxiliary decision-making information are generated based on the current situation to be simulated. Simulated situational data and auxiliary decision-making information are provided to the TP thread as external data sources. The TP thread generates custom data structure data based on the data from the external data sources and requests the graphics drawing thread to draw elements.

7. The method according to claim 6, further comprising: In response to the user's selection of the display area for the pre-deployed plan, the UI thread stores the selected area information in a buffer and shares the data with the graphics rendering thread; The graphics drawing thread summarizes and classifies the regional data, and distinguishes each divided region by color according to different sea conditions and sea situations, and finally obtains well-organized situation information. The OpenGL rendering thread performs graphical rendering of the simulated situation to obtain the graphical rendering result; the data is shared to the UI thread through pipeline communication to collect and display the rendered sea area situation.

8. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Comprehensive situation intuitive display system and implementation method thereof based on map label processing

    CN102663959A

  • Target situation fusion sensing method and system based on multiple sensors

    CN110866887A

  • Circular array modal domain orientation estimation method based on space sparse constraint

    CN107966677A

  • Beidou grid drawing method and device based on WebGL

    CN114328769A