[go: up one dir, main page]

CN113986223B - A method and device for quickly building a system based on metadata - Google Patents

A method and device for quickly building a system based on metadata Download PDF

Info

Publication number
CN113986223B
CN113986223B CN202111293039.3A CN202111293039A CN113986223B CN 113986223 B CN113986223 B CN 113986223B CN 202111293039 A CN202111293039 A CN 202111293039A CN 113986223 B CN113986223 B CN 113986223B
Authority
CN
China
Prior art keywords
metadata
service
model
business
logic
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
CN202111293039.3A
Other languages
Chinese (zh)
Other versions
CN113986223A (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.)
Inspur Cloud Information Technology Co Ltd
Original Assignee
Inspur Cloud 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 Inspur Cloud Information Technology Co Ltd filed Critical Inspur Cloud Information Technology Co Ltd
Priority to CN202111293039.3A priority Critical patent/CN113986223B/en
Publication of CN113986223A publication Critical patent/CN113986223A/en
Application granted granted Critical
Publication of CN113986223B publication Critical patent/CN113986223B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse

Landscapes

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

Abstract

本发明特别涉及一种基于元数据快速搭建系统的方法及装置。该基于元数据快速搭建系统的方法及装置,对接数据仓库系统中的元数据进行转化适配和标准化输出,根据系统内标准化结构以及业务相关模型进行系统构建,对以元数据为基础配置的业务逻辑模型进行业务逻辑运算及解析,实现系统与业务模型的技术转换;对系统生成的业务模型进行解释,生成标准的业务数据库语言,与实际业务中心库管理系统进行交互,满足相关业务系统的需求。该基于元数据快速搭建系统的方法及装置,解决了硬编码开发效率低和无法复用的问题,减少了编码量,降低了开发成本,提升了开发效率;同时降低了耦合度,能够快速容错,增强了系统的健壮性及快速适配性。

The present invention particularly relates to a method and device for quickly building a system based on metadata. The method and device for quickly building a system based on metadata connect to the metadata in the data warehouse system for conversion, adaptation and standardized output, build the system according to the standardized structure and business-related models in the system, perform business logic operations and analysis on the business logic model configured based on metadata, and realize the technical conversion between the system and the business model; interpret the business model generated by the system, generate a standard business database language, interact with the actual business center library management system, and meet the needs of related business systems. The method and device for quickly building a system based on metadata solves the problems of low efficiency and non-reusability of hard-coded development, reduces the amount of coding, reduces development costs, and improves development efficiency; at the same time, it reduces the degree of coupling, can quickly tolerate faults, and enhances the robustness and rapid adaptability of the system.

Description

