WebGIS-based simulation and deduction methods, devices, equipment and media
By loading public application development frameworks and basic interface libraries, a simulation and deduction system for WEB GIS is generated and integrated, which solves the problem of slow construction in existing technologies, realizes efficient and flexible simulation and deduction, and supports decision-making in complex scenarios.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-01
- Publication Date
- 2026-03-13
AI Technical Summary
Existing web GIS simulation systems are slow to develop and struggle to respond quickly to changing needs.
By loading a public application development framework, importing a basic interface library, selecting and loading common support tools and initial plugins, generating and integrating development model plugins and services, a simulation integration system is formed, and the simulation process is controlled according to simulation parameters.
The modular design of the simulation system has been realized, which improves the efficiency and flexibility of system construction, makes the simulation more accurate, and helps decision-makers better cope with complex scenarios.
Smart Images

Figure CN120335794B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of simulation, and in particular to a simulation deduction method, apparatus, equipment and medium based on WEB GIS. Background Technology
[0002] GIS stands for Geographic Information System, a specific and crucial spatial information system. Supported by computer hardware and software, it's a technology system for collecting, storing, managing, processing, analyzing, displaying, and describing geographic distribution data across the entire or partial Earth's surface (including the atmosphere). WebGIS, on the other hand, displays GIS data in a browser. Compared to client / server (C / S) GIS systems, it's more lightweight and easier to deploy. Simulations are developed based on WebGL, used to render 2D and 3D images in a browser, and utilize OpenGL ES libraries with direct GPU manipulation capabilities, such as Three.js and osgjs. WebGIS adds map display and other functionalities to WebGL.
[0003] Current web GIS presentation methods combine 2D and 3D elements, using the open-source Cesium as the underlying layer. The map is loaded using WMS services provided by SuperMap, and open-source frameworks such as CesiumJS are based on Cesium, supporting web-based 3D globe applications. CesiumJS is flexible and customizable; it is the core framework of the Cesium engine, providing rich APIs and components for building web-based 3D globe applications. It supports map rendering, scene management, data visualization, and other functions.
[0004] WebGIS systems using Cesium as their underlying architecture utilize data aggregation maps, which are maps used to represent dynamic or static information in a spatial environment. They can display the geographical location and changes of events, resources, threats, and other key factors. Through visualization, data aggregation maps help decision-makers quickly obtain critical information in complex environments, enabling timely and accurate decisions. With the continuous development of Geographic Information Systems (GIS), data aggregation maps play an increasingly important role in fields such as emergency management and geographic planning. Data aggregation maps are a core component of command and control systems. They can display dynamic information in real time. This visualization tool is crucial for command, planning, and data aggregation awareness.
[0005] However, current simulation and deduction methods for WEB GIS are slow to build simulation and deduction systems, making it difficult to quickly respond to changing needs. Summary of the Invention
[0006] In view of this, the purpose of this invention is to overcome the shortcomings of the prior art and provide a simulation and deduction method, apparatus, equipment and medium based on WEB GIS to improve the efficiency of simulation and deduction.
[0007] This invention provides the following technical solution:
[0008] Firstly, this invention proposes a simulation and deduction method based on WEB GIS, comprising:
[0009] Load the public application development framework and initialize the application project in the public application development framework;
[0010] Import the basic interface library into the application project according to the preset application requirements. The basic interface library includes simulation resource interfaces and simulation run support interfaces.
[0011] According to the preset plugin integration requirements, select and load common support tools and initial plugins from the basic interface library; obtain multiple development model plugins according to the common support tools and initial plugins; test and integrate each development model plugin to obtain the integrated model plugin;
[0012] Based on the preset service integration requirements, initial services are selected and deployed from the basic interface library, and multiple development model services are generated based on the initial services; each development model service is tested and integrated to obtain the integrated model service.
[0013] The integrated model plugin and the integrated model service are integrated into a single system to obtain a simulation integration system.
[0014] The simulation integration system is run to perform simulation deduction, obtain simulation parameters, and control the simulation deduction process of the simulation integration system according to the simulation parameters.
[0015] In one embodiment, the simulation parameters include simulation step size parameters, and controlling the simulation deduction process of the simulation integration system according to the simulation parameters includes:
[0016] Modify the simulation step size parameter according to the preset simulation details requirements;
[0017] The simulation process is controlled according to the modified simulation step size parameters.
[0018] In one embodiment, the simulation parameters include a simulation speedup parameter, and controlling the simulation deduction process of the simulation integration system according to the simulation parameters includes:
[0019] Modify the simulation speedup parameter according to the preset simulation speed requirement;
[0020] The simulation process is controlled according to the modified simulation speedup parameters.
[0021] In one embodiment, the simulation parameters include simulation process parameters, and controlling the simulation deduction process of the simulation integration system according to the simulation parameters includes:
[0022] Modify the simulation process parameters according to the preset simulation process requirements;
[0023] The simulation process is controlled according to the modified simulation process parameters.
[0024] In one embodiment, the common support tools include modeling and editing tools, behavior model editing tools, and scenario editing tools; the development model plugins include equipment model plugins, behavior model plugins, and scenario library plugins; and the step of obtaining multiple development model plugins based on the common support tools and the initial plugins includes:
[0025] The equipment model plugin is obtained based on the modeling and editing tool and the initial plugin;
[0026] The behavior model plugin is obtained based on the behavior model editing tool and the initial plugin;
[0027] The scenario library plugin is obtained based on the scenario editing tool and the initial plugin.
[0028] Secondly, this invention proposes a simulation and deduction device based on WEB GIS, comprising:
[0029] The loading module is used to load the public application development framework and initialize the application projects in the public application development framework.
[0030] The import module is used to import a basic interface library into the application project according to preset application requirements. The basic interface library includes simulation resource interfaces and simulation run support interfaces.
[0031] The first integration module is used to select and load common support tools and initial plugins from the basic interface library according to preset plugin integration requirements; obtain multiple development model plugins according to the common support tools and the initial plugins; and test and integrate each development model plugin to obtain the integrated model plugin.
[0032] The second integration module is used to select and lay out initial services from the basic interface library according to preset service integration requirements, and generate multiple development model services according to the initial services; and to test and integrate each of the development model services to obtain the integrated model service.
[0033] The third integration module is used to integrate the integrated model plugin and the integrated model service into a single integrated process to obtain a simulation integration system.
[0034] The simulation module is used to run the simulation integration system to perform simulation deduction, obtain simulation parameters, and control the simulation deduction process of the simulation integration system according to the simulation parameters.
[0035] In one embodiment, the simulation parameters include the simulation step size, and controlling the simulation deduction process of the simulation integration system according to the simulation parameters includes:
[0036] Modify the simulation step size according to the preset simulation details requirements;
[0037] The simulation process is controlled according to the modified simulation step size.
[0038] In one embodiment, the simulation parameters include a simulation speedup parameter, and controlling the simulation deduction process of the simulation integration system according to the simulation parameters includes:
[0039] Modify the simulation speedup parameters according to the preset simulation details requirements;
[0040] The simulation process is controlled according to the modified simulation speedup parameters.
[0041] Thirdly, this aspect proposes a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the simulation and deduction method based on WEB GIS as described in the first aspect.
[0042] Fourthly, the present invention proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the simulation and deduction method based on WEB GIS as described in the first aspect.
[0043] This invention discloses a simulation and deduction method, apparatus, equipment, and medium based on Web GIS. The method includes loading a common application development framework and initializing an application project within that framework. A basic interface library, including simulation resource interfaces and simulation runtime support interfaces, is imported into the application project according to preset application requirements. Common support tools and initial plugins are selected and loaded from the basic interface library according to preset plugin integration requirements. Multiple development model plugins are obtained based on these tools and plugins. Each development model plugin is tested and integrated to obtain an integrated model plugin. Initial services are selected and deployed from the basic interface library according to preset service integration requirements, and multiple development model services are generated based on these services. Each development model service is tested and integrated to obtain an integrated model service. The integrated model plugins and integrated model services are then integrated to obtain a simulation integration system. The simulation integration system is run to perform simulation and deduction, obtain simulation parameters, and control the simulation and deduction process of the simulation integration system based on these parameters. In this way, by loading a common application development framework and importing a basic interface library, the system's modular design is achieved. By using pre-defined plugin and service integration requirements, the necessary resources can be quickly selected and loaded from the basic interface library, reducing repetitive development work and improving system construction efficiency. Furthermore, the simulation process can be flexibly controlled based on simulation parameters. This control mechanism makes simulation more flexible and accurate, helping decision-makers better understand and respond to complex scenarios. Attached Figure Description
[0044] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope of protection of the present invention. In the various drawings, similar components are numbered similarly.
[0045] Figure 1 A flowchart illustrating the simulation and deduction method based on WEB GIS proposed in this embodiment is shown.
[0046] Figure 2 Another flowchart of the simulation and deduction method based on WEB GIS proposed in this embodiment is shown;
[0047] Figure 3 A schematic diagram of the simulation and deduction device based on WEB GIS proposed in this embodiment is shown.
[0048] 300 - Web GIS-based simulation and deduction device; 301 - Loading module; 302 - Import module; 303 - First integration module; 304 - Second integration module; 305 - Third integration module; 306 - Simulation module. Detailed Implementation
[0049] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0050] The components of the embodiments of the invention described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0051] In the following, the terms “comprising,” “having,” and their cognates, which may be used in various embodiments of the invention, are intended only to indicate a particular feature, number, step, operation, element, component, or combination thereof, and should not be construed as excluding, firstly, the presence of one or more other features, numbers, steps, operations, elements, components, or combinations thereof, or adding the possibility of one or more features, numbers, steps, operations, elements, components, or combinations thereof.
[0052] Furthermore, the terms "first," "second," and "third" are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.
[0053] Unless otherwise specified, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of the invention pertain. Terms (such as those defined in commonly used dictionaries) shall be interpreted as having the same meaning as in their contextual meaning in the relevant technical field and shall not be interpreted as having an idealized or overly formal meaning, unless clearly defined in the various embodiments of the invention.
[0054] Example 1
[0055] This disclosure provides a simulation and deduction method based on WEB GIS to improve simulation and deduction efficiency.
[0056] Please see Figure 1 A simulation and deduction method based on WEB GIS includes steps S101 to S106, and each step is described in detail below.
[0057] Step S101: Load the public application development framework and initialize the application project in the public application development framework.
[0058] In this embodiment, the first step is to load a common application development framework. This framework is typically a pre-built software platform that provides the infrastructure and tools required for application development. After loading the framework, a new application project needs to be initialized within it. This includes setting basic project parameters (such as project name, storage location, etc.), configuring the development environment (such as selecting a programming language, setting compilation options, etc.), and creating the basic files and directory structure required for the project.
[0059] The introduction and initialization of a public application development framework provides a solid foundation for application projects. The imported basic interface library provides clear interface specifications for subsequent plugin and service integration, enhancing the system's modularity and scalability.
[0060] Step S102: Import the basic interface library into the application project according to the preset application requirements. The basic interface library includes simulation resource interfaces and simulation run support interfaces.
[0061] In this embodiment, after the application project is initialized, the next step is to import the basic interface library according to the preset application requirements. The basic interface library is a collection of various functions, methods, and classes required during development, providing the ability to interact with simulation resources and support simulation execution. The basic interface library typically includes simulation resource interfaces (for accessing and manipulating simulation data) and simulation execution support interfaces (for controlling the start, stop, and pause of the simulation process). After importing these interface libraries, these interfaces can be called in your application project to implement specific functions.
[0062] Step S103: Select and load common support tools and initial plugins from the basic interface library according to the preset plugin integration requirements; obtain multiple development model plugins according to the common support tools and the initial plugins; test and integrate each development model plugin to obtain the integrated model plugin.
[0063] In this embodiment, common support tools and initial plugins need to be selected and loaded from the basic interface library according to preset plugin integration requirements. Common support tools are plugins that provide basic support functions for developers. Initial plugins are those closely related to the core functionality of the application project. After loading these plugins, developers can use them to obtain multiple development model plugins. Development model plugins are components that implement specific functions or business logic; they can be developed, tested, and deployed independently. Finally, these development model plugins need to be tested and integrated to ensure they can work together and meet the needs of the application project. After this step, the integrated model plugins are obtained.
[0064] By selecting and loading common supporting tools and initial plugins from the basic interface library, the system can quickly integrate multiple functions without having to develop from scratch. The plug-in design allows the system to flexibly add or remove functions as needed, improving its flexibility and adaptability.
[0065] It should be noted that the pre-defined plugin integration requirements are determined based on the experimental design information, which includes experimental indicators, experimental data, experimental schemes, and experimental scenarios. Therefore, based on the above experimental design information, common supporting tools such as modeling editing tools, behavioral model editing tools, and scenario editing tools can be obtained.
[0066] It should be added that key experimental indicators can be identified through analytic hierarchy process (AHP), and the rationality of the experimental design can be evaluated using hypothesis testing.
[0067] Please see Figure 2 In one specific embodiment, the common support tools include modeling editing tools, behavior model editing tools, and scenario editing tools, and the development model plugins include equipment model plugins, behavior model plugins, and scenario library plugins. Step S103 includes steps S1031 to S1033, and each step is described in detail below.
[0068] Step S1031: Obtain the equipment model plugin based on the modeling and editing tool and the initial plugin.
[0069] In this embodiment, equipment models are created and edited using modeling and editing tools, and then these models are converted into equipment model plugins through an initial plugin. The equipment model plugins will subsequently be integrated into the simulation system to instantiate the equipment and demonstrate its behavior during the simulation process.
[0070] Step S1032: Obtain the behavior model plugin based on the behavior model editing tool and the initial plugin.
[0071] In this embodiment, the behavioral logic and rules of the equipment are defined using a behavior model editing tool, and then these behavioral definitions are transformed into behavior model plugins through an initial plugin. The behavior model plugins will control the behavior of the equipment during the simulation process.
[0072] Step S1033: Obtain the scenario library plugin based on the scenario editing tool and the initial plugin.
[0073] In this embodiment, simulation scenarios are created and edited using a scenario editing tool, and then these scenario definitions are converted into scenario library plugins via an initialization plugin. The scenario library plugins manage the loading and execution process of simulation scenarios and initial conditions.
[0074] It should be noted that principal component analysis can be used to simplify model complexity, and model parameters can be estimated through maximum likelihood estimation and moment estimation.
[0075] Step S104: Select and deploy initial services from the basic interface library according to the preset service integration requirements, and generate multiple development model services based on the initial services; test and integrate each development model service to obtain the integrated model service.
[0076] In this embodiment, initial services need to be selected and deployed from the basic interface library according to preset service integration requirements. These initial services are basic service components required by the application project, such as data storage services and messaging services. After deploying these services, developers can use them to generate multiple development model services. These model services are components that implement specific service logic and can interact with other model plugins or services. Finally, developers need to test and integrate these development model services to ensure they function correctly and meet the requirements of the application project. After this step, the integrated model services are obtained.
[0077] By acquiring multiple development model plugins and testing and integrating them, the system development process can be accelerated. Similarly, generating and testing multiple development model services further improves the system's development efficiency.
[0078] It should be noted that the pre-defined service integration requirements are also determined based on the experimental design information. Specifically, the integrated model service includes an internal simulation model package, which includes simulation services such as behavior control, motion calculation, sensor simulation, and equipment simulation.
[0079] Step S105: The integrated model plugin and the integrated model service are integrated into a single system to obtain the simulation integration system.
[0080] In this embodiment, the integrated model plugin and integrated model service need to be integrated into a single system. This includes interface-connecting the various components, integrating data flows, and streamlining business processes. Through this process, the various components will form an organic whole, jointly constituting a simulation integration system. This system can simulate certain aspects or processes of the real world and provide users with simulation deduction and data analysis capabilities.
[0081] Step S106: Run the simulation integration system to perform simulation deduction, obtain simulation parameters, and control the simulation deduction process of the simulation integration system according to the simulation parameters.
[0082] In this embodiment, a simulation integration system is run to perform simulation deduction. In this step, simulation parameters (such as initial conditions and simulation time) need to be set, and the simulation system needs to be started. The simulation integration system will perform simulation deduction according to preset procedures and rules, and output simulation results.
[0083] Simulation results can be analyzed to obtain information about system behavior or performance, allowing for adjustments to simulation parameters or optimization of system design. Furthermore, simulation parameters can be used to control the simulation process, such as pausing, resuming, or stopping the simulation. Controlling the simulation process based on parameters enables the system to more accurately simulate complex real-world situations, providing support for decision-making.
[0084] It should be noted that during the simulation control phase, skewness and kurtosis tests can be used to evaluate the distribution characteristics of simulation data, and single-population and double-population interval estimation can be used to assess the confidence level of simulation results and compare performance differences under different conditions.
[0085] In one specific embodiment, the simulation parameters include simulation step size parameters, and step S106 includes: modifying the simulation step size parameters according to preset simulation detail requirements; and controlling the simulation deduction process according to the modified simulation step size.
[0086] It should be noted that the simulation step size refers to the time length or number of iterations for each step in the simulation process. It determines the frequency at which the simulation model is updated within a given time period.
[0087] In this embodiment, if it is necessary to adjust the simulation step size parameter during the simulation process, the simulation step size parameter is modified according to the preset simulation detail requirements, and the simulation deduction process is controlled according to the modified simulation step size.
[0088] As an example, the preset simulation details requirements include: quickly locating key nodes or adjusting the granularity of the simulation when fast-forwarding or slow-forwarding is required, so as to more easily reflect the process details of the simulation.
[0089] If higher accuracy is required, it may be necessary to reduce the simulation step size, thereby increasing the number of iterations in the simulation process and making the simulation results more detailed. Conversely, if a faster simulation speed is required, the simulation step size can be increased, but some accuracy may be sacrificed.
[0090] In one specific embodiment, the simulation parameters include simulation speedup parameters, and step S106 includes: modifying the simulation speedup parameters according to preset simulation detail requirements; and controlling the simulation derivation process according to the modified simulation speedup parameters.
[0091] It should be noted that simulation speedup refers to the ratio of simulation speed to real-time speed, which measures how fast the simulation runs relative to actual time.
[0092] In this embodiment, simulation process parameters can be modified according to a preset simulation speed requirement (which may be a requirement for simulation efficiency). For example, if it is desired to improve simulation speed, the behavior rules of the model can be adjusted to simplify the calculation process, or the interaction frequency between models can be reduced. Conversely, if it is desired to simulate certain processes in more detail, the interaction complexity between models can be increased or more external inputs can be introduced.
[0093] In one specific embodiment, the simulation parameters include simulation process parameters, and step S106 includes: modifying the simulation process parameters according to preset simulation speed requirements; and controlling the simulation process according to the modified simulation process parameters.
[0094] In this embodiment, if there is a need to control the simulation process, such as needing to observe the simulation situation at a certain moment, the simulation can be paused by adjusting the simulation process parameters. After pausing the simulation, if it is necessary to continue or terminate the simulation process, the simulation can be continued or terminated by adjusting the simulation process parameters.
[0095] It should be noted that the scalable simulation platform provides a standardized model generation module to guide developers in clarifying their business requirements for model data products. This module automatically extracts and generates thematic data that meets these business needs in a customized manner. It mainly includes resource components, data analysis components, algorithm components, visualization components, and custom components.
[0096] It should be added that, for simulation integration systems and web front-end development, what the C-end publishes is the model algorithm capability. This capability needs to be obtained through the web's HTTP interface in order to be displayed in the Vue website, and it is part of the data interaction.
[0097] For data communication, the C-side simulation control program communicates with the browser backend via WebSocket. Web-side connections are short-lived; however, continuous connections with large amounts of data require WebSocket communication. This ensures that the process or simulation data written on the C-side can be continuously fed into the browser and displayed.
[0098] For visualization and fusion computing, the situational awareness is mainly represented by the drawing of points, lines, surfaces, and various curves, with WebGL technology used for the underlying drawing. The aggregation perception service is the process of fusing and calculating the drawn points, lines, surfaces, and various types of curves, requiring algorithms such as 3D spatial intersection.
[0099] In summary, the C-end simulation and browser WebSocket communication drive the simulation and display of page data. The process involves the C-end generating simulation data, which is then continuously pushed to the browser via WebSocket communication. Upon receiving the data, the browser displays the simulation results based on its characteristics.
[0100] In addition, reducing the number of polygons and texture resolution in simulation results can alleviate the rendering burden on the system. Lightweight model representations, such as those in SolidWorks, can also be used, loading only a portion of the model data to improve performance, thereby optimizing the model data and preventing display stuttering.
[0101] More efficient data processing algorithms can also be used to reduce data processing time. For example, asynchronous loading and rendering can be employed, allowing the model to load in the background while the user continues to operate the interface. The rendering process can also use segmented rendering or on-demand rendering to reduce the burden of each rendering cycle, thereby avoiding display lag.
[0102] The simulation and deduction method based on WEB GIS proposed in this embodiment loads a public application development framework and initializes the application project in the framework. It then imports a basic interface library into the application project according to preset application requirements. This basic interface library includes simulation resource interfaces and simulation run support interfaces. Based on preset plugin integration requirements, it selects and loads common support tools and initial plugins from the basic interface library. It obtains multiple development model plugins based on these tools and plugins. Each development model plugin is tested and integrated to obtain an integrated model plugin. Based on preset service integration requirements, it selects and deploys initial services from the basic interface library and generates multiple development model services. Each development model service is tested and integrated to obtain an integrated model service. The integrated model plugins and integrated model services are then integrated to obtain a simulation integration system. The simulation integration system is run to perform simulation and deduction, obtain simulation parameters, and control the simulation and deduction process of the system based on these parameters. In this way, by loading a common application development framework and importing a basic interface library, the system's modular design is achieved. By using pre-defined plugin and service integration requirements, the necessary resources can be quickly selected and loaded from the basic interface library, reducing repetitive development work and improving system construction efficiency. Furthermore, the simulation process can be flexibly controlled based on simulation parameters. This control mechanism makes simulation more flexible and accurate, helping decision-makers better understand and respond to complex scenarios.
[0103] Example 2
[0104] Furthermore, this disclosure provides a simulation and deduction device 300 based on WEB GIS; please refer to [link to relevant documentation]. Figure 3 The device includes:
[0105] Loading module 301 is used to load the public application development framework and initialize the application projects in the public application development framework.
[0106] Import module 302 is used to import a basic interface library into the application project according to preset application requirements. The basic interface library includes simulation resource interfaces and simulation run support interfaces.
[0107] The first integration module 303 is used to select and load common support tools and initial plugins from the basic interface library according to preset plugin integration requirements; obtain multiple development model plugins according to the common support tools and the initial plugins; and test and integrate each development model plugin to obtain the integrated model plugin.
[0108] The second integration module 304 is used to select and lay out initial services from the basic interface library according to preset service integration requirements, and generate multiple development model services according to the initial services; and to test and integrate each development model service to obtain the integrated model service.
[0109] The third integration module 305 is used to integrate the integrated model plugin and the integrated model service into a single integrated process to obtain a simulation integration system.
[0110] The simulation module 306 is used to run the simulation integration system to perform simulation deduction, obtain simulation parameters, and control the simulation deduction process of the simulation integration system according to the simulation parameters.
[0111] Optionally, the simulation parameters include a simulation step size, and a simulation module 306 is used to modify the simulation step size according to preset simulation detail requirements; and to control the simulation deduction process according to the modified simulation step size.
[0112] Optionally, the simulation parameters include simulation speedup parameters. The simulation module 306 is used to modify the simulation speedup parameters according to preset simulation detail requirements and control the simulation inference process according to the modified simulation speedup parameters.
[0113] Optionally, the simulation parameters include simulation process parameters, and the simulation module 306 is used to modify the simulation process parameters according to preset simulation process requirements; and to control the simulation process according to the modified simulation process parameters.
[0114] Optionally, the common support tools include modeling and editing tools, behavior model editing tools, and scenario editing tools; the development model plugins include equipment model plugins, behavior model plugins, and scenario library plugins; and the first integration module 303 is used to obtain the equipment model plugin based on the modeling and editing tools and the initial plugins; obtain the behavior model plugin based on the behavior model editing tools and the initial plugins; and obtain the scenario library plugin based on the scenario editing tools and the initial plugins.
[0115] The apparatus provided in this embodiment can execute the steps of the simulation and deduction method based on WEB GIS provided in Embodiment 1. To avoid repetition, it will not be described again.
[0116] The WEB GIS-based simulation and deduction device proposed in this embodiment loads a public application development framework and initializes the application project in the framework. It imports a basic interface library into the application project according to preset application requirements; the basic interface library includes simulation resource interfaces and simulation run support interfaces. Based on preset plugin integration requirements, it selects and loads common support tools and initial plugins from the basic interface library. It obtains multiple development model plugins based on the common support tools and initial plugins. It tests and integrates each development model plugin to obtain an integrated model plugin. Based on preset service integration requirements, it selects and deploys initial services from the basic interface library and generates multiple development model services based on these services. It tests and integrates each development model service to obtain an integrated model service. It integrates the integrated model plugins and the integrated model service to obtain a simulation integration system. It runs the simulation integration system to perform simulation and deduction, obtains simulation parameters, and controls the simulation and deduction process of the simulation integration system based on these parameters. In this way, by loading a common application development framework and importing a basic interface library, the system's modular design is achieved. By using pre-defined plugin and service integration requirements, the necessary resources can be quickly selected and loaded from the basic interface library, reducing repetitive development work and improving system construction efficiency. Furthermore, the simulation process can be flexibly controlled based on simulation parameters. This control mechanism makes simulation more flexible and accurate, helping decision-makers better understand and respond to complex scenarios.
[0117] Example 3
[0118] Furthermore, this disclosure provides a computer device including a memory and a processor. The memory stores a computer program, which, when executed by the processor, implements the WEB GIS-based simulation and deduction method described in Embodiment 1.
[0119] The device provided in this embodiment can execute the steps of the simulation and deduction method based on WEB GIS provided in Embodiment 1. To avoid repetition, it will not be described again.
[0120] Example 4
[0121] This disclosure provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the WEB GIS-based simulation and deduction method described in Embodiment 1.
[0122] In this embodiment, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0123] The computer-readable storage medium provided in this embodiment can implement the simulation and deduction method based on WEB GIS provided in Embodiment 1. To avoid repetition, it will not be described again here.
[0124] In all examples shown and described herein, any specific values should be interpreted as merely exemplary and not as limitations; therefore, other examples of exemplary embodiments may have different values.
[0125] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0126] The above-described embodiments are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention.
Claims
1. A WEB GIS-based simulation deduction method, characterized in that, The method comprises the following steps: loading a common application development framework, initializing an application project in the common application development framework; importing a basic interface library into the application project according to preset application requirements, wherein the basic interface library comprises a simulation resource interface and a simulation running support interface; selecting and loading commonality support tools and initial plug-ins from the basic interface library according to preset plug-in integration requirements, obtaining a plurality of development model plug-ins according to the commonality support tools and the initial plug-ins, testing and integrating each development model plug-in to obtain integrated model plug-ins; selecting and arranging initial services from the basic interface library according to preset service integration requirements, and generating a plurality of development model services according to the initial services; testing and integrating each development model service to obtain integrated model services; integrating the integrated model plug-ins and the integrated model services to obtain a simulation integrated system; running the simulation integrated system to perform simulation deduction, obtaining simulation parameters, and controlling the simulation deduction process of the simulation integrated system according to the simulation parameters; the commonality support tools comprise modeling editing tools, behavior model editing tools and scenario editing tools, the development model plug-ins comprise equipment model plug-ins, behavior model plug-ins and scenario library plug-ins, and the plurality of development model plug-ins are obtained according to the commonality support tools and the initial plug-ins, comprising: the equipment model plug-ins are obtained according to the modeling editing tools and the initial plug-ins; the behavior model plug-ins are obtained according to the behavior model editing tools and the initial plug-ins; the scenario library plug-ins are obtained according to the scenario editing tools and the initial plug-ins. 2.The WEB GIS-based simulation deduction method according to claim 1, characterized in that, The simulation parameters comprise a simulation step parameter, and the simulation deduction process of the simulation integrated system is controlled according to the simulation parameters, comprising: the simulation step parameter is modified according to preset simulation detail requirements; the simulation deduction process is controlled according to the modified simulation step parameter. 3.The WEB GIS-based simulation deduction method according to claim 1, characterized in that, The simulation parameters comprise a simulation acceleration ratio parameter, and the simulation deduction process of the simulation integrated system is controlled according to the simulation parameters, comprising: the simulation acceleration ratio parameter is modified according to preset simulation speed requirements; the simulation deduction process is controlled according to the modified simulation acceleration ratio parameter. 4.The WEB GIS-based simulation deduction method according to claim 1, characterized in that, The simulation parameters comprise a simulation process parameter, and the simulation deduction process of the simulation integrated system is controlled according to the simulation parameters, comprising: the simulation process parameter is modified according to preset simulation process requirements; the simulation deduction process is controlled according to the modified simulation process parameter.
5. A WEB GIS-based simulation and deduction device, characterized in that, The method comprises the following steps: a loading module is configured to load a common application development framework, and initialize an application project in the common application development framework; an importing module is configured to import a basic interface library into the application project according to preset application requirements, wherein the basic interface library comprises a simulation resource interface and a simulation running support interface; a first integration module is configured to select and load commonality support tools and initial plug-ins from the basic interface library according to preset plug-in integration requirements, obtain a plurality of development model plug-ins according to the commonality support tools and the initial plug-ins, and test and integrate each development model plug-in to obtain integrated model plug-ins; a second integration module configured to select and arrange initial services from the basic interface library according to preset service integration requirements, and generate a plurality of development model services according to the initial services; test and integrate each of the development model services to obtain integrated model services; a third integration module configured to integrate the integrated model plug-ins and the integrated model services to obtain a simulation integration system; a simulation module configured to run the simulation integration system to obtain simulation parameters, and control a simulation deduction process of the simulation integration system according to the simulation parameters; the common support tools include a modeling editing tool, a behavior model editing tool and a scenario editing tool, the development model plug-ins include equipment model plug-ins, behavior model plug-ins and scenario library plug-ins, and the first integration module is further configured to obtain the equipment model plug-ins according to the modeling editing tool and the initial plug-ins, obtain the behavior model plug-ins according to the behavior model editing tool and the initial plug-ins, and obtain the scenario library plug-ins according to the scenario editing tool and the initial plug-ins. 6.The WEB GIS-based simulation and deduction device according to claim 5, characterized in that, the simulation parameters include a simulation step, and the control of the simulation deduction process of the simulation integration system according to the simulation parameters includes: modifying the simulation step according to preset simulation detail requirements; and controlling the simulation deduction process according to the modified simulation step. 7.The WEB GIS-based simulation and deduction device according to claim 5, characterized in that, the simulation parameters include a simulation acceleration ratio parameter, and the control of the simulation deduction process of the simulation integration system according to the simulation parameters includes: modifying the simulation acceleration ratio parameter according to preset simulation detail requirements; and controlling the simulation deduction process according to the modified simulation acceleration ratio parameter.
8. A computer device, comprising: a memory and a processor, the memory stores a computer program, and the computer program is executed by the processor to implement the simulation deduction method based on WEB GIS according to any one of claims 1 to 4.
9. A computer-readable storage medium, characterized in that, the memory stores a computer program, and the computer program is executed by the processor to implement the simulation deduction method based on WEB GIS according to any one of claims 1 to 4.
Citation Information
Patent Citations
Drainage basin water resource management decision support system WebGIS engine design method and system
CN111125291A
Simulation deduction evaluation system and method
CN115795929A