CN111897799A - Hydrological model service system based on process engine - Google Patents

Hydrological model service system based on process engine Download PDF

Info

Publication number
CN111897799A
CN111897799A CN202010774465.8A CN202010774465A CN111897799A CN 111897799 A CN111897799 A CN 111897799A CN 202010774465 A CN202010774465 A CN 202010774465A CN 111897799 A CN111897799 A CN 111897799A
Authority
CN
China
Prior art keywords
model
resources
process engine
module
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010774465.8A
Other languages
Chinese (zh)
Inventor
朱子建
宋倍
史文静
安东
李欢
崔晨晨
张丽颖
白静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yellow River Water Conservancy Committee Information Center
Original Assignee
Yellow River Water Conservancy Committee Information Center
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yellow River Water Conservancy Committee Information Center filed Critical Yellow River Water Conservancy Committee Information Center
Priority to CN202010774465.8A priority Critical patent/CN111897799A/en
Publication of CN111897799A publication Critical patent/CN111897799A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/211Schema design and management
    • G06F16/212Schema design and management with details for data modelling support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a hydrological model service system based on a process engine, which relates to the technical field of water conservancy data models and comprises the following steps: the system comprises a resource management module, a process configuration module, a model process engine module and a model resource library. The invention realizes that the model process engine supports the hydraulic model as the active node of the process, and the hydraulic model is sequentially called and executed in a business process mode, thereby completing the dynamic allocation of input data and the dynamic scheduling of the model nodes, realizing the dynamic flexible configuration of the model process, greatly reducing the working complexity of the modification of the model software process and realizing the reuse of the model system.

Description

