CN115756595B - Reconstruction method and device of industrial software, electronic equipment and readable storage medium - Google Patents

Reconstruction method and device of industrial software, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115756595B
CN115756595B CN202211384382.3A CN202211384382A CN115756595B CN 115756595 B CN115756595 B CN 115756595B CN 202211384382 A CN202211384382 A CN 202211384382A CN 115756595 B CN115756595 B CN 115756595B
Authority
CN
China
Prior art keywords
component
industrial
industrial software
generating
library
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
Application number
CN202211384382.3A
Other languages
Chinese (zh)
Other versions
CN115756595A (en
Inventor
牟全臣
周连林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Shushe Technology Co ltd
Original Assignee
Suzhou Shushe Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Shushe Technology Co ltd filed Critical Suzhou Shushe Technology Co ltd
Priority to CN202211384382.3A priority Critical patent/CN115756595B/en
Publication of CN115756595A publication Critical patent/CN115756595A/en
Application granted granted Critical
Publication of CN115756595B publication Critical patent/CN115756595B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses a reconstruction method and device of industrial software, electronic equipment and a readable storage medium, wherein the method comprises the following steps: under the condition that the business requirement of the industrial project is detected to be updated, acquiring a knowledge base and a unified model from a middle platform constructed by the industrial project; acquiring a first component and a second component from components of industrial software according to service requirements and chain matching relations acquired from a knowledge base; modifying the first component according to the service requirement to obtain a third component; generating a fourth component according to the service requirement; and generating the reconstructed industrial software according to the second component, the third component and the fourth component.

Description

Reconstruction method and device of industrial software, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a method and an apparatus for reconstructing industrial software, an electronic device, and a readable storage medium.
Background
At present, a model driven development mode improves the development of software from a code level to a model level, so that a software architecture model can guide the development of the software.
However, in the current reconstruction of software, the reconstruction is usually implemented on a software code, so that the universality is poor, and the reconstruction efficiency is low.
Disclosure of Invention
The embodiment of the application provides a reconstruction method, a device and equipment of industrial software and a readable storage medium, which can solve the problem of low reconstruction efficiency of the existing software.
In a first aspect, an embodiment of the present application provides a method for reconstructing industrial software, where the method includes:
under the condition that the business requirement of the industrial project is detected to be updated, acquiring a knowledge base and a unified model from a middle platform constructed by the industrial project;
acquiring a first component and a second component from components of industrial software according to service requirements and chain matching relations acquired from a knowledge base;
modifying the first component according to the service requirement to obtain a third component;
generating a fourth component according to the service requirement;
and generating the reconstructed industrial software according to the second component, the third component and the fourth component.
In one possible implementation, generating the fourth component according to the service requirement includes:
obtaining structural information of an industrial project;
performing hierarchical mapping on the unified model according to the structure information to obtain a component library with preset dimensions;
and coding the component library with the preset dimension according to the preset model conversion rule to generate a fourth component.
In one possible implementation manner, according to the structural information, hierarchical mapping is performed on the unified model to obtain a component library with a preset dimension, including:
and carrying out hierarchical mapping on the unified model according to the structure information to obtain a product component library, a place component library, a method component library, a personnel component library and a time component library.
In one possible implementation, the obtaining the first component and the second component from the components of the industrial software according to the business requirement and the chained matching relationship obtained from the knowledge base includes:
based on the unified model, selecting a first component meeting the service requirement from components of the industrial software according to the service requirement and the chain matching relationship, wherein the first component is used for reconstructing the industrial software after being modified;
and selecting a second component meeting the service requirements from the components of the industrial software according to the service requirements and the chained matching relation based on the unified model, wherein the second component is used for reconstructing the industrial software.
In one possible implementation, modifying the first component to obtain a third component includes:
and modifying the configuration file of the first component according to the service requirement to obtain a second component.
In one possible implementation, modifying the first component to obtain a third component includes:
and modifying the code of the first component according to the service requirement to obtain a second component.
In one possible implementation, after generating the reconstructed industrial software according to the second component, the third component and the fourth component, the method further includes:
based on the operation efficiency and the operation speed, the reconstructed industrial software is evaluated to obtain an evaluation result;
the step of re-executing the reconstruction method of industrial software according to claim 1 in case the evaluation result does not meet the preset condition.
In a second aspect, an embodiment of the present application provides an apparatus for reconstructing industrial software, including:
the first acquisition module is used for acquiring a knowledge base and a unified model from a middle platform constructed by the industrial project under the condition that the service demand of the industrial project is detected to be updated;
the second acquisition module is used for acquiring a first component and a second component from the components of the industrial software according to the service requirement and the chained matching relation acquired from the knowledge base;
the modification module is used for modifying the first component according to the service requirement to obtain a third component;
the generating module is used for generating a fourth component according to the service requirement;
and the reconstruction module is used for generating the reconstructed industrial software according to the second component, the third component and the fourth component.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements the method as in the first aspect or any of the possible implementations of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement a method as in the first aspect or any of the possible implementations of the first aspect.
In the embodiment of the application, under the condition that the business requirement of the industrial project is detected to be updated, a knowledge base and a unified model are obtained from a middle platform constructed by the industrial project; and acquiring the first component and the second component from the components of the industrial software according to the business requirements and the chained matching relation acquired from the knowledge base, wherein the reusable first component and second component can be accurately acquired from the components of the industrial software based on the business requirements and the chained matching relation. And modifying the first component according to the service requirement to obtain a third component, wherein the existing component in the industrial software can be reused, development time and development cost are saved, the fourth component is generated according to the service requirement, and the fourth component which needs to be newly developed can be accurately generated according to the actual service requirement. And finally, generating the reconstructed industrial software according to the second component which can be completely reused, the third component which is reused after modification and the newly developed fourth component, so that the reconstructed industrial software can be generated on the basis of the second component, the third component and the fourth component as required, the reconstruction efficiency of the industrial software is high, and the universality of the industrial software is improved.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present application, the drawings that are needed to be used in the embodiments of the present application will be briefly described, and it is possible for a person skilled in the art to obtain other drawings according to these drawings without inventive effort.
FIG. 1 is a flow chart of a method for reconstructing industrial software according to an embodiment of the present application;
FIG. 2 is a schematic diagram of the construction of industrial software according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a reconfiguration of industrial software provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a middle stage of industrial software according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a reconstruction device for industrial software according to an embodiment of the present application;
fig. 6 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Features and exemplary embodiments of various aspects of the present application will be described in detail below, and in order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail below with reference to the accompanying drawings and the detailed embodiments. It should be understood that the specific embodiments described herein are merely configured to illustrate the application and are not configured to limit the application. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the application by showing examples of the application.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
The reconstruction method of the industrial software provided by the embodiment of the application can be at least applied to the following application scenes, and is explained below.
Any architecture method generally utilizes technical means of separation, combination, scattering, recombination and the like to orderly reconstruct a system so as to reduce the development process of the system and enable the system to continuously evolve. The embodiment of the application provides a method for reconstructing low-code of industrial software driven by a unified domain model.
Based on the above application scenario, the method for reconstructing industrial software provided by the embodiment of the present application is described in detail below.
Fig. 1 is a flowchart of a reconstruction method of industrial software according to an embodiment of the present application.
As shown in fig. 1, the method for reconstructing industrial software may include steps 110 to 150, and the method is applied to a reconstruction device of industrial software, and specifically is as follows:
step 110, under the condition that the business requirement of the industrial project is detected to be updated, acquiring a knowledge base and a unified model from a middle platform constructed by the industrial project;
step 120, acquiring a first component and a second component from components of industrial software according to the business requirements and the chained matching relationship acquired from the knowledge base;
step 130, modifying the first component according to the service requirement to obtain a third component;
step 140, generating a fourth component according to the service requirement;
and step 150, generating the reconstructed industrial software according to the second component, the third component and the fourth component.
In the reconstruction method of the industrial software, a knowledge base and a unified model are obtained from a middle platform constructed by an industrial project under the condition that the business requirement of the industrial project is detected to be updated; and acquiring the first component and the second component from the components of the industrial software according to the business requirements and the chained matching relation acquired from the knowledge base, wherein the reusable first component and second component can be accurately acquired from the components of the industrial software based on the business requirements and the chained matching relation. And modifying the first component according to the service requirement to obtain a third component, wherein the existing component in the industrial software can be reused, development time and development cost are saved, the fourth component is generated according to the service requirement, and the fourth component which needs to be newly developed can be accurately generated according to the actual service requirement. And finally, generating the reconstructed industrial software according to the second component which can be completely reused, the third component which is reused after modification and the newly developed fourth component, so that the reconstructed industrial software can be generated on the basis of the second component, the third component and the fourth component as required, the reconstruction efficiency of the industrial software is high, and the universality of the industrial software is improved.
The contents of steps 110 to 150 are described below:
first, step 110 is referred to.
In the event that a business need update for an industrial project is detected, a knowledge base and a unified model are obtained from a staging platform constructed for the industrial project.
The reconstruction process of the industrial software architecture is generally divided into two parts, the reconstruction requirement is firstly generated according to the application specification of the design paradigm of the industrial software architecture, and then the reconstruction scheme is generated according to the link matching relation of the component library in the identification result.
When new business demands are generated or the business demands are changed, firstly, industrial software system information analysis is carried out through reverse engineering, unreasonable parts in the existing architecture and design mode are determined, architecture reconstruction layers are positioned according to mapping relations between five-dimensional four-layer unified models and software middle tables and application platforms, and domain models corresponding to a calculation irrelevant model (Computation Independent Model, CIM), a platform irrelevant model (Platform Independent Model, PIM) and a platform relevant model (Platform Specific Model, PSM) are changed, as shown in fig. 2. And analyzing the multi-element business flow, and performing hierarchical mapping from the product dimension, the place dimension, the method dimension, the personnel dimension and the time dimension to obtain a product component library, a place component library, a method component library, a personnel component library and a time component library.
Wherein the knowledge base comprises: a product library and a parameter library; the product library is used for storing components of industrial products, parameters of the components and standard value information of the parameters; the parameter library is used for storing parameters.
The unified model can be a five-dimensional four-layer unified model.
The unified model knowledge base and algorithm base based on five dimensions and four layers and the interface template form an industrial software middle stage, which provides basic components for industrial software and realizes little code or no code development.
The four layers refer to a system layer, a unit layer, a parameter layer and a data layer.
Wherein five dimensions refer to: product dimension, location dimension, personnel dimension, method dimension, and time dimension.
The generation of the unified model of the five-dimensional four-layer comprises the following steps: the CIM is constructed based on a system layer, a unit layer, a parameter layer and a data layer of the CIM, namely the CIM is composed of the system layer, the unit layer, the parameter layer, the data layer and the like. And converting the PIM into the PSM based on a preset level. The modeling method of PSM of industrial system model driving design also includes system layer, unit layer, parameter layer and data layer, and according to the constitution principle of multi-dimensional array of PIM unit layer, parameter layer and data layer a multi-dimensional data set is formed, and PSM is produced according to the multi-dimensional data set.
Step 120.
And acquiring the first component and the second component from the components of the industrial software according to the service requirement and the chained matching relation acquired from the knowledge base.
The reusable components and metadata sets are then stored in the component library in four ways, full reuse, reconfiguration, modified reuse, and no reuse, respectively, as shown in fig. 3. When new service demands are generated or the service demands are changed, service demand analysis is carried out, service process reconstruction is completed, a reconstructed service model is obtained according to the changed service demands, and model-driven component selection and optimization are carried out based on the reconstructed service model.
Wherein the second component is a fully reusable component. The first component is a component which can be reused through reconfiguration and modification, and the first component is modified to obtain a third component.
Based on the business requirements and the chain matching relationship, the reusable first component and second component can be accurately obtained from the components of the industrial software.
In one possible embodiment, step 120 includes:
based on the unified model, selecting a first component meeting the service requirement from components of the industrial software according to the service requirement and the chained matching relation, wherein the first component is used for reconstructing the industrial software after being modified.
The ordered recombination management of the components can be realized by constructing chain matching relations of industrial software common component tools such as a data analysis tool, a visualization tool, interface management and the like and metadata sets.
For example, the original service requirement is the energy consumption of the computer tool a, the current service requirement is the energy consumption of the computer tool a and the computer tool B, and the original service requirement and the current service requirement have the same calculation principle, so that the first component for calculating the energy consumption of the computer tool a can be reused after being repaired.
Step 130.
And modifying the first component according to the service requirement to obtain a third component.
And directly driving and selecting the components meeting the changed service requirements by the unified model, and reusing the existing components and the metadata set according to the mapping relation between the unified model and the reusable parts to assemble a new third component.
In one possible embodiment, step 130 includes:
and modifying the configuration file of the first component according to the service requirement to obtain a third component.
The reconfiguration means that the code of the first component does not need to be modified, and only the configuration file of the first component is modified to obtain a third component.
In one possible embodiment, step 130 includes:
and modifying the code of the first component according to the service requirement to obtain a third component.
The code of the first component is modified, and the code content of functions, referenced objects and the like called by the first component can be modified.
The modification reuse means that the code needs to be modified to realize reuse; the complete reuse representation is directly used in the reuse process without modification, and the no reuse representation cannot perform any reuse operation.
Step 140.
And generating a fourth component according to the service requirement.
In one possible embodiment, step 140 includes:
obtaining structural information of an industrial project;
performing hierarchical mapping on the unified model according to the structure information to obtain a component library with preset dimensions;
and coding the component library with the preset dimension according to the preset model conversion rule to generate a fourth component.
The step of performing hierarchical mapping on the unified model according to the structure information to obtain a component library with a preset dimension comprises the following steps:
and carrying out hierarchical mapping on the unified model according to the structure information to obtain a product component library, a place component library, a method component library, a personnel component library and a time component library.
The industrial software application platform architecture is designed from four layers of an infrastructure layer, a domain layer, an application layer and a presentation layer by using the thought of a layered architecture of domain drive design. And establishing an industrial software framework and a middle platform driven by a real-time model, taking the software framework as an infrastructure layer of a four-layer architecture designed by a field driver, and taking an industrial software application platform as a display layer in an application layer and a field layer comprising the middle platform of the software. Fig. 4 is a schematic diagram of a middle stage of industrial software according to an embodiment of the present application.
The industrial software framework supports normal application of the whole industrial system based on interaction among various software, hardware, networks and information security technologies, and comprises software architecture, model library, database, API interface, data structure, file system and other contents, so that an integrated development environment with unified model, module reuse and function expansion can be provided for a software platform and an Internet application platform.
The industrial software middle platform realizes ordered recombination management of components by constructing a link matching relationship between industrial software common component tools such as a data analysis tool, a visualization tool, interface management and the like and a metadata set.
In addition, the software middle stage should also realize functions such as business semantic modeling based on natural language such as graph operation, multi-mode data eigen model measurement based on multi-dimensional array or multi-dimensional database, black box multiplexing based on component interface call and component combination, and low code programming based on tools such as entity-contact diagram (Entity Relationship Diagram), form, extensible markup language (eXtensible Markup Language, XML) and unified model language (Unified Modeling Language, UML).
The industrial software application platform forms an agile development, reconfigurable and easily-expandable industrial software development and application platform based on low-code technologies such as graphical modeling and component template matching on the basis of an industrial software middle platform, and realizes real-time interaction of the two.
And constructing a complete and unified space flight test system model by using space flight test equipment system dimension examples, and developing real-time data, historical data, alarms and the like into a standardized information interface.
And based on a five-dimensional four-layer unified model modeling method, analyzing the digital structure of the aerospace test equipment, and determining the composition in each dimension to determine the modeling coverage. According to the requirement of the upper management system on production data and the physical structure of equipment, the whole equipment data is decomposed from top to bottom to obtain a plurality of analysis domains with low coupling and high aggregation, namely a large and complex test system is divided into a component set, components and other units according to the equipment production subsystem, so that the information management of the equipment is modularized, wherein the component set comprises a plurality of component units.
Each component of the aviation test equipment is digitalized, an attribute set is established according to production process data and attribute parameters of each component, and attribute elements such as data types, read-write attributes, units, value range ranges, whether the attribute elements are necessary to select or not are determined, so that detailed expression forms such as information model data dictionaries and databases are formed. According to the process, the semantic completeness of the model is improved through iteration, a unified model of the aerospace test system is built, and an aerospace test assembly library is formed.
Further constructs an industrial software middle stage, especially a health monitoring system of equipment state, for aerospace test of complex multi-element business. The system architecture is mainly divided into an equipment layer, an edge layer, a model layer and a data layer.
The edge layer takes the intelligent edge terminal as a main body, is connected with the platform body, the cooling unit, the power amplifier system and the like downwards through a protocol and a software definition, and is interconnected with the platform layer through data, a model, a method and the like upwards to realize cloud management and control, so that the purposes of remote monitoring, health assessment of key components, abnormal early warning and linkage control are achieved.
Step 150.
And generating the reconstructed industrial software according to the second component, the third component and the fourth component.
And then, the reconstructed field model is used as a reference model to be stored into a reference model component library, according to different industrial field knowledge, a metadata model entity, attributes and the interrelationship between the metadata model entity and a metadata set are constructed through tree representation forms of industrial system elements, a five-dimensional four-layer unified model entity is established and is subjected to layered mapping, coding is carried out according to model conversion rules, and a new reusable component and a new metadata set are generated.
And storing the reusable component and the metadata set in the component library according to four modes of complete reuse, reconfiguration, modification reuse and no reuse respectively.
Therefore, the reconstructed industrial software is generated according to the second component which can be completely reused, the third component which is reused after modification and the newly developed fourth component, the reconstruction efficiency of the industrial software is high, and the universality of the industrial software is improved.
In one possible embodiment, after step 150, the method further comprises:
based on the operation efficiency and the operation speed, the reconstructed industrial software is evaluated to obtain an evaluation result;
the step of re-executing the reconstruction method of industrial software according to claim 1 in case the evaluation result does not meet the preset condition.
And finally, evaluating the reconstructed industrial software architecture by using evaluation indexes such as the running efficiency, the running speed and the like, and if the reconstruction requirement is not met, reconstructing again.
In summary, in the embodiment of the present application, a knowledge base and a unified model are obtained from a middle platform constructed by an industrial project under the condition that a service requirement update of the industrial project is detected; and acquiring the first component and the second component from the components of the industrial software according to the business requirements and the chained matching relation acquired from the knowledge base, wherein the reusable first component and second component can be accurately acquired from the components of the industrial software based on the business requirements and the chained matching relation. And modifying the first component according to the service requirement to obtain a third component, wherein the existing component in the industrial software can be reused, development time and development cost are saved, the fourth component is generated according to the service requirement, and the fourth component which needs to be newly developed can be accurately generated according to the actual service requirement. And finally, generating the reconstructed industrial software according to the second component which can be completely reused, the third component which is reused after modification and the newly developed fourth component, so that the reconstructed industrial software can be generated on the basis of the second component, the third component and the fourth component as required, the reconstruction efficiency of the industrial software is high, and the universality of the industrial software is improved.
Based on the above-mentioned reconstruction method of the industrial software shown in fig. 1, an embodiment of the present application further provides a data processing apparatus, as shown in fig. 5, the apparatus 500 may include:
a first obtaining module 510, configured to obtain a knowledge base and a unified model from a middle platform constructed by an industrial project when a service requirement update of the industrial project is detected;
the second obtaining module 520 is configured to obtain, according to the service requirement and the chain matching relationship obtained from the knowledge base, a first component and a second component from the components of the industrial software;
a modifying module 530, configured to modify the first component according to the service requirement, to obtain a third component;
a generating module 540, configured to generate a fourth component according to the service requirement;
and the reconstruction module 550 is configured to generate the reconstructed industrial software according to the second component, the third component and the fourth component.
In one possible implementation, the generating module 540 is specifically configured to: obtaining structural information of an industrial project;
performing hierarchical mapping on the unified model according to the structure information to obtain a component library with preset dimensions;
and coding the component library with the preset dimension according to the preset model conversion rule to generate a fourth component.
In one possible implementation, the generating module 540 is specifically configured to: and carrying out hierarchical mapping on the unified model according to the structure information to obtain a product component library, a place component library, a method component library, a personnel component library and a time component library.
In one possible implementation, the second obtaining module 520 is specifically configured to:
based on the unified model, selecting a first component meeting the service requirement from components of the industrial software according to the service requirement and the chain matching relationship, wherein the first component is used for reconstructing the industrial software after being modified;
and selecting a second component meeting the service requirements from the components of the industrial software according to the service requirements and the chained matching relation based on the unified model, wherein the second component is used for reconstructing the industrial software.
In one possible implementation, the modification module 530 is specifically configured to:
and modifying the configuration file of the first component according to the service requirement to obtain a second component.
In one possible implementation, the modification module 530 is specifically configured to: and modifying the code of the first component according to the service requirement to obtain a second component.
In one possible implementation, the apparatus 500 may further include:
the evaluation module is used for evaluating the reconstructed industrial software based on the operation efficiency and the operation speed to obtain an evaluation result;
an execution module for re-executing the steps of the reconstruction method of the industrial software according to claim 1, if the evaluation result does not meet the preset condition.
In summary, in the embodiment of the present application, a knowledge base and a unified model are obtained from a middle platform constructed by an industrial project under the condition that a service requirement update of the industrial project is detected; and acquiring the first component and the second component from the components of the industrial software according to the business requirements and the chained matching relation acquired from the knowledge base, wherein the reusable first component and second component can be accurately acquired from the components of the industrial software based on the business requirements and the chained matching relation. And modifying the first component according to the service requirement to obtain a third component, wherein the existing component in the industrial software can be reused, development time and development cost are saved, the fourth component is generated according to the service requirement, and the fourth component which needs to be newly developed can be accurately generated according to the actual service requirement. And finally, generating the reconstructed industrial software according to the second component which can be completely reused, the third component which is reused after modification and the newly developed fourth component, so that the reconstructed industrial software can be generated on the basis of the second component, the third component and the fourth component as required, the reconstruction efficiency of the industrial software is high, and the universality of the industrial software is improved.
Fig. 6 shows a schematic hardware structure of an electronic device according to an embodiment of the present application.
A processor 401 may be included in an electronic device as well as a memory 402 in which computer program instructions are stored.
In particular, the processor 401 described above may include a Central Processing Unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured as one or more integrated circuits implementing embodiments of the present application.
Memory 402 may include mass storage for data or instructions. By way of example, and not limitation, memory 402 may comprise a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, magnetic tape, or universal serial bus (Universal Serial Bus, USB) Drive, or a combination of two or more of the foregoing. Memory 402 may include removable or non-removable (or fixed) media, where appropriate. Memory 402 may be internal or external to the integrated gateway disaster recovery device, where appropriate. In a particular embodiment, the memory 402 is a non-volatile solid state memory. In a particular embodiment, the memory 402 includes Read Only Memory (ROM). The ROM may be mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these, where appropriate.
The processor 401 reads and executes the computer program instructions stored in the memory 402 to implement the reconstruction method of any one of the industrial software in the embodiment shown in the figure.
In one example, the electronic device may also include a communication interface 403 and a bus 410. As shown in fig. 6, the processor 401, the memory 402, and the communication interface 403 are connected by a bus 410 and perform communication with each other.
The communication interface 403 is mainly used to implement communication between each module, device, unit and/or apparatus in the embodiment of the present application.
Bus 410 includes hardware, software, or both, coupling components of the electronic device to one another. By way of example, and not limitation, the buses may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a micro channel architecture (MCa) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus, or a combination of two or more of the above. Bus 410 may include one or more buses, where appropriate. Although embodiments of the application have been described and illustrated with respect to a particular bus, the application contemplates any suitable bus or interconnect.
The electronic device can execute the method for reconstructing the industrial software in the embodiment of the application, thereby realizing the method for reconstructing the industrial software described in connection with fig. 1 to 2.
In addition, in combination with the method for reconstructing industrial software in the above embodiment, the embodiment of the present application may be implemented by providing a computer readable storage medium. The computer readable storage medium has stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement the method of reconstruction of industrial software in fig. 1-2.
It should be understood that the application is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between steps, after appreciating the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
In the foregoing, only the specific embodiments of the present application are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present application is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present application, and they should be included in the scope of the present application.

Claims (10)

1. A method of reconfiguring industrial software, the method comprising:
under the condition that the business requirement of the industrial project is detected to be updated, acquiring a knowledge base and a unified model from a middle platform constructed by the industrial project;
acquiring a first component and a second component from the components of the industrial software according to the service requirement and the chained matching relation acquired from the knowledge base;
modifying the first component according to the service requirement to obtain a third component;
generating a fourth component according to the service requirement;
generating reconstructed industrial software according to the second component, the third component and the fourth component;
wherein the generating the reconstructed industrial software according to the second component, the third component and the fourth component comprises:
encoding according to the model transformation rules to generate a new reusable component and a metadata set;
storing the reusable component and the metadata set into a component library according to four modes of complete reuse, reconfiguration, modification reuse and no reuse respectively;
and generating the reconstructed industrial software according to the second component which can be completely reused, the third component which is reused after modification and the newly developed fourth component.
2. The method of claim 1, wherein generating a fourth component based on the business requirement comprises:
obtaining structural information of the industrial project;
performing hierarchical mapping on the unified model according to the structure information to obtain a component library with preset dimensions;
and encoding the component library with the preset dimension according to a preset model conversion rule to generate the fourth component.
3. The method according to claim 2, wherein the hierarchically mapping the unified model according to the structure information to obtain a component library with a preset dimension includes:
and carrying out hierarchical mapping on the unified model according to the structural information to obtain a product component library, a place component library, a method component library, a personnel component library and a time component library.
4. The method of claim 1, wherein the obtaining the first component and the second component from the components of the industrial software according to the business requirements and the chain matching relationship obtained from the knowledge base comprises:
selecting a first component meeting the business requirements from components of the industrial software according to the business requirements and the chained matching relation based on the unified model, wherein the first component is used for reconstructing the industrial software after being modified;
and selecting a second component meeting the business requirements from the components of the industrial software according to the business requirements and the chained matching relation based on the unified model, wherein the second component is used for reconstructing the industrial software.
5. The method of claim 1, wherein said modifying the first component to obtain a third component comprises:
and modifying the configuration file of the first component according to the service requirement to obtain the third component.
6. The method of claim 1, wherein said modifying the first component to obtain a third component comprises:
and modifying the code of the first component according to the service requirement to obtain the third component.
7. The method of claim 1, wherein after the generating the reconfigured industrial software from the second component, the third component, and the fourth component, the method further comprises:
based on the operation efficiency and the operation speed, the reconstructed industrial software is evaluated to obtain an evaluation result;
the step of the reconstruction method of industrial software according to claim 1 is re-executed in case the evaluation result does not meet the preset condition.
8. An apparatus for reconstructing industrial software, the apparatus comprising:
the first acquisition module is used for acquiring a knowledge base and a unified model from a middle platform constructed by the industrial project under the condition that the service demand of the industrial project is detected to be updated;
the second acquisition module is used for acquiring a first component and a second component from the components of the industrial software according to the service requirement and the chained matching relation acquired from the knowledge base;
the modification module is used for modifying the first component according to the service requirement to obtain a third component;
the generating module is used for generating a fourth component according to the service requirement;
the reconstruction module is used for generating reconstructed industrial software according to the second component, the third component and the fourth component;
wherein the generating the reconstructed industrial software according to the second component, the third component and the fourth component comprises:
encoding according to the model transformation rules to generate a new reusable component and a metadata set;
storing the reusable component and the metadata set into a component library according to four modes of complete reuse, reconfiguration, modification reuse and no reuse respectively;
and generating the reconstructed industrial software according to the second component which can be completely reused, the third component which is reused after modification and the newly developed fourth component.
9. An electronic device, the device comprising: a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements a method for reconstructing industrial software according to any one of claims 1-7.
10. A readable storage medium, characterized in that the computer readable storage medium has stored thereon computer program instructions, which when executed by a processor, implement a method of reconstructing industrial software according to any of claims 1-7.
CN202211384382.3A 2022-11-07 2022-11-07 Reconstruction method and device of industrial software, electronic equipment and readable storage medium Active CN115756595B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211384382.3A CN115756595B (en) 2022-11-07 2022-11-07 Reconstruction method and device of industrial software, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211384382.3A CN115756595B (en) 2022-11-07 2022-11-07 Reconstruction method and device of industrial software, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN115756595A CN115756595A (en) 2023-03-07
CN115756595B true CN115756595B (en) 2023-12-12

Family

ID=85356969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211384382.3A Active CN115756595B (en) 2022-11-07 2022-11-07 Reconstruction method and device of industrial software, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115756595B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851114A (en) * 2019-10-24 2020-02-28 山东中创软件工程股份有限公司 Business system development method and device, electronic equipment and storage medium
CN111736821A (en) * 2020-06-28 2020-10-02 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Visual modeling analysis method, system, computer device and readable storage medium
CN112148255A (en) * 2020-08-12 2020-12-29 深圳数设科技有限公司 Industrial software construction method and system based on model driving and micro-service coupling

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9870207B2 (en) * 2015-12-22 2018-01-16 Sap Se Software development using re-usable software components

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851114A (en) * 2019-10-24 2020-02-28 山东中创软件工程股份有限公司 Business system development method and device, electronic equipment and storage medium
CN111736821A (en) * 2020-06-28 2020-10-02 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Visual modeling analysis method, system, computer device and readable storage medium
CN112148255A (en) * 2020-08-12 2020-12-29 深圳数设科技有限公司 Industrial software construction method and system based on model driving and micro-service coupling

Also Published As

Publication number Publication date
CN115756595A (en) 2023-03-07

Similar Documents

Publication Publication Date Title
CN107844424B (en) Model-based testing system and method
CN107633155B (en) Method and apparatus for computer-based generation of component fault trees
CN116882978B (en) Deep sea submersible operation and maintenance support system based on product information frame
US20150025866A1 (en) Methods and apparatus for the creation and use of reusable fault model components
CN107103363A (en) A kind of construction method of the software fault expert system based on LDA
Eramo et al. Aidoart: Ai-augmented automation for devops, a model-based framework for continuous development in cyber-physical systems
CN115357678A (en) GIS automatic examination method and system based on structured natural language rule
CN115098472A (en) Digital twinning method, device and equipment for full life cycle of physical entity
CN112084294B (en) Whole vehicle electromagnetic compatibility grading management method based on artificial intelligence
Voss et al. Graph transformation in engineering design: an overview of the last decade
Mateo et al. IIoT/IoT and Artificial Intelligence/Machine Learning as a Process Optimization Driver under Industry 4.0 Model
US20220277119A1 (en) A System and Method for Generating a Holistic Digital Twin
CN115756595B (en) Reconstruction method and device of industrial software, electronic equipment and readable storage medium
Friedrich et al. Knowledge engineering for configuration systems
CN1983280A (en) Method and system for realizing action on model
Baratov et al. Improvement of the scientific bases of creating means of automation of documentation of devices of railway automation and telemechanics
CN117217020A (en) Industrial model construction method and system based on digital twin
Scippacercola et al. SysML-based and Prolog-supported FMEA
US20230376795A1 (en) Device, computing platform and method of analyzing log files of an industrial plant
KR100419296B1 (en) A Method and Program for Analyzing Failure Modes
Luteberget et al. Automated verification of rules and regulations compliance in CAD models of railway signalling and interlocking
CN115729536B (en) Generalized equipment fault prediction and health management modeling system
Quashem Design structure matrix: models, applications and data exchange format
Banu et al. Study of software reusability in software components
Ganeriwala et al. Functional Reasoning of System Architecture in the System Modeling Language (SysML) With XML Representation

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