Data-driven event automatic modeling and dynamic display method and device
By building a time series data-driven event model and generating dynamic visual charts, the problem of time series data processing and presentation in the adversarial scenario is solved, and efficient situation awareness and decision support are achieved.
Patent Information
- Application Number
- CN202411937637.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-05-16
AI Technical Summary
The prior art is difficult to realize real-time processing and dynamic display of time series data in confrontation scenarios, which makes it difficult for commanders to quickly understand the scene situation, and the decision-making efficiency and accuracy are limited.
By building an event model driven by time series data, dynamic visual charts are generated, and dynamic position adjustment algorithm, importance scoring algorithm, intelligent layout algorithm and multi-view synchronization display algorithm are used to realize dynamic display and track and review of the changes in the object set state in the event model.
It improves situational awareness of confrontation scenarios, enhances decision support, improves information exchange efficiency, improves user experience and operation convenience, and strengthens data analysis and mining capabilities.
Smart Images

Figure CN120011613A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of visualization technology, and in particular to a data-driven event automatic modeling and dynamic display method and device. Background Art
[0002] In confrontation scenarios, fast and accurate information acquisition and processing are particularly important. A method that can process a large amount of time series data in real time is needed so that commanders can quickly understand the situation and make timely and effective decisions accordingly. In addition, in order to better understand and predict the dynamics of the scene, a technical means that can dynamically display these time series data is also needed, including but not limited to the visualization of key time nodes, event development context, and state changes of objects involved in each event. Therefore, it is urgent to develop a set of technologies that can automatically model and dynamically display events.
[0003] At present, static map markings and table reports are usually used to display event information in confrontation scenarios. Although these methods can reflect events in confrontation scenarios to a certain extent, due to the lack of dynamics and interactivity, it is difficult for commanders to quickly grasp the ever-changing scene situation. In addition, traditional information display methods often rely on manual analysis, which is time-consuming and prone to omissions or misjudgments. If a large amount of data cannot be analyzed and displayed immediately and effectively, the quality and speed of decision-making will be greatly reduced. In addition, due to the lack of effective dynamic display tools, the transmission efficiency of scene information is low, and information sharing between different levels is also challenged. Finally, the existing methods have limited processing capabilities for time series data, making it difficult to achieve retrospective analysis of historical data and prediction of future trends. Summary of the invention
[0004] Based on this, it is necessary to provide a data-driven event automatic modeling and dynamic display method and device to address the above technical problems, so as to realize dynamic display and effective tracking and review of various events in time series data, and improve the efficiency and accuracy of decision-making in confrontation scenarios.
[0005] A data-driven event automatic modeling and dynamic display method, the method comprising:
[0006] Build an event model driven by time series data. The event model includes interrelated key time nodes, events, and object collections.
[0007] Generate dynamic visualization charts based on event models. By configuring the dynamic display parameters of visualization charts, display the state changes of object sets in the event model. During the display process, based on the update of time series data, a dynamic position adjustment algorithm is used to update the position of object sets in the visualization chart. An importance scoring algorithm is used to optimize the information density of visualization charts. An intelligent layout algorithm is used to automatically adjust the arrangement of object sets in visualization charts. And a multi-view synchronous display algorithm is used to display the update changes of the same time series data from different perspectives in the visualization chart.
[0008] In one embodiment, building an event model driven by time series data includes:
[0009] Define key time nodes in the event model and create a timeline based on the key time nodes; the key time nodes include the start time, end time and important turning points of the event;
[0010] Identify the object set in the event model and associate the object set with the key time nodes on the timeline; the object set is all entities involved in the event, including a single individual or a group;
[0011] A specific event is defined for each key time node on the timeline, and each event is associated with the state change of the object set associated with the same key time node. According to the state change of the object set, an object identifier is automatically assigned to distinguish each member in the object set.
[0012] In one embodiment, the method further comprises:
[0013] Control buttons or sliders are configured on the timeline to support users in selecting specific key time nodes on the timeline and jumping to the selected time nodes to view and review the corresponding events.
[0014] In one embodiment, a dynamic visualization chart is generated according to the event model, and the state changes of the object set in the event model are displayed by configuring the dynamic display parameters of the visualization chart, including:
[0015] Select a visualization chart suitable for displaying the event model; visualization charts include but are not limited to timeline charts, heat maps, and scatter plots;
[0016] By configuring the dynamic display parameters of the visualization chart and integrating multimedia materials, the state changes of the object collection in the event model are displayed; the dynamic display parameters include:
[0017] The position change of the object collection on the timeline is used to show the progress of the corresponding related events;
[0018] The color, size, and shape of visual chart elements change to reflect the status or importance of different events;
[0019] The appearance and disappearance of text captions to provide additional information;
[0020] Animation effects to increase the visual appeal of visualizations;
[0021] User interactive controls to enable users to query or filter events within a specific time period;
[0022] Multimedia materials include images, videos and audio.
[0023] In one embodiment, based on the update of time series data, a dynamic position adjustment algorithm is used to update the position of the object set in the visualization chart, including:
[0024] Collecting and preprocessing updated time series data; wherein the updated time series data includes the state change, moving direction and moving speed of each object;
[0025] Get the initial position P1(x1, y1) of each object; where x1 and y1 represent the initial horizontal coordinate and initial vertical coordinate of the object respectively;
[0026] Obtain the target position P2(x2, y2), moving speed and update time interval of each object according to the updated time series data, and calculate the smoothing factor α according to the moving speed and update time interval of the object; wherein x2 and y2 represent the target horizontal coordinate and target vertical coordinate of the object respectively;
[0027] According to the initial position, target position and smoothing factor of each object, the updated position P′(x′, y′) of each object in the object set is calculated; where x′ and y′ represent the updated horizontal coordinate and the updated vertical coordinate of the object respectively. The specific expression is:
[0028] x′=x1+α(x2-x1)+γsin(ωt);
[0029] y′=y1+α(y2-y1)+γcos(ωt);
[0030] Among them, γ represents the fluctuation amplitude, ω represents the fluctuation frequency, and t represents time.
[0031] In one embodiment, an importance scoring algorithm is used to optimize the information density of a visualization chart, including:
[0032] By considering the type, state, and history of each object in the object collection, the importance score Ii of each object is calculated, and the distance D between each object and other objects is calculated.i ;
[0033] The display level L of each object is calculated based on the importance score of each object, the distance between each object and other objects, and the preset weight parameters w1 and w2. i , expressed as
[0034] L i =w1I i +w2·log(D i +1)+δexp(-λD i );
[0035] Among them, δ represents the fluctuation amplitude of the display level, and λ represents the number of distance attenuation;
[0036] According to the display level L i Adjust the transparency and spacing of each object to optimize the information density of the visualization.
[0037] In one embodiment, the importance score I of each object is calculated by considering the type, state and history of each object in the object collection. i , expressed as
[0038] I i =w type ·T i +w state ·S i +w history ·H i ;
[0039] Among them, w type 、w state and w history Represent the weight coefficients of type, status and history respectively, T i , S i and H i They represent the type weight, state weight and history weight of object i respectively.
[0040] In one embodiment, an intelligent layout algorithm is used to automatically adjust the arrangement of a set of objects in a visualization diagram, including:
[0041] Calculate the repulsive force F between each object in the object collection and other objects r With gravity F a , respectively expressed as
[0042]
[0043] Among them, d ij represents the expected distance between object i and object j, r ijrepresents the actual distance between object i and object j, k r is the repulsion coefficient, k a is the gravitational coefficient;
[0044] By considering the importance score of object i i As well as the interaction between object i and other objects, calculate the potential energy V of object i i , expressed as
[0045]
[0046] Among them, θ and β are potential energy weight coefficients;
[0047] According to the repulsive force F between object i and other objects r With gravity F a , and the potential energy gradient of object i Perform calculations to obtain the total force F of object i i , expressed as
[0048]
[0049] Where, μ is the potential energy coefficient;
[0050] Based on the total force F i The position P of object i i Update, and during the update process, ensure that the updated position of object i is within the boundary of the visualization chart and meets the boundary conditions of the visualization chart; where the updated position of object i is represented by P′ i =P i +Δt·F i , Δt represents the time step; the boundary conditions of the visualization chart are expressed as
[0051]
[0052] Among them, x min 、x max ,y min and max Represents the boundary of the visualization chart, x′ i and y′ i Respectively represent the horizontal and vertical coordinates of object i after update;
[0053] Repeat the above steps until the position of object i converges or reaches the preset number of iterations, so as to realize the dynamic adjustment of the arrangement of the object set in the visualization chart; wherein, the iterative optimization formula of the position of object i is expressed as
[0054]
[0055] Among them, P i(k) and They represent the position and total force of object i at the kth iteration, P i (k+1) Indicates the position of object i at the k+1th iteration.
[0056] A data-driven event automatic modeling and dynamic display device, the device comprising:
[0057] The event automatic modeling module is used to build an event model driven by time series data. The event model includes interrelated key time nodes, events, and object collections;
[0058] The dynamic display and synchronous update module is used to generate dynamic visualization charts based on the event model. By configuring the dynamic display parameters of the visualization chart, the state changes of the object set in the event model are displayed. During the display process, based on the update of time series data, a dynamic position adjustment algorithm is used to update the position of the object set in the visualization chart; an importance scoring algorithm is used to optimize the information density of the visualization chart; an intelligent layout algorithm is used to automatically adjust the arrangement of the object set in the visualization chart; and a multi-view synchronous display algorithm is used to display the update changes of the same time series data from different perspectives in the visualization chart.
[0059] Compared with the prior art, the above data-driven event automatic modeling and dynamic display method and device have the following technical effects:
[0060] 1. Improve situational awareness in confrontation scenarios. This application can capture various events in confrontation scenarios and their associated key time nodes by establishing an event model driven by time series data, which helps users better understand the sequence of events that develop over time in confrontation scenarios and improves the overall perception of the situation in confrontation scenarios.
[0061] 2. Enhanced decision support. This application generates dynamic visualization charts based on event models, which can help users quickly identify important events and object collection information, and dynamically display the changes in this information, so that users can obtain timely and intuitive data support, so as to make more accurate decisions.
[0062] 3. Improve information exchange efficiency: This application is based on the update of time series data. By adopting a dynamic position adjustment algorithm, an importance scoring algorithm, an intelligent layout algorithm, and a multi-view synchronous display algorithm, it synchronously and dynamically adjusts the display of object sets in the visualization chart, so that the display content of the visualization chart can be updated in real time as the data develops and changes, reducing the risk of misjudgment of decisions due to information delays and improving information exchange efficiency.
[0063] 4. Improve user experience and ease of operation: This application allows users to select specific key time points on the timeline to jump to the selected time point to review the corresponding event. This function allows users to quickly review and analyze events at a certain moment in history or predict possible future development trends as needed, improving user experience and facilitating users to extract lessons learned during confrontation drills, facilitating training review.
[0064] 5. Strengthen data analysis and mining. With the help of dynamic display technology, this application can effectively manage a large amount of complex time series data and extract valuable and important data from it, which is crucial for mining the patterns, trends and correlations hidden behind the data. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 A schematic flow chart of a data-driven event automatic modeling and dynamic display method in one embodiment;
[0066] Figure 2 A structural block diagram of a data-driven event automatic modeling and dynamic display device in one embodiment. DETAILED DESCRIPTION
[0067] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0068] In one embodiment, Figure 1 As shown, a data-driven event automatic modeling and dynamic display method is provided, comprising the following steps:
[0069] Step S1, constructing an event model driven by time series data, wherein the event model includes a set of interrelated key time nodes, events, and objects.
[0070] Among them, time series data refers to a data set arranged in chronological order, which is usually used to describe the process of events developing over time. Event model refers to a set of related data structures built based on time series data. Key time nodes refer to specific moments on the timeline, which may represent the occurrence of certain important events. Events refer to things or behaviors that happen within a certain period of time. Object collections refer to all entities or factors involved in an event. Through the event model, the context of the development of events over time can be clearly shown.
[0071] Specifically, assume that in a virtual confrontation environment, it is necessary to record and display the process of a confrontation. First, collect various types of data generated during the confrontation, such as team location information, equipment usage, casualties of both sides, etc., and organize these data into time series data in chronological order. Then, build an event model based on the time series data, such as setting the start of the confrontation as the first key time node (T1), and each subsequent exchange of fire as the subsequent key time node (T2, T3, etc.). The events occurring at each key time node can be specific actions such as "a team arrives at a designated location" and "a certain fire coverage", and the object set can be the various units participating in the confrontation.
[0072] Step S2, generating a dynamic visualization chart according to the event model, and displaying the state changes of the object set in the event model by configuring the dynamic display parameters of the visualization chart. During the display process, based on the update of the time series data, a dynamic position adjustment algorithm is used to update the position of the object set in the visualization chart; an importance scoring algorithm is used to optimize the information density of the visualization chart; an intelligent layout algorithm is used to automatically adjust the arrangement of the object set in the visualization chart; and a multi-view synchronous display algorithm is used to display the update changes of the same time series data from different perspectives in the visualization chart.
[0073] Dynamic visualization refers to a graphical interface that automatically updates the displayed content as time goes by, allowing observers to intuitively see how events evolve over time. Configuring the dynamic display parameters of a chart means setting how to display different information elements on the chart, such as using different colors to identify different units, using arrows to point to the direction of travel, etc.
[0074] Specifically, continuing with the virtual confrontation scenario as an example, a timeline chart can be created to show the progress of the confrontation. On this timeline chart, different symbols are used to represent different teams, arrows and lines are used to represent the routes and locations of exchanges of fire, and color changes are used to represent the increase or decrease of capabilities. As time goes by, the chart will automatically update to show the latest confrontation situation. For example, when the time comes to T2, the chart will show that a team has arrived at the predetermined location and is ready to launch an attack; when the time advances to T3, the chart will show that the team has come into contact with the enemy and has engaged in an exchange of fire.
[0075] Among them, synchronously and dynamically adjusting the display of the object collection in the visualization chart means updating the information in the chart in real time to reflect the latest situation. This is done to ensure that observers can always see the latest confrontation situation instead of outdated information.
[0076] Specifically, taking the virtual confrontation scenario as an example, suppose at a certain time point T4, a team is suddenly ambushed and suffers heavy losses. At this time, the visualization chart needs to be updated immediately to show the team's location, reduced capacity, and the enemy situation around it. In this way, the commander can be aware of the sudden situation on the front line at the first time and take timely response measures.
[0077] Through the above steps, this method provides a complete set of data-driven event automatic modeling and dynamic display methods, which can dynamically display and effectively track and review various events in time series data in confrontation scenarios, making it easier to grasp the scene situation intuitively and accurately, and improve the efficiency and accuracy of decision-making in confrontation scenarios.
[0078] In one embodiment, building an event model driven by time series data includes:
[0079] First, define the key time nodes in the event model and create a timeline based on the key time nodes; the key time nodes include the start time, end time and important turning points of the event.
[0080] It can be understood that the timeline is a linear structure used to record and display these key time nodes to help users understand the chronological order and development trends of events.
[0081] Specifically, let's take a virtual confrontation exercise as an example. Assume that the exercise starts at 8:00 in the morning and ends at 14:00 in the afternoon. Then, 8:00 can be defined as the first key time node, indicating the start of the exercise; then, key time nodes are defined every half an hour or according to major events that occur in the actual exercise, such as a team successfully breaking through the enemy's defense line at 9:30, the enemy team's reinforcements arrive at 12:00, and so on. These key time nodes together constitute the timeline of this exercise.
[0082] Then, an object set in the event model is identified, and the object set is associated with a key time node on the timeline; wherein the object set is all entities involved in the event, including a single individual or a group.
[0083] It can be understood that by associating a set of objects with key time nodes on the timeline, the states and positions of these objects at different key time points can be tracked.
[0084] Specifically, the set of objects in this confrontation exercise may include the blue team (our team) and the red team (the imaginary enemy team). For example, at 8:00, the blue team is at point A and the red team is at point B; at 9:30, the blue team breaks through the enemy's defense line and moves to point C; and at 12:00, the red team's reinforcements arrive at point D. In this way, the position information of each team is associated with the key time nodes on the timeline.
[0085] Finally, a specific event is defined for each key time node on the timeline, and each event is associated with the state change of the object set associated with the same key time node. According to the state change of the object set, an object identifier is automatically assigned to distinguish each member in the object set.
[0086] Understandable. A specific event refers to a specific action or condition that occurs at a certain key time point. The state change of an object set refers to the change that occurs at different key time points, such as location movement, increase or decrease in capabilities, etc. By defining specific events, we can better understand the characteristics of each stage in the event model. An object identifier is a label or number used to uniquely identify each member of an object set. By automatically assigning object identifiers, we can ensure that each object has a unique identity in the entire event model.
[0087] Specifically, in a confrontation exercise, the following events can be defined: at 8:00, the exercise begins, and the blue team and the red team are at their respective initial positions; at 9:30, the blue team breaks through the enemy's defense line and the blue team's position changes; at 12:00, the red team's reinforcements arrive and the red team's capabilities are enhanced, etc. It can also be assumed that there are three teams in the blue team, namely team A, team B, and team C. When creating an event model, different object identifiers can be automatically assigned to these three teams, for example, team A is assigned object identifier "001", team B is assigned object identifier "002", and team C is assigned object identifier "003". In this way, on the subsequent timeline, the actions of each team can be tracked and recorded through their respective object identifiers.
[0088] It can be understood that by constructing an event model driven by time series data, it is possible to describe and record various events that occur in the confrontation scenario and track the context of events that change over time. The event model can not only help users better understand the scenario situation, but also provide a solid foundation for subsequent analysis.
[0089] Furthermore, the above data-driven event automatic modeling and dynamic display method also includes:
[0090] Control buttons or sliders are configured on the timeline to support users in selecting specific key time nodes on the timeline and jumping to the selected time nodes to view and review the corresponding events.
[0091] It is understood that by configuring the control button or slider, the user can go back to a historical time point to view the situation at that time, or quickly jump to a future time point to predict possible situations. This is very useful in confrontation scenarios for analyzing past confrontation situations or planning future actions.
[0092] Specifically, taking the virtual confrontation scenario as an example, if the commander wants to review the deployment at the beginning of the confrontation, he can quickly jump back to view the initial position and status of each team at that time by clicking the T1 node on the timeline. Similarly, if the commander wants to predict the situation after the confrontation, he can also view the expected results through the future time nodes on the timeline. This jump-point playback function greatly improves the flexibility and efficiency of command decision-making. In addition, forward and backward buttons can be set next to the timeline, and users can click these buttons to browse forward or backward through different stages of the confrontation process. In this way, users can flexibly browse the entire confrontation process and gain an in-depth understanding of the details of the confrontation at each critical moment.
[0093] In one embodiment, a dynamic visualization chart is generated according to the event model, and the state changes of the object set in the event model are displayed by configuring the dynamic display parameters of the visualization chart, including:
[0094] First, select a visualization chart suitable for displaying the event model; visualization charts include but are not limited to timeline charts, heat maps, and scatter plots. The timeline chart here refers to a type of chart that arranges key events in chronological order, which can clearly show the order in which events occurred; heat maps are usually used to display the concentration or intensity distribution of data, and the size of data values is represented by the depth of color; scatter plots are often used to represent the relationship between two variables, and the data values are represented by the position of the points.
[0095] Specifically, taking the confrontation demonstration as an example, a timeline diagram can be selected to show the order of occurrence of key events during the confrontation. For example, the start time of the confrontation is set to T0, and each important event after T0 (such as team movement, enemy encounter, support arrival, etc.) is marked as a key time node on the timeline, so that the development process of the entire confrontation can be intuitively seen.
[0096] Then, by configuring the dynamic display parameters of the visualization chart and integrating multimedia materials, the state changes of the object collection in the event model are displayed.
[0097] Dynamic display parameters refer to the characteristics of chart elements that can change according to data changes. These characteristics can make the chart more expressive and informative, including:
[0098] The position change of the object collection on the timeline is used to show the progress of the corresponding related events;
[0099] The color, size, and shape of visual chart elements change to reflect the status or importance of different events;
[0100] The appearance and disappearance of text captions to provide additional information;
[0101] Animation effects (such as fading in and out, zooming, rotating, etc.) are used to increase the visual appeal of visualizations;
[0102] User interactive controls that allow users to query or filter events within a specific time period.
[0103] Specifically, continuing to take the confrontation demonstration as an example, the identity of different teams can be represented by changing the color of the dots (such as blue for friendly teams and red for enemies), the size of the dots can be represented by changing the size of the dots, the type of the teams can be represented by changing the shape of the dots, and the route and position changes of the teams can be represented by the position changes of the dots on the timeline. In this way, observers can easily identify the status changes of different teams at different time points through the chart.
[0104] Among them, multimedia materials refer to other forms of digital content, in addition to basic chart elements, used to assist in the display and explanation of events. By integrating multimedia materials, users can obtain a richer information experience, including images, videos, and audio.
[0105] Specifically, continuing to take the confrontation demonstration as an example, multimedia materials such as video clips of actual confrontation, photos of the confrontation site, and radio communication recordings can be integrated into the timeline diagram. For example, when a user clicks on a certain point on the timeline, a confrontation video that occurred near that point can be played, or a confrontation photo taken at that time point can be displayed, and a communication recording at that time point can be played. These will greatly enrich the demonstration content and allow users to understand the confrontation situation more intuitively.
[0106] In one embodiment, based on the update of time series data, a dynamic position adjustment algorithm is used to update the position of the object set in the visualization chart, including:
[0107] Collecting and preprocessing updated time series data; wherein the updated time series data includes the state change, moving direction and moving speed of each object;
[0108] Get the initial position P1(x1, y1) of each object; where x1 and y1 represent the initial horizontal coordinate and initial vertical coordinate of the object respectively;
[0109] Obtain the target position P2(x2, y2), moving speed and update time interval of each object according to the updated time series data, and calculate the smoothing factor α according to the moving speed and update time interval of the object; wherein x2 and y2 represent the target horizontal coordinate and target vertical coordinate of the object respectively;
[0110] According to the initial position, target position and smoothing factor of each object, the updated position P′(x′, y′) of each object in the object set is calculated; where x′ and y′ represent the updated horizontal coordinate and the updated vertical coordinate of the object respectively. The specific expression is:
[0111] x′=x1+α(x2-x1)+γsin(ωt);
[0112] y′=y1+α(y2-y1)+γcos(ωt);
[0113] Among them, γ represents the fluctuation amplitude, ω represents the fluctuation frequency, and t represents time.
[0114] In one embodiment, an importance scoring algorithm is used to optimize the information density of a visualization chart, including:
[0115] The importance score I of each object is calculated by considering the type, state and history of each object in the object collection. i , and calculate the distance D between each object and other objects i ;
[0116] The display level L of each object is calculated based on the importance score of each object, the distance between each object and other objects, and the preset weight parameters w1 and w2. i , expressed as
[0117] L i =w1I i +w2·log(D i +1)+δexp(-λD i );
[0118] Among them, δ represents the fluctuation amplitude of the display level, and λ represents the number of distance attenuation;
[0119] According to the display level L i Adjust the transparency and spacing of each object to optimize the information density of the visualization.
[0120] In one embodiment, the importance score I of each object is calculated by considering the type, state and history of each object in the object collection. i , expressed as
[0121] I i=w type ·T i +w state ·S i +w history ·H i ;
[0122] Among them, w type 、w state and w history Represent the weight coefficients of type, status and history respectively, T i , S i and H i They represent the type weight, state weight and history weight of object i respectively.
[0123] In one embodiment, an intelligent layout algorithm is used to automatically adjust the arrangement of a set of objects in a visualization diagram, including:
[0124] Calculate the repulsive force F between each object in the object collection and other objects r With gravity F a , respectively expressed as
[0125]
[0126] Among them, d ij represents the expected distance between object i and object j, r ij represents the actual distance between object i and object j, k r is the repulsion coefficient, k a is the gravitational coefficient;
[0127] By considering the importance score of object i i As well as the interaction between object i and other objects, calculate the potential energy V of object i i , expressed as
[0128]
[0129] Among them, θ and β are potential energy weight coefficients;
[0130] According to the repulsive force F between object i and other objects r With gravity F a , and the potential energy gradient of object i Perform calculations to obtain the total force F of object i i , expressed as
[0131]
[0132] Where, μ is the potential energy coefficient;
[0133] Based on the total force E iThe position P of object i i Update, and during the update process, ensure that the updated position of object i is within the boundary of the visualization chart and meets the boundary conditions of the visualization chart; where the updated position of object i is represented by P′ i =P i +Δt·F i , Δt represents the time step; the boundary conditions of the visualization chart are expressed as
[0134]
[0135] Among them, x min 、x max ,y min and max Represents the boundary of the visualization chart, x′ i and y′ i Respectively represent the horizontal and vertical coordinates of object i after update;
[0136] Repeat the above steps until the position of object i converges or reaches the preset number of iterations, so as to realize the dynamic adjustment of the arrangement of the object set in the visualization chart; wherein, the iterative optimization formula of the position of object i is expressed as
[0137]
[0138] Among them, p i (k) and They represent the position and total force of object i at the kth iteration, P i (k+1) Indicates the position of object i at the k+1th iteration.
[0139] It is understandable that in the process of synchronously and dynamically adjusting the display of the object collection in the visualization chart, it is necessary to ensure that the user sees the latest information, which may involve deleting old chart elements and adding new elements. For example, in a confrontation scenario, when the team position changes, the original team icon needs to be deleted from the visualization chart and redrawn in its new position. In addition, if the size or status of the team changes, the attributes such as the size or color of the team icon need to be updated to reflect these changes.
[0140] Specifically, taking confrontation drills as an example, suppose there is a time series data set that records the position, number of people, equipment and other information of different teams in the confrontation scenario at various time points. When the time series data changes, for example, the position of a team moves or the number of people increases or decreases, the corresponding information on the visualization chart needs to be updated immediately, such as moving the team's icon position or adjusting the size of the team's number, so as to always maintain the consistency of the visualization chart with the actual confrontation situation. For example, a team moves from P1 (x1, y1) to P2 (x2, y2). After the time series data is updated, the new position of the team on the visualization chart needs to be calculated. Through the coordinate transformation formula, such as x′=x2-x1+x current , y′=y2-y1+y current , where (x current ,y current ) is the current position of the team icon, and the new position of the team (x′, y′) can be obtained, and the position of the team icon can be updated accordingly.
[0141] Furthermore, in the adjustment process, in order to avoid information overload and improve information transmission efficiency, an importance scoring algorithm is used to optimize the information density of the visualization chart and optimize the amount of information carried per unit area of the visualization chart. This makes the information presentation more compact without losing clarity, avoiding excessive information that makes it difficult for users to quickly obtain key information and creates cognitive burden for users.
[0142] Specifically, taking the confrontation demonstration as an example, if the chart shows the movement trajectories of multiple teams at the same time, the lines may cross or overlap, affecting reading. At this time, you can adjust the transparency of the lines or use different colors to distinguish different teams, or you can reduce the sense of confusion by displaying information in layers, such as only showing detailed team information near the current time point, and only showing brief information at a distant time point. This ensures the comprehensiveness of the information without making the chart crowded due to too many details, thereby improving the efficiency of information communication.
[0143] Furthermore, during the adjustment process, the intelligent layout algorithm is used to automatically adjust the arrangement of the object set to facilitate user understanding and analysis. The intelligent layout algorithm refers to the use of certain calculation rules to determine the best layout of chart elements to ensure that the chart maintains visual clarity at different time points. Visual clarity refers to the readability and comprehensibility of the information displayed in the chart. Adjusting the layout means adjusting the position and arrangement of each element in the chart according to the changes in the data to ensure that users can easily understand the chart content even in the case of dense data.
[0144] Specifically, taking the confrontation demonstration as an example, as the confrontation progresses, multiple teams may move at the same time. In order to maintain the clarity of the chart, the arrangement of the teams on the chart can be automatically adjusted according to their relative positions to avoid overlap or occlusion, ensuring that the dynamics of each team can be clearly displayed.
[0145] Furthermore, during the adjustment process, in order to enable users to understand information from multiple perspectives, a multi-view synchronous display algorithm is used to display the updated changes of the same time series data from different perspectives.
[0146] Specifically, taking the confrontation demonstration as an example, a map view and a statistical chart view can be displayed on the same timeline. The map view shows the position movement trajectory of the team, while the statistical chart view shows the change curve of the number of people in the team. When the user adjusts the timeline, both views will be updated synchronously, jointly describing the confrontation process from the two aspects of spatial position and number change.
[0147] In addition, while dynamically adjusting the display of a set of objects in a visual chart, you can also add animation effects to the chart, such as fading in and out, zooming, rotating, etc., to increase visual appeal, making the chart more vivid and interesting, and helping users pay better attention to important information changes.
[0148] Specifically, taking the confrontation demonstration as an example, when a team completes a task, the team logo can be highlighted on the chart using a fade-in and fade-out effect, accompanied by appropriate sound effects to remind users of this important event. When the user quickly moves the slider on the timeline, the team icon in the chart can smoothly transition to the state of the next time point by scaling or rotating, making the whole process appear more smooth and natural.
[0149] In one embodiment, Figure 2 As shown, a data-driven event automatic modeling and dynamic display device is provided, comprising:
[0150] An event automatic modeling module 201 is used to construct an event model driven by time series data, wherein the event model includes mutually related key time nodes, events, and object sets;
[0151] The dynamic display and synchronous update module 202 is used to generate a dynamic visualization chart based on the event model, and to display the state changes of the object set in the event model by configuring the dynamic display parameters of the visualization chart. During the display process, based on the update of the time series data, a dynamic position adjustment algorithm is used to update the position of the object set in the visualization chart; an importance scoring algorithm is used to optimize the information density of the visualization chart; an intelligent layout algorithm is used to automatically adjust the arrangement of the object set in the visualization chart; and a multi-view synchronous display algorithm is used to display the update changes of the same time series data from different perspectives in the visualization chart.
[0152] For the specific definition of the data-driven event automatic modeling and dynamic display device, please refer to the definition of the data-driven event automatic modeling and dynamic display method above, which will not be repeated here. Each module in the above-mentioned data-driven event automatic modeling and dynamic display device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0153] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0154] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
[0155] In summary, the above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A data-driven event automatic modeling and dynamic display method, characterized in that: The method comprises: Constructing an event model driven by time series data, wherein the event model includes a set of interrelated key time nodes, events, and objects; A dynamic visualization chart is generated according to the event model, and the state changes of the object set in the event model are displayed by configuring the dynamic display parameters of the visualization chart. During the display process, based on the update of the time series data, a dynamic position adjustment algorithm is used to update the position of the object set in the visualization chart; an importance scoring algorithm is used to optimize the information density of the visualization chart; an intelligent layout algorithm is used to automatically adjust the arrangement of the object set in the visualization chart; and a multi-view synchronous display algorithm is used to display the update changes of the same time series data from different perspectives in the visualization chart.
2. The method according to claim 1, characterized in that Build an event model driven by time series data, including: Defining key time nodes in the event model, and creating a timeline based on the key time nodes; wherein the key time nodes include the start time, end time and important turning point of the event; Identify a set of objects in the event model, and associate the set of objects with key time nodes on the timeline; wherein the set of objects is all entities involved in the event, including a single individual or a group; A specific event is defined for each key time node on the timeline, and each event is associated with a state change of an object set associated with the same key time node, and an object identifier is automatically assigned to distinguish each member of the object set based on the state change of the object set.
3. The method according to claim 2, characterized in that The method further comprises: A control button or a slider is configured on the timeline, and the control button or the slider supports the user to select a specific key time node on the timeline, and jump to the selected time node to view and review the corresponding event.
4. The method according to claim 1 or 2, characterized in that: Generating a dynamic visualization chart according to the event model, and displaying the state change of the object set in the event model by configuring the dynamic display parameters of the visualization chart, including: Select a visualization chart suitable for displaying the event model; wherein the visualization chart includes but is not limited to a timeline chart, a heat map, and a scatter plot; By configuring the dynamic display parameters of the visualization chart and integrating multimedia materials, the state changes of the object set in the event model are displayed; wherein the dynamic display parameters include: The position change of the object set on the time axis is used to show the progress of the corresponding associated events; The color, size, and shape of visual chart elements change to reflect the status or importance of different events; The appearance and disappearance of text captions to provide additional information; Animation effects to increase the visual appeal of visualizations; User interactive controls to enable users to query or filter events within a specific time period; The multimedia materials include images, videos and audios.
5. The method according to claim 1, characterized in that Based on the update of the time series data, a dynamic position adjustment algorithm is used to update the position of the object set in the visualization chart, including: Collecting and preprocessing updated time series data; wherein the updated time series data includes the state change, moving direction and moving speed of each object; Get the initial position P1(x1,y1) of each object; where x1 and y1 represent the initial horizontal coordinate and initial vertical coordinate of the object respectively; Obtain the target position P2(x2, y2), moving speed and update time interval of each object according to the updated time series data, and calculate the smoothing factor α according to the moving speed and update time interval of the object; wherein x2 and y2 represent the target horizontal coordinate and target vertical coordinate of the object respectively; Calculate the updated position P′(x′, y′) of each object in the object set according to the initial position, target position and smoothing factor of each object; where x′ and y′ represent the updated horizontal coordinate and the updated vertical coordinate of the object respectively, and the specific expression is x′=x1+α(x2-x1)+γsin(ωt); y′=y1+α(y2-y1)+γcos(ωt); Among them, γ represents the fluctuation amplitude, ω represents the fluctuation frequency, and t represents time.
6. The method according to claim 1, characterized in that The importance scoring algorithm is used to optimize the information density of the visualization chart, including: The importance score I of each object is calculated by considering the type, state and history of each object in the object set. i , and calculate the distance D between each object and other objects i ; The display level L of each object is calculated based on the importance score of each object, the distance between each object and other objects, and the preset weight parameters w1 and w2. i , denoted as L i =w1I i +w2·log(D i +1)+δexp(-λD i ); Among them, δ represents the fluctuation amplitude of the display level, and λ represents the number of distance attenuation; According to the display level L i Adjust the transparency and spacing of each object to optimize the information density of the visualization.
7. The method according to claim 6, characterized in that The importance score I of each object is calculated by considering the type, state and history of each object in the object set. i , expressed as I i =w type ·T i +w state ·S i +w history ·H i ; Among them, w type 、w state and w history Represent the weight coefficients of type, status and history respectively, T i , S i and H i They represent the type weight, state weight and history weight of object i respectively.
8. The method according to claim 1, characterized in that An intelligent layout algorithm is used to automatically adjust the arrangement of the object set in the visualization chart, including: Calculate and obtain the repulsive force F between each object in the object set and other objects r With gravity F a , respectively expressed as Among them, d ij represents the expected distance between object i and object j, r ij represents the actual distance between object i and object j, k r is the repulsion coefficient, k a is the gravitational coefficient; By considering the importance score of object i i As well as the interaction between object i and other objects, calculate the potential energy V of object i i , expressed as: Among them, θ and β are potential energy weight coefficients; According to the repulsive force F between object i and other objects r With gravity F a , and the potential energy gradient of object i Perform calculations to obtain the total force F of object i i , expressed as Where, μ is the potential energy coefficient; Based on the total force F i The position P of object i i Update, and during the updating process, ensure that the updated position of object i is within the boundary of the visualization chart and satisfies the boundary conditions of the visualization chart; wherein the updated position of object i is represented as P′ i =P i +Δt·F i , Δt represents the time step; the boundary conditions of the visualization chart are expressed as Among them, x min 、x max ,y min and max Represents the boundary of the visualization chart, x′ i and y′ i Respectively represent the horizontal and vertical coordinates of object i after update; Repeat the above steps until the position of object i converges or reaches a preset number of iterations, so as to achieve dynamic adjustment of the arrangement of the object set in the visualization chart; wherein the iterative optimization formula of the position of object i is expressed as in, and They represent the position and total force of object i at the kth iteration, Indicates the position of object i at the k+1th iteration.
9. A data-driven event automatic modeling and dynamic display device, characterized in that: The device comprises: An event automatic modeling module is used to construct an event model driven by time series data, wherein the event model includes a set of interrelated key time nodes, events, and objects; A dynamic display and synchronous update module is used to generate a dynamic visualization chart based on the event model, display the state changes of the object set in the event model by configuring the dynamic display parameters of the visualization chart, and during the display process, based on the update of the time series data, use a dynamic position adjustment algorithm to update the position of the object set in the visualization chart; use an importance scoring algorithm to optimize the information density of the visualization chart; use an intelligent layout algorithm to automatically adjust the arrangement of the object set in the visualization chart; and use a multi-view synchronous display algorithm to display the update changes of the same time series data from different perspectives in the visualization chart.