A plotting method and device based on dynamic deduction and electronic equipment

By acquiring and calculating control points, and combining Bézier curves and curve interpolation functions, a dynamic plotting method was realized, which solves the problems of inability to dynamically extrapolate and inefficient plotting in existing technologies, and provides an efficient dynamic plotting solution.

CN115953562BActive Publication Date: 2026-04-10BEIJING GLOBAL SAFETY TECH
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-28
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

In existing technologies, plotting methods cannot achieve dynamic simulation, resulting in manually drawn plots that cannot meet the dynamic simulation requirements of rescue forces changing with location, and making it difficult to dynamically display the rescue progress process in subsequent rescue debriefings.

Method used

By acquiring the starting control point, intermediate control point, and ending control point, an initial plotting pattern is drawn. The starting control point is simulated and the intermediate control point is dynamically calculated to obtain the simulated starting control point and the dynamically calculated intermediate control point. Then, the target plotting pattern is drawn. Bézier curves and curve interpolation functions are used for processing to achieve dynamic plotting.

Benefits of technology

It enables accurate, reliable, and efficient plotting during dynamic simulations, supporting dynamic simulation of rescue force trends under scenario simulations, drills, and emergency command, and solving the problems of inefficiency and poor adaptability of manual plotting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115953562B_ABST
    Figure CN115953562B_ABST
Patent Text Reader

Abstract

The application provides a plotting method based on dynamic deduction, which comprises the following steps: obtaining a starting control point, an intermediate control point and a terminal control point, and drawing an initial plotting graph according to the starting control point, the intermediate control point and the terminal control point; then simulating the starting control point and dynamically calculating the intermediate control point to obtain a simulated starting control point and a dynamically calculated intermediate control point; and finally drawing a target plotting graph according to the terminal control point, the simulated starting control point and the dynamically calculated intermediate control point. Thus, the application can solve the problem that manual plotting cannot meet the requirement of dynamic deduction of rescue forces changing with positions in the process of rescue simulation and drill, and cannot dynamically display the rescue progress with the passage of time in the subsequent rescue review, thereby providing support for the trend change of dynamic simulation of rescue forces in the scene of scenario deduction, simulation drill and emergency command.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data processing, and in particular to a plotting method and device based on dynamic deduction and electronic equipment. BACKGROUND

[0002] Plotting is a common function in emergency rescue, rescue and disaster relief, military command, situation deduction, earthquake and other emergency industries, and is an important way to express rescue routes and task deployment graphically. With the rapid development of computer technology driving the growth of the geographic information system field, electronic maps, three-dimensional maps and intelligent map navigation of various manufacturers are becoming more and more powerful, which also promotes the improvement of GIS (Geographic Information Systems) technology and plotting technology.

[0003] In related technologies, manual plotting of information such as event sources, teams and materials is usually relied on during plotting. However, manual plotting is static and cannot meet the needs of dynamic deduction of rescue forces in the process of dynamic deduction and simulation exercises as the position changes, nor can it easily display the rescue progress dynamically in the subsequent rescue review process.

[0004] Therefore, how to accurately, reliably and efficiently perform dynamic plotting has become a problem to be solved. SUMMARY

[0005] The present application aims to at least solve one of the technical problems in the related art to some extent.

[0006] To this end, the first purpose of the present application is to propose a plotting method based on dynamic deduction, which is used to solve the problems of inability to dynamically plot, low efficiency of plotting, poor adaptability and the like in the prior art.

[0007] In order to achieve the above-mentioned purpose, the first aspect of the present application provides a plotting method based on dynamic deduction, which comprises: acquiring a starting control point, an intermediate control point and a terminal control point, and drawing an initial plotting graph according to the starting control point, the intermediate control point and the terminal control point; simulating the starting control point and dynamically calculating the intermediate control point according to the initial plotting graph to obtain a simulated starting control point and a dynamically calculated intermediate control point; and drawing a target plotting graph according to the terminal control point, the simulated starting control point and the dynamically calculated intermediate control point.

[0008] In addition, the plotting method based on dynamic deduction according to the above-mentioned embodiments of the present application can also have the following additional technical features:

[0009] According to one of the embodiments of the present application, the drawing of the initial plotting graph according to the starting control point, the intermediate control point and the ending control point comprises: obtaining a plotting reference curve according to the starting control point, the intermediate control point and the ending control point; and drawing the initial plotting graph according to the starting control point, the intermediate control point, the ending control point and the plotting reference curve.

