CN115495069B - Model-driven coal industry software process implementation method, device and equipment - Google Patents
Model-driven coal industry software process implementation method, device and equipment Download PDFInfo
- Publication number
- CN115495069B CN115495069B CN202211172309.XA CN202211172309A CN115495069B CN 115495069 B CN115495069 B CN 115495069B CN 202211172309 A CN202211172309 A CN 202211172309A CN 115495069 B CN115495069 B CN 115495069B
- Authority
- CN
- China
- Prior art keywords
- model
- processing logic
- target
- configuration information
- node
- 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.)
- Active
Links
- 239000003245 coal Substances 0.000 title claims abstract description 108
- 238000000034 method Methods 0.000 title claims abstract description 84
- 230000008569 process Effects 0.000 title claims abstract description 62
- 238000012545 processing Methods 0.000 claims abstract description 145
- 230000000007 visual effect Effects 0.000 claims description 22
- 230000006870 function Effects 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 9
- 238000012544 monitoring process Methods 0.000 claims description 7
- 238000004422 calculation algorithm Methods 0.000 claims description 3
- 230000007246 mechanism Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 10
- 238000011161 development Methods 0.000 description 12
- 238000013461 design Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000010354 integration Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 239000012634 fragment Substances 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000003491 array Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000013499 data model Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000012858 packaging process Methods 0.000 description 1
- 238000012536 packaging technology Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 230000000452 restraining effect Effects 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The present disclosure provides a method, a device and equipment for implementing a coal industrial software process based on model driving, wherein the method comprises the steps of obtaining model configuration information of a service model to be configured, and a process template, wherein the model configuration information at least comprises: the method comprises the following steps of attribute names, types and attribute values, wherein a flow template comprises at least one processing logic node to be edited; configuring the service model to be configured according to the model configuration information to obtain a target service model; editing the processing logic node to be edited to obtain a target processing logic node; and generating a coal industry software flow according to the target business model and the target processing logic node. The method and the device can effectively improve the generation efficiency and effect of the coal industry software process.
Description
Technical Field
The disclosure relates to the technical field of coal industry, in particular to a method, a device and equipment for realizing a model-driven coal industry software process.
Background
The coal industry software process refers to a software business process suitable for the coal industry, the software business process can be used for realizing a software class application program of the coal industry, the coal industry software process can be specifically, for example, program code processing logic in the software class application program of the coal industry, the program code processing logic can perform a series of processing, packaging, analyzing, circulating, processing and the like on input data of the software class application program of the coal industry, and data information suitable for the business application of the coal industry is supported to be output.
In the related art, the implementation efficiency of the software process for the coal industry is low, and the effect is poor.
Disclosure of Invention
The present disclosure aims to solve, at least to some extent, one of the technical problems in the related art.
Therefore, the purpose of the present disclosure is to provide a method, a device, an electronic device, a storage medium and a computer program product for implementing a coal industrial software process based on model driving, which can effectively improve the generation efficiency and effect of the coal industrial software process.
In order to achieve the above objective, a method for implementing a model-driven coal industrial software process according to an embodiment of the first aspect of the present disclosure includes: obtaining model configuration information of a service model to be configured and a flow template, wherein the model configuration information at least comprises: the method comprises the steps of attribute names, types and attribute values, wherein the flow template comprises at least one processing logic node to be edited; configuring the service model to be configured according to the model configuration information to obtain a target service model; editing the processing logic node to be edited to obtain a target processing logic node; and generating a coal industry software flow according to the target business model and the target processing logic node.
According to the method for realizing the coal industry software flow based on the model driving provided by the embodiment of the first aspect of the disclosure, the model configuration information of the business model to be configured and the flow template are obtained, wherein the model configuration information at least comprises: the method comprises the steps that an attribute name, a type and an attribute value are obtained, a flow template comprises at least one processing logic node to be edited, a business model to be configured is configured according to model configuration information, a target business model is obtained, and the processing logic node to be edited is edited, so that the target processing logic node is obtained; and generating a coal industrial software process according to the target business model and the target processing logic node, so that the generation efficiency and effect of the coal industrial software process can be effectively improved.
In order to achieve the above object, a model-driven coal industry software process implementation device according to an embodiment of a second aspect of the present disclosure includes: the system comprises an acquisition module, a process template and a service model configuration module, wherein the acquisition module is used for acquiring model configuration information of a service model to be configured, and the process template, wherein the model configuration information at least comprises: the method comprises the steps of attribute names, types and attribute values, wherein the flow template comprises at least one processing logic node to be edited; the configuration module is used for configuring the service model to be configured according to the model configuration information to obtain a target service model; the editing module is used for editing the processing logic node to be edited to obtain a target processing logic node; and the generation module is used for generating a coal industry software flow according to the target business model and the target processing logic node.
According to the coal industry software flow implementation device based on model driving, which is provided by the embodiment of the second aspect of the disclosure, model configuration information of a business model to be configured and a flow template are obtained, wherein the model configuration information at least comprises: the method comprises the steps that an attribute name, a type and an attribute value are obtained, a flow template comprises at least one processing logic node to be edited, a business model to be configured is configured according to model configuration information, a target business model is obtained, and the processing logic node to be edited is edited, so that the target processing logic node is obtained; and generating a coal industrial software process according to the target business model and the target processing logic node, so that the generation efficiency and effect of the coal industrial software process can be effectively improved.
An electronic device according to an embodiment of a third aspect of the present disclosure includes: the system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the realization method of the coal industry software flow based on model driving as provided by the embodiment of the first aspect of the disclosure when the processor executes the program.
An embodiment of a fourth aspect of the present disclosure proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a model-driven-based coal industry software process implementation method as proposed by an embodiment of the first aspect of the present disclosure.
A fifth aspect embodiment of the present disclosure proposes a computer program product which, when executed by a processor, performs a model-driven-based coal industry software flow implementation method as proposed by the first aspect embodiment of the present disclosure.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The foregoing and/or additional aspects and advantages of the present disclosure will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a schematic flow diagram of a method for implementing a model-driven coal industry software flow according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of a method for implementing a model-driven coal industry software flow according to another embodiment of the disclosure;
FIG. 3 is a schematic diagram of an architecture of a model-driven coal industry software flow implementation device in an embodiment of the disclosure;
FIG. 4 is a schematic structural diagram of a model-driven coal industry software flow implementation device according to an embodiment of the present disclosure;
Fig. 5 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for explaining the present disclosure and are not to be construed as limiting the present disclosure. On the contrary, the embodiments of the disclosure include all alternatives, modifications, and equivalents as may be included within the spirit and scope of the appended claims.
Fig. 1 is a schematic flow chart of a method for implementing a model-driven coal industry software flow according to an embodiment of the disclosure.
The embodiment is exemplified in that the model-based coal industrial software process implementation method is configured into a model-based coal industrial software process implementation device, and the model-based coal industrial software process implementation method in the embodiment may be configured into the model-based coal industrial software process implementation device, and the model-based coal industrial software process implementation device may be disposed in a server or may also be disposed in an electronic apparatus, which is not limited in the embodiment of the present disclosure.
The present embodiment takes an example in which a model-driven coal industry software flow implementation method is configured in an electronic device. Among them, electronic devices such as smartphones, tablet computers, personal digital assistants, electronic books, and the like have hardware devices of various operating systems.
The execution body of the embodiment of the present disclosure may be, for example, a server or a central processing unit (Central Processing Unit, CPU) in an electronic device in hardware, and may be, for example, a server or a related background service in an electronic device in software, which is not limited.
As shown in fig. 1, the method for implementing the coal industry software flow based on model driving comprises the following steps:
S101: obtaining model configuration information of a service model to be configured and a flow template, wherein the model configuration information at least comprises: the flow template comprises at least one processing logic node to be edited.
The business model in the embodiment of the disclosure can refer to analysis, design, development and maintenance of an information system based on a business theory and business model system of the coal industry. The business model can be constructed in advance, the construction process can be called business modeling, the business modeling process is based on reality and knowledge of business and management, a business modeling tool is adopted according to and referring to a business model system, relevant business model resources are designed and constructed, and the business model resources are main products of business modeling.
In the embodiment of the disclosure, a plurality of service models can be built in advance, different service models can support different coal industrial software flows, then the service models are configured to be configurable, and configuration interfaces of various service models are provided for the outside to support the realization of personalized configuration of the service models.
In the embodiment of the disclosure, a flow template library may be preconfigured, where the flow template library may include a plurality of flow templates, each flow template describes a possible data flow in the coal industrial software, and the corresponding flow template may be configurable, so that personalized configuration of the coal industrial software flow may be implemented.
The embodiment of the disclosure discloses a method for realizing a coal industry software flow based on model driving, wherein model driving development is a development method of high-level abstraction by taking a model as a core entity. In the embodiment of the disclosure, a visual configuration interface is supported to be provided, configuration is supported to information such as attribute names, types, default values and the like of a service model, association relation among a plurality of object entities is supported to be established, constraint of attribute values among the object entities is carried out, and the configuration can also be supported to convert the configured content into services in a background operation mode so as to realize model coding and convert foreground diagramming configuration into object entities which can be referenced in the background.
The service model to be configured currently when implementing a coal industrial software process may be referred to as a service model to be configured, and the information for configuring the service model to be configured may be referred to as model configuration information, where the model configuration information may include an attribute name, a type, an attribute value, and the like, and the process template may include at least one processing logic node to be edited.
That is, one coal industry software flow may be formed by a plurality of processing logic nodes, and the splicing and combination of the different types of processing logic nodes form a complete coal industry software flow. And different types of processing logic nodes may be exemplified as follows:
1. A start node, which is the start point of the flow. One flow can only have one start event.
2. And the ending node defines a position where the flow is to be stopped. In some cases, a value must be specified depending on the return type of the flow. There may be multiple end nodes.
3. And judging the node, wherein the decision is made according to the condition, and only one outflow stream is followed, so that parallel execution is not supported.
4. And a merging node, which can be used for merging a plurality of sequence streams into one. If a choice is made in the flow and then some common work needs to be done, then two (or more) paths may be merged using merging.
5. Task nodes, which are tasks to be processed in the flow.
6. And the parameter node fills parameters at the position of the triggering flow.
7. Sequential flow, which is an arrow that merges events, activities, decisions and each other. Together they define the order of execution in the flow.
8. Annotation flow, a connection that can be used to connect an annotation to another element.
The eight processes of the above example may be regarded as processing logic nodes to be edited, and a process of selecting a part of the processing logic nodes therefrom and configuring the selected processing logic nodes may be referred to as a process of editing the processing logic nodes.
In the embodiment of the present disclosure, a visual model editing interface may be further provided, where the visual model editing interface may be referred to as a first visual interface, and an editing interface for a service model is provided on the first visual interface, and a service model to be configured is supported to be displayed on the first visual interface, where the first visual interface further includes: the configuration interfaces respectively corresponding to the attribute names, the types and the attribute values acquire the model configuration information of the service model to be configured based on the configuration interfaces so as to realize the visual configuration editing of the service model and improve the configuration efficiency of the service model.
S102: and configuring the service model to be configured according to the model configuration information to obtain a target service model.
The method comprises the steps of obtaining the model configuration information of the service model to be configured and a flow template, wherein the model configuration information at least comprises the following steps: after the flow template comprises at least one processing logic node to be edited, the service model to be configured can be configured according to the model configuration information to obtain a target service model, for example, the initial value of the attribute of the corresponding type and the corresponding attribute name of the service model to be configured is set as the attribute value indicated in the model configuration information, which is not limited.
In the embodiment of the disclosure, after a service model to be configured is configured according to model configuration information to obtain a target service model, a plurality of object entities capable of being referenced can be generated according to the target service model, association relations among the plurality of object entities are established, and attribute values among different object entities are restrained, wherein the attribute values of the object entities are determined by the attribute values in the model configuration information, so that the target service model is rapidly subjected to service processing, configured content is rapidly converted into service, model coding is realized, and foreground diagramming configuration is converted into object entities capable of being referenced in the background.
S103: editing the processing logic node to be edited to obtain the target processing logic node.
In the embodiment of the disclosure, personalized editing processing is carried out on at least one processing logic node to be edited, which is included in the flow template, and the processing logic node obtained by the editing processing is taken as a target processing logic node.
For example, the positions, connection relationships, parameters, etc. of a plurality of different types of processing logic nodes may be configured according to the service function requirements, and the processing logic node obtained by configuration is taken as the target processing logic node.
In the embodiment of the disclosure, the processing logic node to be edited includes a plurality of candidate processing logic nodes, the candidate processing logic nodes have corresponding node types, and then a visualized node editing interface may be further provided, where the visualized node editing interface may be referred to as a second visualized interface, and the second visualized interface provides an editing interface for the candidate processing logic nodes, and supports displaying the plurality of candidate processing logic nodes and/or node types corresponding to each candidate processing logic node in the second visualized interface, where the first visualized interface is the same as or different from the second visualized interface.
The node type may be, for example, one or more of the eight types described above, which is not limited.
The candidate processing logic nodes may be, for example, one or more of the eight types of processing logic nodes described above, which is not limited.
The editing interface of the candidate processing logic node may be, for example, an interface of dragging, selecting, marking, modifying, etc. the candidate processing logic node in the second visual interface, which is not limited.
In the embodiment of the disclosure, the processing logic node to be edited is edited to obtain the target processing logic node, and a part of candidate processing logic nodes can be selected from a plurality of candidate processing logic nodes according to the service function requirement, and configured according to the service function requirement, and the configured candidate processing logic nodes are used as the target processing logic node to realize personalized on-demand configuration of the processing logic nodes based on the service function requirement.
The service function requirements can be obtained by carrying out requirement analysis on coal service.
S104: and generating a coal industry software flow according to the target business model and the target processing logic node.
The business model to be configured is configured according to the model configuration information to obtain a target business model, the processing logic node to be edited is edited, and after the target processing logic node is obtained, a coal industry software flow can be generated according to the target business model and the target processing logic node.
For example, some preset script files may be executed to process the target business model and the target processing logic node to obtain a coal industry software process, where the coal industry software process may also be, for example, a source code file that may be compiled, and when the source code files of multiple coal industry software processes are compiled in combination and related to the corresponding coal industry interfaces in combination, the coal industry software may be obtained, which is not limited thereto.
For example, the target business model and the target processing logic node can be processed based on an artificial intelligence method to obtain a coal industry software flow, which is not limited.
Of course, any other possible method may be used to generate a coal industry software flow according to the target service model and the target processing logic node, which is not limited.
In this embodiment, by acquiring model configuration information of a service model to be configured and a flow template, the model configuration information at least includes: the method comprises the steps that an attribute name, a type and an attribute value are obtained, a flow template comprises at least one processing logic node to be edited, a business model to be configured is configured according to model configuration information, a target business model is obtained, and the processing logic node to be edited is edited, so that the target processing logic node is obtained; and generating a coal industrial software process according to the target business model and the target processing logic node, so that the generation efficiency and effect of the coal industrial software process can be effectively improved.
Fig. 2 is a schematic flow chart of a method for implementing a model-driven coal industry software flow according to another embodiment of the disclosure.
As shown in fig. 2, the method for implementing the coal industry software flow based on model driving comprises the following steps:
s201: obtaining model configuration information of a service model to be configured and a flow template, wherein the model configuration information at least comprises: the flow template comprises at least one processing logic node to be edited.
S202: and configuring the service model to be configured according to the model configuration information to obtain a target service model.
S203: editing the processing logic node to be edited to obtain the target processing logic node.
The descriptions of S201 to S203 may be specifically referred to the above embodiments, and are not repeated herein.
S204: at least one technical object resource is invoked from a technical object resource library.
Wherein, a plurality of external technical object resources can be integrated in advance in the technical object resource library, and the technical object resources can be, for example, a mechanism model, information of external industrial equipment, resources, algorithm models, monitoring resources provided by a monitoring system and the like.
In embodiments of the present disclosure, invoking at least one technical object resource from a technical object resource library is supported, and subsequent steps are triggered thereafter.
S205: and generating a coal industry software flow according to the at least one invoked technical object resource, the target business model and the target processing logic node.
After the at least one technical object resource is called from the technical object resource library, the coal industrial software process can be generated according to the at least one called technical object resource, the target business model and the target processing logic node, so that the integration efficiency of the external technical object resource is improved, the functional integrity of the generated coal industrial software process is ensured, the integration and maintenance of a software system are facilitated, and the design comprehensiveness and the realization convenience of the coal industrial software process are improved.
In this embodiment, by acquiring model configuration information of a service model to be configured and a flow template, the model configuration information at least includes: the method comprises the steps that an attribute name, a type and an attribute value are obtained, a flow template comprises at least one processing logic node to be edited, a business model to be configured is configured according to model configuration information, a target business model is obtained, and the processing logic node to be edited is edited, so that the target processing logic node is obtained; and generating a coal industrial software process according to the target business model and the target processing logic node, so that the generation efficiency and effect of the coal industrial software process can be effectively improved. After at least one technical object resource is called from the technical object resource library, a coal industrial software process can be generated according to the called at least one technical object resource, the target business model and the target processing logic node, so that the integration efficiency of the external technical object resource is improved, the functional integrity of the generated coal industrial software process is ensured, the integration and maintenance of a software system are facilitated, and the design comprehensiveness and the realization convenience of the coal industrial software process are improved.
As shown in fig. 3, fig. 3 is a schematic diagram of an architecture of a model-driven coal industry software flow implementation device in an embodiment of the disclosure. The software development flow designer part in the flow chart shown in fig. 3 is mainly described in the examples of the disclosure, and the software development flow designer can integrate the coal industry software flow implementation device in the embodiments of the disclosure to implement the coal industry software flow implementation method, and when the software development flow designer part and the software interface designer part are integrated and jointly used, the coal industry software can be implemented.
The following are illustrated:
Model driven development is a development method of high-level abstraction with models as core entities. And providing a visual configuration interface, supporting configuration of information such as attribute names, types, default values and the like of the service model, supporting establishment of association relations among a plurality of object entities, and restraining attribute values among the object entities. And the configuration is completed, model coding is realized through a background operation conversion service, and the foreground diagramming configuration is converted into a background referent object entity. The flow designer in fig. 3 provides a way to graphically edit the processing logic. And the logic judgment module is used for supporting the execution of the actions of creating and updating the object, displaying the page, selecting the logic and the like and realizing the programming code. And different types of processing logic nodes may be exemplified as follows:
1. A start node, which is the start point of the flow. One flow can only have one start event.
2. And the ending node defines a position where the flow is to be stopped. In some cases, a value must be specified depending on the return type of the flow. There may be multiple end nodes.
3. And judging the node, wherein the decision is made according to the condition, and only one outflow stream is followed, so that parallel execution is not supported.
4. And a merging node, which can be used for merging a plurality of sequence streams into one. If a choice is made in the flow and then some common work needs to be done, then two (or more) paths may be merged using merging.
5. Task nodes, which are tasks to be processed in the flow.
6. And the parameter node fills parameters at the position of the triggering flow.
7. Sequential flow, which is an arrow that merges events, activities, decisions and each other. Together they define the order of execution in the flow.
8. Annotation flow, a connection that can be used to connect an annotation to another element.
In the embodiment of the disclosure, the object resource library and the external resource connector can be used for subdividing the coal industry technology by adopting an industrial technology, a packaging technology, a research and development technology and the like, and the business method related in the subdivided coal industry technology and the related coal industry software system (such as a decentralized control system (Distributed Control System, DCS), a manufacturing execution system (Manufacturing Execution System, MES), a data acquisition and monitoring control system (Supervisory Control And Data Acquisition, SCADA) and an enterprise resource planning system (ENTERPRISE RESOURCE PLANNING, ERP)) are packaged by adopting a software method so as to realize technical object resources which can be directly called. In the packaging process, the complex logic can be packaged in a code and script mode, and the simple logic can be packaged by adopting a flow template provided by a low-code development environment. The external resource adapter encapsulates the external data resource object. The adapter realizes two directional interfaces, one interface faces to external technical object resources, and integration is realized based on individualized coal mine data exchange specifications; the other interface faces to the platform environment, adopts a standardized data model to express and communicate, and shields the personalized requirements of external technical object resources in the development process. In the specific development process, if the reference standard exists, the adapter development can be performed based on the reference standard, and if the reference standard does not exist, the corresponding adapter can be developed for different manufacturers, equipment and models.
Part of the software interface designer for componentization:
The componentized interface design is a method for constructing a high-efficiency reusable software interface. Different functional components are selected by adopting a building block method, and a complete interface can be quickly assembled. The adoption of the componentization design method is beneficial to keeping the consistency of application vision and functions, and the general components in the development process are maintained into a component library, so that the iteration efficiency of the software application can be greatly improved. The construction of the component generally has industry characteristics and field characteristics, so that the component-based software Interface designer can be designed based on the coal industry field characteristics, the industry characteristics of the coal industry can be fused under a standard User Interface (UI) framework, field-customized graphic controls are provided for the application scene of the coal industry, and secondary development and editing of various graphic controls are supported. The interface design mode needs to support good man-machine interaction, supports graphic control, and completes the construction of the interface in a pulling mode; binding the page elements with the data model is provided, and the data is added, modified, inquired and deleted; for complex checksum processing logic, the complex checksum processing logic can be performed through a script editor, so that the user requirement on high flexibility is met.
The embodiment of the disclosure can also realize a graphic component library in the coal industry, establish the mapping relation of visual graphic elements, logical object models and field physical entities, bind physical world entities such as equipment, production process, control flow and the like in the coal mine with the visual graphics, further package the physical world entities into the graphic component library, and enable a user to rapidly complete development of various graphic entities based on attribute configuration operation. And meanwhile, a plurality of systematic style and color matching templates are established, and unified style display of the application system is supported.
The implementation of the graphic interaction component specifically comprises:
1. a menu component that allows an end user to browse applications (e.g., menu bar, navigational tree).
2. The data component builds the core of the form so that the end user can view and edit the data (e.g., data views, data grids, and common text boxes and radio buttons, etc. input components) in the application.
3. Layout components, forming a backbone of interfaces, are typically used for layout (e.g., layout containers, headers).
4. Container components to house other gadgets (e.g., forms, group boxes).
5. An input component can display and edit properties and associated values (e.g., text box, date selector).
6. A button assembly for triggering an operation (e.g., save button, close page button, micro-streaming button).
7. Fragment functions are implemented, a fragment being a page design fragment containing design elements, components, and data. Fragments are built and managed centrally at the model level and can be reused on multiple pages of an application.
Fig. 4 is a schematic structural diagram of a model-driven coal industry software flow implementation device according to an embodiment of the present disclosure.
As shown in fig. 4, the model-driven coal industry software flow implementation device 40 includes:
The obtaining module 401 is configured to obtain model configuration information of a service model to be configured, and a flow template, where the model configuration information at least includes: the flow template comprises at least one processing logic node to be edited.
The configuration module 402 is configured to configure the service model to be configured according to the model configuration information, so as to obtain a target service model.
The editing module 403 is configured to edit the processing logical node to be edited, so as to obtain a target processing logical node.
And the generating module 404 is used for generating a coal industry software flow according to the target business model and the target processing logic node.
Optionally, in some embodiments, obtaining the model configuration information of the service model to be configured includes:
Displaying the service model to be configured in a first visual interface, wherein the first visual interface further comprises: configuration interfaces corresponding to the attribute names, types and attribute values respectively;
and obtaining model configuration information of the service model to be configured based on the configuration interface.
Optionally, in some embodiments, after configuring the service model to be configured according to the model configuration information to obtain the target service model, the method further includes:
Generating a plurality of referents according to the target service model;
and establishing association relations among a plurality of object entities and restricting attribute values among different object entities, wherein the attribute values of the object entities are determined by the attribute values in the model configuration information.
Optionally, in some embodiments, the processing logic node to be edited includes a plurality of candidate processing logic nodes, the candidate processing logic nodes having corresponding node types; the method further comprises the steps of:
and displaying the plurality of candidate processing logic nodes and/or node types corresponding to each candidate processing logic node in a second visual interface, wherein the first visual interface is the same as or different from the second visual interface.
Optionally, in some embodiments, editing the processing logic node to be edited to obtain the target processing logic node, including:
selecting part of candidate processing logic nodes from the plurality of candidate processing logic nodes according to the service function requirements;
And configuring part of candidate processing logic nodes according to the service function requirement, and taking the configured candidate processing logic nodes as target processing logic nodes.
Optionally, in some embodiments, generating the coal industry software flow from the target business model and the target processing logic node includes:
invoking at least one technical object resource from a technical object resource library;
And generating a coal industry software flow according to the at least one invoked technical object resource, the target business model and the target processing logic node.
It should be noted that, the foregoing explanation of the method for implementing the model-based coal industrial software process is also applicable to the apparatus for implementing the model-based coal industrial software process in this embodiment, and will not be repeated here.
In this embodiment, by acquiring model configuration information of a service model to be configured and a flow template, the model configuration information at least includes: the method comprises the steps that an attribute name, a type and an attribute value are obtained, a flow template comprises at least one processing logic node to be edited, a business model to be configured is configured according to model configuration information, a target business model is obtained, and the processing logic node to be edited is edited, so that the target processing logic node is obtained; and generating a coal industrial software process according to the target business model and the target processing logic node, so that the generation efficiency and effect of the coal industrial software process can be effectively improved.
Fig. 5 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present disclosure. The electronic device 12 shown in fig. 5 is merely an example and should not be construed to limit the functionality and scope of use of embodiments of the present disclosure in any way.
As shown in fig. 5, the electronic device 12 is in the form of a general purpose computing device. Components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include industry Standard architecture (Industry Standard Architecture; hereinafter ISA) bus, micro channel architecture (Micro Channel Architecture; hereinafter MAC) bus, enhanced ISA bus, video electronics standards Association (Video Electronics Standards Association; hereinafter VESA) local bus, and peripheral component interconnect (PERIPHERAL COMPONENT INTERCONNECTION; hereinafter PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (Random Access Memory; hereinafter: RAM) 30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard disk drive").
Although not shown in fig. 5, a disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a compact disk read only memory (Compact Disc Read Only Memory; hereinafter CD-ROM), digital versatile disk read only memory (Digital Video Disc Read Only Memory; hereinafter DVD-ROM), or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the various embodiments of the disclosure.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods in the embodiments described in this disclosure.
The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a person to interact with the electronic device 12, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks, such as a local area network (Local Area Network; hereinafter: LAN), a wide area network (Wide Area Network; hereinafter: WAN), and/or a public network, such as the Internet, through the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 over the bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and model-driven-based coal industry software process implementation methods, such as the model-driven-based coal industry software process implementation methods mentioned in the foregoing embodiments, by running programs stored in the system memory 28.
To achieve the above embodiments, the present disclosure also proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a model-driven-based coal industry software flow implementation method as proposed in the foregoing embodiments of the present disclosure.
To achieve the above embodiments, the present disclosure also proposes a computer program product that, when executed by an instruction processor in the computer program product, performs the model-driven-based coal industry software flow implementation method as proposed in the foregoing embodiments of the present disclosure.
It should be noted that in the description of the present disclosure, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present disclosure, unless otherwise indicated, the meaning of "a plurality" is two or more.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present disclosure in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present disclosure.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
Furthermore, each functional unit in the embodiments of the present disclosure may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present disclosure have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the present disclosure, and that variations, modifications, alternatives, and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the present disclosure.
Claims (8)
1. The method for realizing the coal industry software flow based on model driving is characterized by comprising the following steps:
Obtaining model configuration information of a service model to be configured and a flow template, wherein the model configuration information at least comprises: the method comprises the steps of analyzing, designing, developing and maintaining an information system based on a business theory and a business model system of the coal industry, wherein the flow template comprises at least one processing logic node to be edited;
Configuring the service model to be configured according to the model configuration information to obtain a target service model;
After the service model to be configured is configured according to the model configuration information to obtain a target service model, the method further comprises the steps of:
Generating a plurality of referents according to the target service model;
Establishing association relations among the plurality of object entities and restricting attribute values among different object entities, wherein the attribute values of the object entities are determined by the attribute values in the model configuration information;
Editing the processing logic node to be edited to obtain a target processing logic node, wherein the method comprises the following steps: configuring the positions, connection relations and parameters of a plurality of different types of processing logic nodes according to service function requirements, and taking the processing logic nodes obtained by configuration as target processing logic nodes; and
Generating a coal industry software flow according to the target business model and the target processing logic node;
The generating a coal industry software process according to the target business model and the target processing logic node comprises the following steps:
Invoking at least one technical object resource from a technical object resource library, wherein the technical object resource comprises: the mechanism model, information of external industrial equipment, resources, algorithm models and monitoring resources provided by a monitoring system;
And generating the coal industry software flow according to the at least one invoked technical object resource, the target business model and the target processing logic node.
2. The method of claim 1, wherein the obtaining model configuration information for the business model to be configured comprises:
Displaying the service model to be configured in a first visual interface, wherein the first visual interface further comprises: configuration interfaces respectively corresponding to the attribute names, types and attribute values;
and acquiring model configuration information of the service model to be configured based on the configuration interface.
3. The method of claim 2, wherein the processing logic node to be edited comprises a plurality of candidate processing logic nodes, the candidate processing logic nodes having corresponding node types; the method further comprises the steps of:
and displaying the plurality of candidate processing logic nodes and/or node types corresponding to each candidate processing logic node in a second visual interface, wherein the first visual interface is the same as or different from the second visual interface.
4. The method of claim 3, wherein the editing the processing logic node to be edited to obtain a target processing logic node comprises:
Selecting part of candidate processing logic nodes from the plurality of candidate processing logic nodes according to service function requirements;
And configuring part of the candidate processing logic nodes according to the service function requirement, and taking the configured candidate processing logic nodes as the target processing logic nodes.
5. A model-driven coal industry software flow implementation device, characterized in that the device comprises:
The system comprises an acquisition module, a process template and a service model configuration module, wherein the acquisition module is used for acquiring model configuration information of a service model to be configured, and the process template, wherein the model configuration information at least comprises: the method comprises the steps of analyzing, designing, developing and maintaining an information system based on a business theory and a business model system of the coal industry, wherein the flow template comprises at least one processing logic node to be edited;
the configuration module is used for configuring the service model to be configured according to the model configuration information to obtain a target service model;
The editing module is used for editing the processing logic node to be edited to obtain a target processing logic node; and
The generation module is used for generating a coal industrial software flow according to the target business model and the target processing logic node;
the configuration module is also used for
Generating a plurality of referents according to the target service model;
Establishing association relations among the plurality of object entities and restricting attribute values among different object entities, wherein the attribute values of the object entities are determined by the attribute values in the model configuration information;
The editing module is further used for configuring the positions, the connection relations and the parameters of a plurality of different types of processing logic nodes according to service function requirements, and taking the processing logic nodes obtained by configuration as target processing logic nodes;
The generating module is configured to invoke at least one technical object resource from a technical object resource library, where the technical object resource includes: the mechanism model, information of external industrial equipment, resources, algorithm models and monitoring resources provided by a monitoring system;
And generating the coal industry software flow according to the at least one invoked technical object resource, the target business model and the target processing logic node.
6. An electronic device, comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-4.
7. A non-transitory computer readable storage medium storing computer instructions, wherein the computer instructions are for causing the computer to perform the method of any one of claims 1-4.
8. A computer program product comprising a computer program which, when executed by a processor, implements the steps of the method according to any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211172309.XA CN115495069B (en) | 2022-09-26 | 2022-09-26 | Model-driven coal industry software process implementation method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211172309.XA CN115495069B (en) | 2022-09-26 | 2022-09-26 | Model-driven coal industry software process implementation method, device and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115495069A CN115495069A (en) | 2022-12-20 |
CN115495069B true CN115495069B (en) | 2024-04-16 |
Family
ID=84470220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211172309.XA Active CN115495069B (en) | 2022-09-26 | 2022-09-26 | Model-driven coal industry software process implementation method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115495069B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117389539B (en) * | 2023-09-06 | 2024-07-19 | 苏州数设科技有限公司 | Development method and device of industrial software, readable storage medium and electronic equipment |
CN117850764B (en) * | 2024-03-07 | 2024-05-07 | 南京和度软件科技有限公司 | Design modeling method and device based on integrated model driving architecture |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101256492A (en) * | 2008-03-31 | 2008-09-03 | 宋乃辉 | Software development method and system for executing model drive structure |
CN101539855A (en) * | 2008-12-25 | 2009-09-23 | 厦门亿力吉奥信息科技有限公司 | Service basic software platform |
CN101582026A (en) * | 2008-05-12 | 2009-11-18 | 上海格尔卫信软件有限公司 | Application method of dynamic service creation in service system application software |
WO2022062835A1 (en) * | 2020-09-25 | 2022-03-31 | 北京锐安科技有限公司 | Event response apparatus and method, electronic device, and storage medium |
CN114282752A (en) * | 2021-11-15 | 2022-04-05 | 煤炭科学研究总院 | Method and device for generating flow task, electronic equipment and storage medium |
CN114358730A (en) * | 2021-12-31 | 2022-04-15 | 中煤科工集团信息技术有限公司 | Coal business processing method and equipment based on machine learning |
CN114564252A (en) * | 2022-03-03 | 2022-05-31 | 深圳壹账通智能科技有限公司 | A low-code platform event configuration method, system, device and medium |
CN114564190A (en) * | 2021-12-24 | 2022-05-31 | 上海浦东发展银行股份有限公司 | Business generation method and device, electronic equipment and storage medium |
CN114819553A (en) * | 2022-04-11 | 2022-07-29 | 平安科技(深圳)有限公司 | Dynamic configuration method, device, equipment and storage medium based on workflow engine |
CN114895876A (en) * | 2022-05-27 | 2022-08-12 | 无锡雪浪数制科技有限公司 | Model-driven visual development industrial system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3026608A1 (en) * | 2014-11-28 | 2016-06-01 | Siemens Aktiengesellschaft | A common plant model for modelling of physical plant items of a production plant |
-
2022
- 2022-09-26 CN CN202211172309.XA patent/CN115495069B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101256492A (en) * | 2008-03-31 | 2008-09-03 | 宋乃辉 | Software development method and system for executing model drive structure |
CN101582026A (en) * | 2008-05-12 | 2009-11-18 | 上海格尔卫信软件有限公司 | Application method of dynamic service creation in service system application software |
CN101539855A (en) * | 2008-12-25 | 2009-09-23 | 厦门亿力吉奥信息科技有限公司 | Service basic software platform |
WO2022062835A1 (en) * | 2020-09-25 | 2022-03-31 | 北京锐安科技有限公司 | Event response apparatus and method, electronic device, and storage medium |
CN114282752A (en) * | 2021-11-15 | 2022-04-05 | 煤炭科学研究总院 | Method and device for generating flow task, electronic equipment and storage medium |
CN114564190A (en) * | 2021-12-24 | 2022-05-31 | 上海浦东发展银行股份有限公司 | Business generation method and device, electronic equipment and storage medium |
CN114358730A (en) * | 2021-12-31 | 2022-04-15 | 中煤科工集团信息技术有限公司 | Coal business processing method and equipment based on machine learning |
CN114564252A (en) * | 2022-03-03 | 2022-05-31 | 深圳壹账通智能科技有限公司 | A low-code platform event configuration method, system, device and medium |
CN114819553A (en) * | 2022-04-11 | 2022-07-29 | 平安科技(深圳)有限公司 | Dynamic configuration method, device, equipment and storage medium based on workflow engine |
CN114895876A (en) * | 2022-05-27 | 2022-08-12 | 无锡雪浪数制科技有限公司 | Model-driven visual development industrial system |
Non-Patent Citations (3)
Title |
---|
Data-Driven Anomaly Detection and Early Warning Issues;Chenxu Li等;《2022 2nd Asia-Pacific Conference on Communications Technology and Computer Science (ACCTCS)》;20220718;1-8 * |
基于数据驱动的大型复杂设备的建模与研究;刘贞辉;《中国优秀硕士学位论文全文数据库 (工程科技Ⅱ辑)》;20220315;C042-1937 * |
基于模型驱动和流程配置的ERP系统的关键技术研究;金纪文, 金烨;计算机集成制造系统-CIMS;20050725(第07期);986-995 * |
Also Published As
Publication number | Publication date |
---|---|
CN115495069A (en) | 2022-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11816309B2 (en) | User interface logical and execution view navigation and shifting | |
EP3798757B1 (en) | System and method for developing industrial applications | |
US20100088664A1 (en) | Design tool and methodology for enterprise software applications | |
CN115495069B (en) | Model-driven coal industry software process implementation method, device and equipment | |
US20170242780A1 (en) | Graphical Sequence Builder | |
CN103984818A (en) | AUV (autonomous underwater vehicle) design flow visualization modeling method based on Flex technology | |
US12025973B2 (en) | Industrial automation controller project online/offline state separation | |
CN109716294B (en) | User interface with removable mini-tab | |
US11775142B2 (en) | Preferential automation view curation | |
CN110968294A (en) | Business domain model establishing system and method | |
CN104268346B (en) | A kind of implementation method of the Simulation Application visualization the integration environment based on object class interaction figure | |
WO2023004806A1 (en) | Device deployment method for ai model, system, and storage medium | |
CN109471580B (en) | Visual 3D courseware editor and courseware editing method | |
KR20150066377A (en) | Simulation framework system based on DEVS and simulation method using the same | |
Zhao et al. | An AutomationML extension towards interoperability of 3D virtual commissioning software applications | |
US8185491B2 (en) | Method of organizing software design decision instances | |
CN115311416A (en) | A method of creating a 3D scene | |
CN100498698C (en) | General interface design interface system and interface developing method using said system | |
KR102355787B1 (en) | Methods to gather screen requirements and to manage processes for the software development including web based services and mobile services | |
CN111291444B (en) | Modeling method, device, equipment and storage medium for aircraft assembly | |
KR20160051582A (en) | Platform structure making support services of manufacturing enterprises based on 3 dimensional data | |
Heinrich et al. | MDA applied: a task-model driven tool chain for multimodal applications | |
Memmel et al. | A Zoom-Based Specification Tool for Corporate User Interface Development | |
Kragelund | Advanced tool support for requirements engineering | |
Wahid et al. | A New Tool to Improve Enterprise Modelling Utilisation and Development |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |