CN110929120B - Method and apparatus for managing technical metadata - Google Patents

Method and apparatus for managing technical metadata Download PDF

Info

Publication number
CN110929120B
CN110929120B CN201911118018.0A CN201911118018A CN110929120B CN 110929120 B CN110929120 B CN 110929120B CN 201911118018 A CN201911118018 A CN 201911118018A CN 110929120 B CN110929120 B CN 110929120B
Authority
CN
China
Prior art keywords
information
tag
combination
label
term
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
CN201911118018.0A
Other languages
Chinese (zh)
Other versions
CN110929120A (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.)
Beijing Mininglamp Software System Co ltd
Original Assignee
Beijing Mininglamp Software System 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 Beijing Mininglamp Software System Co ltd filed Critical Beijing Mininglamp Software System Co ltd
Priority to CN201911118018.0A priority Critical patent/CN110929120B/en
Publication of CN110929120A publication Critical patent/CN110929120A/en
Application granted granted Critical
Publication of CN110929120B publication Critical patent/CN110929120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/907Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/908Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Abstract

The embodiment of the application discloses a method and a device for managing technical metadata. The method comprises the following steps: when the marking operation of the service information is carried out on the technical metadata in the service system, the target type of the service system to which the technical metadata belongs is obtained; searching a target term corresponding to the target type of the service system in a pre-stored term base to obtain a target term; searching a label combination corresponding to the target term to obtain identification information of the label combination; determining version information of a label combination required to be used from at least two versions corresponding to the identification information of the label combination of the target term; and outputting prompt information for labeling the technical metadata by using the label information determined by the version information of the label combination.

Description