[0010] According to one of the embodiments of the present application, the obtaining of the plotting reference curve according to the starting control point, the intermediate control point and the ending control point comprises: obtaining a set of Bezier curve points according to the starting control point, the intermediate control point and the ending control point; and fitting the set of Bezier curve points to obtain the plotting reference curve.

[0011] According to one of the embodiments of the present application, the simulation of the starting control point and the dynamic calculation of the intermediate control point according to the initial plotting graph to obtain a simulated starting control point and a dynamically calculated intermediate control point comprises: processing the plotting reference curve based on a curve interpolation function to obtain a simulated sampling point; obtaining a moving number of the simulated sampling point of adjacent sampling time points, and obtaining the simulated starting control point according to the simulated sampling point and the moving number of the simulated sampling point; obtaining an index position of the intermediate control point in the simulated sampling point, and obtaining the dynamically calculated intermediate control point according to the simulated sampling point and the index position.

[0012] According to one of the embodiments of the present application, the processing of the plotting reference curve based on a curve interpolation function to obtain a simulated sampling point comprises: obtaining a target smoothing factor, and obtaining the simulated sampling point according to the set of Bezier curve points and the target smoothing factor.

[0013] According to one of the embodiments of the present application, the obtaining of the moving number of the simulated sampling point of adjacent sampling time points comprises: obtaining a simulated start time and a simulated end time; and obtaining the moving number of the simulated sampling point according to the simulated start time, the simulated end time and the simulated sampling point.

[0014] According to one of the embodiments of the present application, the obtaining of the dynamically calculated intermediate control point according to the simulated sampling point and the index position comprises: obtaining a proportion factor of a position of the intermediate control point in the initial plotting graph according to the simulated sampling point and the index position; and obtaining the dynamically calculated intermediate control point according to the simulated sampling point and the proportion factor.

[0015] According to one embodiment of the present application, the drawing target plot further comprises: performing geometric conversion on the target plot to obtain a converted geometric shape of the target plot; obtaining geometric object style information, and drawing the target plot to the current map according to the geometric object style information and the converted geometric shape of the target plot.

[0016] To achieve the above object, the second aspect of the present application provides a plotting device based on dynamic deduction, which comprises: a first drawing module, configured to obtain a starting control point, an intermediate control point and a terminal control point, and draw an initial plot according to the starting control point, the intermediate control point and the terminal control point; a simulation module, configured to simulate the starting control point and dynamically calculate the intermediate control point according to the initial plot, to obtain a simulated starting control point and a dynamically calculated intermediate control point; and a second drawing module, configured to draw a target plot according to the terminal control point, the simulated starting control point and the dynamically calculated intermediate control point.

[0017] In addition, the plotting device based on dynamic deduction according to the above embodiments of the present application can have the following additional technical features:

[0018] According to one embodiment of the present application, the first drawing module is further configured to: obtain a plotting reference curve according to the starting control point, the intermediate control point and the terminal control point; and draw the initial plot according to the starting control point, the intermediate control point, the terminal control point and the plotting reference curve.

[0019] According to one embodiment of the present application, the first drawing module is further configured to: obtain a set of Bezier curve points according to the starting control point, the intermediate control point and the terminal control point; and fit the set of Bezier curve points to obtain the plotting reference curve.

[0020] According to one embodiment of the present application, the simulation module is further configured to: process the plotting reference curve based on a curve interpolation function to obtain a simulated sampling point; obtain a moving number of the simulated sampling point of adjacent sampling time points, and obtain the simulated starting control point according to the simulated sampling point and the moving number of the simulated sampling point; obtain an index position of the intermediate control point in the simulated sampling point, and obtain the dynamically calculated intermediate control point according to the simulated sampling point and the index position.

[0021] According to one embodiment of the present application, the simulation module is further configured to: obtain a target smoothing factor, and obtain the simulated sampling point according to the set of Bezier curve points and the target smoothing factor.

[0022] According to one embodiment of the present application, the simulation module is further configured to: obtain a simulation start time and a simulation end time; and obtain the moving number of the simulation sampling points according to the simulation start time, the simulation end time and the simulation sampling points.

[0023] According to one embodiment of the present application, the simulation module is further configured to: obtain a simulation start time and a simulation end time; and obtain the moving number of the simulation sampling points according to the simulation start time, the simulation end time and the simulation sampling points.

[0024] According to one embodiment of the present application, the second drawing module is further configured to: perform geometric conversion on the target plotting graph to obtain a converted geometric shape of the target plotting graph; obtain geometric object style information, and draw the target plotting graph to the current map according to the converted geometric shape of the target plotting graph and the geometric object style information.

[0025] To achieve the above object, the third aspect of the present application provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, and when the processor executes the program, the plotting method based on dynamic deduction is realized.

