CN114510234A - Industrial app's unified modeling platform - Google Patents

Industrial app's unified modeling platform Download PDF

Info

Publication number
CN114510234A
CN114510234A CN202210169196.1A CN202210169196A CN114510234A CN 114510234 A CN114510234 A CN 114510234A CN 202210169196 A CN202210169196 A CN 202210169196A CN 114510234 A CN114510234 A CN 114510234A
Authority
CN
China
Prior art keywords
plug
data
model
module
platform
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.)
Granted
Application number
CN202210169196.1A
Other languages
Chinese (zh)
Other versions
CN114510234B (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.)
Zhejiang Lanzhuo Industrial Internet Information Technology Co ltd
Original Assignee
Zhejiang Lanzhuo Industrial Internet Information 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 Zhejiang Lanzhuo Industrial Internet Information Technology Co ltd filed Critical Zhejiang Lanzhuo Industrial Internet Information Technology Co ltd
Priority to CN202210169196.1A priority Critical patent/CN114510234B/en
Publication of CN114510234A publication Critical patent/CN114510234A/en
Application granted granted Critical
Publication of CN114510234B publication Critical patent/CN114510234B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a unified modeling platform of industrial apps, which comprises a system built-in plug-in module and a system kernel. The system built-in plug-in module is used for providing plug-in service according to a plug-in configuration request of a user; the system kernel comprises a meta-model bootstrap module, a model data operation protocol module, a model data release module and a model data processing plug-in module; the meta-model bootstrap module is used for realizing self-description of the model; the model data operation protocol module is used for providing data addition, modification or deletion service and providing standard rest interface service; the model data publishing module is used for publishing the data operation as a message after the data operation is finished; the model data processing plug-in module is used for providing plug-in registration, log-out and operation performance monitoring services. According to the scheme, an industrial app developer can conveniently perform relational data modeling and object model modeling, and all data of a factory are converged and communicated by constructing the relationship among the data.

Description

一种工业app的统一建模平台A unified modeling platform for industrial applications

技术领域technical field

本申请涉及工业app技术领域,更具体地说,涉及一种工业app的统一建模平台。The present application relates to the technical field of industrial applications, and more particularly, to a unified modeling platform for industrial applications.

背景技术Background technique

工业APP是工业技术要素的载体,其为了解决特定问题、满足特定需要而将工业领域的各种知识通过数据建模与分析、结构化整理、系统性抽象提炼,并基于统一的标准,将这些工业技术要素封装固化后所形成的一种可高效重用和广泛传播的工业应用程序。在工业APP中封装了具有特定功能和解决特定问题的流程、逻辑、数据流、经验、算法、知识、规律等工业技术要素。Industrial APP is the carrier of industrial technology elements. In order to solve specific problems and meet specific needs, various knowledge in the industrial field is modeled and analyzed through data, structured and abstracted systematically, and based on unified standards, these An industrial application that can be efficiently reused and widely disseminated after the packaging of industrial technology elements is cured. Industrial APPs encapsulate industrial technical elements such as processes, logic, data flow, experience, algorithms, knowledge, and laws that have specific functions and solve specific problems.

由于工业涉及的行业特别广泛,导致每个行业都积累了大量的知识。这一特征使得工业数据建模成为了工业app开发的关键,通过数据建模平台,可以提取,沉淀,抽象工业知识,并为上层app的开发和演进打下基础。数据建模平台的通用性和灵活性极大的决定了工业app开发的效率和质量,特别是基于低代码的开发平台更加依赖底层数据建模能力。Because the industries involved in the industry are particularly broad, each industry has accumulated a large amount of knowledge. This feature makes industrial data modeling the key to industrial app development. Through the data modeling platform, industrial knowledge can be extracted, precipitated, and abstracted, and the foundation for the development and evolution of upper-level apps can be laid. The versatility and flexibility of the data modeling platform greatly determine the efficiency and quality of industrial app development, especially the low-code-based development platform is more dependent on the underlying data modeling capabilities.

目前尚没有一种数据建模方案能很好的融合关系数据建模和物模型建模。这给工业app的建模和开发带来了很大的阻碍。因为app开发者需要学习不同的建模方法和工具来处理数据,很多场景下,开发者需要基于不同的平台对同一份数据建立不同的模型,存在大量重复劳动。更重要的是,在不同平台下建立的模型,无法相互理解,数据无法打通,导致用户无法把工厂的所有数据融汇贯通。At present, there is no data modeling solution that can well integrate relational data modeling and object model modeling. This has brought great obstacles to the modeling and development of industrial apps. Because app developers need to learn different modeling methods and tools to process data, in many scenarios, developers need to build different models for the same data based on different platforms, and there is a lot of duplication of effort. More importantly, the models established under different platforms cannot understand each other, and the data cannot be connected, so that users cannot integrate all the data of the factory.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本申请提供一种工业app的统一建模平台,用于为工业app的开发提供建模服务,用于使用户通过构建数据之间的关系,把工厂的所有数据融汇贯通。In view of this, the present application provides a unified modeling platform for industrial apps, which is used to provide modeling services for the development of industrial apps, so that users can integrate all the data of the factory by building the relationship between the data.