Hydrological model service system based on process engine
Technical Field
The invention relates to the technical field of water conservancy data models, in particular to a hydrological model service system based on a process engine.
Background
The problem that the water conservancy data model is too high in coupling degree with an actual application scene and cannot be efficiently reused is serious. The problems that input and output data and related parameters of various water conservancy mathematical models are incompatible and the interaction of the models cannot be standardized and automated are serious. In the case of using the same type of water conservancy mathematical model to build a plurality of water conservancy business processing software for a plurality of drainage basins, software codes are required to be modified according to the traditional method, and the corresponding model is replaced and the integral input and output interfaces of the model are required to be modified. If the replacement model content involves the process execution logic, the software system needs to be fundamentally rewritten, which is almost equivalent to re-developing the model software system.
Therefore, a hydrological model service system based on a process engine is needed to solve the problem that models cannot be mutually called and flexibly organized.
Disclosure of Invention
Aiming at the problems in the related art, the invention provides a hydrological model service system based on a process engine, so as to overcome the technical problems in the prior related art.
The technical scheme of the invention is realized as follows:
a process engine based hydrological model service system, comprising:
the system comprises a resource management module, a process configuration module, a model process engine module and a model resource library, wherein the resource management module is used for managing the resource of the system;
the resource management module is used for registering and managing the acquired resources on the system, wherein the resources comprise model node resources, input adapter resources, output adapter resources and data acquisition service resources;
the flow configuration module is used for realizing the configuration of the model operation flow and configuring various issued resources into corresponding model flows;
the model process engine module is used for acquiring a defined operation process configuration model, activating model nodes and determining a service module of the model nodes;
and the model resource library is used for providing data support for the model and storing the process data of the operation model process.
Further, the system comprises a data interface for information transmission.
Furthermore, the data interface comprises a resource management interface, a process configuration interface, a sub-process calling interface, an input interface, a model calculation interface and an output interface.
Further, the model resource library comprises model resources and adapters for matching with the model resources.
Further, the adapter includes an input adapter and an output adapter.
Further, the model resource library comprises data layer resources and model data resources.
Further, the data layer resources include process library resources and model library resources.
Further, the model data resources include application database resources.
The invention has the beneficial effects that:
the hydrological model service system based on the process engine realizes the overall scheduling and flexible configuration of each professional business model by constructing the model system for processing specific business, and defines corresponding adapters on the data structures, so that different models can transmit data by using specific interfaces, the model process engine supports a hydrological model as an active node of a process, and the dynamic allocation of input data and the dynamic scheduling of model nodes are completed by sequentially calling and executing in a business process mode, thereby realizing the dynamic flexible configuration of the model process, greatly reducing the work complexity of model software process modification and realizing the reuse of the model system.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic block diagram of a flow engine based hydrological model service system according to an embodiment of the present invention;
fig. 2 is a schematic view of a scenario application of a flow engine-based hydrological model service system according to an embodiment of the present invention.
In the figure:
1. a resource management module; 2. a flow configuration module; 3. a model process engine module; 4. a model repository.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.
According to the embodiment of the invention, a hydrological model service system based on a process engine is provided.
As shown in fig. 1-2, a flow engine-based hydrological model service system according to an embodiment of the present invention includes:
the system comprises a resource management module 1, a process configuration module 2, a model process engine module 3 and a model resource library 4, wherein the resource management module is used for managing the resource of the model process engine module;
the resource management module 1 is configured to register and manage the acquired resources on a system, where the resource management module includes model node resources, input adapter resources, output adapter resources, and data acquisition service resources;
the process configuration module 2 is used for implementing model operation process configuration and configuring various issued resources into corresponding model processes;
the model process engine module 3 is used for acquiring a defined operation process configuration model, activating model nodes and determining a service module of the model nodes;
and the model resource library 4 is used for providing data support for the model and storing the process data of the operation model.
The system further comprises a data interface for information transmission.
The data interface comprises a resource management interface, a process configuration interface, a sub-process calling interface, an input interface, a model calculation interface and an output interface.
Wherein the model resource library 4 comprises model resources and adapters for matching with the model resources.
Wherein the adapter comprises an input adapter and an output adapter.
Wherein, the model resource library 4 comprises data layer resources and model data resources.
The data layer resources comprise process library resources and model library resources.
Wherein the model data resources include application database resources.
By means of the technical scheme, the model system for processing specific services is constructed and realizes the overall scheduling and flexible configuration of each professional service model, corresponding adapters are defined on the data structures, so that different models can transmit data by using specific interfaces, a model process engine is realized to support a hydraulic model as an active node of a process, the model process engine is sequentially called and executed in a service process mode, the dynamic allocation of input data and the dynamic scheduling of model nodes are completed, the dynamic flexible configuration of the model process is realized, the work complexity of model software process modification is greatly reduced, and the multiplexing of the model system is realized.
In addition, specifically, a microservice RESTful architecture style building system can be adopted, all modules including a process engine and a model node are registered in the system in a microservice form, and a service name of the system is defined by using a URI (Uniform resource identifier), so that all resources can share a uniform interface, and active nodes of the model can be distributed and deployed on different servers, thereby meeting the requirements of flexible extension and deployment of the system.
The RESTful is a design style and development mode of a network application program, and can be defined by an XML format or a JSON format based on HTTP. RESTful is suitable for the scene of a service enabling interface, the function of calling the mobile network resources by a third party OTT is realized, and the action type is to add, change and delete the called resources.
For the model process engine module 3, the model process engine sequentially activates the model nodes according to the model combination mode (model process) defined by the user, and completes the process operation to obtain the final result. The module organizes input data required by the model according to a predefined format, writes the input data into an input interface service of a model node, and activates the model to run; after the model node finishes running, judging the running state of the node, and suspending or continuing to run the subsequent flow; calling a corresponding service module when the model node runs abnormally or a user needs to perform interactive operation; and recording and storing flow process data, storing an operation result, calling a corresponding service module if necessary, and displaying the operation result of the model when the model operates and after the operation is finished.
In addition, when a model node registers on an engine, the model node must declare all the input interface adapter resources that the model needs to use. When the model node runs, the engine checks the state of each input interface in sequence, if the input interface of the model node cannot be realized, the node is hung up, and the engine schedules other model nodes to run. After the model nodes are completely operated, the calculation results need to be output. When a model node registers on an engine, output interfaces which can be provided by the model also need to be declared. After the model nodes are operated, the engine releases the resources to the system and sends the corresponding interactive interface to the user according to the output mode defined by the process.
In addition, for the resource management module 1 and the process configuration module 2, the process resource manager is responsible for registering and managing the model nodes, the input adapters, the output adapters and other resources on the system. The operation flow of the model is the key for realizing the application software system, and the flow configuration tool provides a convenient, quick and flexible model operation flow configuration method for a user. And designing and compiling a WEB-based flow configuration module by utilizing a third-party component, so as to configure various released resources into corresponding model flows.
In summary, with the above technical solution of the present invention, the following effects can be achieved:
1. the invention is based on the water conservancy model input/output adapter, and better solves the problem that input/output data and related parameters of various water conservancy mathematical models are incompatible; the input and the output of each module in the model software are classified, so that the problem that the interaction of the models cannot be standardized and automated is solved, a plurality of water conservancy models can call and transmit data mutually, and a complete logic chain is formed.
2. The design realizes a model process engine, completes the dynamic allocation of input data and the dynamic scheduling of model nodes, realizes the dynamic flexible configuration of the model process, greatly reduces the work complexity of the modification of the model software process and realizes the multiplexing of the model software.
3. Aiming at the application scene of model system software, a 'sub-process' application is designed, the user interaction, the business application and the bottom layer of the water conservancy model are separated, and a more friendly, more close to the use habit of the user and more targeted operation mode is provided.
4. Various components such as a model input adapter, an output adapter, a data acquisition service, a model node and the like are issued in a resource mode, and all resources in the system can access each other. The model component defined by the external system can also be directly brought into the process engine for management after the corresponding input/output adapter and the calling interface are realized. The expandability and the compatibility of the system are improved to a great extent.
5. The design realizes WEB-based flow configuration and flow real-time operation functions, the difficulty of model software implementation is reduced to a great extent, the current situation that the abstract and the professional logic of a mathematical model are difficult to understand and adjust is changed, and a user or a developer can quickly and visually check the operation condition of the model flow.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (8)