[0026] To achieve the above object, the fourth aspect of the present application provides a non-transitory computer readable storage medium, which stores a computer program, and when the processor executes the program, the plotting method based on dynamic deduction is realized.

[0027] To achieve the above object, the fifth aspect of the present application provides a computer program product, comprising a computer program, and when the processor executes the computer program, the plotting method based on dynamic deduction is realized.

[0028] The technical scheme provided by the embodiments of the present application has at least the following beneficial effects:

[0029] The application provides a plotting method based on dynamic deduction, which can obtain a starting control point, an intermediate control point and a terminal control point, and draw an initial plotting graph according to the starting control point, the intermediate control point and the terminal control point, then simulate the starting control point and dynamically calculate the intermediate control point to obtain a simulated starting control point and a dynamically calculated intermediate control point, and further draw a target plotting graph according to the terminal control point, the simulated starting control point and the dynamically calculated intermediate control point. Thus, the application proposes a dynamic plotting method based on dynamic deduction, which can solve the problem that manual plotting cannot meet the demand of dynamic deduction of rescue forces changing with positions in a rescue process in a simulation and drill process, and cannot dynamically display a rescue progress with time in a subsequent rescue review process, and accurately, reliably and efficiently performs dynamic plotting to provide support for trend changes of dynamic simulation rescue forces in a scene deduction, simulation, drill and emergency command scene.

[0030] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the application, nor is it used to limit the scope of the application. Other features of the application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0031] The accompanying drawings are used to better understand the present application and do not limit the application. Among them:

[0032] Figure 1 A flowchart of a plotting method based on dynamic deduction provided by an embodiment of the application is shown in the figure;

[0033] Figure 2 A flowchart of another plotting method based on dynamic deduction provided by an embodiment of the application is shown in the figure;

[0034] Figure 3 A flowchart of another plotting method based on dynamic deduction provided by an embodiment of the application is shown in the figure;

[0035] Figure 4 A flowchart of another plotting method based on dynamic deduction provided by an embodiment of the application is shown in the figure;

[0036] Figure 5 A flowchart of another plotting method based on dynamic deduction provided by an embodiment of the application is shown in the figure;

[0037] Figure 6 A flowchart of another plotting method based on dynamic deduction provided by an embodiment of the application is shown in the figure;

[0038] Figure 7 A flowchart of another plotting method based on dynamic deduction provided by an embodiment of the application is shown in the figure;

[0039] Figure 8 A structural schematic diagram of a plotting system based on dynamic deduction provided by an embodiment of the present application is provided.

[0040] Figure 9 A structural schematic diagram of a plotting device based on dynamic deduction provided by an embodiment of the present application is provided.

[0041] Figure 10 A structural schematic diagram of an electronic device provided by an embodiment of the present application is provided. DETAILED DESCRIPTION

[0042] The exemplary embodiments of the present application are described below with reference to the accompanying drawings, which include various details of the embodiments of the present application to assist in understanding, which should be considered in a descriptive sense only. Thus, it should be understood that various changes and modifications can be made to the embodiments described herein, without departing from the scope and spirit of the present application. Also, for the sake of brevity and clarity, descriptions of well-known functions and constructions are omitted from the following description.

[0043] The plotting method, device and electronic device based on dynamic deduction of the present application are described in detail below with examples.

[0044] Figure 1 A flowchart of a plotting method based on dynamic deduction provided by an embodiment of the present application is provided. It should be noted that the execution subject of the plotting method based on dynamic deduction of the present embodiment is a plotting device based on dynamic deduction, which can be a hardware device or software in a hardware device, etc. The hardware device can be, for example, a terminal device, a server, etc.

[0045] As shown in the figure, the plotting method based on dynamic deduction provided by the present embodiment includes the following steps: Figure 1 S101, obtaining a starting control point, an intermediate control point and a terminating control point, and calculating a plotting geometric shape using a plotting algorithm according to the starting control point, the intermediate control point and the terminating control point to draw an initial plotting figure.

[0046] It should be noted that the specific manner of obtaining the starting control point, the intermediate control point and the terminating control point is not limited in the present application and can be set according to actual conditions.

[0047] It should be noted that the specific implementation manner of the plotting algorithm based on the control point is not limited in the present application and can be set according to actual conditions.

[0048]

[0049] ​As a possible implementation manner, the control point set can be generated by clicking the map through the map interaction or the like, so as to obtain the position of the control point, wherein the clicked map is the map before the dynamic plotting.

[0050] For example, the following control point set can be obtained by clicking the map:

[0051] (c s ,c k ,……c e ), c = (x, y)