为了实现上述目的,现提出的方案如下:In order to achieve the above purpose, the proposed scheme is as follows:

一种工业app的统一建模平台,所述统一建模平台包括系统内核和系统内置插件模块,其中:A unified modeling platform for industrial applications, the unified modeling platform includes a system kernel and a system built-in plug-in module, wherein:

所述系统内核包括元模型自举模块、模型数据操作协议模块、模型数据发布模块和模型数据处理插件模块;The system kernel includes a meta-model bootstrapping module, a model data operation protocol module, a model data publishing module and a model data processing plug-in module;

所述元模型自举模块用于实现元模型的自描述;The meta-model bootstrapping module is used to realize the self-description of the meta-model;

所述模型数据操作协议模块用于提供数据的新增、修改或删除服务,还用于提供标准rest接口服务;The model data operation protocol module is used for providing data addition, modification or deletion services, and also for providing standard rest interface services;

所述模型数据发布模块用于在完成数据操作后,将所述数据操作作为消息进行发布;The model data publishing module is configured to publish the data operation as a message after completing the data operation;

所述模型数据处理插件模块用于提供插件注册、注销和运行性能监控服务;The model data processing plug-in module is used to provide plug-in registration, log-out and running performance monitoring services;

所述系统内置插件模块用于根据用户的插件配置请求提供插件服务。The built-in plug-in module of the system is used to provide plug-in services according to the user's plug-in configuration request.

可选的,所述元模型自举模块包括逻辑表元模型和逻辑字段元模型。Optionally, the metamodel bootstrapping module includes a logical table metamodel and a logical field metamodel.

可选的,所述元模型自举模块的逻辑数据类型包括整数、小数、文本、文件和布尔数据中的部分或全部。Optionally, the logical data type of the meta-model bootstrapping module includes part or all of integer, decimal, text, file and Boolean data.

可选的,所述系统内置插件模块包括平台元数据插件、数据持久化插件、物模型扩展插件和时序数据建模插件,其中:Optionally, the built-in plug-in module of the system includes a platform metadata plug-in, a data persistence plug-in, an object model extension plug-in, and a time series data modeling plug-in, wherein:

所述平台元数据插件用于定义平台本身的元数据;The platform metadata plug-in is used to define the metadata of the platform itself;

所述数据持久化插件用于把模型数据持久化到各种数据库;The data persistence plug-in is used to persist model data to various databases;

所述物模型扩展插件用于对实体以及所述实体之间的关系进行描述;The thing model extension plug-in is used to describe the entity and the relationship between the entities;

所述时序数据建模插件用于为时序数据增加多元数据信息。The time series data modeling plug-in is used to add multivariate data information to the time series data.

可选的,所述统一建模平台还包括行业标准模型。Optionally, the unified modeling platform further includes industry standard models.

可选的,所述统一建模平台还包括工厂定制模型和插件。Optionally, the unified modeling platform further includes a factory customized model and a plug-in.

从上述的技术方案可以看出,本申请公开了一种工业app的统一建模平台,包括系统内核和系统内置插件模块。系统内核包括元模型自举模块、模型数据操作协议模块、模型数据发布模块和模型数据处理插件模块;元模型自举模块用于实现模型的自描述;模型数据操作协议模块用于提供数据的新增、修改或删除服务,还用于提供标准rest接口服务;模型数据发布模块用于在完成数据操作后,将数据操作作为消息进行发布;模型数据处理插件模块用于提供插件注册、注销和运行性能监控服务;系统内置插件模块用于根据用户的插件配置请求提供插件服务;。本方案可以让工业app开发者方便的进行关系数据建模和物模型建模,并通过构建这些数据之间的关系,把工厂的所有数据融汇贯通。It can be seen from the above technical solutions that the present application discloses a unified modeling platform for industrial apps, including a system kernel and a built-in plug-in module of the system. The system kernel includes a meta-model bootstrapping module, a model data manipulation protocol module, a model data publishing module and a model data processing plug-in module; the meta-model bootstrapping module is used to implement the self-description of the model; the model data manipulation protocol module is used to provide new data Add, modify or delete services, and also provide standard rest interface services; model data publishing module is used to publish data operations as messages after completing data operations; model data processing plug-in modules are used to provide plug-in registration, logout and running Performance monitoring service; the built-in plug-in module of the system is used to provide plug-in services according to the user's plug-in configuration request; This solution allows industrial app developers to easily perform relational data modeling and object model modeling, and integrate all factory data by building the relationship between these data.

