CN116010376B - Main data modeling method based on inheritance strategy - Google Patents

Main data modeling method based on inheritance strategy Download PDF

Info

Publication number
CN116010376B
CN116010376B CN202211728685.2A CN202211728685A CN116010376B CN 116010376 B CN116010376 B CN 116010376B CN 202211728685 A CN202211728685 A CN 202211728685A CN 116010376 B CN116010376 B CN 116010376B
Authority
CN
China
Prior art keywords
data
main data
attribute
data information
main
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
CN202211728685.2A
Other languages
Chinese (zh)
Other versions
CN116010376A (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 SunwayWorld Science and Technology Co Ltd
Original Assignee
Beijing SunwayWorld Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing SunwayWorld Science and Technology Co Ltd filed Critical Beijing SunwayWorld Science and Technology Co Ltd
Priority to CN202211728685.2A priority Critical patent/CN116010376B/en
Publication of CN116010376A publication Critical patent/CN116010376A/en
Application granted granted Critical
Publication of CN116010376B publication Critical patent/CN116010376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention provides a main data modeling method based on an inheritance strategy, which comprises the following steps: acquiring main data; performing category analysis on the main data, determining the data types, and dividing the main data according to the data types to obtain the main data types; analyzing the relation between the data types according to the main data types, and determining the upper and lower levels of the main data types; and carrying out attribute configuration and model construction by adopting inheritance strategies according to the upper and lower levels of the main data types to obtain a main data model. The main data modeling method based on the inheritance strategy provided by the invention adopts the inheritance strategy to carry out attribute configuration and model construction, so that common attributes do not exist in the lower level of the main data category, and the main data modeling method has special attributes, and provides convenience for maintenance of the main data model.

Description

Main data modeling method based on inheritance strategy
Technical Field
The invention relates to the technical field of main data modeling, in particular to a main data modeling method based on an inheritance strategy.
Background
The main data is an important component of the enterprise data strategy, and is in a core position and a basic supporting position in the informatization strategy. The method greatly influences the informatization construction value of enterprises and further influences the utilization efficiency of the enterprises and the data play value degree. The main data is basic data with sharing property, can be reused across various business departments in an enterprise, and is in a relatively high-value, high-sharing and relatively stable state.
At present, in the prior art, maintenance is usually carried out on the lowest level classification, but in the lowest level classification, a plurality of common attributes are often arranged on different lower level classifications, so that the maintenance is higher.
Disclosure of Invention
The invention aims to provide a main data modeling method based on an inheritance strategy, so as to solve the problems in the background technology.
In order to achieve the above purpose, the present invention provides the following technical solutions: a main data modeling method based on an inheritance strategy comprises the following steps:
acquiring main data;
performing category analysis on the main data, determining data types, and dividing the main data according to the data types to obtain main data types;
analyzing the relation among the data types according to the main data types, and determining the upper and lower levels of the main data types;
and carrying out attribute configuration and model construction by adopting inheritance strategies according to the upper and lower levels of the main data types to obtain a main data model.
Further, the main data acquisition is performed on basic shared data inside an enterprise, and departments or systems providing information are acquired together in the acquisition process to obtain main data information and main data sources.
Further, when the attribute configuration and the model construction are carried out by adopting the inheritance strategy according to the upper and lower levels of the main data types,
respectively establishing data information points aiming at the main data types, and correspondingly obtaining one data information point for each category;
according to the main data category, the data information points are arranged and distributed at the upper and lower levels, and the upper level data information points and the lower level data information points are determined to obtain the association relation between the data information points;
associating the upper-level data information points with the lower-level data information points according to the association relation between the data information points to obtain a main data initial model;
and carrying out attribute configuration by adopting an inheritance strategy aiming at the data information points in the main data initial model to obtain a main data model.
Further, when the attribute configuration is performed on the data information points in the main data initial model by adopting an inheritance strategy, the data information points are analyzed sequentially from the upper level to the lower level according to the association relation between the data information points, and the process comprises the following steps:
performing attribute analysis on the upper data information points in combination with main data contained in the upper data information points, determining the upper data information point attributes, and endowing the upper data information points with the upper data information point attributes;
determining an inheritance strategy between the attribute of the lower data information point and the attribute of the upper data information point according to the association relation between the data information points and combining the main data analysis contained in the upper data information point and the lower data information point;
and assigning the attribute of the lower data information point by combining the inheritance strategy between the attribute of the lower data information point and the attribute of the upper data information point with the attribute of the upper data information point.
Further, when the attribute of the lower data information point is endowed with the attribute of the upper data information point by combining the inheritance strategy between the attribute of the lower data information point and the attribute of the upper data information point, the number of the lower data information points is analyzed for the same upper data information point to obtain the number of the lower data information points, when the number of the lower data information points is two or more, the attribute of the two or more lower data information points is further analyzed, the identity and the difference between the attributes of the lower data information points are determined, the common attribute of the lower data information points and the special attribute of the lower data information points are obtained, the common attribute is defined in the upper data information points according to the common attribute of the lower data information points, and the special attribute of the lower data information points is endowed with the corresponding lower data information points.
Further, the inheritance policy includes: the method is not inherited, inherits to the next level and can be maintained; wherein, the non-inheritance is: the attribute of the master data category is a proprietary attribute; inheritance to the next stage is: the attribute of the upper level of the main data is inherited to the corresponding lower level of the main data, and the lower level of the main data directly has the attribute of the upper level of the main data and the configuration thereof, but the lower level of the main data cannot maintain the attribute; inherit to the next stage and can be maintained as follows: the attribute of the upper level of the main data is inherited to the corresponding lower level of the main data, and the lower level of the main data directly has the attribute of the upper level of the main data and the configuration thereof, but the lower level of the main data can maintain the attribute.
Further, performing a category analysis for the primary data, including:
carrying out main data information analysis on the main data, determining what property data the main data information is, and carrying out preliminary division on the main data according to the property data to obtain a first division result;
performing secondary division by combining each primary division small unit in the first division result with the main data source to obtain a second division result;
and in the second division result, combining the main data sources to carry out the same combination to obtain main data types.
Further, when analyzing the relationship between the data categories according to the main data category, analyzing and determining according to the main data source includes: determining corresponding main data sources aiming at the data types, analyzing whether an upper-lower level relation exists between the corresponding main data sources, and determining the upper-lower level relation of the data types according to the upper-lower level relation between the corresponding main data sources when the upper-lower level relation exists between the corresponding main data sources to obtain an upper main data type and a lower main data type; and when the corresponding main data sources do not have the upper and lower level relation, analyzing whether the main data information contained in the main data types has the logic relation or not, and determining the upper and lower level relation of the data types according to the logic relation between the main data information to obtain the upper main data types and the lower main data types.
Further, after the main data model is obtained, authority setting is performed on the main data model, a trust relationship between the main data model and an enterprise is established, when the enterprise performs information acquisition in the main data model, information interaction is performed by utilizing a security channel through the authority setting, and when terminals outside the enterprise perform information acquisition in the main data model, information in the main data model cannot be acquired through the authority setting.
Further, after attribute configuration and model construction are carried out by adopting inheritance strategies according to the upper and lower levels of the main data types, encryption processing is carried out on main data in the main data model, when information interaction is carried out between an enterprise internal terminal and the main data model, the main data model carries out interaction on the main data ciphertext, and then the enterprise internal terminal carries out decryption by utilizing a secret key to obtain interaction data information.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a schematic diagram of steps of a method for modeling master data based on an inheritance policy according to the present invention;
FIG. 2 is a schematic diagram of a fourth step in a method for modeling master data based on an inheritance policy according to the present invention;
fig. 3 is a schematic diagram of S404 in the fourth step of the master data modeling method based on the inheritance policy according to the present invention.
Detailed description of the preferred embodiments
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
As shown in fig. 1, an embodiment of the present invention provides a method for modeling main data based on an inheritance policy, including:
step one, main data are obtained;
step two, analyzing the category of the main data, determining the data category, and dividing the main data according to the data category to obtain the main data category;
step three, analyzing the relation among the data types according to the main data types, and determining the upper and lower levels of the main data types;
and fourthly, carrying out attribute configuration and model construction by adopting inheritance strategies according to the upper and lower levels of the main data types to obtain a main data model.
The technical scheme provides a main data modeling method, which adopts an inheritance strategy to realize main data model construction, when main data modeling is carried out, firstly, main data is acquired, the source and information of the main data are determined, then, the type of the main data is analyzed aiming at the combination of the source and the information of the main data, the data types are determined, the main data is divided according to the data types so as to obtain the main data types, then, the analysis is carried out aiming at the main data types, the relation among the data types is determined, and the fact that whether the data types are superior or inferior is determined, so as to obtain the superior or inferior of the main data types is determined, finally, attribute deployment and association construction are carried out on the superior of the main data types and the inferior of the main data types in the superior or inferior of the main data types according to the superior or inferior of the main data types by adopting the inheritance strategy, so that the main data model is constructed, and the main data model is obtained.
The technical scheme realizes modeling of the main data, enables the main data to be clear and clear, is convenient for sharing the main data, realizes public management of the main data, and is convenient for data maintenance. In the modeling process of the main data, the attribute configuration and the model construction are carried out by adopting the inheritance strategy according to the upper and lower levels of the main data types, so that the attribute in the upper level of the main data types can be inherited into the lower level of the main data types according to the conditions, the common attribute does not exist in the lower level of the main data types, the special attribute exists, the consistency of the same attribute configuration among different classifications can be ensured, and convenience is provided for maintenance of the main data model.
In one embodiment of the present invention, the main data is obtained for basic shared data in an enterprise, and a department or a system providing information is obtained together in the process of obtaining main data information and main data sources.
According to the technical scheme, when the main data is acquired, basic shared data acquisition is firstly performed on all departments in the enterprise to obtain the main data, and the departments or the system providing the basic shared data are acquired together when the basic shared data acquisition is performed on all departments in the enterprise, namely main data information and main data sources are required to be acquired when the main data is acquired.
According to the technical scheme, the main data is obtained by obtaining the basic shared data of each department in the enterprise, so that the main data contains the basic data with the enterprise sharing property, the main data can be reused across each department in the enterprise, convenience is provided for enterprise work, and the departments or systems providing the basic shared data are obtained together when the basic shared data of each department in the enterprise is obtained, so that information in the main data can be traced back to the provided departments or systems, and tracing and maintenance are facilitated.
As shown in fig. 2, in one embodiment of the present invention, when attribute configuration and model building are performed by adopting inheritance policies according to the upper and lower levels of the main data types,
s401, respectively establishing data information points according to the main data types, and correspondingly obtaining one data information point for each type;
s402, arranging and distributing the data information points according to the upper and lower levels of the main data types, and determining upper level data information points and lower level data information points to obtain an association relation between the data information points;
s403, associating the upper data information points with the lower data information points according to the association relation between the data information points to obtain a main data initial model;
s404, performing attribute configuration by adopting an inheritance strategy aiming at the data information points in the main data initial model to obtain a main data model.
When the attribute configuration and the model construction are carried out by adopting the inheritance strategy according to the upper and lower levels of the main data types, firstly, respectively establishing data information points aiming at the upper and lower levels of the main data types, and correspondingly obtaining one data information point for each type; then, according to the main data type upper and lower levels, arranging and distributing the main data type upper and lower data information points, determining upper data information points and lower data information points, and obtaining the association relation between the data information points; then, associating the main data type upper and lower level data information points with the main data type upper and lower level data information points according to the association relation between the main data type upper and lower level data information points to obtain a main data initial model; and finally, performing attribute configuration by adopting an inheritance strategy aiming at the data information points in the primary data initial models of the upper and lower stages of the primary data types to obtain a primary data model.
According to the technical scheme, the data information points are respectively established for the main data types, so that the main data types are presented in the form of the data information points, management is convenient, the data information points at the upper level and the data information points at the lower level can be presented in the relation between the data information points directly and simply when the data information points at the lower level are associated according to the association relation between the data information points, the attribute configuration is carried out by adopting the inheritance strategy, the functions of the data information points can be enriched in the main data initial model, and the richness of the main data model is improved.
As shown in fig. 3, in one embodiment of the present invention, when attribute configuration is performed on data information points in the primary data initial model by adopting an inheritance policy, the process includes:
s4041, carrying out attribute analysis on the upper data information points by combining the main data contained in the upper data information points, determining the upper data information point attributes, and endowing the upper data information points with the upper data information point attributes;
s4042, analyzing and determining an inheritance strategy between the attribute of the lower data information point and the attribute of the upper data information point according to the association relation between the data information points and the main data contained in the upper data information point and the lower data information point;
s4043, assigning the attribute of the lower level data information point by combining the inheritance strategy between the attribute of the lower level data information point and the attribute of the upper level data information point with the attribute of the upper level data information point.
According to the technical scheme, when the attribute configuration is carried out by adopting the inheritance strategy aiming at the data information points in the main data initial model, the data information points with the upper and lower relationships can be analyzed according to the association relationship among the data information points in sequence from the upper level to the lower level, and the analysis can be carried out by the following steps:
firstly, carrying out attribute analysis on the upper data information points in combination with main data contained in the upper data information points, determining the attributes of the upper data information points, and endowing the attributes of the upper data information points to the upper data information points;
then, according to the association relation between the data information points, the main data analysis contained in the upper data information points and the lower data information points is combined to determine the inheritance strategy between the attribute of the lower data information points and the attribute of the upper data information points;
and then, combining the inheritance strategy between the attribute of the lower data information point and the attribute of the upper data information point with the attribute of the upper data information point to endow the attribute of the lower data information point.
According to the technical scheme, uniformity of data information point attribute configuration is achieved through the inheritance strategy, attribute association exists among associated data information points in the main data model through attribute giving, maintenance is convenient, and maintenance efficiency of a subsequent main data model is improved.
In one embodiment provided by the invention, when the attribute of the lower data information point is endowed by combining the inheritance strategy between the attribute of the lower data information point and the attribute of the upper data information point with the attribute of the upper data information point, the number of the lower data information points is analyzed according to the same upper data information point to obtain the number of the lower data information points, when the number of the lower data information points is two or more, the attribute of the two or more lower data information points is compared, the identity and the difference between the attributes of the lower data information points are clear, the common attribute of the lower data information points and the special attribute of the lower data information points are obtained, the common attribute is defined in the upper data information points according to the common attribute of the lower data information points, and the special attribute of the lower data information points is endowed to the corresponding lower data information points.
According to the technical scheme, when the attribute of the lower data information point and the attribute of the upper data information point are combined, attribute giving is carried out on the lower data information point, the number of the lower data information points is analyzed according to the same upper data information point, the number of the lower data information points is obtained, further analysis is carried out according to the number of the lower data information points, when the number of the lower data information points is two or more, the attribute of the two or more lower data information points is compared, the identity and the difference between the attribute of the lower data information points are clear, the common attribute of the lower data information points and the special attribute of the lower data information points are obtained, the common attribute is defined in the upper data information point according to the common attribute of the lower data information points, and the corresponding lower data information point is given.
When the identity and the difference between the attributes of the lower-level data information points are clear, firstly, acquiring the attribute information of the lower-level data information points, and converting the attribute information into character strings to obtain attribute information character strings;
calculating for the attribute information character string by the following formula:
in the above formula, Y (a i ,a j ) Representing the ith data information point a i Attribute of (a) and j-th data information point a j Similarity between attributes of A i Representing the ith data information point a i Attribute information string set of (a), a j Represents the j-th data information point a j Is a set of attribute information strings;
then judging whether the common attribute exists or not through the following formula:
wherein H represents a determination result, when h=f, common attributes are not present, when h=t, and when the determination result is that common attributes are present, common attributes U are obtained by the following formula:
according to the technical scheme, the special attribute of all the lower data information points of the same upper data information point can be clarified by further analyzing according to the number of the lower data information points, so that only the special attribute is needed to be considered when the main data model is maintained, convenience is provided for the maintenance of the main data model, and the common attribute is used as the common attribute together, so that the influence on the lower data information points is avoided. In addition, when the public attribute is determined, the public attribute is determined when the common attribute is determined to exist according to the analysis and judgment of the next-stage data information points, so that invalid extraction of the public attribute is avoided, meanwhile, time waste can be avoided, the attribute information is converted into a character string form for analysis, convenience is provided for analysis, the efficiency of common attribute analysis and common attribute determination is improved, and errors are not easy to occur.
In one embodiment provided by the present invention, the inheritance policy includes: the method is not inherited, inherits to the next level and can be maintained; wherein, the non-inheritance is: the attribute of the master data category is a proprietary attribute; inheritance to the next stage is: the attribute of the upper level of the main data is inherited to the corresponding lower level of the main data, and the lower level of the main data directly has the attribute of the upper level of the main data and the configuration thereof, but the lower level of the main data cannot maintain the attribute; inherit to the next stage and can be maintained as follows: the attribute of the upper level of the main data is inherited to the corresponding lower level of the main data, and the lower level of the main data directly has the attribute of the upper level of the main data and the configuration thereof, but the lower level of the main data can maintain the attribute.
The inheritance strategy in the technical scheme comprises the following steps: the method is not inherited, inherits to the next level and can be maintained; wherein, the non-inheritance is: the attribute of the master data category is a proprietary attribute; inheritance to the next stage is: the attribute of the upper level of the main data is inherited to the corresponding lower level of the main data, and the lower level of the main data directly has the attribute of the upper level of the main data and the configuration thereof, but the lower level of the main data cannot maintain the attribute; inherit to the next stage and can be maintained as follows: the attribute of the upper level of the main data is inherited to the corresponding lower level of the main data, and the lower level of the main data directly has the attribute of the upper level of the main data and the configuration thereof, but the lower level of the main data can maintain the attribute, and one of the non-inheritance, inheritance to the lower level and maintainability is selected according to the actual situation when the inheritance strategy between the attribute of the lower level data information point and the attribute of the upper level data information point is determined.
In one embodiment of the present invention, performing a class analysis on the main data includes:
carrying out main data information analysis on the main data, determining what property data the main data information is, and carrying out preliminary division on the main data according to the property data to obtain a first division result;
performing secondary division by combining each primary division small unit in the first division result with the main data source to obtain a second division result;
and in the second division result, combining the main data sources to carry out the same combination to obtain main data types.
When the category analysis is carried out on the main data, the main data information analysis is carried out on the main data, the data of which the main data information is of which property is clear, and the main data is initially divided according to the property, so that a first division result is obtained; secondly, carrying out secondary division by combining the primary data source with each primary division small unit in the first division result to obtain a second division result; then, in the second division result, the same combination is performed in combination with the main data source, and similar data from the same department and the same system are combined together to form one type, so that the main data type is obtained.
According to the technical scheme, the primary data is specifically and clearly divided through the primary division and the secondary division, convenience is provided for the convenience of primary data management, and the same information provided by different people can be orderly integrated into one class by combining the primary data sources in the second division result, so that the complexity of operation on a primary data model caused by too small class is avoided, and the efficiency is improved.
In one embodiment of the present invention, when analyzing the relationship between the data types according to the main data types, the analyzing and determining according to the main data sources includes: determining corresponding main data sources aiming at the data types, analyzing whether an upper-lower level relation exists between the corresponding main data sources, and determining the upper-lower level relation of the data types according to the upper-lower level relation between the corresponding main data sources when the upper-lower level relation exists between the corresponding main data sources to obtain an upper main data type and a lower main data type; and when the corresponding main data sources do not have the upper and lower level relation, analyzing whether the main data information contained in the main data types has the logic relation or not, and determining the upper and lower level relation of the data types according to the logic relation between the main data information to obtain the upper main data types and the lower main data types.
The process of analyzing the relationship between the data types according to the main data types in the technical scheme is mainly based on the analysis and determination of the main data sources, and comprises the following steps:
firstly, determining a corresponding main data source according to data types;
then, analyzing whether the corresponding main data sources have a top-bottom grade relation or not, and determining a source analysis result;
then, determining the upper and lower levels of the main data types by adopting different methods according to the source analysis result, and if the upper and lower level relationship exists between the corresponding main data sources, determining the upper and lower level relationship of the data types according to the upper and lower level relationship between the corresponding main data sources to obtain the upper main data types and the lower main data types; if the corresponding main data sources do not have the upper and lower level relation, analyzing whether the main data information contained in the main data types has the logic relation or not, and determining the upper and lower level relation of the data types according to the logic relation between the main data information to obtain the upper main data types and the lower main data types.
According to the technical scheme, the upper and lower levels of the main data types are determined by adopting different methods according to the source analysis result, so that the upper and lower levels of the main data types can be formed according to the association logic of the main data information even if the main data sources have no departments or the upper and lower levels of the staff relationships, the relationship between the main data classifications is smoothed out, and information disorder is avoided.
In one embodiment provided by the invention, after the main data model is obtained, authority setting is further performed on the main data model, a trust relationship between the main data model and an enterprise is established, when the enterprise obtains information in the main data model, information interaction is performed by utilizing a security channel through the authority setting, and when terminals outside the enterprise obtain information in the main data model, the information in the main data model cannot be obtained through the authority setting.
According to the technical scheme, after the main data model is obtained, the authority setting is carried out on the main data model, the trust relationship between the main data model and the enterprise is established, when the enterprise obtains information in the main data model, the information interaction is carried out by utilizing the safety channel through the authority setting, and when terminals outside the enterprise obtain information in the main data model, the information in the main data model cannot be obtained through the authority setting.
According to the technical scheme, the trust relationship between the main data model and the enterprise is established, so that the main data model can only perform information sharing in the enterprise, a safe information interaction environment is created, the information acquisition of the main data model in the enterprise is facilitated, and meanwhile, the main data model cannot perform information sharing on enterprises which do not belong to the main data model.
In one embodiment of the present invention, after attribute configuration and model construction are performed by adopting inheritance policies according to the upper and lower levels of the main data types, encryption processing is performed on main data in the main data model, and when an internal terminal of an enterprise performs information interaction with the main data model, the main data model interacts with the main data ciphertext, and then the internal terminal of the enterprise decrypts by using a secret key to obtain interaction data information.
According to the technical scheme, after attribute configuration and model construction are carried out by adopting inheritance strategies according to the upper and lower levels of the main data types to obtain the main data model, encryption processing is carried out on the main data in the main data model, so that the main data in the main data model is in a ciphertext state, meanwhile, a secret key in the encryption processing process is provided for a corresponding enterprise, when the enterprise internal terminal carries out information interaction with the main data model, the main data model transmits main data ciphertext data in the corresponding main data ciphertext state to the enterprise internal terminal according to the requirements of the enterprise internal terminal, and then the enterprise internal terminal carries out decryption processing on the main data ciphertext data by using the secret key, so that interaction data information is obtained.
According to the technical scheme, the main data in the main data model is not directly exposed through encryption processing on the main data in the main data model, so that the safety of the main data model is improved, a secret key is unique to a corresponding enterprise, personnel or institutions outside the enterprise are prevented from acquiring the main data of the enterprise, and the risk of information leakage is further reduced.
It will be appreciated by those skilled in the art that the first and second aspects of the present invention refer only to different phases of application.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. A method for modeling master data based on an inheritance policy, comprising:
acquiring main data;
performing category analysis on the main data, determining data types, and dividing the main data according to the data types to obtain main data types;
analyzing the relation among the data types according to the main data types, and determining the upper and lower levels of the main data types;
performing attribute configuration and model construction by adopting inheritance strategies according to the upper and lower levels of the main data types to obtain a main data model;
when the attribute configuration and the model construction are carried out by adopting the inheritance strategy according to the upper and lower levels of the main data types, the process comprises the following steps:
respectively establishing data information points aiming at the main data types, and correspondingly obtaining one data information point for each category;
according to the main data category, the data information points are arranged and distributed at the upper and lower levels, and the upper level data information points and the lower level data information points are determined to obtain the association relation between the data information points;
associating the upper-level data information points with the lower-level data information points according to the association relation between the data information points to obtain a main data initial model;
performing attribute configuration by adopting an inheritance strategy aiming at data information points in the main data initial model to obtain a main data model;
when attribute configuration is carried out on data information points in the main data initial model by adopting an inheritance strategy, the data information points are analyzed sequentially from an upper level to a lower level according to the association relation between the data information points, and the process comprises the following steps:
performing attribute analysis on the upper data information points in combination with main data contained in the upper data information points, determining the upper data information point attributes, and endowing the upper data information points with the upper data information point attributes;
determining an inheritance strategy between the attribute of the lower data information point and the attribute of the upper data information point according to the association relation between the data information points and combining the main data analysis contained in the upper data information point and the lower data information point;
and assigning the attribute of the lower data information point by combining the inheritance strategy between the attribute of the lower data information point and the attribute of the upper data information point with the attribute of the upper data information point.
2. The method according to claim 1, wherein the main data is obtained for basic shared data inside an enterprise, and a department or a system providing information is obtained together in the obtaining process, so as to obtain main data information and main data sources.
3. The method according to claim 1, wherein when the attribute of the lower level data information point is endowed with an attribute by combining an inheritance policy between the attribute of the lower level data information point and the attribute of the upper level data information point with the attribute of the upper level data information point, further analyzing the number of lower level data information points for the same upper level data information point to obtain the number of lower level data information points, further analyzing the number of lower level data information points according to the number of lower level data information points, when the number of lower level data information points is two or more, comparing the attributes of the two or more lower level data information points, determining the identity and the difference between the attributes of the lower level data information points, obtaining the common attribute of the lower level data information points and the exclusive attribute of the lower level data information points, defining the common attribute in the upper level data information points according to the common attribute of the lower level data information points, and endowing the exclusive attribute of the lower level data information points with the corresponding lower level data information points.
4. The method of claim 1, wherein the inheriting policy comprises: the method is not inherited, inherits to the next level and can be maintained; wherein, the non-inheritance is: the attribute of the master data category is a proprietary attribute; inheritance to the next stage is: the attribute of the upper level of the main data is inherited to the corresponding lower level of the main data, and the lower level of the main data directly has the attribute of the upper level of the main data and the configuration thereof, but the lower level of the main data cannot maintain the attribute; inherit to the next stage and can be maintained as follows: the attribute of the upper level of the main data is inherited to the corresponding lower level of the main data, and the lower level of the main data directly has the attribute of the upper level of the main data and the configuration thereof, but the lower level of the main data can maintain the attribute.
5. The method of claim 2, wherein performing a category analysis for the primary data comprises:
carrying out main data information analysis on the main data, determining what property data the main data information is, and carrying out preliminary division on the main data according to the property data to obtain a first division result;
performing secondary division by combining each primary division small unit in the first division result with the main data source to obtain a second division result;
and in the second division result, combining the main data sources to carry out the same combination to obtain main data types.
6. The method of claim 5, wherein analyzing the relationship between the data categories based on the master data category based on the master data source comprises: determining corresponding main data sources aiming at the data types, analyzing whether an upper-lower level relation exists between the corresponding main data sources, and determining the upper-lower level relation of the data types according to the upper-lower level relation between the corresponding main data sources when the upper-lower level relation exists between the corresponding main data sources to obtain an upper main data type and a lower main data type; and when the corresponding main data sources do not have the upper and lower level relation, analyzing whether the main data information contained in the main data types has the logic relation or not, and determining the upper and lower level relation of the data types according to the logic relation between the main data information to obtain the upper main data types and the lower main data types.
7. The method according to claim 1, wherein after the obtaining of the main data model, permission setting is further performed for the main data model, a trust relationship between the main data model and an enterprise is established, when the enterprise performs information acquisition in the main data model, information interaction is performed by using a secure channel through permission setting, and when a terminal outside the enterprise performs information acquisition in the main data model, information in the main data model cannot be acquired through permission setting.
8. The method according to claim 7, wherein the attribute configuration and model construction according to the master data category upper and lower levels are further performed by encrypting the master data in the master data model, and when the internal terminals of the enterprise interact with the master data model, the master data model interacts the master data ciphertext, and then the internal terminals of the enterprise decrypt the master data ciphertext by using a key to obtain the interaction data information.
CN202211728685.2A 2022-12-30 2022-12-30 Main data modeling method based on inheritance strategy Active CN116010376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211728685.2A CN116010376B (en) 2022-12-30 2022-12-30 Main data modeling method based on inheritance strategy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211728685.2A CN116010376B (en) 2022-12-30 2022-12-30 Main data modeling method based on inheritance strategy

Publications (2)

Publication Number Publication Date
CN116010376A CN116010376A (en) 2023-04-25
CN116010376B true CN116010376B (en) 2023-07-25

Family

ID=86029464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211728685.2A Active CN116010376B (en) 2022-12-30 2022-12-30 Main data modeling method based on inheritance strategy

Country Status (1)

Country Link
CN (1) CN116010376B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6442557B1 (en) * 1998-02-27 2002-08-27 Prc Inc. Evaluation of enterprise architecture model including relational database
CN111211557A (en) * 2019-12-30 2020-05-29 中国电力科学研究院有限公司 Multi-level and multi-branch power grid structure planning method and system
CN115168345A (en) * 2022-06-27 2022-10-11 天翼爱音乐文化科技有限公司 Database classification method, system, device and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101030368B1 (en) * 2004-04-30 2011-04-20 마이크로소프트 코포레이션 Systems and methods for the implementation of unordered and ordered collections in a data store
CN102999608A (en) * 2012-11-21 2013-03-27 用友软件股份有限公司 System and method for tree table demonstration of large data
RU2748741C2 (en) * 2017-02-27 2021-05-31 Общество С Ограниченной Ответственностью "Оптимальное Управление" Asset master data management system
CN107357942A (en) * 2017-09-04 2017-11-17 山东达创网络科技股份有限公司 A kind of source code auxiliary Core Generator and its generation method
CN109508176B (en) * 2018-07-20 2022-02-22 苏州百捷信息科技有限公司 Data management platform for enterprise owners
CN111680087B (en) * 2020-05-25 2023-05-30 远光软件股份有限公司 Main data model management platform and method
CN113961642A (en) * 2021-10-13 2022-01-21 安天科技集团股份有限公司 Data differentiation synchronization method, device and system and main node equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6442557B1 (en) * 1998-02-27 2002-08-27 Prc Inc. Evaluation of enterprise architecture model including relational database
CN111211557A (en) * 2019-12-30 2020-05-29 中国电力科学研究院有限公司 Multi-level and multi-branch power grid structure planning method and system
CN115168345A (en) * 2022-06-27 2022-10-11 天翼爱音乐文化科技有限公司 Database classification method, system, device and storage medium

Also Published As

Publication number Publication date
CN116010376A (en) 2023-04-25

Similar Documents

Publication Publication Date Title
US10564936B2 (en) Data processing systems for identity validation of data subject access requests and related methods
US7284000B2 (en) Automatic policy generation based on role entitlements and identity attributes
Bhaskaran et al. Double-blind consent-driven data sharing on blockchain
CN109643242B (en) Security design and architecture for multi-tenant HADOOP clusters
US20190334912A1 (en) System for using a distributed ledger to manage user entitlements to computing resources
CN110957025A (en) Medical health information safety management system
CN110225095B (en) Data processing method, device and system
CN104981777A (en) Computer-implemented method, system and computer program product for deploying an application on a computing resource
CN110278462A (en) A kind of mobile film projection authorization management method based on block chain
CN111680310B (en) Authority control method and device, electronic equipment and storage medium
CN113468511B (en) Data processing method and device, computer readable medium and electronic equipment
Adlam et al. A permissioned blockchain approach to the authorization process in electronic health records
WO2023005862A1 (en) Data governance apparatus and method, computer device, and storage medium
CN116090000A (en) File security management method, system, device, medium and program product
CN108243194B (en) Semantic-based cloud storage access control method
CN116010376B (en) Main data modeling method based on inheritance strategy
CN103514412B (en) Build the method and Cloud Server of access control based roles system
US10142344B2 (en) Credential management system
CN116415203A (en) Government information intelligent fusion system and method based on big data
Peralta-Velecela et al. Digital identity proposal for unified medical record using blockchain technology
Amiri et al. Prever: Towards private regulated verified data
CN109861970B (en) System based on credible strategy
CN109818731B (en) Method for reinforcing DSoD strategy by stream protocol
CN111915108A (en) Task management application method, system and storage medium
CN112822207B (en) Method and system for managing block chain data

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