[0052] wherein c s is the starting control point, c k … is the intermediate control point, and c e is the terminal control point.

[0053] Further, after obtaining the starting control point, the intermediate control point and the terminal control point, the plotting reference curve can be obtained according to the starting control point, the intermediate control point and the terminal control point, and then the initial plotting graph can be plotted according to the plotting reference curve.

[0054] S102, simulating the starting control point and dynamically calculating the intermediate control point according to the initial plotting graph, to obtain the simulated starting control point and the dynamically calculated intermediate control point.

[0055] It should be noted that, since the terminal control point usually refers to the fixed information such as the incident location and the accident center, the present application only needs to simulate the starting control point and dynamically calculate the intermediate control point during the dynamic plotting.

[0056] It should be noted that the specific manner of simulating the starting control point and dynamically calculating the intermediate control point according to the initial plotting graph to obtain the simulated starting control point and the dynamically calculated intermediate control point in the present application is not limited, and can be set according to the actual situation.

[0057] As a possible implementation manner, for the simulated starting control point, the simulated starting control point can be obtained by sampling the simulated control point and driving the simulation process; for the dynamically calculated intermediate control point, the dynamically calculated intermediate control point can be obtained by tolerance processing.

[0058] S103, plotting the target plotting graph according to the terminal control point, the simulated starting control point and the dynamically calculated intermediate control point.

[0059] In the present application, after obtaining the terminal control point, the simulated starting control point and the dynamically calculated intermediate control point, the target plotting graph can be obtained by replotting in various ways.

[0060] As a possible implementation, the initial plotting figure can be redrawn according to the starting control point, the intermediate control point and the ending control point to obtain the target plotting figure.

[0061] The application provides a plotting method based on dynamic deduction. The starting control point, the intermediate control point and the ending control point are obtained, and an initial plotting figure is plotted according to the starting control point, the intermediate control point and the ending control point. Then, the starting control point is simulated and the intermediate control point is dynamically calculated to obtain a simulated starting control point and a dynamically calculated intermediate control point. Finally, a target plotting figure is plotted according to the ending control point, the simulated starting control point and the dynamically calculated intermediate control point. Thus, the application provides a dynamic plotting method based on dynamic deduction, which can solve the problem that manual plotting cannot meet the demand of dynamic deduction of rescue forces in the process of simulation and rescue, and cannot dynamically display the rescue progress with the passage of time in the subsequent rescue review. The application can accurately, reliably and efficiently perform dynamic plotting and provide support for the trend change of dynamic simulation of rescue forces in scenarios such as scenario deduction, simulation, and emergency command.

[0062] It should be noted that, when the initial plotting figure is plotted according to the starting control point, the intermediate control point and the ending control point, a plotting reference curve can be obtained, and then the initial plotting figure is plotted based on the plotting reference curve.

[0063] As a possible implementation, as shown in Figure 2 On the basis of the above embodiment, the specific process of plotting the initial plotting figure according to the starting control point, the intermediate control point and the ending control point in the above step includes the following steps:

[0064] S201. Obtain a plotting reference curve according to the starting control point, the intermediate control point and the ending control point.

[0065] As a possible implementation, as shown in Figure 3 On the basis of the above embodiment, the specific process of obtaining the plotting reference curve according to the starting control point, the intermediate control point and the ending control point in the above step includes the following steps:

[0066] S301. Obtain a Bezier curve point set according to the starting control point, the intermediate control point and the ending control point.

[0067] As a possible implementation, after the starting control point, the intermediate control point and the ending control point are obtained, the following Bezier curve function can be used for processing to generate a Bezier curve point set P b :

[0068] Pb =bezier(c s ,c k ,……c e ,count)

[0069] Where count is the number of output points, and bezier is the Bézier curve algorithm.

[0070] S302. Fit the set of points of the Bézier curve to obtain the plotting reference curve.

[0071] As one possible implementation, in obtaining the set of Bézier curve points P b Then, the following fitting function can be used to obtain the plotting reference curve L. b :

[0072] L b =fit(P b )

[0073] S202. Draw the initial plotting figure based on the starting control point, intermediate control point, ending control point and plotting reference curve.

[0074] As one possible implementation, after obtaining the starting control point, intermediate control points, ending control point, and plotting reference curve, the following plotting algorithm function can be used to generate the initial plotting graph G0:

[0075] G0 = Plotting(L b ,c s ,c k ,……c e )