通过将所有数据融会贯通,提高开发者的开发效率,避免重复劳动,降低学习成本。让开发者更方便的对整个工厂的数据进行建模,高效的提取,沉淀,抽象工业知识。By integrating all data, the development efficiency of developers is improved, duplication of work is avoided, and learning costs are reduced. Make it easier for developers to model the data of the entire factory, and efficiently extract, precipitate, and abstract industrial knowledge.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本申请实施例的一种工业app的统一建模平台的框图;1 is a block diagram of a unified modeling platform for an industrial app according to an embodiment of the application;

图2为本申请实施例的另一种工业app的统一建模平台的框图;2 is a block diagram of a unified modeling platform for another industrial app according to an embodiment of the application;

图3为本申请实施例的又一种工业app的统一建模平台的框图。FIG. 3 is a block diagram of yet another unified modeling platform for an industrial app according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

实施例Example

图1为本申请实施例的一种工业app的统一建模平台的框图。FIG. 1 is a block diagram of a unified modeling platform for an industrial app according to an embodiment of the present application.

如图1所示,本实施例提供的统一建模平台应用于电子设备,该电子设备可以理解为具有数据计算和信息处理的计算机或服务器,该统一建模平台包括系统内置插件模块10和系统内核20。其中,本申请的系统内核包括元模型自举模块21、模型数据操作协议模块22、模型数据发布模块23和模型数据处理插件模块24.As shown in FIG. 1 , the unified modeling platform provided in this embodiment is applied to an electronic device. The electronic device can be understood as a computer or server with data computing and information processing. The unified modeling platform includes a built-in plug-in module 10 and a system. Kernel 20. Wherein, the system kernel of the present application includes a meta-model bootstrapping module 21, a model data operation protocol module 22, a model data publishing module 23 and a model data processing plug-in module 24.

元模型自举模块是整个平台的基础,该模块用于完成元模型的自描述,从而无需依赖其他任何模块。元模型是关于模型的模型,例如在数据建模领域,元模型就是描述数据表的模型。可以提供一组建模元素以及使用这些元素的规则,并递归地应用这些元素和规则,使用一种统一的方法描述业务模型和元模型。The meta-model bootstrapping module is the foundation of the entire platform, and this module is used to complete the self-description of the meta-model, so that it does not need to depend on any other modules. A metamodel is a model about a model, for example in the field of data modeling, a metamodel is a model that describes a data table. A set of modeling elements and rules for using these elements can be provided and applied recursively to describe business models and meta-models in a unified way.

元模型提供了两个概念,逻辑表元模型和逻辑字段元模型。其中,逻辑表元模型用来描述模型主体;逻辑字段元模型用来描述模型结构,通过以下三个逻辑表完成模型自举。The metamodel provides two concepts, the logical table metamodel and the logical field metamodel. Among them, the logical table meta-model is used to describe the model body; the logical field meta-model is used to describe the model structure, and the model bootstrapping is completed through the following three logical tables.

a.逻辑表元模型:a. Logical table metamodel:

namename descriptiondescription logic_tablelogic_table 逻辑表元模型logical table metamodel logic_columnlogic_column 逻辑字段元模型Logical Field Metamodel logic_data_typelogic_data_type 逻辑数据类型元模型 Logical Data Type Metamodel

b.逻辑字段元模型:b. Logical Field Metamodel:

logic_tablelogic_table namename logic_data_typelogic_data_type descriptiondescription logic_tablelogic_table namename stringstring 逻辑表名称logical table name logic_tablelogic_table descriptiondescription stringstring 逻辑表描述Logic table description logic_columnlogic_column namename stringstring 逻辑字段名称logical field name logic_columnlogic_column descriptiondescription stringstring 逻辑字段描述logical field description logic_columnlogic_column data_typedata_type stringstring 逻辑类型logical type logic_data_typelogic_data_type namename stringstring 逻辑类型名称logical type name logic_data_typelogic_data_type descriptiondescription stringstring 逻辑类型描述logical type description physical_data_typephysical_data_type namename stringstring 物理类型名称physical type name physical_data_typephysical_data_type descriptiondescription stringstring 物理类型描述 Physical Type Description

