CN109753492A - A kind of system constituting method and device based on metadata configurations - Google Patents

A kind of system constituting method and device based on metadata configurations Download PDF

Info

Publication number
CN109753492A
CN109753492A CN201910000871.6A CN201910000871A CN109753492A CN 109753492 A CN109753492 A CN 109753492A CN 201910000871 A CN201910000871 A CN 201910000871A CN 109753492 A CN109753492 A CN 109753492A
Authority
CN
China
Prior art keywords
metadata
information
physical
database
configuration
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.)
Pending
Application number
CN201910000871.6A
Other languages
Chinese (zh)
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.)
Shaanxi Western Credit Co Ltd
Original Assignee
Shaanxi Western Credit 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 Shaanxi Western Credit Co Ltd filed Critical Shaanxi Western Credit Co Ltd
Priority to CN201910000871.6A priority Critical patent/CN109753492A/en
Publication of CN109753492A publication Critical patent/CN109753492A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure provides a kind of system constituting method and device based on metadata configurations, is related to technical field of data processing, and it is low and the problem of can not be multiplexed to be able to solve hard coded development efficiency, reduces the code error of system, improves the robustness of system.The specific technical proposal is: obtaining the project information of destination item and the business information of target service, target service is under the jurisdiction of destination item;According to the project information of destination item, each physical metadata at least one physical metadata corresponding with destination item is configured;According to the business information and physical metadata of target service, the corresponding data service metadata of target service is established, data service metadata is associated at least one physical metadata;The corresponding data service metadata of target service is configured.

Description

