Basin information model construction method and device based on preset modeling language and medium
By constructing a multi-level basin information model based on preset modeling language, the problem that conventional hydrological analysis cannot meet personalized needs is solved, and a comprehensive description of basin information and the clarification of complex relationships is achieved.
Patent Information
- Application Number
- CN202510091441.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-02-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, conventional hydrological analysis cannot meet the personalized needs of users, especially in terms of the functions of the basin information model.
Using a method based on a preset modeling language, by obtaining strategic goal information, business information, application function information, etc., a matching target initial model is extracted, thereby generating a multi-level basin information model, including the strategic layer, business layer, application layer, data layer, technology layer, physical layer, and implementation and migration layer, and determining the correlation information between each level.
It realizes a comprehensive and systematic description of basin information, ensures a clear understanding of the entire basin management system, clarifies the complex relationship between different elements, and meets the company's personalized business needs.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, and in particular to a method, device and medium for constructing a watershed information model based on a preset modeling language. Background Art
[0002] The watershed information model is a simplified representation of a real-world system, consisting of various parameters that define the characteristics of the model. The watershed information model can integrate multi-source data such as meteorology, hydrology, and topography to accurately simulate hydrological processes such as precipitation, runoff, and evaporation in the watershed. Through model analysis, the amount of water resources in different regions of the watershed and their temporal and spatial distribution characteristics can be accurately evaluated. For example, it can determine which areas have relatively abundant water resources and which areas are relatively scarce, providing a basic basis for the rational allocation of water resources. In terms of project planning, the watershed information model can simulate and evaluate different project plans. For example, for projects such as new reservoirs, water diversion projects, and sewage treatment facilities, the model can analyze their impact on the watershed hydrology, ecology, and socio-economy. By comparing the advantages and disadvantages of different plans, the optimal project planning plan can be selected to achieve efficient resource utilization and sustainable development.
[0003] In related technologies, the ArcHydro data model is generally used to describe watershed data, the characteristics of watershed data, and the relationship between different watershed data, so as to construct a watershed information model. However, the ArcHydro data model mainly focuses on the data processing of hydrological and geographic information, and cannot fully describe the superstructure such as watershed ecology and business system. It lacks descriptions of objects, operations, and the relationship between objects. The constructed watershed information model can only perform conventional hydrological process analysis. With the gradual development of watershed business of different enterprises, higher requirements have been placed on the functions of watershed information models. Conventional hydrological analysis cannot meet the needs of users. Therefore, it is urgent to propose a method for constructing a watershed information model that meets the personalized business needs of different enterprises. Summary of the invention
[0004] In view of this, the present invention provides a method, device and medium for constructing a watershed information model based on a preset modeling language to solve the problem that conventional hydrological analysis in related technologies cannot meet the personalized needs of users.
[0005] In a first aspect, the present invention provides a method for constructing a watershed information model based on a preset modeling language, the method comprising: obtaining strategic goal information, business information, application function information, watershed key information, technical support information, physical equipment information, and implementation and migration information; extracting a target initial model matching the strategic goal information from a pre-constructed watershed information model library based on the strategic goal information, the target initial model being constructed by a preset modeling language, and the watershed information model library comprising initial models corresponding to different strategic goals; generating corresponding layers based on the target initial model using the strategic goal information, business information, application function information, watershed key information, technical support information, physical equipment information, and implementation and migration information, the layer corresponding to the strategic goal information being the strategic layer, the layer corresponding to the business information being the business layer, the layer corresponding to the application function information being the application layer, the layer corresponding to the watershed key information being the data layer, the layer corresponding to the technical support information being the technical layer, the layer corresponding to the physical equipment information being the physical layer, and the layer corresponding to the implementation and migration information being the implementation and migration layer; determining association information between each layer and other layers; determining the watershed information model based on each layer and the association information between each layer and other layers.
[0006] The present invention provides a method for constructing a watershed information model based on a preset modeling language. The method extracts a target initial model that matches the strategic target information from a pre-constructed watershed information model library through strategic target information. The method generates corresponding layers based on the target initial model using the strategic target information, business information, application function information, watershed key information, technical support information, physical equipment information, and implementation and migration information. The layer corresponding to the strategic target information is the strategic layer, the layer corresponding to the business information is the business layer, the layer corresponding to the application function information is the application layer, the layer corresponding to the watershed key information is the data layer, the layer corresponding to the technical support information is the technical layer, the layer corresponding to the physical equipment information is the physical layer, and the layer corresponding to the implementation and migration information is the implementation and migration layer. The method determines the association information between each layer and other layers. The method determines the watershed information model based on the association information between each layer and between each layer and other layers. The method provided by the present invention extracts the target initial model matching the strategic target information from the pre-built basin information model library through the strategic target information, generates the corresponding level based on the target initial model by using the strategic target information, business information, application function information, basin key information, technical support information, physical equipment information and implementation and migration information, and determines the basin information model based on each level and the association information between each level and other levels, which can describe all aspects of basin information more comprehensively and systematically, and ensure a clear understanding of the entire basin management system. It helps to sort out the complex relationship between different elements, such as the relationship between business processes and information flow, application systems and technical support, so as to facilitate better coordination and integration, and the constructed basin information model can meet the personalized business needs of enterprises.
[0007] In an optional implementation, the method further includes: acquiring a target model; analyzing a gap value between the watershed information model and the target model using a preset gap analysis technique; and optimizing the watershed information model based on the gap value.
[0008] In an optional embodiment, the step of generating corresponding layers based on the target initial model using the strategic target information, business information, application function information, watershed key information, technical support information, and physical equipment information includes: constructing a strategic layer based on the target initial model based on the strategic target information to obtain a first intermediate model; extracting multiple first elements and the association relationship between different first elements from the business information, and constructing a business layer based on the first intermediate model using the association relationship between the multiple first elements and the different first elements to obtain a second intermediate model; extracting multiple second elements and the association relationship between different second elements from the application function information, and constructing an application layer based on the second intermediate model using the association relationship between the multiple second elements and the different second elements to obtain a third intermediate model; extracting multiple third elements and the association relationship between different third elements from the watershed key information Relationship, using the multiple third elements and the association relationships between different third elements to build a data layer on the basis of the third intermediate model, to obtain a fourth intermediate model; extracting multiple fourth elements and the association relationships between different fourth elements from the technical support information, using the multiple fourth elements and the association relationships between different fourth elements to build a technical layer on the basis of the fourth intermediate model, to obtain a fifth intermediate model; extracting multiple fifth elements and the association relationships between different fifth elements from the physical device information, using the multiple fifth elements and the association relationships between different fifth elements to build a device layer on the basis of the fifth intermediate model, to obtain a sixth intermediate model; extracting multiple sixth elements and the association relationships between different sixth elements based on the implementation and migration information, using the multiple sixth elements and the association relationships between different sixth elements to build an implementation and migration layer on the basis of the sixth intermediate model, to obtain a seventh intermediate model.
[0009] In an optional embodiment, any initial model in the watershed information model library is constructed by the following steps: obtaining multiple basic elements at different levels corresponding to preset strategic goals, attribute information of each basic element, the relationship between different basic elements, and the data interface corresponding to each element; using a preset modeling language to construct a first relationship model between different basic elements at each level and a second relationship model between each basic element, attribute information, and data interface; identifying the relationship between basic elements at each level and basic elements at other levels; constructing the initial model based on the relationship between basic elements at each level and basic elements at other levels, the first relationship model between different basic elements at each level, and the second relationship model between each basic element, attribute information, and data interface.
[0010] In an optional implementation, the preset modeling language is an enterprise architecture modeling language.
[0011] In the second aspect, the present invention provides a device for constructing a watershed information model based on a preset modeling language, the device comprising: an acquisition module for acquiring strategic goal information, business information, application function information, watershed key information, technical support information, physical equipment information, and implementation and migration information; an extraction module for extracting a target initial model matching the strategic goal information from a pre-constructed watershed information model library based on the strategic goal information, the target initial model being constructed by using a preset modeling language, and the watershed information model library comprising initial models corresponding to different strategic goals; a first determination module for using the strategic goal information, business information, application function information, watershed key information The information, technical support information, physical equipment information and implementation and migration information generate corresponding levels on the basis of the target initial model, the level corresponding to the strategic target information is the strategic layer, the level corresponding to the business information is the business layer, the level corresponding to the application function information is the application layer, the level corresponding to the watershed key information is the data layer, the level corresponding to the technical support information is the technical layer, the level corresponding to the physical equipment information is the physical layer, and the level corresponding to the implementation and migration information is the implementation and migration layer; the second determination module is used to determine the association information between each level and other levels; the third determination module is used to determine the watershed information model based on each level and the association information between each level and other levels.
[0012] In an optional embodiment, the device also includes: a second acquisition module for acquiring a target model; an analysis module for analyzing a gap value between the watershed information model and the target model using a preset gap analysis technique; and an optimization module for optimizing the watershed information model based on the gap value.
[0013] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to execute the method for constructing a watershed information model based on a preset modeling language of the above-mentioned first aspect or any corresponding embodiment thereof.
[0014] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for constructing a watershed information model based on a preset modeling language according to the first aspect or any corresponding embodiment thereof.
[0015] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the method for constructing a watershed information model based on a preset modeling language according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 is a flow chart of a method for constructing a watershed information model based on a preset modeling language according to an embodiment of the present invention; Figure 2 is a flow chart of another method for constructing a watershed information model based on a preset modeling language according to an embodiment of the present invention; Figure 3 is a flow chart of a model optimization process according to an embodiment of the present invention; Figure 4 is a structural block diagram of a watershed information model building device based on a preset modeling language according to an embodiment of the present invention; Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0019] In related technologies, the ArcHydro data model is generally used to describe watershed data, the characteristics of watershed data, and the relationship between different watershed data, so as to construct a watershed information model. However, the ArcHydro data model mainly focuses on the data processing of hydrological and geographic information, and cannot fully describe the superstructure such as watershed ecology and business system. It lacks descriptions of objects, operations, and the relationship between objects. The constructed watershed information model can only perform conventional hydrological process analysis. With the gradual development of watershed business of different enterprises, higher requirements have been placed on the functions of watershed information models, and conventional hydrological analysis cannot meet user needs.
[0020] In view of this, a method for constructing a watershed information model based on a preset modeling language provided in an embodiment of the present application can be applied to a server to realize the construction of a watershed information model. The method provided in an embodiment of the present application extracts a target initial model that matches the strategic target information in a pre-constructed watershed information model library through strategic target information, and generates corresponding levels based on the target initial model using the strategic target information, business information, application function information, watershed key information, technical support information, physical equipment information, and implementation and migration information. The watershed information model is determined based on each level and the association information between each level and other levels, which can describe various aspects of the watershed information more comprehensively and systematically, ensuring a clear understanding of the entire watershed management system. It helps to clarify the complex relationships between different elements, such as the relationship between business processes and information flows, and between application systems and technical support, so as to facilitate better coordination and integration. The constructed watershed information model can meet the personalized business needs of enterprises.
[0021] According to an embodiment of the present invention, an embodiment of a method for constructing a watershed information model based on a preset modeling language is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown here.
[0022] In this embodiment, a method for constructing a watershed information model based on a preset modeling language is provided, which can be used in the above-mentioned server. Figure 1 is a flow chart of a method for constructing a watershed information model based on a preset modeling language according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps: Step S101, obtaining strategic goal information, business information, application function information, watershed key information, technical support information, physical equipment information, and implementation and migration information.
[0023] Exemplarily, strategic goal information includes information on the overall goal and direction of the enterprise's construction of watershed information modeling. Business information mainly includes business process information corresponding to the enterprise's watershed business. Application function information may include but is not limited to specific application functions to be implemented by the watershed information model. Application is the specific implementation carrier of motivation, and application is built to meet specific needs. Basin key information may include but is not limited to real-time data of hydrological monitoring stations, Geographic Information System (GIS) data, meteorological data, remote sensing data, etc. In the embodiment of the present application, basin key information also includes business processes, application functions, and data objects such as rivers, lakes, and rainfall involved in technical support. Technical support information is information about the technical infrastructure that supports the operation of the entire watershed information model, which may include but is not limited to technical component information involved in supporting the watershed information model, such as technical platforms and frameworks, concept building technologies and components, etc. In the embodiment of the present application, the technical infrastructure that supports the operation of the entire watershed information model may include but is not limited to servers, storage, networks, etc. Physical device information may include but is not limited to information about physical devices such as servers, displays, cameras, sensors, etc. that support the operation of the watershed information model. Implementation and migration information involves specific operational behavior information during implementation and migration.
[0024] Step S102, based on the strategic target information, extracting a target initial model matching the strategic target information from a pre-constructed watershed information model library, wherein the target initial model is constructed by a preset modeling language, and the watershed information model library includes initial models corresponding to different strategic targets.
[0025] Exemplarily, the watershed information model library includes different pre-built initial models, and the initial model can be a general model corresponding to a strategic goal. Through the strategic goal information, the target initial model matching the strategic goal information is extracted from the pre-built watershed information model library for the subsequent construction of the watershed information model, which effectively improves the efficiency of model construction. In the embodiment of the present application, the preset modeling language may include but is not limited to the enterprise architecture modeling language (Archimate).
[0026] Step S103, using the strategic goal information, business information, application function information, watershed key information, technical support information, physical equipment information, and implementation and migration information to generate corresponding layers based on the target initial model, the layer corresponding to the strategic goal information is the strategic layer, the layer corresponding to the business information is the business layer, the layer corresponding to the application function information is the application layer, the layer corresponding to the watershed key information is the data layer, the layer corresponding to the technical support information is the technical layer, the layer corresponding to the physical equipment information is the physical layer, and the layer corresponding to the implementation and migration information is the implementation and migration layer.
[0027] For example, in the embodiment of the present application, ArchiMate implements watershed information modeling in four aspects: (1) motivation: the reason for establishing or modifying the model; (2) active structure: the subject that initiates various behaviors; (3) behavior: the activities that provide various capabilities, the processes that constitute them, and the services that are implemented; (4) passive structure: the various objects that are processed. The corresponding elements are extracted from strategic goal information, business information, application function information, watershed key information, application function information, technical support information, physical equipment information, and implementation and migration information in turn, and different levels are constructed based on the extracted elements on the basis of the target initial model. Specifically, the strategic layer is constructed based on the elements extracted from the strategic goal information and the association between different elements, the business layer is constructed based on the elements extracted from the business information and the association between different elements, the application layer is constructed based on the elements extracted from the application function information and the association between different elements, the technical layer is constructed based on the elements extracted from the technical support information and the association between different elements, the physical layer is constructed based on the elements extracted from the physical device information and the association between different elements, and the implementation and migration layer is constructed based on the elements extracted from the implementation and migration information and the association between different elements. In the embodiment of the present application, the construction of each level is realized by the enterprise architecture modeling language (Archimate). From the strategic level, the overall goal and direction of basin information modeling constitute the core motivation for promoting modeling. At the same time, the goal and direction are also formulated and initiated by the corresponding active structure (activity subject, organization). From the business level, it is necessary to determine the focus and goals of modeling based on the specific business needs of the basin involved, which is directly linked to the motivation. The active structure is reflected in the business layer as a specific business process and model design, and the business layer standardizes the behavior of business operations and interactions. From the application layer, the application is the specific implementation carrier of motivation, and the application is built to meet specific needs. At this level, the active structure is manifested in the design, organization and construction of various application functions. The application layer also guides the behavior and determines the specific way in which users interact with the application system. From the technical layer, technology provides support for the implementation of each level and is closely linked to the passive structure, including what technical architecture and tools are used. At the same time, the technical layer determines the technical behavior such as system operation and data processing. The physical layer is an important part of the passive structure, mainly covering the physical foundation such as hardware facilities, providing the actual physical environment guarantee for the operation of the upper layer. Implementation and migration are closely related to behavior, involving the specific implementation and operation behavior during the migration process, and also affecting the passive structure, including the adjustment of physical and logical resources involved in the implementation and migration process, to ensure that the model can be effectively transformed from design to actual application and smoothly migrated in different environments.
[0028] Step S104, determining the association information between each level and other levels.
[0029] Exemplarily, in an embodiment of the present application, the association relationship between a corresponding level and other levels can be determined by the association relationship between corresponding elements of each level and corresponding elements of other levels. In an embodiment of the present application, there is no limitation on the method for determining the association information between each level and other levels, and technical personnel in this field can determine it according to needs.
[0030] Step S105, determining a watershed information model based on each level and the association information between each level and other levels.
[0031] Exemplarily, in the embodiment of the present application, a watershed information model is obtained through the relationship between each level and each level and other levels, and the obtained watershed information model can describe various aspects of the watershed information more comprehensively and systematically.
[0032] The method for constructing a watershed information model based on a preset modeling language provided in this embodiment extracts a target initial model that matches the strategic target information from a pre-constructed watershed information model library through strategic target information, generates corresponding levels based on the target initial model using the strategic target information, business information, application function information, watershed key information, technical support information, physical equipment information, and implementation and migration information, and determines the watershed information model based on each level and the association information between each level and other levels, which can describe various aspects of watershed information more comprehensively and systematically, ensuring a clear understanding of the entire watershed management system. It helps to clarify the complex relationships between different elements, such as the relationship between business processes and information flows, and between application systems and technical support, so as to facilitate better coordination and integration, and the constructed watershed information model can meet the personalized business needs of enterprises.
[0033] In this embodiment, a method for constructing a watershed information model based on a preset modeling language is provided, which can be used in the above-mentioned server. Figure 2 is a flow chart of a method for constructing a watershed information model based on a preset modeling language according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps: Step S201, obtain strategic goal information, business information, application function information, key watershed information, technical support information, physical equipment information, and implementation and migration information. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.
[0034] Step S202: based on the strategic target information, extract the target initial model that matches the strategic target information from the pre-built watershed information model library. The target initial model is constructed by a preset modeling language. The watershed information model library includes initial models corresponding to different strategic targets. Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.
[0035] Step S203, using the strategic goal information, business information, application function information, watershed key information, technical support information, physical equipment information, and implementation and migration information to generate corresponding layers based on the target initial model, the layer corresponding to the strategic goal information is the strategic layer, the layer corresponding to the business information is the business layer, the layer corresponding to the application function information is the application layer, the layer corresponding to the watershed key information is the data layer, the layer corresponding to the technical support information is the technical layer, the layer corresponding to the physical equipment information is the physical layer, and the layer corresponding to the implementation and migration information is the implementation and migration layer.
[0036] In some optional implementations, the above step S203 further includes: Step a1, based on the strategic target information, a strategic layer is constructed on the basis of the target initial model to obtain a first intermediate model. Exemplarily, the elements of motivation, active structure, behavior, and passive structure in the strategic target information are extracted, and the strategic layer is constructed on the basis of the target initial model based on the extracted elements and the relationship between the elements to obtain the first intermediate model. From the strategic level, the overall goal and direction of watershed information modeling constitute the core motivation for promoting modeling. At the same time, the goal and direction are also formulated and initiated by the corresponding active structure (activity subject, organization).
[0037] Step a2, extracting multiple first elements and the association relationships between different first elements from the business information, and constructing a business layer based on the first intermediate model using the multiple first elements and the association relationships between different first elements to obtain a second intermediate model.
[0038] Exemplarily, the multiple first elements are elements of motivation, active structure, behavior, and passive structure extracted from business information. From the business layer, it is necessary to determine the focus and goals of modeling based on the specific business needs of the basin involved, which is directly linked to the motivation. The active structure is reflected in the business layer as a specific business process and pattern design, and the business layer standardizes the behavior of business operations and interactions. In the embodiment of the present application, identifying the basin business process is like the demand analysis and outline design in software development. First, the various main bodies in the basin management (active structure) are identified, such as water conservancy departments, environmental protection departments, hydropower production units, scientific research institutions, etc., to understand their main work and mutual cooperation processes in basin management. At the same time, analyze the existing management documents and specifications, carefully study the policies, regulations, technical standards, etc. of basin management, and sort out typical business process clues (passive structure). On-site inspection of the basin site, observe the actual basin conditions, monitoring sites, water conservancy facilities, etc., and perceive the actual operation of the business process in combination with the operations of the staff (passive structure). Identify the elements in the business process, mainly by identifying the subjects (active structure), tasks and activities (behaviors) related to the basin, covering water conservancy projects, monitoring equipment (passive structure), human resources (passive structure), etc. in the basin. For example, specific tasks and activities (behaviors) such as monitoring data collection, data analysis, decision-making, and project implementation, find out the various types of monitoring data, reports, instructions, etc. (passive structure) flowing in the business process. In addition, certain events and trigger conditions, including natural events such as rainstorms and floods, and policy changes that trigger the start or adjustment of business processes (behaviors); time nodes and deadlines, such as monitoring cycles, decision-making time limits, etc.; rules and standards, such as water quality standards, water allocation rules, etc. that affect business processes, are also various elements that may have an impact (passive structure).
[0039] Step a3, extracting multiple second elements and the association relationships between different second elements from the application function information, and constructing an application layer based on the second intermediate model using the multiple second elements and the association relationships between different second elements to obtain a third intermediate model.
[0040] Exemplarily, the multiple second elements may be elements of motivation, active structure, behavior, and passive structure extracted from the application function information. The application layer is constructed on the basis of the second intermediate model using the multiple second elements and the association relationship between different second elements to obtain the third intermediate model. From the application layer, the application is the specific implementation carrier of motivation, and the application is built to meet specific needs. At this level, the active structure is manifested in the design, organization, and construction of various application functions. The application layer also guides the behavior and determines the specific way in which users interact with the application system. The application layer determines the application systems or software tools used to support watershed management, such as watershed monitoring systems, data analysis platforms, etc., and depicts the interaction and integration relationship between application systems.
[0041] Step a4, extracting multiple third elements and the correlation between different third elements from the watershed key information, and using the multiple third elements and the correlation between different third elements to construct a data layer based on the third intermediate model to obtain a fourth intermediate model.
[0042] Exemplarily, in an embodiment of the present application, multiple third elements may be elements of motivation, active structure, behavior, and passive structure extracted from key information of the watershed. The data layer is constructed on the basis of the third intermediate model using the multiple third elements and the association relationship between different third elements to obtain a fourth intermediate model. The data layer defines key information entities related to the watershed, such as data objects such as rivers, lakes, and rainfall, which are represented by data elements. Relationships between information entities are established, such as upstream and downstream relationships, association relationships, etc.
[0043] Step a5, extract multiple fourth elements and the associations between different fourth elements from the technical support information, and use the multiple fourth elements and the associations between different fourth elements to build a technical layer on the basis of the fourth intermediate model to obtain the fifth intermediate model. Exemplarily, the multiple fourth elements can be elements of motivation, active structure, behavior, and passive structure extracted from the key information of the watershed. From the technical layer, technology provides support for the implementation of each level and is closely linked to the passive structure, including what technical architecture and tools are used as technical components. At the same time, the technical layer determines technical behaviors such as system operation and data processing. The technical layer clearly defines the technical infrastructure that supports the operation of the entire watershed information model, including servers, storage, networks, etc., and displays the connections and dependencies between technical components.
[0044] Step a6, extract multiple fifth elements and the association relationship between different fifth elements from the physical device information, and use the multiple fifth elements and the association relationship between different fifth elements to build a device layer on the basis of the fifth intermediate model to obtain a sixth intermediate model. Exemplarily, the multiple fifth elements can be elements of motivation, active structure, behavior, and passive structure extracted from the physical device information. Use the multiple fifth elements and the association relationship between different fifth elements to build a device layer on the basis of the fifth intermediate model to obtain a sixth intermediate model. The physical layer is an important part of the passive structure, mainly covering physical foundations such as hardware facilities, and providing actual physical environment guarantees for the operation of the upper layer. The physical viewpoint of the physical layer creates elements and relationship diagrams of equipment (one or more physical machines, tools, or instruments) that can create, use, store, move, or convert materials. For example, it describes how equipment is connected through a power distribution network, and allows visualization of other active elements assigned to the equipment, and implementation and deployment viewpoint creation elements and relationship diagrams.
[0045] Step a7, extract multiple sixth elements and the associations between different sixth elements based on the implementation and migration information, and use the multiple sixth elements and the associations between different sixth elements to construct an implementation and migration layer on the basis of the sixth intermediate model to obtain the seventh intermediate model. Exemplarily, the multiple sixth elements can be elements of motivation, active structure, behavior, and passive structure extracted from the implementation and migration information. Use the multiple sixth elements and the associations between different sixth elements to construct an implementation and migration layer on the basis of the sixth intermediate model to obtain the seventh intermediate model. Implementation and migration are closely related to behavioral elements, involving operational behaviors in the specific implementation and migration process, and also affect the passive structure, including the adjustment of physical and logical resources involved in the implementation and migration process, to ensure that the model can be effectively transformed from design to actual application and smoothly migrated in different environments.
[0046] In the embodiment of the present application, the elements of the four aspects corresponding to different levels can be shown in Table 1 below.
[0047] Table 1
[0048] Step S204, determining the association information between each level and other levels.
[0049] Step S205, determining a watershed information model based on each level and the association information between each level and other levels.
[0050] In some optional embodiments, the method further comprises: Step S206, obtaining the target model.
[0051] Exemplarily, the target model is a watershed information model in an ideal state.
[0052] Step S207: Analyze the gap value between the watershed information model and the target model using a preset gap analysis technology.
[0053] For example, the preset gap analysis techniques may include, but are not limited to, target-current status comparison method, process analysis method, benchmark analysis method, and survey feedback method. The present application embodiment does not limit the specific content of the gap analysis technique, and those skilled in the art can determine it according to needs.
[0054] Step S208: Optimize the watershed information model based on the gap value.
[0055] For example, in the embodiment of the present application, the gap analysis technology is used to continuously verify the gap between the current model and the target model, and new software and hardware resources are continuously introduced into the current model, the software and hardware functional structure is adjusted, and obsolete resources are eliminated, so as to finally achieve the matching of model information and target model. The target model contains real-time information of the watershed business. Specifically, the optimization process of the watershed information model is implemented through the implementation and migration layer. The model optimization process can be as follows: Figure 3 shown.
[0056] In some optional implementations, any initial model in the watershed information model library is constructed by the following steps: Step b1, obtaining multiple basic elements at different levels corresponding to the preset strategic goals, attribute information of each basic element, the relationship between different basic elements and the data interface corresponding to each element.
[0057] Exemplarily, the basic element can be the most basic object in the watershed, and the attribute information of each basic element is used to characterize the properties and characteristics of the corresponding basic element. The association relationship between different basic elements includes direct relationship and indirect relationship, and the data interface corresponding to each element is the transmission path information of the data.
[0058] Step b2, using a preset modeling language to construct a first association relationship model between different basic elements in each layer and a second relationship model between each basic element, attribute information and data interface.
[0059] Exemplarily, in the embodiment of the present application, Archimate is used to describe the first association relationship model between different basic elements in each layer and the second relationship model between each basic element, attribute information and data interface. For example, the basic element-attribute model is used to describe the parameters or features of a specific object and support other model calls; the basic element-relationship model is used to describe the relationship between a specific object and other objects.
[0060] Step b3, identifying the association relationship between the basic elements at different levels and the basic elements at other levels.
[0061] Illustratively, in the embodiments of the present application, each element of the watershed information is considered from a system perspective, and the elements at each level and their interrelationships are studied in depth. The direct and indirect connections between the elements are carefully analyzed, such as the impact of precipitation on runoff, the impact of land use on water quality, etc., including the perspectives of disciplines, system engineering, and the development process of complex systems, and the watershed information elements are described from different perspectives.
[0062] Step b4, constructing the initial model based on the association relationship between basic elements at different levels and basic elements at other levels, the first association relationship model between different basic elements in each level, and the second relationship model between basic elements, attribute information and data interface.
[0063] In this embodiment, a watershed information model construction device based on a preset modeling language is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0064] This embodiment provides a watershed information model construction device based on a preset modeling language, such as Figure 4 As shown, including: The acquisition module 401 is used to acquire strategic target information, business information, application function information, key watershed information, technical support information, physical equipment information, and implementation and migration information; An extraction module 402 is used to extract a target initial model matching the strategic target information from a pre-built watershed information model library based on the strategic target information, wherein the target initial model is constructed by a preset modeling language, and the watershed information model library includes initial models corresponding to different strategic targets respectively; The first determination module 403 is used to generate corresponding layers based on the target initial model by using the strategic target information, business information, application function information, watershed key information, technical support information, physical equipment information and implementation and migration information, wherein the layer corresponding to the strategic target information is the strategic layer, the layer corresponding to the business information is the business layer, the layer corresponding to the application function information is the application layer, the layer corresponding to the watershed key information is the data layer, the layer corresponding to the technical support information is the technical layer, the layer corresponding to the physical equipment information is the physical layer, and the layer corresponding to the implementation and migration information is the implementation and migration layer; The second determination module 404 is used to determine the association information between each level and other levels; The third determination module 405 is used to determine the watershed information model based on each level and the association information between each level and other levels.
[0065] In some optional embodiments, the device further comprises: The second acquisition module is used to acquire the target model; An analysis module, used to analyze the gap value between the watershed information model and the target model using a preset gap analysis technology; An optimization module is used to optimize the watershed information model based on the gap value.
[0066] In some optional implementations, the first determining module includes: A first construction submodule is used to construct a strategic layer on the basis of the target initial model based on the strategic target information to obtain a first intermediate model; A second construction submodule is used to extract a plurality of first elements and association relationships between different first elements from the business information, and to construct a business layer based on the first intermediate model by using the plurality of first elements and association relationships between different first elements to obtain a second intermediate model; A third construction submodule is used to extract a plurality of second elements and association relationships between different second elements from the application function information, and construct an application layer based on the second intermediate model by using the plurality of second elements and association relationships between different second elements to obtain a third intermediate model; A fourth construction submodule extracts a plurality of third elements and correlations between different third elements from the watershed key information, and constructs a data layer based on the third intermediate model by using the plurality of third elements and correlations between different third elements to obtain a fourth intermediate model; a fifth construction submodule, extracting a plurality of fourth elements and associations between different fourth elements from the technical support information, and constructing a technical layer on the basis of the fourth intermediate model by using the plurality of fourth elements and associations between different fourth elements to obtain a fifth intermediate model; a sixth construction submodule, extracting a plurality of fifth elements and association relationships between different fifth elements from the physical device information, and constructing a device layer based on the fifth intermediate model by using the plurality of fifth elements and association relationships between different fifth elements to obtain a sixth intermediate model; The seventh construction submodule extracts multiple sixth elements and the association relationships between different sixth elements based on the implementation and migration information, and uses the multiple sixth elements and the association relationships between different sixth elements to construct an implementation and migration layer based on the sixth intermediate model to obtain the seventh intermediate model.
[0067] In some optional embodiments, any initial model in the watershed information model library is constructed by the following steps: obtaining multiple basic elements at different levels corresponding to preset strategic goals, attribute information of each basic element, the relationship between different basic elements, and the data interface corresponding to each element; using a preset modeling language to construct a first relationship model between different basic elements at each level and a second relationship model between each basic element, attribute information, and data interface; identifying the relationship between basic elements at each different level and basic elements at other levels; constructing the initial model based on the relationship between basic elements at each different level and basic elements at other levels, the first relationship model between different basic elements at each level, and the second relationship model between each basic element, attribute information, and data interface.
[0068] In some optional implementations, the preset modeling language is an enterprise architecture modeling language.
[0069] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0070] The watershed information model construction device based on the preset modeling language in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0071] The embodiment of the present invention also provides a computer device having the above Figure 4 The watershed information model building device shown is based on a preset modeling language.
[0072] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 5As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.
[0073] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0074] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0075] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0076] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0077] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0078] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0079] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0080] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for constructing a watershed information model based on a preset modeling language, characterized in that: The method comprises: Obtain strategic goal information, business information, application function information, basin key information, technical support information, physical equipment information, and implementation and migration information; Extracting a target initial model matching the strategic target information from a pre-built watershed information model library based on the strategic target information, wherein the target initial model is constructed by a preset modeling language, and the watershed information model library includes initial models corresponding to different strategic targets; Generate corresponding layers based on the target initial model using the strategic target information, business information, application function information, watershed key information, technical support information, physical equipment information, and implementation and migration information, wherein the layer corresponding to the strategic target information is the strategic layer, the layer corresponding to the business information is the business layer, the layer corresponding to the application function information is the application layer, the layer corresponding to the watershed key information is the data layer, the layer corresponding to the technical support information is the technical layer, the layer corresponding to the physical equipment information is the physical layer, and the layer corresponding to the implementation and migration information is the implementation and migration layer; Determine the relationship between each level and other levels; A watershed information model is determined based on each level and association information between each level and other levels.
2. The method according to claim 1, characterized in that The method further comprises: Get the target model; Analyzing the gap value between the watershed information model and the target model using a preset gap analysis technology; The watershed information model is optimized based on the gap value.
3. The method according to claim 1, characterized in that The steps of generating corresponding levels based on the target initial model by using the strategic target information, business information, application function information, watershed key information, technical support information, and physical equipment information include: Based on the strategic target information, a strategic layer is constructed on the basis of the target initial model to obtain a first intermediate model; Extracting a plurality of first elements and association relationships between different first elements from the business information, and constructing a business layer based on the first intermediate model by using the plurality of first elements and association relationships between different first elements to obtain a second intermediate model; Extracting a plurality of second elements and association relationships between different second elements from the application function information, and constructing an application layer based on the second intermediate model by using the plurality of second elements and association relationships between different second elements to obtain a third intermediate model; Extracting a plurality of third elements and correlations between different third elements from the watershed key information, and constructing a data layer based on the third intermediate model by using the plurality of third elements and correlations between different third elements, to obtain a fourth intermediate model; Extracting a plurality of fourth elements and associations between different fourth elements from the technical support information, and constructing a technical layer based on the fourth intermediate model by using the plurality of fourth elements and associations between different fourth elements to obtain a fifth intermediate model; Extracting a plurality of fifth elements and association relationships between different fifth elements from the physical device information, and constructing a device layer based on the fifth intermediate model by using the plurality of fifth elements and association relationships between different fifth elements to obtain a sixth intermediate model; Based on the implementation and migration information, multiple sixth elements and the association relationships between different sixth elements are extracted, and the implementation and migration layer is constructed on the basis of the sixth intermediate model using the multiple sixth elements and the association relationships between different sixth elements to obtain the seventh intermediate model.
4. The method according to claim 3, characterized in that Any initial model in the watershed information model library is constructed by the following steps: Obtain multiple basic elements at different levels corresponding to the preset strategic goals, attribute information of each basic element, the relationship between different basic elements, and the data interface corresponding to each element; Using a preset modeling language to construct a first association relationship model between different basic elements in each layer and a second relationship model between each basic element, attribute information and data interface; Identify the relationship between basic elements at different levels and basic elements at other levels; The initial model is constructed based on the association relationship between basic elements at different levels and basic elements at other levels, the first association relationship model between different basic elements in each level, and the second relationship model between basic elements, attribute information and data interface.
5. The method according to claim 3, characterized in that: The preset modeling language is an enterprise architecture modeling language.
6. A watershed information model construction device based on a preset modeling language, characterized in that: The device comprises: The acquisition module is used to obtain strategic target information, business information, application function information, basin key information, technical support information, physical equipment information, and implementation and migration information; An extraction module is used to extract a target initial model matching the strategic target information from a pre-built watershed information model library based on the strategic target information, wherein the target initial model is constructed by a preset modeling language, and the watershed information model library includes initial models corresponding to different strategic targets respectively; The first determination module is used to generate corresponding layers based on the target initial model by using the strategic target information, business information, application function information, watershed key information, technical support information, physical equipment information and implementation and migration information, wherein the layer corresponding to the strategic target information is the strategic layer, the layer corresponding to the business information is the business layer, the layer corresponding to the application function information is the application layer, the layer corresponding to the watershed key information is the data layer, the layer corresponding to the technical support information is the technical layer, the layer corresponding to the physical equipment information is the physical layer, and the layer corresponding to the implementation and migration information is the implementation and migration layer; The second determination module is used to determine the association information between each level and other levels; The third determination module is used to determine the watershed information model based on each level and the association information between each level and other levels.
7. The device according to claim 6, characterized in that The device also includes: The second acquisition module is used to acquire the target model; An analysis module, used to analyze the gap value between the watershed information model and the target model using a preset gap analysis technology; An optimization module is used to optimize the watershed information model based on the gap value.
8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for constructing a watershed information model based on a preset modeling language according to any one of claims 1 to 5 by executing the computer instructions.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the watershed information model construction method based on a preset modeling language according to any one of claims 1 to 5.
10. A computer program product, characterized in that It includes computer instructions, and the computer instructions are used to enable a computer to execute the watershed information model construction method based on a preset modeling language according to any one of claims 1 to 5.
Citation Information
Patent Citations
ArcGIS engine-based hydrological complex data type expansion method
CN102495859A
Top architecture design method of cascade reservoir dispatching system based on TOGAF
CN117634758A
System for diagnosing water quality and quantity in asmall watershed and method of the same
KR1020050082053A