c.元模型的逻辑数据类型:c. The logical data type of the metamodel:

Figure BDA0003516766370000041
Figure BDA0003516766370000041

Figure BDA0003516766370000051
Figure BDA0003516766370000051

模型数据操作协议模块用于定义数据新增、修改和删除,和批量混合操作的标准rest接口,数据以json格式传输。接口路由中逻辑表作为资源。平台实现了数据操作协议,所有数据操作必须通过该协议完成,不提供其他方式。The model data operation protocol module is used to define the standard rest interface of data addition, modification and deletion, and batch mixing operations. The data is transmitted in json format. The logical table in the interface route is used as a resource. The platform implements a data operation protocol, through which all data operations must be completed, and no other methods are provided.

模型数据发布模块用于当平台在处理完数据操作后,把整个操作作为消息发布出来;其提供异步和同步两种方式让外部监听消息,同步的方式需要等待对方处理完消息并确认后才完成操作,异步的方式不阻塞当前数据操作,为了保证平台的稳定性,所有需要同步处理的外部模块必须满足性能要求。The model data publishing module is used to publish the entire operation as a message after the platform has processed the data operation; it provides two methods, asynchronous and synchronous, for external monitoring of the message. The synchronous method needs to wait for the other party to process the message and confirm it before completing. The asynchronous operation does not block the current data operation. In order to ensure the stability of the platform, all external modules that need to be processed synchronously must meet the performance requirements.

模型数据处理插件模块提供了一套插件系统,它建立在模型数据发布模块之上,提供了插件注册,注销,运行性能监控等一些列的功能。同时该模块也利用统一的建模能力管理插件模型。The model data processing plug-in module provides a set of plug-in system, which is built on the model data publishing module, and provides a series of functions such as plug-in registration, logout, and running performance monitoring. At the same time, the module also manages plug-in models with unified modeling capabilities.

系统内核提供了和具体平台无关的能力,但是作为一个工业app开发平台,还需要定义一套平台标准。但是和平台相关的所有能力都是通过插件完成的,这极大的提升了平台的普适性和扩展性。相应的,本申请中系统内置插件模块用于根据用户的插件配置请求提供插件服务,其具体包括但不限于平台元数据插件、数据持久化插件、物模型扩展插件和时序数据建模插件。The system kernel provides platform-independent capabilities, but as an industrial app development platform, a set of platform standards needs to be defined. However, all the capabilities related to the platform are completed through plug-ins, which greatly improves the universality and extensibility of the platform. Correspondingly, the system built-in plug-in module in this application is used to provide plug-in services according to the user's plug-in configuration request, which specifically includes but is not limited to platform metadata plug-ins, data persistence plug-ins, object model extension plug-ins, and time series data modeling plug-ins.

平台元数据插件用于定义平台本身的元数据,例如平台的版本,包含的模块。系统提供的所有api,平台安装的所有app。Platform metadata plugins are used to define metadata about the platform itself, such as the version of the platform, the modules it contains. All APIs provided by the system and all apps installed by the platform.

数据持久化插件用于把模型数据持久化到各种数据库,这样整个平台就和具体数据库解耦,同样一份数据甚至可以持久化到不同的数据库,例如关系库和图数据库。这种插件机制极大的提高了系统的灵活性和普适性。The data persistence plugin is used to persist model data to various databases, so that the entire platform is decoupled from the specific database, and the same data can even be persisted to different databases, such as relational databases and graph databases. This plug-in mechanism greatly improves the flexibility and universality of the system.

物模型扩展插件用于在对物模型的建模过程中,对实体以及实体之间的关系进行更丰富的描述,例如平台可以通过扩展元模型,提供事件,服务等元模型,并提供在实例数据上定义属性等元数据的能力。这是典型的通过扩展元模型增加平台能力的示例。The object model extension plug-in is used to describe the entities and the relationships between entities more abundantly in the modeling process of the object model. For example, the platform can extend the meta model to provide meta models such as events and services, and provide the The ability to define metadata such as attributes on the data. This is a typical example of increasing platform capabilities by extending the metamodel.