Method and device for quickly building system based on metadata
Technical Field
The invention relates to the technical field of software development, in particular to a method and a device for quickly building a system based on metadata.
Background
With the advancement of informatization construction of industries, informatization application and informatization degree of departments and industries are gradually increased, and professional software development engineers such as material Management (MRP), customer management (CRM), enterprise information management (ERP) and the like perform system development work in various languages and personal habits. The system has the advantages that the system basically has thousands of millions of codes, the development workload is large, the system is complex, once the development is completed, the system has large workload for adjusting the codes, the whole body of a pulling action is always generated, the system has the condition of non-uniform sources, if the bottom layer of the system supports service sources according to service scene changes, the service related service systems are required to be modified layer by layer from a data control layer, the unified metadata management support and the visual configuration management system support are required, the problems are solved, the labor force of quick release personnel is realized, the cost is saved, and the quick construction method based on the metadata system is provided.
Metadata is generally called as data of data, metadata is taken as key development data treatment, the enterprise can be helped to manage data resources better, relationships among the data are cleared, more accurate and efficient analysis and decision are achieved, the whole process from generation to extinction of the data is completed through source data, a data warehouse and data application, metadata can help data warehouse administrators and developers to find relationships of the data warehouse administrators and the data developers conveniently, and the metadata is used for guiding the enterprises to conduct data management and system development and provides working efficiency.
Along with the development of information technology and the continuous maturity of computer technology, key business application systems and high informatization systems are continuously emerging, and different informatization systems meet the diversified demands of users. In order to meet the needs of users, developers need to update and maintain the software system in time. When new functions or new services are required to be added, the traditional development mode is hard coding development aiming at each service, and hard coding is to directly write data into codes for compiling development, but the development mode has low efficiency, the modules can not be reused, the system error rate is high, and the system upgrade is easy to cause problems.
The invention provides a method and a device for quickly building a system based on metadata, aiming at solving the problems of low efficiency, non-multiplexing of modules, high system error rate, easy initiation of system upgrading and the like in the traditional mode.
Disclosure of Invention
The invention provides a simple and efficient method and device for quickly building a system based on metadata in order to make up the defects of the prior art.
The invention is realized by the following technical scheme:
a method for quickly building a system based on metadata is characterized by comprising the following steps:
Firstly, interfacing metadata modules in a data warehouse system, performing metadata conversion adaptation, and performing standardized output on metadata so as to cope with the requirements of metadata module metadata management of different products on external service change;
secondly, performing system construction according to a standardized structure in the system and a service related model, customizing a service system software man-machine interaction interface, and quickly constructing an application system;
Thirdly, carrying out service logic operation and analysis on a service logic model configured based on metadata to form a metadata model based on the metadata, and realizing the technical conversion of the system and the service model;
and fourthly, explaining a service model generated by the system according to a metadata model formed in the system, generating a standard service database language, interacting with an actual service center library management system, and meeting the requirements of related service systems.
In the first step, the service interface of the actual metadata system is also adjusted to reduce the adaptation complexity, realize standardized output of metadata, fault tolerance and enhance the robustness and adaptation of the system.
In the second step, the system service related model is combined with metadata, and the target service and the corresponding service metadata relationship are subjected to visual configuration to form the service operator logic.
In the second step, the specific implementation steps are as follows:
(1) Firstly, acquiring metadata information of a target service and service information of the target service;
(2) Then, according to the service related requirements of the target system, configuring the association relation between the service system and the service metadata to form a mapping logic mapping between the target system and the physical metadata, wherein the service metadata are associated with at least one physical metadata;
(3) And carrying out visual configuration on the target service and the corresponding service metadata relationship.
In the third step, the metadata model is utilized to provide service logic operation and metadata assembly functions for the inside and provide translation functions in the standard service model and metadata conversion process for the outside.
In the third step, the model in the service field is processed and converted, metadata is combined and arranged according to the actual requirement of the system service and the logic rules to form a logic service rule base related to the system service, and meanwhile, the standard of the metadata model and the technical expandability of an interface component are utilized to realize the standard, so that a public interpretation module is provided.
And in the fourth step, explaining the relation between the metadata and the service model output by the system and the metadata in the actual service database.
The device for quickly constructing the system based on the metadata is characterized by comprising a metadata integration module, a system visual configuration module, a system logic module and a metadata interpretation module;
the metadata integration module is used for interfacing metadata modules in the data warehouse system and performing metadata conversion adaptation so as to meet the requirements of metadata management of the metadata modules of different products on external service change;
the system visualization configuration module is responsible for carrying out system construction according to a standardized structure in the system and a service related model, combining the system service related model with metadata, designing and describing a service field data model, customizing a service system software man-machine interaction interface and quickly constructing an application system;
the system logic module is responsible for carrying out service logic operation and analysis on a service logic model configured based on metadata, realizing the technical conversion of a system and the service model, forming a logic service rule base related to the system service according to the actual requirement of the system service, realizing the standard expandability by utilizing the standardization of the metadata model and the interface component technology, and providing a public interpretation module;
The metadata interpretation module is responsible for interpreting a service model generated by the system according to a metadata model formed in the system, generating a standard service database language, interacting with an actual service center library management system, and meeting the requirements of related service systems.
The metadata-based method and device for quickly constructing the system have the advantages that the metadata system is used for constructing the system, the problems of low development efficiency and incapability of multiplexing of hard codes are solved, the coding amount is reduced, the development cost is reduced, the development efficiency is improved, meanwhile, the logic between the decoupling system and the database is reduced, the coupling degree is reduced, standardized output of the metadata is realized, the fault tolerance is quick, and the robustness and the quick adaptability of the system are enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a method and apparatus for quickly building a system based on metadata according to the present invention.
FIG. 2 is a diagram illustrating a metadata integration method according to the present invention.
FIG. 3 is a schematic diagram of a system visual configuration method according to the present invention.
FIG. 4 is a schematic diagram of the business logic operation and analysis method of the present invention.
Fig. 5 is a schematic diagram of a metadata interpretation method of the present invention.
Detailed Description
In order to enable those skilled in the art to better understand the technical solution of the present invention, the following description will make clear and complete description of the technical solution of the present invention in combination with the embodiments of the present invention. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
First, the access logic to the actual business database field is independent of the base database instance. Because the metadata describing the service database is read in the information maintenance, when the service database changes, such as the increase of the field addition and deletion type field width, only the parameter data in the metadata module is required to be modified, and the unique coding information after the metadata is stored in the system is constructed without recompiling the code program. Second, the logical metadata structure is persisted, dynamically loaded, and not solidified in the program code. The visual interface configures the logic relation between the metadata and the service background, so that the system can be conveniently and quickly adjusted to adapt to the actual service demands of users.
The method for quickly building the system based on the metadata comprises the following steps:
Firstly, interfacing metadata modules in a data warehouse system, performing metadata conversion adaptation, and performing standardized output on metadata so as to cope with the requirements of metadata module metadata management of different products on external service change;
secondly, performing system construction according to a standardized structure in the system and a service related model, customizing a service system software man-machine interaction interface, and quickly constructing an application system;
Thirdly, carrying out service logic operation and analysis on a service logic model configured based on metadata to form a metadata model based on the metadata, and realizing the technical conversion of the system and the service model;
and fourthly, explaining a service model generated by the system according to a metadata model formed in the system, generating a standard service database language, interacting with an actual service center library management system, and meeting the requirements of related service systems.
In the first step, the service interface of the actual metadata system is also adjusted to reduce the adaptation complexity, realize standardized output of metadata, fault tolerance and enhance the robustness and adaptation of the system.
In the second step, the system service related model is combined with metadata, and the target service and the corresponding service metadata relationship are subjected to visual configuration to form the service operator logic.
In the second step, the specific implementation steps are as follows:
(1) Firstly, acquiring metadata information of a target service and service information of the target service;
(2) Then, according to the service related requirements of the target system, configuring the association relation between the service system and the service metadata to form a mapping logic mapping between the target system and the physical metadata, wherein the service metadata are associated with at least one physical metadata;
(3) And carrying out visual configuration on the target service and the corresponding service metadata relationship.
In the third step, the metadata model is utilized to provide service logic operation and metadata assembly functions for the inside and provide translation functions in the standard service model and metadata conversion process for the outside.
In the third step, the model in the service field is processed and converted, metadata is combined and arranged according to the actual requirement of the system service and the logic rules to form a logic service rule base related to the system service, and meanwhile, the standard of the metadata model and the technical expandability of an interface component are utilized to realize the standard, so that a public interpretation module is provided.
And in the fourth step, explaining the relation between the metadata and the service model output by the system and the metadata in the actual service database.
The device for quickly constructing the system based on the metadata comprises a metadata integration module, a system visual configuration module, a system logic module and a metadata interpretation module;
the metadata integration module is used for interfacing metadata modules in the data warehouse system and performing metadata conversion adaptation so as to meet the requirements of metadata management of the metadata modules of different products on external service change;
the system visualization configuration module is responsible for carrying out system construction according to a standardized structure in the system and a service related model, combining the system service related model with metadata, designing and describing a service field data model, customizing a service system software man-machine interaction interface and quickly constructing an application system;
the system logic module is responsible for carrying out service logic operation and analysis on a service logic model configured based on metadata, realizing the technical conversion of a system and the service model, forming a logic service rule base related to the system service according to the actual requirement of the system service, realizing the standard expandability by utilizing the standardization of the metadata model and the interface component technology, and providing a public interpretation module;
The metadata interpretation module is responsible for interpreting a service model generated by the system according to a metadata model formed in the system, generating a standard service database language, interacting with an actual service center library management system, and meeting the requirements of related service systems.
Compared with the prior art, the method and the device for quickly constructing the system based on the metadata have the following characteristics:
Firstly, the metadata is utilized to develop a service system, on one hand, the logic between the system and the database is decoupled, the coupling degree is reduced, and on the other hand, the management of the whole life cycle of the data is facilitated through the metadata management function.
Secondly, the method not only realizes effective supervision and integration of the data, but also can ensure high-quality seamless circulation of the data in each link and reduce creation of data islands, thereby not only realizing effective utilization of the data, but also effectively controlling unique sources of service data and ensuring monitoring efficiency of the data.
Thirdly, the application system can be developed by means of metadata ideas, so that the whole system can be more suitable for the current requirement of rapid informationized system development, and the expansibility and reusability of the system, the data uniformity after the system is upgraded and the data uniformity in the industry can be ensured.
The above examples are only one of the specific embodiments of the present invention, and the ordinary changes and substitutions made by those skilled in the art within the scope of the technical solution of the present invention should be included in the scope of the present invention.