Method and apparatus for managing technical metadata
Technical Field
The present application relates to the field of information processing, and in particular, to a method and apparatus for managing technical metadata.
Background
Metadata (Metadata) is data describing data, and descriptive information about data and information resources is data describing other data (data about other data), or structured data (structured data) for providing information about a resource. Functionally, the metadata may provide user-based information, such as metadata that records business description information for data items to assist a user in using the data; in addition, management and maintenance of data by the system may also be supported, as metadata about the data item storage method can support the system in accessing data in the most efficient manner.
In the field of data warehousing, metadata is divided into technical metadata and business metadata by purpose. The technical metadata is obscure, the naming of the technical metadata is not standard, the formats are not uniform, the searching and the classification are difficult according to the difference of the data quality and the difference of the service range, and the association between the service information and the service is more difficult to find.
In the related art, in order to conveniently analyze the technical metadata and obtain the information associated with the service based on the analyzed result, the tag information may be used to label the technical metadata, and the labeled content is used to complete the obtaining of the service information included in the technical metadata. Along with the continuous increase of technical metadata, the quantity of the label information is also continuously increased, so that great difficulty is brought to the selection and the use of the label information in the labeling process, and the processing efficiency of the labeling operation is influenced.
Disclosure of Invention
In order to solve any one of the above technical problems, embodiments of the present application provide a method and apparatus for managing technical metadata.
To achieve the object of the embodiments of the present application, the embodiments of the present application provide a method for managing technical metadata, including:
when the marking operation of the service information is carried out on the technical metadata in the service system, the target type of the service system to which the technical metadata belongs is obtained;
searching a target term corresponding to the target type of the service system in a prestored term library to obtain a target term;
searching a label combination corresponding to the target term to obtain identification information of the label combination;
determining version information of a label combination required to be used from at least two versions corresponding to the identification information of the label combination of the target term;
and outputting prompt information for labeling the technical metadata by using the label information determined by the version information of the label combination.
In an exemplary embodiment, before determining the version information of the tag combination to be used from the at least two versions corresponding to the identification information of the tag combination of the target term, the method further includes:
when detecting that the tag information corresponding to the target term cannot be matched with the technical metadata, acquiring service information of a service system corresponding to the technical metadata;
according to the information carried in the technical metadata and the service information of the service system, creating new tag information matched with the technical metadata;
and configuring the attribute information corresponding to the tag information in the target tag combination as the attribute information corresponding to the new tag information.
In an exemplary embodiment, the searching for the tag combination corresponding to the target term to obtain the identification information of the tag combination includes:
determining identification information of the target term;
determining version information of the target term required to be used from at least two versions corresponding to the identification information of the target term;
and searching a label combination corresponding to the target term according to the identification information and the version information of the target term to obtain the identification information of the label combination.
In an exemplary embodiment, after determining the version information of the tag combination to be used from the at least two versions corresponding to the identification information of the tag combination of the target term, the method further includes:
recording identification information and version information of label combinations used by each service system;
establishing a corresponding relation between the identification information and the version information of each business system and label combination;
and when an operation request for determining the version information of the label combination required to be used by the service system is detected, outputting the identification information and the version information of the label combination corresponding to the service system according to the corresponding relation.
In an exemplary embodiment, after outputting hint information for tagging the technical metadata with tag information determined by version information of the tag combination, the method further includes:
recording version information of a label combination used by the technical metadata of which the labeling operation is finished;
when detecting that the version information of the label combination changes, acquiring the label information with changed content from the label combination with changed version;
and updating the tag information of the technical metadata of which the tag operation is finished by using the tag information of which the content is changed.
An apparatus for managing technical metadata, comprising a processor and a memory, the memory storing a computer program, the processor invoking the computer program in the memory to implement operations comprising:
when the marking operation of the service information is carried out on the technical metadata in the service system, the target type of the service system to which the technical metadata belongs is obtained;
searching a target term corresponding to the target type of the service system in a prestored term library to obtain a target term;
searching a label combination corresponding to the target term to obtain identification information of the label combination;
determining version information of a label combination required to be used from at least two versions corresponding to the identification information of the label combination of the target term;
and outputting prompt information for labeling the technical metadata by using the label information determined by the version information of the label combination.
In an exemplary embodiment, before the operation of determining the version information of the tag combination required to be used from the at least two versions corresponding to the identification information of the tag combination of the target term, the processor calls the computer program in the memory to further implement the following operations, including:
when detecting that the tag information corresponding to the target term cannot be matched with the technical metadata, acquiring service information of a service system corresponding to the technical metadata;
according to the information carried in the technical metadata and the service information of the service system, creating new tag information matched with the technical metadata;
and configuring the attribute information corresponding to the tag information in the target tag combination as the attribute information corresponding to the new tag information.
In an exemplary embodiment, the processor calls a computer program in the memory to implement the operation of finding a tag combination corresponding to the target term to obtain identification information of the tag combination, including:
determining identification information of the target term;
determining version information of the target term required to be used from at least two versions corresponding to the identification information of the target term;
and searching a label combination corresponding to the target term according to the identification information and the version information of the target term to obtain the identification information of the label combination.
In an exemplary embodiment, after the operation of determining the version information of the tag combination required to be used from the at least two versions corresponding to the identification information of the tag combination of the target term, the processor calls the computer program in the memory to further implement the following operations, including:
recording identification information and version information of a label combination used by each service system;
establishing a corresponding relation between the identification information and the version information of each business system and label combination;
and when an operation request for determining the version information of the label combination required to be used by the service system is detected, outputting the identification information and the version information of the label combination corresponding to the service system according to the corresponding relationship.
In one exemplary embodiment, after the processor invokes the computer program in the memory to implement the operation of outputting hint information for tagging the technical metadata with tag information determined by version information of the tag combination, the processor invokes the computer program in the memory to further implement operations comprising:
recording version information of a label combination used by the technical metadata of which the labeling operation is finished;
when detecting that the version information of the label combination changes, acquiring the label information with changed content from the label combination with changed version;
and updating the tag information of the technical metadata which has finished the tag operation by using the tag information after the content is changed.
According to the scheme provided by the embodiment of the application, when the service information labeling operation is carried out on the technical metadata in the service system, the target type of the service system to which the technical metadata belong is obtained, the target term corresponding to the target type of the service system is searched in a pre-stored term library to obtain the target term, the label combination corresponding to the target term is searched to obtain the identification information of the label combination, the version information of the label combination required to be used is determined from at least two versions corresponding to the identification information of the label combination of the target term, the prompt information for labeling the technical metadata by using the label information determined by the version information of the label combination is output, the term used by the service system is used to establish the corresponding relationship between the technical metadata and the service information, and by means of the label combination corresponding to the term, the efficiency of marking operation of the technical metadata is improved; the version of the label combination is adapted to the use requirements of different service systems, so that the maintenance of label information is facilitated, and the maintenance efficiency is improved.
Additional features and advantages of the embodiments of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the present application. The objectives and other advantages of the embodiments of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the embodiments of the present application and are incorporated in and constitute a part of this specification, illustrate embodiments of the present application and together with the examples of the embodiments of the present application do not constitute a limitation of the embodiments of the present application.
FIG. 1 is a flow chart of a method of managing technical metadata as provided by an embodiment of the present application;
FIG. 2 is a diagram illustrating a method for managing metadata based on a graph database according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more apparent, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, in the embodiments of the present application, features in the embodiments and the examples may be arbitrarily combined with each other without conflict.
In order to solve the problem of difficult association between technical metadata and business, the inventor finds that business metadata and technical metadata need to be associated; after the association is realized, the business analyst can operate the corresponding technical metadata only by understanding and retrieving the business metadata, so that the data is more efficiently used and integrated to be used as data support for an upper-layer business system.
First, terms related to the embodiments of the present application will be explained:
the technical metadata is real metadata; the metadata information can be collected from various data sources, and the data sources can be data systems such as Mysql, Oracle, Hive, Hbase and the like;
service metadata: a business system constructed by business analysts according to the business system; tags may be generated based on the business metadata to identify the classification of the technical metadata or its content;
the term is a term used to denote a concept in a specific business domain, whose content is enriched by tags; for example, the term "bank" contains the labels "finance," "manager," "clerk," and the like;
glossaries are a specific business domain category enriched by terms, e.g., the glossaries "financial domain" contains the terms "bank", "securities", etc.;
a directory is a specific combination of terms; it includes the term combination for direct multiplexing when annotating technology metadata.
Fig. 1 is a flowchart of a method for managing technical metadata according to an embodiment of the present disclosure. The method shown in fig. 1 comprises:
step 101, when performing service information labeling operation on technical metadata in a service system, acquiring a target type of the service system to which the technical metadata belongs;
in one exemplary embodiment, the label information used by the annotation operation is determined based on the label determined by the business attribute; the user can select proper tag information from the stored tag information to complete the labeling operation of the technical metadata according to the understanding of the content of the technical metadata, so that the corresponding relation between the technical metadata and the service metadata is established.
In an exemplary embodiment, the type of the business system is determined according to different business functions in the technical field, for example, in the 5G communication field, the business function may be divided into a plurality of function modules, such as a product research and development function, a product production function, and a product sales function, and the research and development function is taken as an example, and is subdivided according to a research and development subject, and may also be a research and development company, a scientific institution, a research institute, or an individual. The particle size of the business system can be set according to actual needs, and can be selected from the above mentioned research and development companies, or a specific research and development company, such as the research and development company with the company name a.
The same type of service system may comprise at least two service systems.
Step 102, searching a target term corresponding to the target type of the service system in a prestored term library to obtain a target term;
in an exemplary embodiment, the terms in the term library are managed according to the service system, and each service system may specifically include a plurality of terms according to the internal configuration of the service system; the target term corresponding to the identification information can be searched in the term library by utilizing the identification information of the service system.
Taking a business system as a research and development company A as an example, the research and development company A can comprise a research and development department, a financial department, a personnel department, a legal department and the like, each department can be used as a business subsystem of the business system, and each business subsystem can have respective terms;
in an exemplary embodiment, before searching a target term corresponding to a target type of the service system in a pre-stored term library to obtain the target term, the method further includes:
determining a term used by each service subsystem when the service system comprises at least two service subsystems with different service functions;
establishing a directory structure based on the service subsystem for the terms of the service system according to the division strategy of the service subsystem in the service system;
the searching a target term corresponding to the target type of the service system in a pre-stored term base to obtain a target term includes:
determining a target service subsystem corresponding to the technical metadata in the service system;
and querying terms used by the target service subsystem in the directory structure from a pre-stored directory structure to obtain target terms.
The division strategy of the service subsystem can be divided according to the internal organization architecture or the service function of the service system; the method can be divided into at least two stages according to actual requirements; that is, after the first division of the service system, the first-level service subsystem may be determined; and then selecting one first-stage service subsystem from the first-stage service subsystems for division to determine a second-stage service subsystem.
After the terms of the business system are obtained, the business subsystem to which the terms belong is determined based on the determined business subsystem, for example, the term "finance" may be determined to belong to the business subsystem corresponding to the finance department, and the term "test" may be determined to belong to the business subsystem corresponding to the development department.
After determining the operation on the service subsystem to which the term belongs, a corresponding directory structure can be established based on the determined service subsystem, and the establishment of the corresponding relationship between the service subsystem and the term is completed.
When the required terms are searched, the terms can be inquired according to the directory, and the purpose of quick inquiry is achieved.
In one exemplary embodiment, the identification information of the term may be a number.
In an exemplary embodiment, the inventor finds that, in the related art, when the name of a service is changed, the tagging operation has no way to be adaptively changed, only new terms can be created for re-tagging, and the efficiency is low, and a change record of the technical metadata tagged by the same service metadata also does not exist. Based on the technical analysis, the term is composed of a plurality of labels, the term can be multiplexed, one term can exist in a plurality of business systems, and different business systems can have some fine adjustment on the term, so that the term configuration version information can well accord with the use scenes, namely, the term is accurate in expression, high in multiplexing performance and high in labeling efficiency.
Taking the term "personnel department" as an example, the description information of the term in a partial business system is "human resources department", although the characters used for description are different, the described information can be determined to be consistent. Any name may be chosen for use in different companies.
In an exemplary embodiment, the searching for the tag combination corresponding to the target term to obtain the identification information of the tag combination includes:
determining identification information of the target term;
determining version information of the target term required to be used from at least two versions corresponding to the identification information of the target term;
and searching a label combination corresponding to the target term according to the identification information and the version information of the target term to obtain the identification information of the label combination.
Explaining by taking technical metadata as a piece of new employee enrollment information as an example, terms which can be provided in a term library are personnel department, and terms matched with a business system are determined to be human resource department according to an organization structure of the business system and information carried by the technical metadata; therefore, on the basis that the term is the human resource department, a new version is created, and the corresponding term name of the version is the human resource department.
When recording a term, the identification of the term and the corresponding version number may be recorded; for example, the term number of the personnel department is 001, the corresponding version is 01, the term number of the human resources department is 001, and the corresponding version is 02.
In an exemplary embodiment, before the searching for the tag combination corresponding to the target term and obtaining the identification information of the tag combination, the method further includes:
when it is detected that the target terms in the target service system in the term base cannot be matched with the technical metadata, acquiring service information of a service system corresponding to the technical metadata;
creating a new term matched with the technical metadata according to the information carried in the technical metadata and the service information of the service system;
configuring the label information corresponding to the target term as the label information corresponding to the new term.
Each term has a corresponding label combination, and the label combination corresponding to the target term can be used as the label of the new term, for example, the label corresponding to the personnel department can be used as the label of the human resource department, so that the maintenance efficiency of the terms and the labels is improved, and the terms and the labels can be conveniently used in different business systems.
103, searching a label combination corresponding to the target term to obtain identification information of the label combination;
in one exemplary embodiment, each term corresponds to tag information; the content of the label can be modified according to the needs of the user; alternatively, the user may add a new tag and set the term to which the new tag belongs.
In an exemplary embodiment, after configuring the tag information corresponding to the target term as the tag information corresponding to the new term, the method further includes:
acquiring a management request for the tag information in the new term, wherein the management request comprises newly added tag information and/or deleted existing tag information;
and adjusting the content of the tag information included in the new term according to the management request.
Because the same term has corresponding description modes in different business systems, labels used in different business systems also have certain differences. When detecting that the term is a newly created term, the tag information corresponding to the term may be adjusted, a required new tag may be added, or a tag that does not match the current business system may be deleted.
Step 104, determining version information of the label combination required to be used from at least two versions corresponding to the identification information of the label combination of the target term;
in an exemplary embodiment, the inventor finds that, in the operation process of labeling technical metadata in the related art, when the name of a service is changed, there is no way to perform adaptive change, only new labels can be created for re-labeling, and the efficiency is low, and a change record of the technical metadata labeled by the same service metadata also does not exist.
Based on the above technical analysis, the inventor finds that tag information in one tag combination can have different content tag combinations due to different description modes, for example, for a tag in which the tag information is a description of a tester, the content can be referred to by different terms such as a software test engineer, a tester, and the like; in order to meet the use requirements of different service systems, a common identification information can be configured for labels with different contents, and then different titles for version differentiation are set, for example, the label information described by a tester is identified as a, and the versions of the label contents for software testing engineers and testers are respectively 1.0 and 1.1.
The label information of different versions can be selected according to the description mode of the service information of the service system, and the individual use requirements of different service systems are met.
105, outputting prompt information for labeling the technical metadata by using the label information determined by the version information of the label combination;
in an exemplary embodiment, the version information of the tag combination is used to determine the tag information to be used, and the tag information is output to notify the output tag information to perform the tagging operation of the technical metadata, so that the operation of selecting a proper tag from a large number of tags in the tagging operation process is avoided, and the efficiency of the tagging operation is improved by providing the tag related to the technical metadata to perform the tagging operation.
The method provided by the embodiment of the application, when performing service information labeling operation on technical metadata in a service system, obtains a target type of the service system to which the technical metadata belongs, searches a target term corresponding to the target type of the service system in a pre-stored term library to obtain a target term, searches a tag combination corresponding to the target term to obtain identification information of the tag combination, determines version information of the tag combination required to be used from at least two versions corresponding to the identification information of the tag combination of the target term, outputs prompt information for labeling the technical metadata by using the tag information determined by the version information of the tag combination, establishes a corresponding relationship between the technical metadata and the service information by using the term used by the service system, and by means of the tag combination corresponding to the term, the efficiency of marking operation of the technical metadata is improved; the version of the label combination is adapted to the use requirements of different service systems, so that the maintenance of label information is facilitated, and the maintenance efficiency is improved.
The method provided by the embodiments of the present application is explained as follows:
FIG. 2 is a diagram illustrating a method for managing metadata based on a graph database according to an embodiment of the present application. As shown in FIG. 2, the graph database includes four top-level models, a label model, a term model, a vocabulary model, and a directory model; and each model is created with corresponding instance nodes, and the relationship of the instance nodes is an instance relationship. Wherein:
the label model comprises a plurality of label instances, and the label instances are in labeling relation with the term instances in the term module, namely, the terms can be labeled by at least two labels to enrich the content of the terms.
The relationship between instances in the vocabulary module and instances in the terminology module is an aggregate relationship, i.e., the vocabulary is composed of several terms.
The relationship between the instances in the directory module and the instances in the term module is a combinatorial relationship, i.e., the directory is made up of terms. Additionally, there may be containment relationships between directory instances that are used to construct subdirectories.
In annotating technical metadata, annotation operations can be performed using instances of terms and tags together.
In addition, corresponding labels and terms can be created according to the requirements of the business system, technical metadata are labeled through fine-grained labels and brief summarized terms, so that a complex business system outline is constructed, a label library and a term library are formed, terms are organized by a directory, and the terms are arranged and combined. In addition, terms in the constructed term library can be multiplexed to form a new service system, the flow direction and the dependency relationship of data are determined, and the term library of one category forms a vocabulary table, namely, the whole service field is described.
The following describes implementations of the above functions, respectively:
a metadata management method based on graph database is based on a management structure chart formed by terms and used for describing complex service systems, mining the data flow direction, data relationship, data dependence and relationship between the service systems, realizing service multiplexing and getting through the service systems, service metadata and technical metadata.
In an exemplary embodiment, the combination of the included tags in the term is dynamically changeable, and the tags in the tag combination can be added or deleted according to the use frequency of the tag information in the term so as to meet the personalized use of the user; or selecting the label combination with high use frequency to be combined into a new label combination for subsequent use.
In an exemplary embodiment, after outputting hint information for tagging the technical metadata with tag information determined by version information of the tag combination, the method further includes:
after at least two technical metadata are labeled by using the labeling combination corresponding to the same target term, a labeling result is obtained;
determining common tag information from the tag information used by the labeling results of the at least two technical metadata;
and adjusting the label combination corresponding to the target term by using the determined common label information.
In an exemplary embodiment, the combination of the included tags in the term is dynamically changeable, and the tags in the tag combination can be added or deleted according to the use frequency of the tag information in the term so as to meet the personalized use of the user; or selecting the label combination with high use frequency to be combined into a new label combination for subsequent use.
The inventor finds that the same term is used in a plurality of business systems, for example, the term "IT department" exists in various business systems, such as science and technology companies, banks, government departments, and these terms do not belong to the same business system and can not be described by a simple term, so the embodiment of the present application proposes that a directory can be established, existing terms can be arranged and combined to form a new business system or business meaning, and creation of duplicate terms is avoided.
In an exemplary embodiment, after said querying a term used by said target service subsystem in said directory structure from a pre-stored directory structure, said method further comprises:
if the term corresponding to the business subsystem is not searched in a prestored term library, whether the target business subsystem is included in other business systems except the target business system or not is inquired;
if at least one service system except the target service system comprises the target subsystem, acquiring terms used by the target subsystem from the at least one service system, and taking the terms as target terms corresponding to the target service subsystem.
Taking a business system as an example of a research and development company A, the research and development company A adds a market research part, because the term corresponding to the research and development company A does not include the term of the market research part, whether the term of the department is included in other business systems is inquired, if the term corresponding to the research and development company B is inquired to include the department, the catalog information of the research and development company B is obtained, the term of the market research part is searched from the catalog information, and the obtained term is used as the target term corresponding to the market research part in the research and development company A.
By the mode, the terms and the labels can be reused, the operation of repeatedly constructed terms and labels is reduced, and the management efficiency is improved.
In an exemplary embodiment, after determining the term used by each service subsystem when the service system includes service subsystems of at least two different service functions, the method further includes:
acquiring terms used by service subsystems with the same service function to obtain vocabulary information corresponding to the service subsystems with the same service function;
after the outputting of the prompt information for labeling the technical metadata by using the tag information in the target combination, the method further includes:
if the technical metadata cannot be labeled by the label information corresponding to the target term inquired from the business subsystem, searching a new target term from the vocabulary information corresponding to the business subsystem;
determining a label combination corresponding to the new target term;
and outputting prompt information labeled by the label combination corresponding to the new target term.
The label information configured for the term in different service systems can be respectively obtained, and all the label information corresponding to the term is obtained in a summarized manner, wherein the label information comprises shared label information and non-shared label information.
When the tag information of the target combination output by a certain service subsystem can not meet the use requirement of the labeling operation, the tag information can be selected from the non-shared tag information in the summarized tag information to form a new target combination for the labeling operation, so that the sharing of the tag information in different service systems is realized, the occurrence of the operation of randomly increasing the tag information is reduced, and the smooth completion of the labeling operation is ensured on the premise of effectively controlling the number of tags.
In an exemplary embodiment, after the searching for the tag combination corresponding to the target term and obtaining the identification information of the tag combination, the method further includes:
recording identification information and version information of a target term used by each business system;
establishing a corresponding relation between each business system and the identification information and the version information of the target term;
and when an operation request for determining the terms of the target version required to be used by the business system is detected, outputting the identification information and the version information of the target terms corresponding to the business system according to the corresponding relationship.
In an exemplary embodiment, the term used by the recording business system 1 includes the term identified as 001 with version 01, and the term used by the recording business system 2 includes the term identified as 001 with version 01, and the term information used by different business systems is recorded, so that the later labeling operation of the technical metadata in the business systems is facilitated.
In an exemplary embodiment, after outputting hint information for tagging the technical metadata with tag information determined by version information of the tag combination, the method further includes:
recording terms of a target version corresponding to a target combination used by the technical metadata of which the labeling operation is finished;
when detecting that the version information of the term of the target version in the term library changes, acquiring the label information with changed content from the label information corresponding to the term of the target version with changed version;
and updating the tag information of the technical metadata which has finished the tag operation by using the tag information after the content is changed.
Based on the mode, when the tag information changes, the technical metadata which is marked is not required to be marked again, and only the content of the tag information marked by the technical metadata is required to be updated, so that when the tag information changes, the marked technical metadata can be ensured to be changed adaptively, and the processing efficiency of the marking operation is improved.
The application in a graph database is taken as an example for explanation, and the marking behavior is optimized by means of the relationship between the nodes and the nodes of the graph database; each node in the graph has a Label value to indicate what type of node it belongs to; one label is a node, the type of the label is a label type, each item of technical metadata is a node, the type of the node is a metadata type, and the node is associated to the technical metadata node through a one-way labeling relation initiated by the label node, namely, one-time labeling is completed.
If the content of one label is changed, a new node is copied for the label node stored in the graph database corresponding to the label so as to retain the original attribute, all the attributes of the new node are consistent with the source node, and the node type is changed from the label node type to a waste node type; the attribute content of the source node is updated, and then a change relationship is initiated to associate with a new node, wherein the change time and the change type are stored in the relationship attribute. Thus, even if the label is changed due to business meaning, the label is not required to be recreated and marked again.
In addition, if a business process of a certain technical metadata (i.e. a change process of the business process) is queried, historical versions of all tags corresponding to the business process can be queried. When the query operation is executed, the corresponding label nodes are found in the graph database, then all nodes corresponding to the change relations are traversed, and then all the change versions can be obtained according to the change time sequence.
In an exemplary embodiment, before determining the version information of the tag combination to be used from the at least two versions corresponding to the identification information of the tag combination of the target term, the method further includes:
when detecting that the tag information corresponding to the target term cannot be matched with the technical metadata, acquiring service information of a service system corresponding to the technical metadata;
creating new tag information matched with the technical metadata according to the information carried in the technical metadata and the service information of the service system;
and configuring the attribute information corresponding to the tag information in the target tag combination as the attribute information corresponding to the new tag information.
Explaining by taking technical metadata as new employee enrollment information as an example, label information capable of being provided in a label combination is a tester, and according to the organization structure of the service system and the information carried by the technical metadata, the content of a label matched with the service system is determined to be a software testing engineer; therefore, on the basis that the label content is a tester, a new version is created, and the label content corresponding to the version is a software testing engineer.
When the label is recorded, the label of the label combination and the corresponding version number can be recorded; for example, the labels of the label combinations corresponding to the software test engineer and the tester are both a, and the versions are 1.0 and 1.1, respectively.
The attributes of the tag combinations sharing the same identification are the same, and therefore, the attribute information of the tags that can differ in content coincides with the attributes of the tag information that has been created.
In an exemplary embodiment, after determining the version information of the tag combination to be used from the at least two versions corresponding to the identification information of the tag combination of the target term, the method further includes:
recording identification information and version information of a label combination used by each service system;
establishing a corresponding relation between the identification information and the version information of each business system and label combination;
and when an operation request for determining the version information of the label combination required to be used by the service system is detected, outputting the identification information and the version information of the label combination corresponding to the service system according to the corresponding relationship.
In an exemplary embodiment, the label combination used by the recording business system 1 includes a label combination identified as a and having a version of 1.0, and the label combination used by the recording business system 2 includes a label combination identified as a and having a version of 1.1, so that the label operation on the technical metadata in the business system at a later stage is facilitated by recording the label combination information used by different business systems.
In an exemplary embodiment, after the outputting of the prompt information for labeling the technical metadata with the tag information determined by the version information of the tag combination, the method further includes:
recording version information of a label combination used by the technical metadata of which the labeling operation is finished;
when detecting that the version information of the label combination changes, acquiring the label information with changed content from the label combination with changed version;
and updating the tag information of the technical metadata which has finished the tag operation by using the tag information after the content is changed.
Based on the mode, when the tag information changes, the technical metadata which is marked is not required to be marked again, and only the content of the tag information marked by the technical metadata is required to be updated, so that when the tag information changes, the marked technical metadata can be ensured to be changed adaptively, and the processing efficiency of the marking operation is improved.
The application in a graph database is taken as an example for explanation, if the content of one label is changed, a new node is copied for the label node stored in the graph database corresponding to the label, the original attribute is kept, all the attributes of the new node are consistent with the source node, and the node type is changed from the label node type to the abandoned node type; the attribute content of the source node is updated, and then a change relationship is initiated to associate with a new node, wherein the change time and the change type are stored in the relationship attribute. Thus, even if the label content is changed due to business meaning, the label is not required to be recreated and marked again.
In addition, if a business process of a certain technical metadata (i.e. a change process of the business process) is queried, historical versions of all tags corresponding to the business process can be queried. When inquiring, firstly, finding out the corresponding label nodes in the graph database, then traversing all the nodes corresponding to the change relations, and then sequencing according to the change time to obtain all the change versions.
An embodiment of the present application provides an apparatus for managing technical metadata, including a processor and a memory, where the memory stores a computer program, and the processor calls the computer program in the memory to implement operations including:
when the marking operation of the service information is carried out on the technical metadata in the service system, the target type of the service system to which the technical metadata belongs is obtained;
searching a target term corresponding to the target type of the service system in a pre-stored term base to obtain a target term;
searching a label combination corresponding to the target term to obtain identification information of the label combination;
determining version information of a label combination required to be used from at least two versions corresponding to the identification information of the label combination of the target term;
and outputting prompt information for labeling the technical metadata by using the label information determined by the version information of the label combination.
In an exemplary embodiment, before the operation of determining the version information of the tag combination required to be used from the at least two versions corresponding to the identification information of the tag combination of the target term, the processor calls the computer program in the memory to further implement the following operations, including:
when detecting that the tag information corresponding to the target term cannot be matched with the technical metadata, acquiring service information of a service system corresponding to the technical metadata;
creating new tag information matched with the technical metadata according to the information carried in the technical metadata and the service information of the service system;
and configuring the attribute information corresponding to the tag information in the target tag combination as the attribute information corresponding to the new tag information.
In an exemplary embodiment, the processor calls a computer program in the memory to implement the operation of finding a tag combination corresponding to the target term to obtain identification information of the tag combination, including:
determining identification information of the target term;
determining version information of the target term required to be used from at least two versions corresponding to the identification information of the target term;
and searching a label combination corresponding to the target term according to the identification information and the version information of the target term to obtain the identification information of the label combination.
In an exemplary embodiment, after the operation of determining the version information of the tag combination required to be used from the at least two versions corresponding to the identification information of the tag combination of the target term, the processor calls the computer program in the memory to further implement the following operations, including:
recording identification information and version information of label combinations used by each service system;
establishing a corresponding relation between the identification information and the version information of each business system and label combination;
and when an operation request for determining the version information of the label combination required to be used by the service system is detected, outputting the identification information and the version information of the label combination corresponding to the service system according to the corresponding relationship.
In an exemplary embodiment, after the processor calls the computer program in the memory to implement the operation of outputting the hint information labeling the technical metadata with the tag information determined by the version information of the tag combination, the processor calls the computer program in the memory to further implement operations comprising:
recording version information of a label combination used by the technical metadata of which the labeling operation is finished;
when detecting that the version information of the label combination changes, acquiring the label information with changed content from the label combination with changed version;
and updating the tag information of the technical metadata which has finished the tag operation by using the tag information after the content is changed.
The device provided by the embodiment of the application, when performing a service information labeling operation on technical metadata in a service system, obtains a target type of the service system to which the technical metadata belongs, searches a target term corresponding to the target type of the service system in a pre-stored term library to obtain a target term, searches a tag combination corresponding to the target term to obtain identification information of the tag combination, determines version information of the tag combination to be used from at least two versions corresponding to the identification information of the tag combination of the target term, outputs prompt information for labeling the technical metadata by using the tag information determined by the version information of the tag combination, establishes a corresponding relationship between the technical metadata and the service information by using the term used by the service system, and by means of the tag combination corresponding to the term, the efficiency of marking operation of the technical metadata is improved; the version of the label combination is adapted to the use requirements of different service systems, so that the maintenance of label information is facilitated, and the maintenance efficiency is improved.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (8)