时序数据有许多独有的特性,例如,每个时序数据都是一条数据流,可以通过扩展属性元模型,时序数据建模插件能够为时序属性增加更多元数据信息,例如属性的单位,底层传感器信息等等。通过扩展元模型,而不是把这种能力固化到系统内核中,可以融合时序数据建模和关系数据建模,提供一套标准的概念和工具,同时也让时序数据和关系数据相互打通,建立关系,相互感知,为app提供更丰富的数据处理能力。Time series data has many unique features. For example, each time series data is a data stream, and by extending the attribute meta model, the time series data modeling plug-in can add more metadata information for time series attributes, such as the unit of the attribute, the underlying layer. sensor information, etc. By extending the metamodel, rather than solidifying this capability into the system kernel, time series data modeling and relational data modeling can be integrated to provide a set of standard concepts and tools, and at the same time, time series data and relational data can be connected to each other to establish Relationships and mutual perception provide apps with richer data processing capabilities.

从上述技术方案可以看出,本实施例提供了一种工业app的统一建模平台,包括系统内核和系统内置插件模块。系统内核包括元模型自举模块、模型数据操作协议模块、模型数据发布模块和模型数据处理插件模块;元模型自举模块用于实现模型的自描述;模型数据操作协议模块用于提供数据的新增、修改或删除服务,还用于提供标准rest接口服务;模型数据发布模块用于在完成数据操作后,将数据操作作为消息进行发布;模型数据处理插件模块用于提供插件注册、注销和运行性能监控服务;系统内置插件模块用于根据用户的插件配置请求提供插件服务。本方案可以让工业app开发者方便的进行关系数据建模和物模型建模,并通过构建这些数据之间的关系,把工厂的所有数据融汇贯通。It can be seen from the above technical solutions that this embodiment provides a unified modeling platform for industrial apps, including a system kernel and a built-in plug-in module of the system. The system kernel includes a meta-model bootstrapping module, a model data manipulation protocol module, a model data publishing module and a model data processing plug-in module; the meta-model bootstrapping module is used to implement the self-description of the model; the model data manipulation protocol module is used to provide new data Add, modify or delete services, and also provide standard rest interface services; model data publishing module is used to publish data operations as messages after completing data operations; model data processing plug-in modules are used to provide plug-in registration, logout and running Performance monitoring service; the built-in plug-in module of the system is used to provide plug-in services according to the user's plug-in configuration request. This solution allows industrial app developers to easily perform relational data modeling and object model modeling, and integrate all factory data by building the relationship between these data.

通过将所有数据融会贯通,提高开发者的开发效率,避免重复劳动,降低学习成本。让开发者更方便的对整个工厂的数据进行建模,高效的提取,沉淀,抽象工业知识。By integrating all data, the development efficiency of developers is improved, duplication of work is avoided, and learning costs are reduced. Make it easier for developers to model the data of the entire factory, and efficiently extract, precipitate, and abstract industrial knowledge.

以下通过一个app开发实施的过程描述统一建模平台的使用:The following describes the use of the Unified Modeling Platform through the process of developing an app:

假设基于本申请的统一建模平台进行app开发的通用app开发人员,他们正在提炼水泥行业标准模型,首先在统一建模平台中通过数据操作协议创建所有模型,以一个简单的仓储模型创建为例,json描述的操作如下:Suppose general app developers who develop apps based on the unified modeling platform of this application are refining the standard model of the cement industry. First, all models are created in the unified modeling platform through data operation protocols, taking the creation of a simple warehouse model as an example. , the operations described by json are as follows:

Figure BDA0003516766370000061
Figure BDA0003516766370000061

Figure BDA0003516766370000071
Figure BDA0003516766370000071

由于本平台统一了数据和元数据,app开发者不再需要调用各种元数据创建接口来创建模型,而只需要关心数据操作协议。这样即降低了app开发的复杂度,又提高了模型的扩展性。Since the platform unifies data and metadata, app developers no longer need to call various metadata creation interfaces to create models, but only need to care about data operation protocols. This not only reduces the complexity of app development, but also improves the scalability of the model.

本平台把水泥行业标准模型打包到app中,可以在实施阶段通过安装app 完成水泥行业标准模型的创建。This platform packs the cement industry standard model into the app, and can complete the creation of the cement industry standard model by installing the app in the implementation stage.

某水泥集团的app开发人员基于通用的水泥行业标准模型,进行定制开发,以适配该集团特殊的需求,例如,该集团有统一的仓库单号生成标准, app开发者可以扩展模型数据类型,增加一个仓库单号数据类型。在统一建模平台,就可以开发一个插件,该插件首先在数据类型元模型中新增一行数据: name:repo_number,description:仓库单号类型。然后处理发布的数据操作消息,把数据类型是repo_number的对应字段填充为生成的仓库编码。通过这个扩展插件,可以让所有app开发人员无需关心仓库单号生成逻辑,直接使用这个扩展数据类型,提高app开发的效率。如果结合可视化app组态平台,把这个数据类型直接集成到组态中可以让低代码开发更加高效。The app developers of a cement group conduct customized development based on the general cement industry standard model to meet the special needs of the group. For example, the group has a unified warehouse number generation standard, and app developers can expand the model data type, Add a warehouse order number data type. In the unified modeling platform, a plug-in can be developed. The plug-in first adds a row of data in the data type meta model: name: repo_number, description: warehouse order number type. Then, the published data operation message is processed, and the corresponding field whose data type is repo_number is filled with the generated warehouse code. Through this extension plug-in, all app developers can use this extended data type directly without caring about the warehouse order number generation logic to improve the efficiency of app development. If combined with the visual app configuration platform, integrating this data type directly into the configuration can make low-code development more efficient.

