A method and device for quickly building a system based on metadata
Through the rapid system building method based on metadata, the problems of low efficiency of traditional software development models and difficulty in system upgrading are solved, efficient system development and rapid adaptation are achieved, and development costs and system coupling are reduced.
Patent Information
- Application Number
- CN202111293039.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-03
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2041-11-03
AI Technical Summary
The traditional software development model is inefficient, the module cannot be reused, the system error rate is high, and the system upgrade is prone to problems, especially when business scenarios change, the system needs to be modified layer by layer, resulting in large development workload and high cost.
Through a rapid system construction method based on metadata, it includes connecting with the metadata modules in the data warehouse system, standardizing the output of metadata, visual configuration with system business-related models, realizing technical transformation of the system and business model, and generating a standard business database language to interact with the business center library management system.
This method solves the problems of low and inrelative hard-coded development efficiency and inability to reuse, reduces coding amount, reduces development costs, improves development efficiency, decouples the logic between the system and the database, reduces the coupling degree, and enhances the robustness and rapid adaptability of the system.
Smart Images

Figure CN113986223B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of software development, and in particular to a method and device for quickly building a system based on metadata. Background Art
[0002] With the advancement of information construction in various industries, the information application and information degree of various departments and industries have gradually increased. Various industry systems such as material management (MRP), customer management (CRM), enterprise information management (ERP), etc. have been developed by professional software development engineers in various languages and personal habits. These business systems are basically completed with thousands or even hundreds of thousands of codes, with a large development workload and complex systems. Once the development is completed, the system adjustment code workload is large, and it often occurs that one move affects the whole system; and there is a situation where the source of the system is not unified. If the underlying support business source of the system changes according to the business scenario, the business-related business system needs to be modified layer by layer starting from the data control layer. This requires a unified metadata management support and visual configuration management system support to solve such problems, so as to quickly liberate personnel labor and save costs. Based on this, this paper proposes a method for rapid construction of metadata-based systems.
[0003] Metadata is generally referred to as "data of data". Data governance based on metadata can help enterprises better manage data resources, clarify the relationship between data, achieve more accurate and efficient analysis and decision-making, connect source data, data warehouses, and data applications, and record the entire process from data generation to disappearance. Metadata can help data warehouse administrators and developers easily find their relationships, which can be used to guide their data management and system development and improve work efficiency.
[0004] With the development of information technology and the continuous maturity of computer technology, key business application systems and high-informatization systems continue to emerge, and different information systems meet the diverse needs of users. In order to meet the needs of users, developers need to update and maintain the software system in a timely manner. When new functions or new services need to be added, the traditional development model is to perform hard-coding development for each service. The so-called hard coding is to write data directly into the code for compilation and development. However, this development method is inefficient, modules cannot be reused, the system error rate is high, and system upgrades are prone to problems.
[0005] In order to solve the problems existing in the traditional method, such as low efficiency, non-reusable modules, high system error rate, and problems easily caused by system upgrades, the present invention proposes a method and device for quickly building a system based on metadata. Summary of the invention
[0006] In order to overcome the defects of the prior art, the present invention provides a simple and efficient method and device for quickly building a system based on metadata.
[0007] The present invention is achieved through the following technical solutions:
[0008] A method for quickly building a system based on metadata, characterized in that it includes the following steps:
[0009] The first step is to connect the metadata module in the data warehouse system, perform metadata conversion and adaptation, and standardize the metadata output to meet the needs of metadata management external services changes of metadata modules of different products;
[0010] The second step is to build the system according to the standardized structure and business-related models within the system, customize the human-computer interaction interface of the business system software, and quickly build the application system;
[0011] The third step is to perform business logic operations and analysis on the business logic model configured based on metadata, forming a metadata model based on metadata, and realizing the technical conversion of the system and business model;
[0012] The fourth step is to interpret the business model generated by the system according to the metadata model formed in 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.
[0013] In the first step, the actual metadata system business interface must also be adjusted to reduce the complexity of adaptation, achieve standardized output of metadata, fault tolerance, and enhance the robustness and adaptability of the system.
[0014] In the second step, the system business-related models are combined with metadata, and the relationship between the target business and the corresponding business metadata is visually configured to form business logic.
[0015] In the second step, the specific implementation steps are as follows:
[0016] (1) First obtain the metadata information and business information of the target business;
[0017] (2) Then, according to the business-related requirements of the target system, the association relationship between the business system and the business metadata is configured to form a mapping logic mapping between the target system and the physical metadata, wherein the business metadata is associated with at least one physical metadata;
[0018] (3) Visually configure the relationship between the target business and the corresponding business metadata.
[0019] In the third step, the metadata model is used to provide business logic operations and metadata assembly functions internally, and to provide translation functions in the process of converting standard business models and metadata externally.
[0020] In the third step, the business domain model is processed and converted, and the metadata is combined and organized according to logical rules based on the actual needs of the system business to form a logical business rule library related to the system business; at the same time, the standardization of the metadata model and the interface component technology are used to achieve the scalability of the specification and provide a public interpretation module.
[0021] In the fourth step, the relationship between the metadata and the business model output by the system, as well as the metadata in the actual business database are explained.
[0022] The device for quickly building a system based on metadata of the present invention is characterized by comprising a metadata integration module, a system visualization configuration module, a system logic module and a metadata interpretation module;
[0023] The metadata integration module is used to connect to the metadata module in the data warehouse system and perform metadata conversion and adaptation to meet the needs of metadata module metadata management external service changes of different products; at the same time, the actual metadata system business interface is adjusted to reduce the complexity of adaptation, achieve standardized output of metadata, fault tolerance, and enhance the robustness and adaptability of the system;
[0024] The system visualization configuration module is responsible for constructing the system according to the standardized structure and business-related models within the system, combining the system business-related models with metadata, designing and describing the business domain data model, customizing the human-computer interaction interface of the business system software, and quickly building the application system;
[0025] The system logic module is responsible for performing business logic operations and analysis on the business logic model configured based on metadata, realizing the technical conversion between the system and the business model, and forming a logic business rule library related to the system business according to the actual needs of the system business, using the standardization of the metadata model and the interface component technology to achieve the scalability of the specification and provide a public interpretation module;
[0026] The metadata interpretation module is responsible for interpreting the business model generated by the system according to the metadata model formed in the system, generating a standard business database language, interacting with the actual business center library management system, and meeting the needs of related business systems.
[0027] The beneficial effects of the present invention are as follows: the method and device for quickly building a system based on metadata use the metadata system to build the system, thereby solving the problems of low efficiency and non-reusability of hard-coded development, reducing the amount of coding, reducing development costs, and improving development efficiency; at the same time, the logic between the system and the database is decoupled, the degree of coupling is reduced, and standardized output of metadata is achieved, which can quickly tolerate faults and enhance the robustness and rapid adaptability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0029] Attached Figure 1 Schematic diagram of the method and device for quickly building a system based on metadata of the present invention.
[0030] Attached Figure 2 Schematic diagram of the metadata integration method of the present invention.
[0031] Attached Figure 3 It is a schematic diagram of the system visualization configuration method of the present invention.
[0032] Attached Figure 4 It is a schematic diagram of the business logic operation and analysis method of the present invention.
[0033] Attached Figure 5 Schematic diagram of the metadata interpretation method of the present invention. DETAILED DESCRIPTION
[0034] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0035] First, the access logic of the actual business database fields is independent of the basic database instance. Because the information maintenance reads the metadata that describes the business database, when the business database changes, such as the addition or deletion of fields or the increase of field width, it is only necessary to modify the parameter data in the metadata module and build a system to store the unique encoding information after the metadata is stored, without the need to recompile the code program. Secondly, the logical metadata structure is persistently stored and dynamically loaded, rather than being solidified in the program code. The visual interface configures the logical relationship between metadata and the business background, which facilitates the rapid adjustment of the system to adapt to the actual business needs of users.
[0036] The method for quickly building a system based on metadata includes the following steps:
[0037] The first step is to connect the metadata module in the data warehouse system, perform metadata conversion and adaptation, and standardize the metadata output to meet the needs of metadata management external services changes of metadata modules of different products;
[0038] The second step is to build the system according to the standardized structure and business-related models within the system, customize the human-computer interaction interface of the business system software, and quickly build the application system;
[0039] The third step is to perform business logic operations and analysis on the business logic model configured based on metadata, forming a metadata model based on metadata, and realizing the technical conversion of the system and business model;
[0040] The fourth step is to interpret the business model generated by the system according to the metadata model formed in 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.
[0041] In the first step, the actual metadata system business interface must also be adjusted to reduce the complexity of adaptation, achieve standardized output of metadata, fault tolerance, and enhance the robustness and adaptability of the system.
[0042] In the second step, the system business-related model is combined with the metadata, and the relationship between the target business and the corresponding business metadata is visually configured to form the business logic.
[0043] In the second step, the specific implementation steps are as follows:
[0044] (1) First obtain the metadata information and business information of the target business;
[0045] (2) Then, according to the business-related requirements of the target system, the association relationship between the business system and the business metadata is configured to form a mapping logic mapping between the target system and the physical metadata, wherein the business metadata is associated with at least one physical metadata;
[0046] (3) Visually configure the relationship between the target business and the corresponding business metadata.
[0047] In the third step, the metadata model is used to provide business logic operations and metadata assembly functions internally, and to provide translation functions in the process of converting standard business models and metadata externally.
[0048] In the third step, the business domain model is processed and converted, and the metadata is combined and organized according to logical rules based on the actual needs of the system business to form a logical business rule library related to the system business; at the same time, the standardization of the metadata model and the interface component technology are used to achieve the scalability of the specification and provide a public interpretation module.
[0049] In the fourth step, the relationship between the metadata and the business model output by the system, as well as the metadata in the actual business database are explained.
[0050] The device for quickly building a system based on metadata includes a metadata integration module, a system visualization configuration module, a system logic module and a metadata interpretation module;
[0051] The metadata integration module is used to connect to the metadata module in the data warehouse system and perform metadata conversion and adaptation to meet the needs of metadata module metadata management external service changes of different products; at the same time, the actual metadata system business interface is adjusted to reduce the complexity of adaptation, achieve standardized output of metadata, fault tolerance, and enhance the robustness and adaptability of the system;
[0052] The system visualization configuration module is responsible for constructing the system according to the standardized structure and business-related models within the system, combining the system business-related models with metadata, designing and describing the business domain data model, customizing the human-computer interaction interface of the business system software, and quickly building the application system;
[0053] The system logic module is responsible for performing business logic operations and analysis on the business logic model configured based on metadata, realizing the technical conversion between the system and the business model, and forming a logic business rule library related to the system business according to the actual needs of the system business, using the standardization of the metadata model and the interface component technology to achieve the scalability of the specification and provide a public interpretation module;
[0054] The metadata interpretation module is responsible for interpreting the business model generated by the system according to the metadata model formed in the system, generating a standard business database language, interacting with the actual business center library management system, and meeting the needs of related business systems.
[0055] Compared with the prior art, the method and device for quickly building a system based on metadata have the following characteristics:
[0056] First, using metadata to develop business systems can, on the one hand, decouple the logic between the system and the database and reduce the degree of coupling; on the other hand, metadata management functions can facilitate the supervision of the entire life cycle of data.
[0057] Second, it not only achieves effective supervision and integration of data, but also ensures high-quality and seamless flow of data in all links, reduces the creation of data islands, realizes the effective use of data, and effectively controls the only source of business data, ensuring the efficiency of data monitoring.
[0058] Third, developing application systems with the help of metadata thinking can make the entire system more adaptable to the needs of the current rapid information system development, and can ensure the scalability and reusability of the system, the uniformity of data after system upgrades, and the identity of data in the industry.
[0059] The embodiment described above is only one specific implementation of the present invention. Common 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 protection scope of the present invention.
Claims
1. A method for quickly building a system based on metadata, characterized in that: The following steps are involved: The first step is to connect the metadata module in the data warehouse system, perform metadata conversion and adaptation, and standardize the metadata output to meet the needs of metadata management external services changes of metadata modules of different products; The second step is to build the system according to the standardized structure and business-related models within the system, customize the human-computer interaction interface of the business system software, and quickly build the application system; The third step is to perform business logic operations and analysis on the business logic model configured based on metadata, forming a metadata model based on metadata, and realizing the technical conversion of the system and business model; The fourth step is to interpret the business model generated by the system according to the metadata model formed in 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.
2. The method for quickly building a system based on metadata according to claim 1, characterized in that: In the first step, the actual metadata system business interface must also be adjusted to reduce the complexity of adaptation, achieve standardized output of metadata, fault tolerance, and enhance the robustness and adaptability of the system.
3. The method for quickly building a system based on metadata according to claim 1, characterized in that: In the second step, the system business-related model is combined with the metadata, and the relationship between the target business and the corresponding business metadata is visually configured to form the business logic.
4. The method for rapidly building a system based on metadata according to claim 3, characterized in that: In the second step, the specific implementation steps are as follows: (1) First obtain the metadata information and business information of the target business; (2) Then, according to the business-related requirements of the target system, the association relationship between the business system and the business metadata is configured to form a mapping logic mapping between the target system and the physical metadata, wherein the business metadata is associated with at least one physical metadata; (3) Visually configure the relationship between the target business and the corresponding business metadata.
5. The method for rapidly building a system based on metadata according to claim 1, characterized in that: In the third step, the metadata model is used to provide business logic operations and metadata assembly functions internally, and to provide translation functions in the process of converting standard business models and metadata externally.
6. The method for rapidly building a system based on metadata according to claim 5, characterized in that: In the third step, the business domain model is processed and converted, and the metadata is combined and organized according to logical rules based on the actual needs of the system business to form a logical business rule library related to the system business; at the same time, the standardization of the metadata model and the interface component technology are used to achieve the scalability of the specification and provide a public interpretation module.
7. The method for rapidly building a system based on metadata according to claim 1, characterized in that: In the fourth step, the relationship between the metadata and the business model output by the system, as well as the metadata in the actual business database are explained.
8. A device for quickly building a system based on metadata, characterized in that: It includes metadata integration module, system visualization configuration module, system logic module and metadata interpretation module; The metadata integration module is used to connect to the metadata module in the data warehouse system and perform metadata conversion and adaptation to meet the needs of metadata module metadata management external service changes of different products; at the same time, the actual metadata system business interface is adjusted to reduce the complexity of adaptation, achieve standardized output of metadata, fault tolerance, and enhance the robustness and adaptability of the system; The system visualization configuration module is responsible for constructing the system according to the standardized structure and business-related models within the system, combining the system business-related models with metadata, designing and describing the business domain data model, customizing the human-computer interaction interface of the business system software, and quickly building the application system; The system logic module is responsible for performing business logic operations and analysis on the business logic model configured based on metadata, realizing the technical conversion between the system and the business model, and forming a logic business rule library related to the system business according to the actual needs of the system business, using the standardization of the metadata model and the interface component technology to achieve the scalability of the specification and provide a public interpretation module; The metadata interpretation module is responsible for interpreting the business model generated by the system according to the metadata model formed in the system, generating a standard business database language, interacting with the actual business center library management system, and meeting the needs of related business systems.
Citation Information
Patent Citations
Application system software construction system with metadata customization and system construction method
CN106843835A
Application system generation method, device and equipment and storage medium
CN109523423A