[0076] Therefore, the dynamic inference-based plotting method proposed in this application can obtain plotting reference curves based on the starting control points, intermediate control points, and ending control points, and then draw initial plotting figures based on the starting control points, intermediate control points, ending control points, and plotting reference curves, eliminating the need for manual drawing and further ensuring plotting efficiency. This lays the foundation for accurate, reliable, and efficient dynamic plotting.

[0077] It should be noted that in this application, when simulating the starting control point and dynamically calculating the intermediate control point based on the initial plotting, a dynamic simulation method is used to obtain the simulated starting control point and the dynamically calculated intermediate control point.

[0078] As one possible implementation, such as Figure 4As shown, based on the above embodiments, the specific process of simulating the starting control point and dynamically calculating the intermediate control points according to the initial plotted graphics to obtain the simulated starting control point and the dynamically calculated intermediate control points includes the following steps:

[0079] S401. Process the plotted reference curve based on the curve interpolation function to obtain simulated sampling points.

[0080] As one possible implementation, the target smoothness factor can be obtained and determined based on the Bézier curve point set P. b The simulated sampling point P is calculated using the following curve interpolation function, along with the target smoothness factor soothness. s :

[0081] P s =curvilinear(P b (soothness)

[0082] Where, curvilinear is the curve interpolation function.

[0083] S402. Obtain the number of simulated sampling points moved between adjacent sampling time points, and obtain the simulation start control point based on the simulated sampling points and the number of simulated sampling points moved.

[0084] As one possible implementation, such as Figure 5 As shown, based on the above embodiment, the specific process of obtaining the number of simulated sampling points moved between adjacent sampling time points in the above steps includes the following steps:

[0085] S501, Obtain the simulation start time and simulation end time.

[0086] It should be noted that the timing unit during the simulation can be set according to the actual situation; for example, the timing unit can be set to seconds.

[0087] S502. Based on the simulation start time, simulation end time, and simulation sampling point, obtain the number of simulation sampling points moved.

[0088] As one possible implementation, after obtaining the simulation start time and simulation end time, the number of sampling points moved, c, between adjacent time points can be calculated using the following equal division method:

[0089]

[0090] Where, count(P) s ) represents the number of simulated sampling points, t e t0 is the simulation end time, and t0 is the simulation start time.

[0091] Further, the simulation time t i Point information calculation simulation starting control point s i :

[0092] s i = P s [c x i]

[0093] Wherein, c x i is the index number of the simulation sampling point P s The point set, and [] is the value of the index position.

[0094] S403, get the index position of the intermediate control point in the simulation sampling point, and get the dynamically calculated intermediate control point according to the simulation sampling point and the index position.

[0095] In the embodiment of the application, the intermediate control point C k In the simulation sampling point P s The index position of the intermediate control point in the simulation sampling point can be calculated according to the initial plotting graph G0

[0096]

[0097] Further, after obtaining the index position of the intermediate control point in the simulation sampling point , the dynamically calculated intermediate control point can be obtained according to the simulation sampling point and the index position.

[0098] As a possible implementation manner, as shown in Figure 6 On the basis of the above embodiment, the specific process of obtaining the dynamically calculated intermediate control point according to the simulation sampling point and the index position in the above step includes the following steps:

[0099] S601, according to the simulation sampling point and the index position, the proportion factor of the position of the intermediate control point in the initial plotting graph is obtained.

[0100] As a possible implementation manner, the proportion factor of the position of the intermediate control point C S In the plotting shape can be calculated according to the index position k The number of points of the simulation sampling point P

[0101]

[0102] S602, according to the simulation sampling point and the proportion factor, the dynamically calculated intermediate control point is obtained.

[0103] ​As a possible implementation, the index number of the intermediate control point in the simulation sampling point can be calculated by using the proportional method, so as to obtain the new intermediate control point, i.e. the dynamically calculated intermediate control point c' k :

[0104]

[0105] Further, after obtaining the simulation intermediate point, a new intermediate control point set, i.e. the dynamically calculated intermediate control point set, can be generated.

[0106] Therefore, the plotting method based on dynamic deduction proposed in the present application can obtain the simulation starting control point through processes such as sampling simulation control points and driving simulation processes, and obtain the dynamically calculated intermediate control point through processes such as tolerance processing, thereby intelligently realizing accurate, reliable and efficient dynamic plotting.

[0107] Further, in the present application, after obtaining the simulation starting control point and the dynamically calculated intermediate control point, the target plotting graph G e may be plotted according to the termination control point c i , the simulation starting control point s k and the dynamically calculated intermediate control point c′ i .

[0108] As a possible implementation, the following formula can be used for obtaining:

[0109] P’ b =bezier(s i ,c′ k ,……c e ,count)

[0110] L’ b =fit(P’ b )