1. A method for labeling technical metadata is characterized in that the method labels the technical metadata by using a label combination, wherein labels in the label combination are generated based on business metadata and used for identifying the classification or content of the technical metadata; when the same tag information has tag combinations with different contents due to different description modes, configuring common identification information for the tag combinations with different contents, and setting different versions for distinguishing the tag combinations, wherein the method comprises the following steps:
when the marking operation of the service information is carried out on the technical metadata in the service system, the target type of the service system to which the technical metadata belongs is obtained;
searching a target term corresponding to the target type of the service system in a pre-stored term base to obtain a target term;
searching a label combination corresponding to the target term to obtain identification information of the label combination;
determining version information of a label combination required to be used from at least two versions corresponding to the identification information of the label combination of the target term;
outputting prompt information for labeling the technical metadata by using the label information determined by the version information of the label combination;
the searching for the tag combination corresponding to the target term to obtain the identification information of the tag combination includes:
determining identification information of the target term;
determining version information of the target term required to be used from at least two versions corresponding to the identification information of the target term;
and searching a label combination corresponding to the target term according to the identification information and the version information of the target term to obtain the identification information of the label combination.
2. The method according to claim 1, wherein before determining the version information of the tag combination to be used from the at least two versions corresponding to the identification information of the tag combination of the target term, the method further comprises:
when detecting that the tag information corresponding to the target term cannot be matched with the technical metadata, acquiring service information of a service system corresponding to the technical metadata;
creating new tag information matched with the technical metadata according to the information carried in the technical metadata and the service information of the service system;
and configuring the attribute information corresponding to the tag information in the target tag combination as the attribute information corresponding to the new tag information.
3. The method according to claim 1 or 2, wherein after determining the version information of the tag combination to be used from the at least two versions corresponding to the identification information of the tag combination of the target term, the method further comprises:
recording identification information and version information of label combinations used by each service system;
establishing a corresponding relation between the identification information and the version information of each business system and label combination;
and when an operation request for determining the version information of the label combination required to be used by the service system is detected, outputting the identification information and the version information of the label combination corresponding to the service system according to the corresponding relation.
4. The method of claim 1, wherein after outputting hint information for tagging the technical metadata with tag information determined by version information of the tag combination, the method further comprises:
recording version information of a label combination used by the technical metadata of which the labeling operation is finished;
when detecting that the version information of the label combination changes, acquiring the label information with changed content from the label combination with changed version;
and updating the tag information of the technical metadata which has finished the tag operation by using the tag information after the content is changed.
5. An apparatus for tagging technical metadata, the apparatus being configured to tag the technical metadata with a tag combination, wherein tags in the tag combination are generated based on business metadata and are used to identify a category or content of the technical metadata; when the same tag information has tag combinations with different contents due to different description modes, configuring common identification information for the tag combinations with different contents, and setting different versions for distinguishing the tag combinations, wherein the device comprises a processor and a memory, the memory stores a computer program, and the processor calls the computer program in the memory to realize the following operations, including:
when the marking operation of the service information is carried out on the technical metadata in the service system, the target type of the service system to which the technical metadata belongs is obtained;
searching a target term corresponding to the target type of the service system in a prestored term library to obtain a target term;
searching a label combination corresponding to the target term to obtain identification information of the label combination;
determining version information of a label combination required to be used from at least two versions corresponding to the identification information of the label combination of the target term;
outputting prompt information for labeling the technical metadata by using the label information determined by the version information of the label combination;
the searching for the label combination corresponding to the target term to obtain the identification information of the label combination includes:
determining identification information of the target term;
determining version information of the target term required to be used from at least two versions corresponding to the identification information of the target term;
and searching a label combination corresponding to the target term according to the identification information and the version information of the target term to obtain the identification information of the label combination.
6. The apparatus of claim 5, wherein the processor calls the computer program in the memory to implement the following operations before the operation of determining the version information of the tag combination to be used from the at least two versions corresponding to the identification information of the tag combination of the target term is performed, comprises:
when detecting that the tag information corresponding to the target term cannot be matched with the technical metadata, acquiring service information of a service system corresponding to the technical metadata;
according to the information carried in the technical metadata and the service information of the service system, creating new tag information matched with the technical metadata;
and configuring the attribute information corresponding to the tag information in the target tag combination as the attribute information corresponding to the new tag information.
7. The apparatus according to claim 5 or 6, wherein the processor calls the computer program in the memory to implement the following operations after the operation of determining the version information of the tag combination to be used from the at least two versions corresponding to the identification information of the tag combination of the target term, the operations comprising:
recording identification information and version information of a label combination used by each service system;
establishing a corresponding relation between the identification information and the version information of each business system and label combination;
and when an operation request for determining the version information of the label combination required to be used by the service system is detected, outputting the identification information and the version information of the label combination corresponding to the service system according to the corresponding relationship.
8. The apparatus of claim 5, wherein after the processor invokes the computer program in the memory to implement the operation of outputting hint information labeling the technical metadata with the tag information determined by the version information of the tag combination, the processor invokes the computer program in the memory to further implement operations comprising:
recording version information of a label combination used by the technical metadata of which the labeling operation is finished;
when detecting that the version information of the tag combination changes, acquiring the tag information with changed content from the tag combination with changed version;
and updating the tag information of the technical metadata which has finished the tag operation by using the tag information after the content is changed.
CN201911118018.0A 2019-11-15 2019-11-15 Method and apparatus for managing technical metadata Active CN110929120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911118018.0A CN110929120B (en) 2019-11-15 2019-11-15 Method and apparatus for managing technical metadata

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911118018.0A CN110929120B (en) 2019-11-15 2019-11-15 Method and apparatus for managing technical metadata

