Search

CN-121996228-A - Multi-source data scene arrangement and visualization method based on configurable template

CN121996228ACN 121996228 ACN121996228 ACN 121996228ACN-121996228-A

Abstract

The invention discloses multi-source data scene arrangement and visualization based on a configurable template, and belongs to the technical field of data management and visualization. The method comprises the steps of determining a scene template corresponding to a service based on scene requirements of the service, determining scene elements corresponding to data elements in the space-time data pairs, visual arrangement units and tracks corresponding to the visual arrangement units based on types of the data elements and the space-time data pairs, arranging the visual arrangement units to positions of the visual arrangement units corresponding to the tracks in the scene template, determining duration of each visual arrangement unit based on an instantiated scene template, detecting time conflict of each visual arrangement unit based on the duration, and calling the instantiated scene template to generate a scene. The invention realizes standardized definition and rapid multiplexing of scene structures, greatly reduces the workload and time cost of scene construction, and improves the manageability and maintainability of scene data.

Inventors

  • GAO QIANG
  • ZHAO RUIFANG
  • TANG ZIHAO
  • Zhao Yingxiao
  • TANG SHANHONG
  • YOU HONGLIANG
  • ZHAO KERAN

Assignees

  • 中国人民解放军军事科学院军事科学信息研究中心

Dates

Publication Date
20260508
Application Date
20251226

Claims (10)

  1. 1. A method for multi-source data scene orchestration and visualization based on a configurable template, comprising: step S1, determining a scene template corresponding to a service based on scene requirements of the service; The scene is a plurality of visual arrangement units combined under a unified space-time frame, wherein the visual arrangement units fuse time-varying geographic elements and scene elements; The scene template comprises a template identifier, a plurality of tracks with time attributes, a track configuration mode, a canvas configuration mode, scene element layout rules, a time axis configuration mode and a view angle configuration mode, wherein the tracks are used for arranging a visual arrangement unit; Step S2, determining the types of data elements of multi-source data, establishing a space-time data pair corresponding to the data elements, wherein the space-time data pair comprises the data elements, time information and space information corresponding to the data elements, and determining scene elements, a visual arrangement unit and tracks corresponding to the data elements in the space-time data pair based on the types of the data elements and the space-time data pair; Determining the starting time and duration of a visual arrangement unit, mapping the time of the visual arrangement unit to a track horizontal coordinate, and arranging the visual arrangement unit to the position of the visual arrangement unit corresponding to the track in a scene template; Instantiating a track configuration mode, a canvas configuration mode, a scene element layout rule, a time axis configuration mode and a view angle configuration mode to obtain an instantiated scene template; Step S3, determining the duration time of each visual arrangement unit based on the instantiated scene template, and performing time conflict detection on each visual arrangement unit based on the duration time, entering step S4 after the detection is passed, otherwise, adjusting the visual arrangement units with time conflicts until the instantiated scene template has no time conflicts, and entering step S4; And S4, calling the instantiated scene template to generate a scene, wherein the view angle of the scene is determined based on the view angle configuration mode of the instantiated scene template.
  2. 2. The method of claim 1, wherein in the step S1, a scene template corresponding to the service is determined, one scene template is selected from the existing plurality of scene templates when the scene template adapted to the service exists in the existing plurality of scene templates, and a new scene template is created when the scene template adapted to the service does not exist in the existing plurality of scene templates.
  3. 3. The method of claim 1, wherein in the step S1, the scene template includes a template identifier, a plurality of tracks with time attributes for arranging the visual arranging unit, a track arrangement mode, a canvas arrangement mode, a scene element arrangement rule, a time axis arrangement mode and a view angle arrangement mode, the scene element includes a data element obtained by decomposing multi-source data, and a view angle control element and a presentation style element corresponding to the data element, the multi-source data includes three-dimensional geographic information, a picture video and an audio text, wherein: the track configuration mode defines the track types, the track number and the display sequence corresponding to various scenes; The canvas configuration mode defines the resolution, background style and initial view angle parameters of the scene canvas; The scene element layout rule defines default positions, sizes, transparency and rotation angles of various scene elements in the canvas; The time axis configuration mode defines the total duration and time scale units of the time axis of the scene corresponding to the service; The view configuration mode defines the view mode and parameters of the scene corresponding to the service.
  4. 4. A method according to claim 3, wherein in the step S2, the start time and duration of the visual arrangement unit are determined, the time of the visual arrangement unit is mapped to the track horizontal coordinates, and the visual arrangement unit is laid out to the position of the visual arrangement unit corresponding to the track in the scene template, wherein the mapping formula is: Pixel coordinates of the visualization orchestration unit = (actual time of data element corresponding to the visualization orchestration unit-start time of scene) x pixel/time scaling factor of the track time axis, Wherein the time scaling factor is the ratio of the total length of the track to the total pixels of the track.
  5. 5. The method of claim 4, wherein in step S3, a duration of each of the visualization orchestration units is determined based on the instantiated scene template, and time conflict detection is performed on each of the visualization orchestration units based on the duration, wherein, When there are two visualization orchestration units within the same track that overlap in duration, then the track has a time conflict.
  6. 6. The method according to claim 5, wherein in the step S3, the adjusting the visualization arrangement unit with the time conflict includes: the visual arrangement unit with time conflict is manually or automatically adjusted, and the automatic adjustment mode is as follows: For each visual arrangement unit with time conflict, taking the visual arrangement unit with the highest priority as a reference visual arrangement unit, and taking the rest visual arrangement units as visual arrangement units to be adjusted; determining a time offset corresponding to the visual arrangement unit to be adjusted, wherein the calculation formula of the time offset is as follows: time offset = new start time-original start time of visualization orchestration unit; the new start time of the visualization orchestration unit to be adjusted is estimated based on the length of the overlap.
  7. 7. The method of claim 6, wherein in the step S4, an instantiated scene template is called to generate a scene, wherein when the data element is one of a picture, a video, an audio and a text, lightweight animation rendering based on CSS and JavaScript is adopted, when the data element is one of vector data and grid images, frame-by-frame rendering based on requestAnimationFrame is adopted, and when the data element is a three-dimensional model, dynamic loading and rendering based on WebGL are adopted; And packaging each visual arrangement unit into an independent asynchronous task by adopting an asynchronous task management mechanism based on Promise, and dynamically loading and rendering the visual arrangement units into a canvas according to a time sequence.
  8. 8. A configurable template-based multi-source data scene orchestration and visualization device, comprising: the template selection module is configured to determine a scene template corresponding to the service based on the scene requirement of the service; The scene is a plurality of visual arrangement units combined under a unified space-time frame, wherein the visual arrangement units fuse time-varying geographic elements and scene elements; The scene template comprises a template identifier, a plurality of tracks with time attributes, a track configuration mode, a canvas configuration mode, scene element layout rules, a time axis configuration mode and a view angle configuration mode, wherein the tracks are used for arranging a visual arrangement unit; The template instantiation module is configured to determine the types of data elements of the multi-source data, establish a space-time data pair corresponding to the data elements, wherein the space-time data pair comprises the data elements, time information and space information corresponding to the data elements, and determine scene elements, a visual arrangement unit and tracks corresponding to the data elements in the space-time data pair based on the types of the data elements and the space-time data pair; Determining the starting time and duration of a visual arrangement unit, mapping the time of the visual arrangement unit to a track horizontal coordinate, and arranging the visual arrangement unit to the position of the visual arrangement unit corresponding to the track in a scene template; Instantiating a track configuration mode, a canvas configuration mode, a scene element layout rule, a time axis configuration mode and a view angle configuration mode to obtain an instantiated scene template; The conflict detection module is configured to determine the duration time of each visual arrangement unit based on the instantiated scene template, and perform time conflict detection on each visual arrangement unit based on the duration time; and the display module is configured to call the instantiated scene template to generate a scene, and the view angle of the scene is determined based on the view angle configuration mode of the instantiated scene template.
  9. 9. An electronic device, the device comprising: At least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
  10. 10. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-7.