该水泥集团下的某个具体水泥厂中,现场工程实施人员可以基于集团定制的模型,继续进行定制开发,以处理该水泥厂特殊的需求,例如对仓库模型新增一些字段,在统一建模平台中,通过数据操作协议,直接在逻辑字段模型中新增字段即可。In a specific cement plant under the cement group, the on-site engineering implementers can continue to carry out customized development based on the model customized by the group to deal with the special needs of the cement plant, such as adding some fields to the warehouse model, in the unified modeling In the platform, you can directly add fields to the logical field model through the data operation protocol.

通过统一建模平台,app开发者在各个阶段都可以沉淀共有的行业模型和知识,可以极大的提高整个app的开发效率。Through the unified modeling platform, app developers can accumulate common industry models and knowledge at each stage, which can greatly improve the development efficiency of the entire app.

另外,在本申请的一个具体实施方式中,该统一建模平台还包括行业标准模型和插件30,如图2所示。In addition, in a specific embodiment of the present application, the unified modeling platform further includes industry standard models and plug-ins 30, as shown in FIG. 2 .

基于该行业标准模型,在app开发平台中,各个公司都可以沉淀自己领域内的模型,平台也可以沉淀各个行业的标准模型,这样可以极大的提高整个平台建模的效率,用户只需要在标准模型的基础是定制就可以快速完成建模。而本发明提供的建模灵活性可以让标准模型的沉淀变得更加高效。Based on this industry standard model, in the app development platform, each company can deposit models in their own fields, and the platform can also deposit standard models of various industries, which can greatly improve the efficiency of the entire platform modeling, users only need to The basis of the standard model is that customization can be done quickly to complete the modeling. The modeling flexibility provided by the present invention can make the precipitation of the standard model more efficient.

另外,在本申请的另一个具体实施方式中,该统一建模平台还包括工厂定制模型和插件40,如图3所示。In addition, in another specific embodiment of the present application, the unified modeling platform further includes a factory customized model and a plug-in 40, as shown in FIG. 3 .

在app开发完成后,相应的模型实施到具体的工厂,都会根据工厂的特殊情况做相应的定制。本发明提供的模型扩展性可以高效的满足定制模型的需求。After the app development is completed, the corresponding model is implemented in a specific factory, and it will be customized according to the special situation of the factory. The model expansibility provided by the present invention can efficiently meet the requirements of customized models.

本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments may be referred to each other.

本领域内的技术人员应明白,本发明实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It should be understood by those skilled in the art that the embodiments of the embodiments of the present invention may be provided as a method, an apparatus, or a computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media having computer-usable program code embodied therein, including but not limited to disk storage, CD-ROM, optical storage, and the like.

本发明实施例是参照根据本发明实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present invention are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal equipment to produce a machine that causes the instructions to be executed by the processor of the computer or other programmable data processing terminal equipment Means are created for implementing the functions specified in the flow or flows of the flowcharts and/or the blocks or blocks of the block diagrams.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal equipment to operate in a particular manner, such that the instructions stored in the computer readable memory result in an article of manufacture comprising instruction means, the The instruction means implement the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing terminal equipment, so that a series of operational steps are performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby executing on the computer or other programmable terminal equipment The instructions executed on the above provide steps for implementing the functions specified in the flowchart or blocks and/or the block or blocks of the block diagrams.

尽管已描述了本发明实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明实施例范围的所有变更和修改。While preferred embodiments of the embodiments of the present invention have been described, additional changes and modifications to these embodiments may be made by those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiments as well as all changes and modifications that fall within the scope of the embodiments of the present invention.

最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should also be noted that in this document, relational terms such as first and second are used only to distinguish one entity or operation from another, and do not necessarily require or imply these entities or that there is any such actual relationship or sequence between operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or terminal device comprising a list of elements includes not only those elements, but also a non-exclusive list of elements. other elements, or also include elements inherent to such a process, method, article or terminal equipment. Without further limitation, an element defined by the phrase "comprises a..." does not preclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.