Publications (2)

Publication Number Publication Date
CN110929120A CN110929120A (en) 2020-03-27
CN110929120B true CN110929120B (en) 2022-09-09

Family

ID=69853091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911118018.0A Active CN110929120B (en) 2019-11-15 2019-11-15 Method and apparatus for managing technical metadata

Country Status (1)

Country Link
CN (1) CN110929120B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111752920A (en) * 2020-06-22 2020-10-09 杭州数澜科技有限公司 Method, system, and storage medium for managing metadata
CN112286879B (en) * 2020-07-15 2021-08-13 上海柯林布瑞信息技术有限公司 Metadata-based data asset construction method and device
CN116594658B (en) * 2023-07-03 2024-01-26 北京火山引擎科技有限公司 Version upgrading method and device for metadata, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2012201150A1 (en) * 2001-08-17 2012-03-22 Universal Business Matrix, Llc Method for adding metadata to data
CN104750681A (en) * 2013-12-25 2015-07-01 中国移动通信集团辽宁有限公司 Method and device for processing mass data
CN109101593A (en) * 2018-07-26 2018-12-28 上海证大喜马拉雅网络科技有限公司 Album searching method and device based on classification metadata
CN109325213A (en) * 2018-09-30 2019-02-12 北京字节跳动网络技术有限公司 Method and apparatus for labeled data
CN109670091A (en) * 2018-12-24 2019-04-23 成都四方伟业软件股份有限公司 A kind of metadata intelligent maintenance method and apparatus based on data standard

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2012201150A1 (en) * 2001-08-17 2012-03-22 Universal Business Matrix, Llc Method for adding metadata to data
CN104750681A (en) * 2013-12-25 2015-07-01 中国移动通信集团辽宁有限公司 Method and device for processing mass data
CN109101593A (en) * 2018-07-26 2018-12-28 上海证大喜马拉雅网络科技有限公司 Album searching method and device based on classification metadata
CN109325213A (en) * 2018-09-30 2019-02-12 北京字节跳动网络技术有限公司 Method and apparatus for labeled data
CN109670091A (en) * 2018-12-24 2019-04-23 成都四方伟业软件股份有限公司 A kind of metadata intelligent maintenance method and apparatus based on data standard