Claims (8)

1. A method for quickly building a system based on metadata is characterized by comprising the following steps:
Firstly, interfacing metadata modules in a data warehouse system, performing metadata conversion adaptation, and performing standardized output on metadata so as to cope with the requirements of metadata module metadata management of different products on external service change;
secondly, performing system construction according to a standardized structure in the system and a service related model, customizing a service system software man-machine interaction interface, and quickly constructing an application system;
Thirdly, carrying out service logic operation and analysis on a service logic model configured based on metadata to form a metadata model based on the metadata, and realizing the technical conversion of the system and the service model;
and fourthly, explaining a service model generated by the system according to a metadata model formed in the system, generating a standard service database language, interacting with an actual service center library management system, and meeting the requirements of related service systems.
2. The method for quickly building a system based on metadata as recited in claim 1, wherein in the first step, an actual metadata system service interface is further adjusted to reduce adaptation complexity, realize standardized output of metadata, fault tolerance, and enhance robustness and adaptation of the system.
3. The method of claim 1, wherein in the second step, the system business related model is combined with metadata, and the target business and the corresponding business metadata relationship are configured in a visualized manner to form a business logic.
4. The method for quickly building a system based on metadata according to claim 3, wherein in the second step, the specific implementation steps are as follows:
(1) Firstly, acquiring metadata information of a target service and service information of the target service;
(2) Then, according to the service related requirements of the target system, configuring the association relation between the service system and the service metadata to form a mapping logic mapping between the target system and the physical metadata, wherein the service metadata are associated with at least one physical metadata;
(3) And carrying out visual configuration on the target service and the corresponding service metadata relationship.
5. The method of claim 1, wherein in the third step, the metadata model is used to provide service logic operation and metadata assembly functions for the inside and provide translation functions in standard service model and metadata conversion process for the outside.
6. The method for quickly setting up a system based on metadata as set forth in claim 5, wherein in said third step, the model in the business domain is processed and converted, the metadata is combined and arranged according to the actual requirement of the system business and according to the logic rules to form a logic business rule base related to the system business, and meanwhile, the standard extensibility of the metadata model and the interface assembly technology are utilized to realize the standard extensibility to provide a common interpretation module.
7. The method for quickly building a system based on metadata according to claim 1, wherein in the fourth step, the relation between the metadata and the business model output by the system and the metadata in the actual business database are interpreted.
8. The device for quickly constructing the system based on the metadata is characterized by comprising a metadata integration module, a system visual configuration module, a system logic module and a metadata interpretation module;
the metadata integration module is used for interfacing metadata modules in the data warehouse system and performing metadata conversion adaptation so as to meet the requirements of metadata management of the metadata modules of different products on external service change;
the system visualization configuration module is responsible for carrying out system construction according to a standardized structure in the system and a service related model, combining the system service related model with metadata, designing and describing a service field data model, customizing a service system software man-machine interaction interface and quickly constructing an application system;
the system logic module is responsible for carrying out service logic operation and analysis on a service logic model configured based on metadata, realizing the technical conversion of a system and the service model, forming a logic service rule base related to the system service according to the actual requirement of the system service, realizing the standard expandability by utilizing the standardization of the metadata model and the interface component technology, and providing a public interpretation module;
The metadata interpretation module is responsible for interpreting a service model generated by the system according to a metadata model formed in the system, generating a standard service database language, interacting with an actual service center library management system, and meeting the requirements of related service systems.
CN202111293039.3A 2021-11-03 2021-11-03 A method and device for quickly building a system based on metadata Active CN113986223B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111293039.3A CN113986223B (en) 2021-11-03 2021-11-03 A method and device for quickly building a system based on metadata

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111293039.3A CN113986223B (en) 2021-11-03 2021-11-03 A method and device for quickly building a system based on metadata