以上对本发明所提供的技术方案进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The technical solutions provided by the present invention are described in detail above, and specific examples are used in this paper to illustrate the principles and implementations of the present invention. The descriptions of the above embodiments are only used to help understand the method of the present invention and its core idea; Meanwhile, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific embodiments and application scope. In summary, the contents of this specification should not be construed as limiting the present invention.

Claims (6)

1.一种工业app的统一建模平台,其特征在于,所述统一建模平台包括系统内核和系统内置插件模块,其中:1. a unified modeling platform of industrial app, is characterized in that, described unified modeling platform comprises system kernel and system built-in plug-in module, wherein: 所述系统内核包括元模型自举模块、模型数据操作协议模块、模型数据发布模块和模型数据处理插件模块;The system kernel includes a meta-model bootstrapping module, a model data operation protocol module, a model data publishing module and a model data processing plug-in module; 所述元模型自举模块用于实现元模型的自描述;The meta-model bootstrapping module is used to realize the self-description of the meta-model; 所述模型数据操作协议模块用于提供数据的新增、修改或删除服务,还用于提供标准rest接口服务;The model data operation protocol module is used for providing data addition, modification or deletion services, and also for providing standard rest interface services; 所述模型数据发布模块用于在完成数据操作后,将所述数据操作作为消息进行发布;The model data publishing module is configured to publish the data operation as a message after completing the data operation; 所述模型数据处理插件模块用于提供插件注册、注销和运行性能监控服务;The model data processing plug-in module is used to provide plug-in registration, log-out and running performance monitoring services; 所述系统内置插件模块用于根据用户的插件配置请求提供插件服务。The built-in plug-in module of the system is used to provide plug-in services according to the user's plug-in configuration request. 2.如权利要求1所述的统一建模平台,其特征在于,所述元模型自举模块包括逻辑表元模型和逻辑字段元模型。2 . The unified modeling platform of claim 1 , wherein the metamodel bootstrapping module includes a logical table metamodel and a logical field metamodel. 3 . 3.如权利要求2所述的统一建模平台,其特征在于,所述元模型自举模块的逻辑数据类型包括整数、小数、文本、文件和布尔数据中的部分或全部。3. The unified modeling platform of claim 2, wherein the logical data types of the meta-model bootstrapping module include part or all of integer, decimal, text, file and Boolean data. 4.如权利要求1所述的统一建模平台,其特征在于,所述系统内置插件模块包括平台元数据插件、数据持久化插件、物模型扩展插件和时序数据建模插件,其中:4. The unified modeling platform of claim 1, wherein the system built-in plug-in module comprises a platform metadata plug-in, a data persistence plug-in, an object model extension plug-in and a time series data modeling plug-in, wherein: 所述平台元数据插件用于定义平台本身的元数据;The platform metadata plug-in is used to define the metadata of the platform itself; 所述数据持久化插件用于把模型数据持久化到各种数据库;The data persistence plug-in is used to persist model data to various databases; 所述物模型扩展插件用于对实体以及所述实体之间的关系进行描述;The thing model extension plug-in is used to describe the entity and the relationship between the entities; 所述时序数据建模插件用于为时序数据增加多元数据信息。The time series data modeling plug-in is used to add multivariate data information to the time series data. 5.如权利要求1~4任一项所述的统一建模平台,其特征在于,所述统一建模平台还包括行业标准模型。5 . The unified modeling platform according to claim 1 , wherein the unified modeling platform further comprises an industry standard model. 6 . 6.如权利要求5所述的统一建模平台,其特征在于,所述统一建模平台还包括工厂定制模型和插件。6. The unified modeling platform of claim 5, wherein the unified modeling platform further comprises a factory customized model and a plug-in.
CN202210169196.1A 2022-02-23 2022-02-23 A unified modeling platform for industrial apps Active CN114510234B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210169196.1A CN114510234B (en) 2022-02-23 2022-02-23 A unified modeling platform for industrial apps

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210169196.1A CN114510234B (en) 2022-02-23 2022-02-23 A unified modeling platform for industrial apps

Publications (2)

Publication Number Publication Date
CN114510234A true CN114510234A (en) 2022-05-17
CN114510234B CN114510234B (en) 2025-02-14

Family

ID=81554474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210169196.1A Active CN114510234B (en) 2022-02-23 2022-02-23 A unified modeling platform for industrial apps

Country Status (1)