1. A hydrological model service system based on a process engine is characterized by comprising:
the system comprises a resource management module (1), a process configuration module (2), a model process engine module (3) and a model resource library (4), wherein the resource management module is used for managing the resource of the model process engine module;
the resource management module (1) is used for registering and managing the acquired resources on a system, wherein the resource management module comprises model node resources, input adapter resources, output adapter resources and data acquisition service resources;
the flow configuration module (2) is used for realizing the configuration of the model operation flow and configuring various issued resources into corresponding model flows;
the model process engine module (3) is used for acquiring a defined operation process configuration model, activating model nodes and determining a service module of the model nodes;
and the model resource library (4) is used for providing data support for the model and storing the process data of the operation model process.
2. The process engine-based hydrological model service system of claim 1, further comprising a data interface for information transfer.
3. The process engine-based hydrological model service system according to claim 2, wherein the data interface comprises a resource management interface, a process configuration interface, a sub-process calling interface, an input interface, a model computation interface and an output interface.
4. The process engine-based hydrological model service system according to claim 1, wherein the model resource repository (4) comprises model resources and adapters for matching with the model resources.
5. The process engine-based hydrological model service system of claim 4, wherein the adapters comprise an input adapter and an output adapter.
6. A process engine based hydrological model service system according to claim 5, wherein the model resource repository (4) comprises data layer resources and model data resources.
7. The process engine-based hydrological model service system of claim 6, wherein the data layer resources comprise process library resources and model library resources.
8. The process engine-based hydrological model service system of claim 6, wherein the model data resources comprise application database resources.
CN202010774465.8A 2020-08-04 2020-08-04 Hydrological model service system based on process engine Pending CN111897799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010774465.8A CN111897799A (en) 2020-08-04 2020-08-04 Hydrological model service system based on process engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010774465.8A CN111897799A (en) 2020-08-04 2020-08-04 Hydrological model service system based on process engine

Publications (1)

Publication Number Publication Date
CN111897799A true CN111897799A (en) 2020-11-06

Family

ID=73246919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010774465.8A Pending CN111897799A (en) 2020-08-04 2020-08-04 Hydrological model service system based on process engine

Country Status (1)