[0111] G i =Ploting(L’ b, s i ,c′ k ,……c e )

[0112] Further, in the present application, after plotting the target plotting graph, the current map can also be updated according to the target plotting graph.

[0113] As a possible implementation, as shown in FIG. 6, on the basis of the above embodiment, the method specifically comprises the following steps: Figure 7

[0114] S701, geometrically converting the target plotting graph to obtain the geometric shape of the converted target plotting.​

[0115] In the embodiment of the application, after the target plotting graph is drawn, the geometric data structure of the plotting graph can be analyzed to convert it into a plurality of simple geometric objects of the adaptive map platform, i.e., the geometric shape of the converted target plotting.

[0116] S702, geometric object style information is acquired, and the target plotting graph is drawn to the current map according to the geometric object style information and the geometric shape of the converted target plotting.

[0117] In the embodiment of the application, after the converted target plotting graph is obtained, the geometric shape of the converted target plotting and the geometric object style information can be used to output to the map in real time through the rendering mechanism of the map platform to obtain the current map.

[0118] The geometric object style information refers to attribute information of points, lines and surfaces, such as color, thickness and the like.

[0119] The current map is different from the map before dynamic plotting is performed when the starting control point, the intermediate control point and the terminal control point are acquired, and is the map obtained after dynamic plotting is performed.

[0120] In summary, the plotting symbol dynamic calculation and device are based on the plotting algorithm based on the control point, simulate the position of the starting control point according to the initial plotting graph geometric information, calculate the position of the intermediate control point in a trend prediction manner according to the plotting curve information and the plotting geometric information, and re-construct the plotting shape to simulate the change of the rescue force advancing graph with the position change and deduce the rescue process.

[0121] For example, as shown in FIG. 1, a processing system composed of a plurality of modules is taken as an example for explanation and description. Figure 8

[0122] The system of the application includes a plotting initialization module, a starting control point simulation module, a plotting dynamic calculation module and a plotting drawing module, which respectively complete the functions of initializing the plotting shape, simulating the control point, dynamic calculation and plotting drawing to realize the dynamic simulation process of the plotting symbol.

[0123] Therefore, the plotting method based on dynamic deduction proposed in the application can generate a starting control point set in a specified time period according to an initial plotting graph by using a curve interpolation algorithm, dynamically calculate an intermediate control point by using a curve prediction algorithm through the position of the starting control point, a plotting reference curve and a plotting shape, and realize the dynamic change of the plotting shape based on the calculation method of dynamically changing the plotting shape of the map symbol graph with the time change, and realize the dynamic simulation process of the advancing direction of the emergency rescue force in the dynamic deduction scene through the function logic of the plotting symbol dynamic calculation device.​

[0124] To achieve the above-mentioned embodiments, the embodiment provides a plotting device based on dynamic deduction, Figure 9 A structural schematic diagram of a plotting device based on dynamic deduction provided by the embodiment.

[0125] As Figure 9 shown, the plotting device based on dynamic deduction 1000 comprises a first drawing module 110, a simulation module 120 and a second drawing module 130. Among them,

[0126] The first drawing module 110 is configured to obtain a starting control point, an intermediate control point and a terminal control point, and draw an initial plotting graph according to the starting control point, the intermediate control point and the terminal control point;

[0127] The simulation module 120 is configured to simulate the starting control point and dynamically calculate the intermediate control point according to the initial plotting graph, so as to obtain a simulated starting control point and a dynamically calculated intermediate control point;

[0128] The second drawing module 130 is configured to draw a target plotting graph according to the terminal control point, the simulated starting control point and the dynamically calculated intermediate control point.

[0129] According to the embodiment, the first drawing module 110 is further configured to:

[0130] obtain a plotting reference curve according to the starting control point, the intermediate control point and the terminal control point;

[0131] draw the initial plotting graph according to the starting control point, the intermediate control point, the terminal control point and the plotting reference curve.

[0132] According to the embodiment, the first drawing module 110 is further configured to:

[0133] obtain a Bezier curve point set according to the starting control point, the intermediate control point and the terminal control point;

[0134] fit the Bezier curve point set to obtain the plotting reference curve.

[0135] According to the embodiment, the simulation module 120 is further configured to:

[0136] process the plotting reference curve based on a curve interpolation function to obtain a simulated sampling point;

[0137] obtain a number of movements of the simulated sampling point at adjacent sampling time points, and obtain the simulated starting control point according to the simulated sampling point and the number of movements of the simulated sampling point.

[0138] obtaining an index position of the intermediate control point in the simulation sampling point, and obtaining the dynamically calculated intermediate control point according to the simulation sampling point and the index position.