Description

Multi-source data scene arrangement and visualization method based on configurable template Technical Field The invention belongs to the technical field of data management and visualization, and particularly relates to a multi-source data scene arrangement and visualization method based on a configurable template. Background Along with the deep advancement of informatization construction, a large amount of heterogeneous multi-source data are stored in the application, including process record data, sensor data, image data, document data and the like. The data has the characteristics of various types, complex time-space association, rich semantic hierarchy and the like, and how to effectively organize, dynamically arrange and scene display the data, so that the scene application of the multi-source data is realized, and the data management and application display are important requirements. Currently, application display of multi-source data mainly has the following problems: First, scene construction is inefficient. The traditional scene construction mode needs to design a scene structure, configure data elements and schedule time sequences from scratch for each specific business scene, and is large in workload and high in repeatability. The lack of a reusable scene template mechanism can not quickly respond to scene construction requirements of different types of service requirements, and severely restricts the application efficiency of multi-source data. Second, the data arrangement is not flexible enough. The existing system mostly adopts a static configuration or script programming mode to organize data elements, and lacks visual editing means. The user is difficult to flexibly adjust and preview the scene elements in real time, and interaction modes such as drag editing, time axis management and the like are not supported, so that the scene arrangement process is complex and difficult to modify. Third, dynamic performance is inadequate. The traditional method is used for data visualization in the form of static charts or simple animations, lacks a unified scheduling mechanism for multiple types of data elements, and is difficult to realize collaborative presentation of different data types (such as pictures, videos, audios, vector data, three-dimensional models and the like). Meanwhile, a flexible visual angle control means is lacking, and the requirement of a user for viewing scenes from different observation scales cannot be met. Fourth, there is a lack of differentiated handling policies for different data types. The existing method adopts unified data loading and rendering modes, and cannot fully consider differences of different data types such as pictures, videos, vector data, raster images, three-dimensional models and the like in terms of loading mechanisms, rendering modes, interaction modes and the like, so that the performance of the system is limited, and the performance of the system is poor. Therefore, it is needed to provide a multi-source data scene arrangement and visualization method based on a configurable template, which realizes rapid organization, flexible arrangement and dynamic performance of multi-source data by establishing a standardized scene template mechanism, a multi-track time axis arrangement mechanism, a granularity resource scheduling algorithm and a multi-view observation scale scheduling strategy, and provides an efficient technical means for business process duplication, performance evaluation and auxiliary decision. Disclosure of Invention The invention provides a multi-source data scene arrangement and visualization method based on a configurable template, which is used for solving the technical problems of low scene construction efficiency, insufficient data arrangement mode, insufficient dynamic performance, lack of differentiated processing strategies aiming at different data types and the like in scene application, realizing standardization organization, efficient arrangement and dynamic visualization of multi-source data, and providing technical support for business process duplication, efficiency evaluation and auxiliary decision. The first aspect of the invention provides a multi-source data scene arrangement and visualization method based on a configurable template, which comprises the following steps: step S1, determining a scene template corresponding to a service based on scene requirements of the service; The scene is a plurality of visual arrangement units combined under a unified space-time frame, wherein the visual arrangement units fuse time-varying geographic elements and scene elements; The scene template comprises a template identifier, a plurality of tracks with time attributes, a track configuration mode, a canvas configuration mode, scene element layout rules, a time axis configuration mode and a view angle configuration mode, wherein the tracks are used for arranging a visual arrangement unit; Step S2, determining the types of data elements