Publications (2)

Publication Number Publication Date
CN113986223A CN113986223A (en) 2022-01-28
CN113986223B true CN113986223B (en) 2025-04-25

Family

ID=79746098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111293039.3A Active CN113986223B (en) 2021-11-03 2021-11-03 A method and device for quickly building a system based on metadata

Country Status (1)

Country Link
CN (1) CN113986223B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115185923B (en) * 2022-07-07 2023-03-07 中国气象局气象探测中心 Method and system for managing meteorological observation metadata and intelligent terminal
CN115794075B (en) * 2023-02-01 2023-05-26 广州数说故事信息科技有限公司 Visual component interaction linkage configuration system, method and electronic equipment
CN115993966B (en) * 2023-03-24 2023-06-30 美云智数科技有限公司 Application development system and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106843835A (en) * 2016-12-21 2017-06-13 中国电子科技网络信息安全有限公司 A kind of application systems software constructing system of meta data customizing, system constituting method
CN109523423A (en) * 2018-11-28 2019-03-26 中国海洋石油集团有限公司 A kind of application system generation method, device, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7818714B2 (en) * 2005-09-15 2010-10-19 Microsoft Corporation Integration of process and workflows into a business application framework
CN105335133B (en) * 2014-06-18 2018-10-09 国际商业机器公司 Method and apparatus for generating business rule model
CN110058846B (en) * 2019-04-19 2023-05-05 南方电网数字平台科技(广东)有限公司 Business application software development system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106843835A (en) * 2016-12-21 2017-06-13 中国电子科技网络信息安全有限公司 A kind of application systems software constructing system of meta data customizing, system constituting method
CN109523423A (en) * 2018-11-28 2019-03-26 中国海洋石油集团有限公司 A kind of application system generation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113986223A (en) 2022-01-28