Country Link
CN (1) CN114510234B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050071803A1 (en) * 2003-09-30 2005-03-31 Markus Cherdron Development environment for developing applications using a metamodel
WO2007022289A2 (en) * 2005-08-15 2007-02-22 University Of Southern California Modeling application development in the petroleum industry
CN102693134A (en) * 2012-05-25 2012-09-26 南京邮电大学 Sensor network software modeling platform development method based on unified modeling language
US20150317127A1 (en) * 2013-09-10 2015-11-05 Myongji University Industry And Academia Coorperation Foundation System for metamodeling unification
US20150317331A1 (en) * 2014-05-02 2015-11-05 DhiLogics Solutions India Pvt. Ltd. Unified platform for application development
CN105677875A (en) * 2016-01-11 2016-06-15 清华大学 Visual modeling platform based on unified constraint of normal data elements
CN112148255A (en) * 2020-08-12 2020-12-29 深圳数设科技有限公司 Industrial software construction method and system based on model driving and micro-service coupling
CN112230893A (en) * 2020-10-16 2021-01-15 北京中船信息科技有限公司 Ship manufacturing-oriented multi-industrial mechanism model one-stop construction system and method
CN113504902A (en) * 2021-07-01 2021-10-15 中国汽车技术研究中心有限公司 Industrial APP integrated development system and related equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050071803A1 (en) * 2003-09-30 2005-03-31 Markus Cherdron Development environment for developing applications using a metamodel
WO2007022289A2 (en) * 2005-08-15 2007-02-22 University Of Southern California Modeling application development in the petroleum industry
CN102693134A (en) * 2012-05-25 2012-09-26 南京邮电大学 Sensor network software modeling platform development method based on unified modeling language
US20150317127A1 (en) * 2013-09-10 2015-11-05 Myongji University Industry And Academia Coorperation Foundation System for metamodeling unification
US20150317331A1 (en) * 2014-05-02 2015-11-05 DhiLogics Solutions India Pvt. Ltd. Unified platform for application development
CN105677875A (en) * 2016-01-11 2016-06-15 清华大学 Visual modeling platform based on unified constraint of normal data elements
CN112148255A (en) * 2020-08-12 2020-12-29 深圳数设科技有限公司 Industrial software construction method and system based on model driving and micro-service coupling
CN112230893A (en) * 2020-10-16 2021-01-15 北京中船信息科技有限公司 Ship manufacturing-oriented multi-industrial mechanism model one-stop construction system and method
CN113504902A (en) * 2021-07-01 2021-10-15 中国汽车技术研究中心有限公司 Industrial APP integrated development system and related equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姜楠 等: "基于元模型驱动异构数据统一建模的研究", 《电脑知识与技术》, vol. 14, no. 12, 25 April 2018 (2018-04-25), pages 4 - 5 *

Also Published As

Publication number Publication date
CN114510234B (en) 2025-02-14

Similar Documents

Publication Publication Date Title
JP6584672B2 (en) Subgraph interface generation
CN113722936B (en) A domain modeling method and system for intelligent manufacturing
US8839186B2 (en) Entity morphing in metamodel-based tools
US20170039040A1 (en) Integrated development environment with multiple editors
EP3079086A1 (en) Collaborative generation of configuration technical data for a product to be manufactured
Beuche Industrial variant management with pure:: variants
CN114594927A (en) Low-code development method, device, system, server and storage medium
CN103838711A (en) Definable typed semantic parsing system and method based on rules
Ouyang et al. RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graph
Hufnagel et al. Data integration in manufacturing industry: Model-based integration of data distributed from ERP to PLC
CN116171436A (en) Systems and methods for facilitating engineering of industrial systems
Calvo et al. Mapping hierarchies and dependencies from robustness diagram with loop and time controls to class diagram
CN114510234A (en) Industrial app's unified modeling platform
Brouzos et al. A low-code approach for connected robots
Abdalla et al. Object-oriented finite element and graphics data-translation facility
CN113542323B (en) Service processing method, device, equipment and computer readable storage medium
CN114924721A (en) Code generation method, device, computer equipment and storage medium
CN102141907A (en) Method and equipment for injecting data into applied database
Haase et al. Application integration within an integrated design environment
CN108228708B (en) Big data ETL system and scheduling method thereof
Chaturvedi et al. DPVO: design pattern detection using vertex ordering a case study in JHotDraw with documentation to improve reusability
Mordinyi et al. Integrating heterogeneous engineering tools and data models: a roadmap for developing engineering system architecture variants
Liu et al. Sufficient and necessary condition to decide compatibility for a class of interorganizational workflow nets
Lee et al. Interoperability for virtual manufacturing systems
CN115114429B (en) A visual data development method, device, equipment and medium

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