Country Link
CN (1) CN111897799A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112950348A (en) * 2021-02-05 2021-06-11 中国建设银行股份有限公司 Flexible model assembling method and system based on main engine and sub engine
CN113656520A (en) * 2021-08-10 2021-11-16 广州市规划和自然资源自动化中心(广州市基础地理信息中心) Spatial analysis method, spatial analysis device, computer equipment and storage medium
CN115203887A (en) * 2022-05-26 2022-10-18 中色蓝图科技股份有限公司 Resource environment bearing capacity temporal model based on service flow engine

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101246421A (en) * 2008-02-22 2008-08-20 山东中创软件工程股份有限公司 Universal frame work based on workflow engine
CN101588388A (en) * 2009-05-26 2009-11-25 中国科学院软件研究所 A kind of based on distributed adaptive service collaboration method and system thereof
CN105046408A (en) * 2015-06-25 2015-11-11 国网山东省电力公司 Configurable workflow realization method and system
CN110286892A (en) * 2019-06-26 2019-09-27 成都九洲电子信息系统股份有限公司 A kind of quick exploitation automotive engine system based on business Process Design
CN110989983A (en) * 2019-11-28 2020-04-10 深圳航天智慧城市系统技术研究院有限公司 Zero-coding application software rapid construction system
CN111027921A (en) * 2019-11-19 2020-04-17 山东中创软件商用中间件股份有限公司 Business processing method and device, electronic equipment and storage medium
CN111160703A (en) * 2019-11-29 2020-05-15 华能澜沧江水电股份有限公司 Workflow engine device based on RESTful framework

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101246421A (en) * 2008-02-22 2008-08-20 山东中创软件工程股份有限公司 Universal frame work based on workflow engine
CN101588388A (en) * 2009-05-26 2009-11-25 中国科学院软件研究所 A kind of based on distributed adaptive service collaboration method and system thereof
CN105046408A (en) * 2015-06-25 2015-11-11 国网山东省电力公司 Configurable workflow realization method and system
CN110286892A (en) * 2019-06-26 2019-09-27 成都九洲电子信息系统股份有限公司 A kind of quick exploitation automotive engine system based on business Process Design
CN111027921A (en) * 2019-11-19 2020-04-17 山东中创软件商用中间件股份有限公司 Business processing method and device, electronic equipment and storage medium
CN110989983A (en) * 2019-11-28 2020-04-10 深圳航天智慧城市系统技术研究院有限公司 Zero-coding application software rapid construction system
CN111160703A (en) * 2019-11-29 2020-05-15 华能澜沧江水电股份有限公司 Workflow engine device based on RESTful framework

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112950348A (en) * 2021-02-05 2021-06-11 中国建设银行股份有限公司 Flexible model assembling method and system based on main engine and sub engine
CN112950348B (en) * 2021-02-05 2023-02-28 中国建设银行股份有限公司 Flexible model assembling method and system based on main engine and sub engine
CN113656520A (en) * 2021-08-10 2021-11-16 广州市规划和自然资源自动化中心(广州市基础地理信息中心) Spatial analysis method, spatial analysis device, computer equipment and storage medium
CN115203887A (en) * 2022-05-26 2022-10-18 中色蓝图科技股份有限公司 Resource environment bearing capacity temporal model based on service flow engine

Similar Documents

Publication Publication Date Title
CN111897799A (en) Hydrological model service system based on process engine
Sibertin-Blanc Cooperative nets
Petriu et al. From UML descriptions of high-level software architectures to LQN performance models
CN113268319A (en) Business process customization and distributed process scheduling method based on micro-service architecture
KR100880536B1 (en) Open framework system for heterogeneous computing and service integration
CN112948110B (en) Topology and arrangement system and method of cloud application, storage medium and electronic equipment
CN113067900B (en) Intelligent contract deployment method and device
CN108229779B (en) Production line-oriented intelligent dynamic service combination method and system
CN111208992A (en) System scheduling workflow generation method and system
CN105338045A (en) Cloud computing resource processing device, method and cloud computing system
CN116643854A (en) Service arrangement method and device, flow controller and task processor
Zúñiga-Prieto et al. Incremental integration of microservices in cloud applications
CN111142882A (en) Service additional dependency management method for large-scale micro-service deployment
CN115951970A (en) Heterogeneous multi-simulation software integrated development environment
CN110298630A (en) A kind of workflow engine
CN112631696B (en) Service arranging method, arranging device, processor and service arranging system
CN109189382B (en) Business Process System
CN112418796B (en) Sub-process task node activation method and device, electronic equipment and storage medium
CN112448833B (en) Multi-management-domain communication method and device
Fleischmann et al. Coherent task modeling and execution based on subject-oriented representations
Hentrich et al. A pattern language for process execution and integration design in service-oriented architectures
López Campos et al. Interchangeable scheduling policies in real-time middleware for distribution
Mihai A Systematic Evaluation of Microservice Architectures Resulting from Domain-Driven and Dataflow-Driven Decomposition
WO2023119092A1 (en) Digraphs to model personalized customer engagement on channels
KR101061326B1 (en) Application Server Development System

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201106