[0139] According to an embodiment of the present application, the simulation module 120 is further configured to:

[0140] obtaining a target smoothing factor, and obtaining the simulation sampling point according to the Bezier curve point set and the target smoothing factor.

[0141] According to an embodiment of the present application, the simulation module 120 is further configured to:

[0142] obtaining a simulation start time and a simulation end time;

[0143] obtaining a simulation sampling point movement number according to the simulation start time, the simulation end time and the simulation sampling point.

[0144] According to an embodiment of the present application, the simulation module 120 is further configured to:

[0145] obtaining a proportion factor of a position of the intermediate control point in the initial plotting figure according to the simulation sampling point and the index position;

[0146] obtaining the dynamically calculated intermediate control point according to the simulation sampling point and the proportion factor.

[0147] According to an embodiment of the present application, the second plotting module 130 is further configured to:

[0148] performing geometric conversion on the target plotting figure to obtain a converted geometric shape of the target plotting figure;

[0149] obtaining geometric object style information, and plotting the target plotting figure to a current map according to the geometric object style information and the converted geometric shape of the target plotting figure.

[0150] According to the plotting method based on dynamic deduction provided in the application, the starting control point, the intermediate control point and the terminal control point are acquired, and an initial plotting graph is plotted according to the starting control point, the intermediate control point and the terminal control point, then the starting control point is simulated and the intermediate control point is dynamically calculated to acquire the simulated starting control point and the dynamically calculated intermediate control point, and then a target plotting graph is plotted according to the terminal control point, the simulated starting control point and the dynamically calculated intermediate control point. Thus, the application proposes a dynamic plotting method based on dynamic deduction, which can solve the problem that manual plotting cannot meet the requirement of dynamic deduction of rescue forces changing with positions in the process of simulation and drill, and cannot dynamically display the rescue progress with the change of time in the subsequent rescue review, and accurately, reliably and efficiently performs dynamic plotting to provide support for the trend change of dynamic simulation of rescue forces in the scene of scenario deduction, simulation, drill and emergency command.

[0151] In order to realize the above-mentioned embodiments, the application further provides an electronic device 3000, as shown in the accompanying drawings, comprising a memory 310, a processor 320 and a computer program stored in the memory 310 and executable on the processor 320, and when the processor executes the program, the above-mentioned plotting method based on dynamic deduction is realized. Figure 10

[0152] In order to realize the above-mentioned embodiments, the application further provides a non-transitory computer readable storage medium, which stores a computer program, and when the program is executed by a processor, the above-mentioned plotting method based on dynamic deduction is realized.

[0153] In order to realize the above-mentioned embodiments, the application further provides a computer program product comprising a computer program, and when the computer program is executed by a processor, the above-mentioned plotting method based on dynamic deduction is realized.

[0154] It should be understood that the steps shown above can be reordered, added or deleted. For example, the steps described in the application can be executed in parallel, in sequence or in different orders, as long as the desired results of the technical solutions disclosed in the application can be achieved, which is not limited herein.

[0155] The above detailed description does not constitute a limitation on the protection scope of the application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent replacement and improvement made within the spirit and principles of the application should be included in the protection scope of the application.​

Claims

1. A plotting method based on dynamic extrapolation, characterized in that, The method comprises the following steps: obtaining a starting control point, an intermediate control point and a terminal control point, and drawing an initial plotting graph according to the starting control point, the intermediate control point and the terminal control point; simulating the starting control point and dynamically calculating the intermediate control point according to the initial plotting graph to obtain a simulated starting control point and a dynamically calculated intermediate control point, comprising: processing a plotting reference curve based on a curve interpolation function to obtain a simulated sampling point; obtaining a number of movements of the simulated sampling point at adjacent sampling time points, and obtaining the simulated starting control point according to the simulated sampling point and the number of movements of the simulated sampling point; obtaining an index position of the intermediate control point in the simulated sampling point, and obtaining the dynamically calculated intermediate control point according to the simulated sampling point and the index position; the step of obtaining the dynamically calculated intermediate control point according to the simulated sampling point and the index position comprises: obtaining a scale factor of the position of the intermediate control point in the initial plotting graph according to the simulated sampling point and the index position; According to the simulation sampling point and the scale factor, a dynamically calculated intermediate control point is obtained, wherein the dynamically calculated intermediate control point is is: for an analog sample point, for an analog time point, is a scale factor; drawing a target plotting graph according to the terminal control point, the simulated starting control point and the dynamically calculated intermediate control point.