A kind of system constituting method and device based on metadata configurations
Technical field
This disclosure relates to technical field of data processing more particularly to a kind of system constituting method based on metadata configurations and Device.
Background technique
As the development of information technology and computer technology are constantly mature, computer software application is continued to bring out, different Software systems meet the diversified demand of user.In order to meet the needs of users, developer needs to computer software system System is timely updated and is safeguarded.When needing to increase new function or new business, traditional development mode is for each business Hard coded exploitation is carried out, so-called hard coded is exactly to write the data directly into code to be compiled exploitation, still, this exploitation Mode low efficiency, module can not be multiplexed, system fault rate is high, system upgrade is also easy initiation problem.
Summary of the invention
The embodiment of the present disclosure provides a kind of system constituting method and device based on metadata configurations, is able to solve hard coded The problem of development efficiency is low and can not be multiplexed, reduces the code error of system, improves the robustness of system.The technical side Case is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of system constituting method based on metadata configurations, the party are provided Method includes:
The project information of destination item and the business information of target service are obtained, target service is under the jurisdiction of destination item;
According to the project information of destination item, each object at least one physical metadata corresponding with destination item is configured Manage metadata;
According to the business information and physical metadata of target service, the corresponding data service metadata of target service, business are established Metadata is associated at least one physical metadata;
The corresponding data service metadata of target service is configured.
The technical program can be related to multiple pairs of physical metadatas by data service metadata according to the demand of practical business Connection realizes multiplexing to physical metadata, and it is low and the problem of can not be multiplexed to be able to solve hard coded development efficiency, reduces system Code error, improve the robustness of system.
In one embodiment, according to the project information of destination item, at least one object corresponding with destination item is configured After managing each physical metadata in metadata, this method further include:
The configuration file of the corresponding physical metadata of destination item is generated, the configuration file of physical metadata is used to indicate mesh The configuration information of the corresponding physical metadata of mark project;
Whether the database table of the configuration information and current database that judge physical metadata is identical;
Physical metadata configuration information and current database database table difference when, according to matching for physical metadata Set database table in information update current database.
In project or system iteration or update, database table is carried out automatically more according to the configuration information of physical metadata Newly, deployment efficiency of the practice is improved, the generation for implementing mistake is reduced.
In one embodiment, whether the database table of the configuration information and current database that judge physical metadata is identical Before, this method further include:
Judge whether current database is empty database;
When current database is empty database, the number of current data is automatically created according to the configuration information of physical metadata According to library table.
The whether identical database table of the configuration information and current database that judge physical metadata includes: in current data When library is not empty database, whether the database table of the configuration information and current database that judge physical metadata is identical.
In project or system initial release or deployment, without providing database perform script, directly according to physics member number According to configuration information realize database build table automatically, improve deployment efficiency of the practice.
In one embodiment, after the corresponding data service metadata of configuration target service, this method further include:
The configuration file of the corresponding data service metadata of target service is generated, the configuration file of data service metadata is used to indicate industry The configuration information for metadata of being engaged in.
In one embodiment, this method further include:
The query information that receiving terminal apparatus is sent, query information includes querying condition;
According to the configuration file of query information and data service metadata, metadata instance corresponding with query information is sent to end End equipment.
In one embodiment, this method further include:
The user's operation information that receiving terminal apparatus is sent, user's operation information are used to indicate deletion, modify, increase newly, leading At least one of enter, export;
It is performed corresponding processing according to user's operation information.
According to the second aspect of an embodiment of the present disclosure, a kind of system construction device based on metadata configurations is provided, comprising:
Module is obtained, for obtaining the project information of destination item and the business information of target service, target service is subordinate to In destination item;
Configuration module configures at least one physics corresponding with destination item for the project information according to destination item Each physical metadata in metadata;
Module is established, for the business information and physical metadata according to target service, establishes the corresponding industry of target service Business metadata, data service metadata are associated at least one physical metadata;
Configuration module, for being configured to the corresponding data service metadata of target service.
In one embodiment, the system construction device based on metadata configurations further include: generation module, judgment module, Update module;
Generation module, the configuration file for generating the corresponding physical metadata of destination item, the configuration of physical metadata File is used to indicate the configuration information of the corresponding physical metadata of destination item;
Judgment module, for judge physical metadata configuration information and current database database table it is whether identical;
Update module, for physical metadata configuration information and current database database table difference when, according to Database table in the configuration information update current database of physical metadata.
In one embodiment, the system construction device based on metadata configurations further include: creation module;
Judgment module, for judging whether current database is empty database;
Creation module, for being created automatically according to the configuration information of physical metadata when current database is empty database Build the database table of current data.
Judgment module, the whether identical packet of database table of configuration information and current database for judging physical metadata It includes: when current database is not empty database, judging the configuration information of physical metadata and the database table of current database It is whether identical.
In one embodiment, generation module, for generating the configuration file of the corresponding data service metadata of target service, industry The configuration file of business metadata is used to indicate the configuration information of data service metadata.
In one embodiment, the system construction device based on metadata configurations further include: receiving module and sending module;
Receiving module, for the query information that receiving terminal apparatus is sent, query information includes querying condition;
Sending module is sent corresponding with query information for the configuration file according to query information and data service metadata Metadata instance is to terminal device.
In one embodiment, the system construction device based on metadata configurations further include: processing module;
Receiving module, for receiving terminal apparatus send user's operation information, user's operation information be used to indicate deletion, At least one of modification, newly-increased, importing, export;
Processing module, for being performed corresponding processing according to user's operation information.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart for system constituting method based on metadata configurations that the embodiment of the present disclosure provides;
Fig. 2 is a kind of schematic diagram for system constituting method based on metadata configurations that the embodiment of the present disclosure provides;
Fig. 3 is a kind of structure chart for system construction device based on metadata configurations that the embodiment of the present disclosure provides;
Fig. 4 is a kind of structure chart for system construction device based on metadata configurations that the embodiment of the present disclosure provides;
Fig. 5 is a kind of structure chart for system building based on metadata configurations that the embodiment of the present disclosure provides;
Fig. 6 is a kind of structure chart for system construction device based on metadata configurations that the embodiment of the present disclosure provides;
Fig. 7 is a kind of structure chart for system building based on metadata configurations that the embodiment of the present disclosure provides.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The embodiment of the present disclosure provides a kind of system constituting method based on metadata configurations, and this method is matched applied to metadata System is set, as shown in Figure 1, method includes the following steps:
101, the project information of destination item and the business information of target service are obtained.
The project information of destination item includes the information such as the project name of destination item, project brief, the industry of target service Information of being engaged in includes the information such as the Business Name of target service, the brief description of business.Target service is under the jurisdiction of destination item, ordinary circumstance Under, it include multiple business in a project, and each business is different.It should be noted that destination item reference is any one A project or software systems, target service refer to any one business in destination item, the disclosure only with destination item and It indicates to be illustrated the data configuration mode of the target service in destination item for target service, target does not represent any Limitation.
102, it according to the project information of destination item, configures at least one physical metadata corresponding with destination item Each physical metadata.
In the embodiments of the present disclosure, physical metadata is to describe the data of data, mainly describes the information of data attribute, Each physical metadata corresponding with destination item is configured, configurationization management, object mainly are carried out to database model Reason metadata shows in the form of physical table, the configuration to physical metadata mainly include to the essential attribute of physical table with arrange into Row configuration.Wherein, configuration physical table essential attribute includes: the attributes such as said system, physics table name, Chinese description, to physical table Each column carry out configuration and specifically include that the databases association attributes such as field name, Chinese description, field type, length.
By taking destination item is " Education Administration Information System " as an example, physical metadata corresponding with " Education Administration Information System " includes " teacher " table, " course " table, " achievement " table, " student " table, " class " table, " giving lessons " table, configure each physical table, use Carry out the information such as management drop loss process middle school student, teacher, course.
103, according to the business information of target service and physical metadata, the corresponding data service metadata of target service is established.
In the embodiments of the present disclosure, the corresponding data service metadata of target service is associated at least one physical metadata. Illustratively, by taking destination item is " Education Administration Information System " as an example, a business under the system is to check the curriculum schedule of student, Therefore, the business is associated with " student " table and " course " table;If a business under system is the situation of giving lessons of teacher, should Business is associated with " teacher " table and " giving lessons " table.
104, the data service metadata of target service is configured.
In the embodiments of the present disclosure, essential information configuration, operation information, which are matched, to be specifically included that for the configuration of data service metadata It sets, query information configuration, form information configuration.Wherein, essential information is configured to match the essential attribute of the business model It sets, operation information configuration mainly configures the operation tribute that the business has, and such as newly-increased (add), modification (modify), deletes (del), check (view), import, export etc., query information configuration is mainly the querying condition for configuring the business and having, looks into Result, inquiry sort field etc. are ask, form information configuration mainly configures the field attribute the etc. when business is increased newly or modified.
Based on the system constituting method based on metadata configurations that the corresponding embodiment of above-mentioned Fig. 1 provides, in step 102 In, after the completion of each physical metadata configuration corresponding to destination item, generate the configuration of the physical metadata of the destination item File includes the configuration information to each physical metadata in the configuration file of the physical metadata, at this point, this method is also wrapped It includes: judging whether current database is empty database;When current database is empty database, according to the configuration of physical metadata File automatically creates the database table of current database;When current database is not empty database, physical metadata is judged Whether the database table of configuration information and current database is identical, if it is different, then being updated according to the configuration file of physical metadata Database table in current database.By the configuration to physical metadata, database physical model can be quickly established, in item When mesh or system initial release or deployment, without providing database perform script, directly according to the configuration information of physical metadata Realize that database builds table automatically, meanwhile, in project or system iteration or update, according to the configuration information logarithm of physical metadata It is automatically updated according to library table, substantially increases deployment efficiency of the practice, reduce the generation for implementing mistake.
Based on the system constituting method based on metadata configurations that the corresponding embodiment of above-mentioned Fig. 1 provides, in step 104 In, after the data service metadata for configuring target service, generate the configuration file of the corresponding data service metadata of target service, business member The configuration file of data is used to indicate the configuration information of data service metadata.At this point, this method further include: receiving terminal apparatus is sent Query information, query information includes querying condition, according to the configuration file of query information and data service metadata, is sent and inquiry The corresponding metadata instance of information is to terminal device.It illustratively, include the number of data service metadata, i.e. business in query information The title of metadata returns to corresponding metadata instance by the number of incoming traffic metadata, as query information, list are believed Breath, operation information etc..In addition, this method further include: the user's operation information that receiving terminal apparatus is sent, user's operation information are used In at least one of instruction deletion, modification, newly-increased, importing, export;Corresponding operation is executed according to user's operation information.
The system constituting method based on metadata configurations that the embodiment of the present disclosure provides, obtains the project information of destination item With the business information of target service, target service is under the jurisdiction of destination item;According to the project information of destination item, configuration and target Each physical metadata at least one corresponding physical metadata of project;According to the business information of target service and physics member number According to establishing the corresponding data service metadata of target service, data service metadata is associated at least one physical metadata;To target industry Corresponding data service metadata of being engaged in is configured.The technical program can be according to the demand of practical business, by data service metadata and more It is a associated to physical metadata, it realizes the multiplexing to physical metadata, it is low and can not answer to be able to solve hard coded development efficiency The problem of using.The code error for reducing system improves the robustness of system.
Based on the system constituting method based on metadata configurations that the corresponding embodiment of above-mentioned Fig. 1 provides, the disclosure is another Embodiment provides a kind of system constituting method based on metadata configurations, and this method can be applied to the system structure of metadata configurations System is built, the systems of metadata configurations building system includes that metadata configurations system and metadata application system (or are referred to as Operation system), wherein metadata configurations system and metadata application system can dispose on the same server, can also be with It is deployed on two servers, is designed with specific reference to actual needs respectively, the embodiment of the present disclosure this is not added any restriction. Referring to shown in Fig. 2, metadata configurations system configures physical metadata and data service metadata, generates physics metadata configurations Information and data service metadata configuration information, metadata application system automatically create corresponding model according to physical metadata, and The scalability for guaranteeing application, provides card i/f, convenient for there is particular service to be, can be handled by writing plug-in unit, together When, the configuration information write is imported into metadata application system.In the following, being matched to provided in this embodiment based on metadata The system constituting method set is specifically described.
(1) metadata configurations system
The system is metadata configurations tool, can quickly configure metadata by the tool, and can be to configuring Metadata exported, export format be xml, by the xml document be loaded into metadata application system, so that it may pass through member The each service application of data dynamic construction.
Specifically, metadata is divided into two parts: physical metadata and data service metadata.Wherein, by physical metadata Configuration, generate physics metadata configurations information, can quickly establish database physical model, and in system publication, nothing Database perform script need to be provided, directly realize that database builds table automatically by service starting, deployment is substantially increased and implement effect Rate reduces the generation for implementing mistake.The configuration that data service metadata is carried out primarily directed to specific business, it is based on physics On the basis of metadata schema, a data service metadata can be associated with multiple physical metadatas, mainly according to business come It determines.
Configuration for metadata mainly includes system configuration, physical metadata configures and business personnel's data configuration, below Successively it is specifically introduced.
A, meta data category management, main configuration item mainly system configuration: are carried out to disparity items by system configuration There are systematic name, Chinese description, database key, type of database, major key length etc.;Major function include system it is newly-increased, Modification, deletion and physical metadata export, data service metadata export function.Wherein, database key refer to one column or The combination of multiple row, value can uniquely identify every a line in table, by it can enforced table entity integrity, major key is mainly External key association and the modification and deletion of this record for other tables.
B, physical metadata configures: by the configuration, mainly configurationization management is carried out to database model, for physics Table underlying attribute includes: the attributes such as said system, physics table name, Chinese description.It, can be to physical table after having increased physical table newly Each column configured, specifically include that the databases association attributes such as field name, Chinese description, field type, length.
C, data service metadata configures: data service metadata needs to configure following information: essential information, operation information, inquiry letter Breath, form information.
Essential information configuration: main configuration item be model based coding, Chinese description, service inquiry sentence, whether paging, whether Load immediately, said system, affiliated physical model (can multiselect), this is the basic configuration attribute of the business model, if affiliated Physical model multiselect, then it represents that the business needs multiple physical tables to be described, and incidence relation can be associated with by the way that major key is equal.
Operation information configuration: mainly configuring which operating function is the business have, and wherein system is built-in common several Operation: newly-increased (add), modification (modify) delete (del), check (view).Remaining special operation is needed specific Self-defining method in JavaScript;Operation is divided into table level operation and operates two kinds with row grade;Can with page configuration, in addition to Facilitate configuration, excel export can also be carried out, import configuration;
Query information configuration: mainly configuring which query result display column is the business have, and has which querying condition, inquiry Sort field;
Form information configuration: field attribute when the newly-increased business or modification, including business major key, business school are mainly configured It tests, if must fill out, form types, default value, if the configuration items such as system property;
(2) metadata application system
For the xml configuration file of above-mentioned physical metadata and data service metadata, a set of member based on configurationization is developed Data service component (MetaService), Springboot frame of the component based on java, and combine restful (representational state transfer) style, using http, (hypertext transfer protocol surpasses Text transfer protocol) standard communication protocol, can perfection be embedded into micro services frame.
Realization principle: resource data file of the derived two parts of xml documents as Metadata Service component.
For physical metadata: in the starting of Metadata Service component, being solved first to physical metadata configuration file Analysis and analysis, and judge whether current database is empty database, it, can be according to physical metadata if current database is sky library Configuration information automatically create database table, in this way, building table script language without providing database during system actual deployment Sentence;If current database is not sky library, the difference between current database is found out, and confidence is matched according to physical metadata Breath synchronizes update to each table structure of database.
For data service metadata: Metadata Service component MetaService provides a whole set of parsing data service metadata xml The API (Application Programming Interface, application programming interface) of configuration file, passes through restful Service is provided out the external web services of metadata schema;It inputs the number that parameter is metadata, and return information is metadata Example.In order to improve operational efficiency, the metadata instance parsed is cached in MetaService service, and is mentioned For the Web service of refresh metadata example.Wherein, the web services externally provided specifically include that
A, service inquiry API
Data service metadata configurations item has service inquiry sentence, and according to service inquiry sentence, server-side provides two and looks into API is ask, is query result list and inquiry total amount of data respectively, the two inquiries are asynchronous progress, can be improved and execute effect Rate.The querying condition that the API can be transmitted according to client, the final query logic of dynamic generation, in addition to enquiry module Scalability this module provides two class plug-in units be that querying condition card i/f and query result convert card i/f respectively, Its purposes is as follows:
(a) querying condition card i/f: can be realized special querying condition processing, if business needs are built-in Special querying condition, such as the information on the inquiry same day, then need to write condition Plug-In and realize class, adds newly in the realization class Querying condition, return value are new querying condition example.
(b) query result converts card i/f: secondary operation processing can be carried out to query result, to reach the reality of business Border requires, for example is converted into asterisk * for intermediate 8 to the column of identification card number one of query result, then needs to write query result Plug-in unit realizes class, is processed again to result, the data of a switch identity card number column, and forms new query result list and return Back to client.
B, business operation
According to the business operation of metadata configurations, corresponding operation button is generated in the page, according to the difference of configuration, operation Button is divided into two classes, table level operation button, row grade operation button, such as: newly-increased, the operations such as export are that table level operates, and modify, delete It removes, checks etc. that operations are the operation of row grade;System is built-in newly-increased, modifies, and deletes, checks, exports, imports this six kinds operations, because This is not necessarily to the concrete methods of realizing for opening this six kinds operations again, remaining operation is special operation, needs developer according to business It is required that being encoded;In addition the exhibition strategy that capable grade operation button is realized in the module, i.e., have under certain specific condition A little row grade buttons cannot show and operate, for example, User Status has been off, then being only able to display enabling button, use Family state is to enable, then is only able to display deactivation button, during metadata configurations, has there is the configuration method of display strategy.
C, list configures
List configuration is configuration and the final number when data are increased newly or modified, to each attribute of data According to storage logic API.Its configuration information is explained as follows:
(a) business major key: it is the business uniqueness configuration of data, such as the login name of user must be unique, then will logs in Name is configured to business major key, and when making the newly-increased operation with modification, service can carry out uniqueness verification, business to business major key automatically Major key can configure it is multiple, it is as multiple in configured, be expressed as consolidated traffic major key.
It (b) must filling out property: only verifying whether this must fill out.
(c) form types: changing the sheet format of attribute, such as text box for the description of front end page dynamic construction, combobox, Date control, text editor etc..
In addition to the scalability of list configuration, it to be preposition plug-in unit and postposition respectively that this module provides two class plug-in units Plug-in unit, wherein preposition plug-in unit is the specific logical processing before data loading, such as special data check or data loading Preceding needs are converted, and encrypted characters are such as generated;Postposition plug-in unit is the specific logical processing for needing to do after data loading, example Such as, incidence relation is generated, is immediately the operation such as one role of user-association after creating user.
The embodiment of the present disclosure is by configuring physical metadata, the configuration that realization carries out database model, meanwhile, according to The demand of practical business, configures data service metadata, can flexibly combine physical metadata according to business.In addition, this Open embodiment provides flexible card i/f, for handling special business, according to the actual service logic of particular service, It writes corresponding card i/f and realizes that class can be completed.By above configuration and Metadata Service, in the process of building system In, it can more efficiently, fast and accurate exploitation operation system.The embodiment of the present disclosure can be achieved with counting by metadata configurations According to simple-to-maintain, do not need developer's exploitation code, and bottom module has good reusability, reduce development difficulty and open Cost is sent out, application developer only needs to pay close attention to business processing logic, the packaged data manipulation substantially of bottom frame, Developer carries out visual configuration work according to business need, can complete functional module;Since bottom component realizes Generalization greatly reduces the code error of system, improves the robustness of system.
Based on the system constituting method based on metadata configurations described in the corresponding embodiment of above-mentioned Fig. 1, Xia Shuwei Embodiment of the present disclosure can be used for executing embodiments of the present disclosure.
The embodiment of the present disclosure provides a kind of system construction device based on metadata configurations, as shown in figure 3, should be based on first number System construction device 30 according to configuration includes: to obtain module 301, configuration module 302, establish module 303;
Module 301 is obtained, for obtaining the project information of destination item and the business information of target service, target service is subordinate to Belong to destination item;
Configuration module 302 configures at least one object corresponding with destination item for the project information according to destination item Manage each physical metadata in metadata;
Module 303 is established, for the business information and physical metadata according to target service, it is corresponding to establish target service Data service metadata, data service metadata are associated at least one physical metadata;
Configuration module 303, for being configured to the corresponding data service metadata of target service.
In one embodiment, as shown in figure 4, the system construction device based on metadata configurations further include: generation module 304, judgment module 305, update module 306;
Generation module 304, the configuration file for generating the corresponding physical metadata of destination item, physical metadata are matched Set the configuration information that file is used to indicate the corresponding physical metadata of destination item;
Judgment module 305, for judge the configuration information of physical metadata and current database database table whether phase Together;
Update module 306, for physical metadata configuration information and current database database table difference when, root According to database table in the configuration information update current database of physical metadata.
In one embodiment, as shown in figure 5, the system construction device 30 based on metadata configurations further include: creation mould Block 307;
Judgment module 305, for judging whether current database is empty database;
Creation module 307 is used for when current database is empty database, automatic according to the configuration information of physical metadata Create the database table of current data.
Judgment module 305, for judge the configuration information of physical metadata and current database database table whether phase Same includes: to judge the configuration information of physical metadata and the data of current database when current database is not empty database Whether library table is identical.
In one embodiment, generation module 304, for generating the configuration text of the corresponding data service metadata of target service The configuration file of part, data service metadata is used to indicate the configuration information of data service metadata.
In one embodiment, as shown in fig. 6, the system construction device 30 based on metadata configurations further include: receive mould Block 308 and sending module 309;
Receiving module 308, for the query information that receiving terminal apparatus is sent, query information includes querying condition;
Sending module 309 is sent corresponding with query information for the configuration file according to query information and data service metadata Metadata instance to terminal device.
In one embodiment, as shown in fig. 7, the system construction device 30 based on metadata configurations further include: connect processing Module 310;
Receiving module 308, for the user's operation information that receiving terminal apparatus is sent, user's operation information, which is used to indicate, is deleted At least one of remove, modify, increase newly, import, export;
Processing module 310, for being performed corresponding processing according to user's operation information.
The system construction device based on metadata configurations that the embodiment of the present disclosure provides, obtains the project information of destination item With the business information of target service, target service is under the jurisdiction of destination item;According to the project information of destination item, configuration and target Each physical metadata at least one corresponding physical metadata of project;According to the business information of target service and physics member number According to establishing the corresponding data service metadata of target service, data service metadata is associated at least one physical metadata;To target industry Corresponding data service metadata of being engaged in is configured.The technical program can be according to the demand of practical business, by data service metadata and more It is a associated to physical metadata, it realizes the multiplexing to physical metadata, it is low and can not answer to be able to solve hard coded development efficiency With the problem of, reduce the code error of system, improve the robustness of system.
Based on the system constituting method based on metadata configurations described in the corresponding embodiment of above-mentioned Fig. 1 and Fig. 2, originally Open embodiment also provides a kind of computer readable storage medium, for example, non-transitorycomputer readable storage medium can be Read-only memory (English: Read Only Memory, ROM), random access memory (English: Random Access Memory, RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..It is stored with computer instruction on the storage medium, For executing the system constituting method based on metadata configurations described in the corresponding embodiment of above-mentioned Fig. 1 and Fig. 2, herein not It repeats again.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.

Claims (12)

1. a kind of system constituting method based on metadata configurations, which is characterized in that the described method includes:
The project information of destination item and the business information of target service are obtained, the target service is under the jurisdiction of the target item Mesh;
According to the project information of the destination item, configure every at least one physical metadata corresponding with the destination item A physical metadata;
According to the business information of the target service and the physical metadata, the corresponding data service metadata of target service is established, The data service metadata is associated with physical metadata described at least one;
The corresponding data service metadata of the target service is configured.
2. the method according to claim 1, wherein the project information according to the destination item, configuration After each physical metadata at least one physical metadata corresponding with the destination item, the method also includes:
The configuration file of the corresponding physical metadata of the destination item is generated, the configuration file of the physical metadata is for referring to Show the configuration information of the corresponding physical metadata of the destination item;
Whether the database table of the configuration information and current database that judge the physical metadata is identical;
The physical metadata configuration information and current database database table difference when, according to the physical metadata Configuration information update described in database table in current database.
3. according to the method described in claim 2, it is characterized in that, the configuration information of the judgement physical metadata with work as Before whether preceding wide area information server table is identical, the method also includes:
Judge whether the current database is empty database;
When the current database is empty database, automatically created according to the configuration information of the physical metadata described current The database table of data.
The whether identical database table of the configuration information for judging the physical metadata and current database includes: described When current database is not empty database, the database table of the configuration information and current database that judge the physical metadata is It is no identical.
4. the method according to claim 1, wherein the corresponding data service metadata of the configuration target service Later, the method also includes:
The configuration file of the corresponding data service metadata of the target service is generated, the configuration file of the data service metadata is for referring to Show the configuration information of the data service metadata.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
The query information that receiving terminal apparatus is sent, the query information includes querying condition;
According to the configuration file of the query information and the data service metadata, metadata corresponding with the query information is sent Example gives the terminal device.
6. according to the method described in claim 4, it is characterized in that, the method also includes:
The user's operation information that receiving terminal apparatus is sent, the user's operation information are used to indicate deletion, modify, increase newly, leading At least one of enter, export;
It is performed corresponding processing according to the user's operation information.
7. a kind of system construction device based on metadata configurations characterized by comprising
Module is obtained, for obtaining the project information of destination item and the business information of target service, the target service is subordinate to In the destination item;
Configuration module, for the project information according to the destination item, configure it is corresponding with the destination item at least one Each physical metadata in physical metadata;
Module is established, for the business information and the physical metadata according to the target service, it is corresponding to establish target service Data service metadata, the data service metadata is associated with physical metadata described at least one;
The configuration module, for being configured to the corresponding data service metadata of the target service.
8. device according to claim 7, which is characterized in that the system construction device based on metadata configurations also wraps It includes: generation module, judgment module, update module;
The generation module, the configuration file for generating the corresponding physical metadata of the destination item, the physics member number According to configuration file be used to indicate the configuration information of the corresponding physical metadata of the destination item;
The judgment module, for judge the configuration information of the physical metadata and current database database table whether phase Together;
The update module, for the physical metadata configuration information and current database database table difference when, According to database table in current database described in the configuration information update of the physical metadata.
9. device according to claim 8, which is characterized in that the system construction device based on metadata configurations also wraps It includes: creation module;
The judgment module, for judging whether the current database is empty database;
The creation module, for matching confidence according to the physical metadata when the current database is empty database Breath automatically creates the database table of the current data.
The judgment module, the database table for the configuration information for judging the physical metadata and current database are It is no it is identical include: that the configuration information of the physical metadata and current is judged when the current database is not empty database Whether wide area information server table is identical.
10. device according to claim 7, which is characterized in that
The generation module, for generating the configuration file of the corresponding data service metadata of the target service, the business member number According to configuration file be used to indicate the configuration information of the data service metadata.
11. device according to claim 10, which is characterized in that the system construction device based on metadata configurations is also It include: receiving module and sending module;
The receiving module, for the query information that receiving terminal apparatus is sent, the query information includes querying condition;
The sending module, for the configuration file according to the query information and the data service metadata, transmission is looked into described The corresponding metadata instance of information is ask to the terminal device.
12. device according to claim 10, which is characterized in that the system construction device based on metadata configurations is also It include: processing module;
The receiving module, for the user's operation information that receiving terminal apparatus is sent, the user's operation information is used to indicate At least one of delete, modify, is newly-increased, importing, export;
The processing module, for being performed corresponding processing according to the user's operation information.
CN201910000871.6A 2019-01-02 2019-01-02 A kind of system constituting method and device based on metadata configurations Pending CN109753492A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910000871.6A CN109753492A (en) 2019-01-02 2019-01-02 A kind of system constituting method and device based on metadata configurations

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910000871.6A CN109753492A (en) 2019-01-02 2019-01-02 A kind of system constituting method and device based on metadata configurations

Publications (1)

Publication Number Publication Date
CN109753492A true CN109753492A (en) 2019-05-14

Family

ID=66405117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910000871.6A Pending CN109753492A (en) 2019-01-02 2019-01-02 A kind of system constituting method and device based on metadata configurations

Country Status (1)

Country Link
CN (1) CN109753492A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110673839A (en) * 2019-09-10 2020-01-10 口碑(上海)信息技术有限公司 Distributed tool configuration construction generation method and system
CN111104548A (en) * 2019-12-18 2020-05-05 腾讯科技(深圳)有限公司 Data feedback method, system and storage medium
CN111145011A (en) * 2019-12-27 2020-05-12 中国银行股份有限公司 Banking business system building method and device
CN112000701A (en) * 2020-08-27 2020-11-27 中国平安财产保险股份有限公司 Data query method, device, equipment and storage medium
CN112286879A (en) * 2020-07-15 2021-01-29 上海柯林布瑞信息技术有限公司 Metadata-based data asset construction method and device
CN113032480A (en) * 2019-12-25 2021-06-25 陕西西部资信股份有限公司 Data synchronization method, system and device
CN113076086A (en) * 2021-04-12 2021-07-06 北京元年科技股份有限公司 Metadata management system and method for modeling model object using the same
CN113204576A (en) * 2020-11-02 2021-08-03 中国电建集团华东勘测设计研究院有限公司 Method and system for managing coding attributes
CN115993966A (en) * 2023-03-24 2023-04-21 美云智数科技有限公司 Application development system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102323956A (en) * 2011-09-29 2012-01-18 用友软件股份有限公司 Data management device and method
CN107153701A (en) * 2017-05-10 2017-09-12 焦点科技股份有限公司 A kind of IT system management and method for managing and monitoring based on metadata
CN107943819A (en) * 2017-10-09 2018-04-20 中国电子科技集团公司第二十八研究所 A kind of data managing method and device based on metadata configurations
CN108170824A (en) * 2018-01-05 2018-06-15 马上消费金融股份有限公司 SQL-based data storage method, device, equipment and storage medium
US20180322438A1 (en) * 2014-09-29 2018-11-08 Hartford Fire Insurance Company System for accessing business metadata within a distributed network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102323956A (en) * 2011-09-29 2012-01-18 用友软件股份有限公司 Data management device and method
US20180322438A1 (en) * 2014-09-29 2018-11-08 Hartford Fire Insurance Company System for accessing business metadata within a distributed network
CN107153701A (en) * 2017-05-10 2017-09-12 焦点科技股份有限公司 A kind of IT system management and method for managing and monitoring based on metadata
CN107943819A (en) * 2017-10-09 2018-04-20 中国电子科技集团公司第二十八研究所 A kind of data managing method and device based on metadata configurations
CN108170824A (en) * 2018-01-05 2018-06-15 马上消费金融股份有限公司 SQL-based data storage method, device, equipment and storage medium

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110673839A (en) * 2019-09-10 2020-01-10 口碑(上海)信息技术有限公司 Distributed tool configuration construction generation method and system
CN111104548A (en) * 2019-12-18 2020-05-05 腾讯科技(深圳)有限公司 Data feedback method, system and storage medium
CN111104548B (en) * 2019-12-18 2021-09-14 腾讯科技(深圳)有限公司 Data feedback method, system and storage medium
CN113032480A (en) * 2019-12-25 2021-06-25 陕西西部资信股份有限公司 Data synchronization method, system and device
CN111145011A (en) * 2019-12-27 2020-05-12 中国银行股份有限公司 Banking business system building method and device
CN111145011B (en) * 2019-12-27 2024-04-23 中国银行股份有限公司 Banking system building method and device
CN112286879B (en) * 2020-07-15 2021-08-13 上海柯林布瑞信息技术有限公司 Metadata-based data asset construction method and device
CN112286879A (en) * 2020-07-15 2021-01-29 上海柯林布瑞信息技术有限公司 Metadata-based data asset construction method and device
CN112000701A (en) * 2020-08-27 2020-11-27 中国平安财产保险股份有限公司 Data query method, device, equipment and storage medium
CN112000701B (en) * 2020-08-27 2023-11-28 中国平安财产保险股份有限公司 Method, device, equipment and storage medium for data query
CN113204576A (en) * 2020-11-02 2021-08-03 中国电建集团华东勘测设计研究院有限公司 Method and system for managing coding attributes
CN113204576B (en) * 2020-11-02 2023-08-15 中国电建集团华东勘测设计研究院有限公司 Method and system for managing coding attribute
CN113076086A (en) * 2021-04-12 2021-07-06 北京元年科技股份有限公司 Metadata management system and method for modeling model object using the same
CN115993966A (en) * 2023-03-24 2023-04-21 美云智数科技有限公司 Application development system and method

Similar Documents

Publication Publication Date Title
CN109753492A (en) A kind of system constituting method and device based on metadata configurations
CN110989983B (en) Zero-coding application software rapid construction system
CN114035773B (en) Configuration-based low-code form development method, system and device
US10331422B1 (en) System and method for generating API devlopment code for integrating platforms
US6411974B1 (en) Method to collate and extract desired contents from heterogeneous text-data streams
US20030078960A1 (en) Architecture and process for creating software applications for multiple domains
CN101472140B (en) System for distributing and requiring multimedia program and implementing method thereof
US20040205525A1 (en) Automatic identification of form contents
US20030078949A1 (en) Automatic generation of forms with input validation
CN100585551C (en) Projector control markup language
US10120915B2 (en) Integrated framework for secured data provisioning and management
CN104461531B (en) A kind of implementation method of reporting system SQL
CN1954292A (en) Semantic task computing
CN103645908A (en) Full life circle development achievement system of intemetware
US20070220451A1 (en) Method for modeling and documenting a network
US20120089931A1 (en) Lightweight operation automation based on gui
CN101385015B (en) Shell sessions
CN113434175B (en) Data processing method, device, storage medium and equipment
CN109960773A (en) Page animation method, apparatus, equipment and storage medium based on HTML5
CN105245369B (en) Component issuing container method supporting multiple transport protocols
CN108959230A (en) A kind of method and apparatus generating report template
CN115857886A (en) Low code development platform for basic government affair application
CN101861581A (en) Network operating system
US8301591B2 (en) Multi-phase synchronization in a content management system
US20110302217A1 (en) Semantic user interface data assembling

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190514