Also Published As

Publication number Publication date
CN110929120A (en) 2020-03-27

Similar Documents

Publication Publication Date Title
CN110929120B (en) Method and apparatus for managing technical metadata
CN104137103B (en) Method, system and its storage medium for intelligent data filing
US20140351261A1 (en) Representing enterprise data in a knowledge graph
US20140351241A1 (en) Identifying and invoking applications based on data in a knowledge graph
CN110263317B (en) Method and device for generating document template
CN102893281A (en) Information retrieval device, information retrieval method, computer program, and data structure
CN106970958B (en) A kind of inquiry of stream file and storage method and device
US20130198117A1 (en) Systems and methods for semantic data integration
US9158599B2 (en) Programming framework for applications
CN110879799B (en) Method and device for labeling technical metadata
JP2004030221A (en) Method for automatically detecting table to be modified
CN111090656A (en) Method and system for dynamically constructing object portrait
CN116166849A (en) Data management method, device, equipment and storage medium
CN110851663A (en) Method and apparatus for managing metadata
JP6782275B2 (en) Data catalog automatic generation system and its automatic generation method
US20050080820A1 (en) Method and system for generating, associating and employing user-defined fields in a relational database within an information technology system
KR102153259B1 (en) Data domain recommendation method and method for constructing integrated data repository management system using recommended domain
CN112363996A (en) Method, system, and medium for building a physical model of a power grid knowledge graph
WO2020041827A1 (en) Data deduplication and data merging
CN110928979B (en) Method and apparatus for managing technical metadata
CN112015804A (en) Data synchronization method, device, equipment and storage medium
US20170323015A1 (en) Automated metadata cleanup and distribution platform
CN111881323B (en) Table separation method based on sequencing field and time routing
JP2004192657A (en) Information retrieval system, and recording medium recording information retrieval method and program for information retrieval
CN110609926A (en) Data tag storage management method and device

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