Similar Documents

Publication Publication Date Title
CN113986223B (en) A method and device for quickly building a system based on metadata
KR102237877B1 (en) Intelligent software auto development system with real-time collaboration support and method thereof
US11327726B2 (en) Workflow engine tool
Pappula et al. A Domain-Specific Language for Automating Feature-Based Part Creation in Parametric CAD
CN103441900B (en) Centralized cross-platform automatization test system and control method thereof
CN102279750B (en) Iterative code generation method based on domain knowledge sharing
US20100306020A1 (en) System and method for workflow management with configurable states and extensibility
US9552194B2 (en) System and method for creating a graphical user interface within a manufacturing execution system
CN104732306A (en) Rapid development system for service application system and method
US20140181790A1 (en) Software Engineering System and Method for Self-Adaptive Dynamic Software Components
Da Silva et al. XIS-UML profile for extreme modeling interactive systems
Hüller et al. Ark Automate-an Open-Source Platform for Robotic Process Automation.
CN104977906B (en) Controlling a manufacturing plant with a manufacturing execution system
CN116841547A (en) Visual management and control system of enterprise architecture
US20130167051A1 (en) Method and system for customizing a graphic user interface of a manfuacturing execution system screen
Cagnin et al. PARFAIT: Towards a framework-based agile reengineering process
CN118331567A (en) MBSE-based software project development method, MBSE-based software project development device and MBSE-based software project development equipment
KR100869886B1 (en) Rehosting method to transform mainframe system environment into open system environment
US11562105B2 (en) System and method for module engineering with sequence libraries
Bykov et al. Infrastructure-as-Code Approach for IT-Infrastructure
CN116340130A (en) Project test case management platform and method, electronic equipment and storage medium
CN113867714A (en) Automatic code generation method adaptive to multiple languages
CN114780175B (en) Configuration information generation method and device
Mordinyi et al. Integrating heterogeneous engineering tools and data models: a roadmap for developing engineering system architecture variants
Kundu et al. Revisiting BPR: A New Framework & Model for Future

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