2. The dynamic extrapolation-based plotting method of claim 1, wherein, the step of drawing the initial plotting graph according to the starting control point, the intermediate control point and the terminal control point comprises: obtaining a plotting reference curve according to the starting control point, the intermediate control point and the terminal control point; drawing the initial plotting graph according to the starting control point, the intermediate control point, the terminal control point and the plotting reference curve.

3. The dynamic extrapolation-based plotting method of claim 2, wherein, the step of obtaining the plotting reference curve according to the starting control point, the intermediate control point and the terminal control point comprises: obtaining a set of Bezier curve points according to the starting control point, the intermediate control point and the terminal control point; fitting the set of Bezier curve points to obtain the plotting reference curve.

4. The dynamic extrapolation-based plotting method of claim 2, wherein, the step of processing the plotting reference curve based on a curve interpolation function to obtain a simulated sampling point comprises: obtaining a target smoothing factor, and obtaining the simulated sampling point according to a set of Bezier curve points and the target smoothing factor.

5. The dynamic extrapolation-based plotting method of claim 1, wherein, the step of obtaining the number of movements of the simulated sampling point at adjacent sampling time points comprises: obtaining a simulation start time and a simulation end time; obtaining the number of movements of the simulated sampling point according to the simulation start time, the simulation end time and the simulated sampling point.

6. The dynamic extrapolation-based plotting method according to any one of claims 1-5, wherein, after the step of drawing the target plotting graph, the method further comprises the following steps: performing geometric conversion on the target plotting graph to obtain a converted geometric shape of the target plotting; obtaining geometric object style information, and drawing the target plotting graph to a current map according to the geometric object style information and the converted geometric shape of the target plotting.

7. A plotting device based on dynamic extrapolation, characterized by The device comprises: a first drawing module configured to obtain a starting control point, an intermediate control point and a terminal control point, and draw an initial plotting graph according to the starting control point, the intermediate control point and the terminal control point; an analog module, configured to analogize the starting control point and dynamically calculate the intermediate control point according to the initial plotting graph, to obtain an analogized starting control point and a dynamically calculated intermediate control point; the analog module is specifically configured to: process the plotting reference curve based on a curve interpolation function to obtain analogized sampling points; obtain a moving number of the analogized sampling points at adjacent sampling time points, and obtain the analogized starting control point according to the analogized sampling points and the moving number of the analogized sampling points; obtain an index position of the intermediate control point in the analogized sampling points, and obtain the dynamically calculated intermediate control point according to the analogized sampling points and the index position; the analog module is further configured to: obtain a scale factor of a position of the intermediate control point in the initial plotting graph according to the analogized sampling points and the index position; According to the simulation sampling point and the scale factor, a dynamically calculated intermediate control point is obtained, wherein the dynamically calculated intermediate control point is is: for an analog sample point, for an analog time point, is a scale factor; a second drawing module, configured to draw a target plotting graph according to the ending control point, the analogized starting control point and the dynamically calculated intermediate control point.

8. The dynamic extrapolation-based plotting device of claim 7, wherein, the first drawing module is further configured to: obtain a plotting reference curve according to the starting control point, the intermediate control point and the ending control point; draw the initial plotting graph according to the starting control point, the intermediate control point, the ending control point and the plotting reference curve.

9. The dynamic extrapolation-based plotting device of claim 8, wherein, the first drawing module is further configured to: obtain a Bezier curve point set according to the starting control point, the intermediate control point and the ending control point; fit the Bezier curve point set to obtain the plotting reference curve.

10. The dynamic extrapolation-based plotting device of claim 9, wherein, the analog module is further configured to: obtain a target smoothing factor, and obtain the analogized sampling points according to the Bezier curve point set and the target smoothing factor.

11. The dynamic extrapolation-based plotting device of claim 7, wherein, the analog module is further configured to: obtain an analog start time and an analog end time; obtain the moving number of the analogized sampling points according to the analog start time, the analog end time and the analogized sampling points.

12. The dynamic extrapolation-based plotting device of any of claims 7-11, wherein, the second drawing module is further configured to: perform geometric conversion on the target plotting graph to obtain a converted geometric shape of the target plotting graph; obtain geometric object style information, and draw the target plotting graph to a current map according to the geometric object style information and the converted geometric shape of the target plotting graph. 13.An electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication;wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.

14. A non-transitory computer readable storage medium having stored thereon computer instructions, wherein, The computer instructions are used to make the computer execute the method according to any one of claims 1-6. 15.A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Restoration method and apparatus for drawn track

    CN105354870A

  • Watershed water surface mixed drawing method and system, electronic equipment and storage medium

    CN114020943A