CN113204576B - Method and system for managing coding attribute - Google Patents

Method and system for managing coding attribute Download PDF

Info

Publication number
CN113204576B
CN113204576B CN202011201683.9A CN202011201683A CN113204576B CN 113204576 B CN113204576 B CN 113204576B CN 202011201683 A CN202011201683 A CN 202011201683A CN 113204576 B CN113204576 B CN 113204576B
Authority
CN
China
Prior art keywords
attribute
meta
code
coding
rule
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
CN202011201683.9A
Other languages
Chinese (zh)
Other versions
CN113204576A (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.)
Zhejiang East China Engineering Digital Technology Co ltd
PowerChina Huadong Engineering Corp Ltd
Original Assignee
Zhejiang East China Engineering Digital Technology Co ltd
PowerChina Huadong Engineering Corp 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 Zhejiang East China Engineering Digital Technology Co ltd, PowerChina Huadong Engineering Corp Ltd filed Critical Zhejiang East China Engineering Digital Technology Co ltd
Priority to CN202011201683.9A priority Critical patent/CN113204576B/en
Publication of CN113204576A publication Critical patent/CN113204576A/en
Application granted granted Critical
Publication of CN113204576B publication Critical patent/CN113204576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • G06F16/24573Query processing with adaptation to user needs using data annotations, e.g. user-defined metadata
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/126Character encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Library & Information Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a system for managing coding attribute, comprising the following steps: step S101, establishing a coding attribute scene; step S102, building a meta-code attribute, a meta-code attribute assignment rule and a meta-code attribute verification rule of the meta-code under different coding attribute scenes; step S103, building the element code group attribute, the element code group attribute assignment rule and the element code group attribute check rule of the element code group under different coding attribute scenes; step S104, setting coding attributes, coding attribute assignment rules and coding attribute verification rules; step S105, managing the coding attribute. The invention can provide a method for facilitating the user to manage the coding attribute, which strongly correlates the meta code, the meta code group and the code with the meta code attribute, the meta code group attribute and the coding attribute, can realize the multiplexing of the coding attribute, and improves the coding attribute management capability of the user under different coding attribute scenes by setting the coding attribute assignment rule and the coding attribute verification rule to verify the attribute value when the coding attribute is managed.

Description

Method and system for managing coding attribute
Technical Field
The invention relates to the technical field of application coding, in particular to a coding attribute management method and a coding attribute management system.
Background
The codes have the characteristics of completeness, uniqueness and the like, can help a user to quickly index and position objects, are widely applied to the industries of coding to realize scientific and efficient management of real objects, such as medical treatment, construction, municipal administration, hydropower, banking and other industries, utilize different coding rules to code objects such as materials, documents, three-dimensional models and the like, and establish a digital management system based on the codes. Meanwhile, users have the requirement of recording the attributes of the objects in the process of object management, a reliable and universal management method for the object attributes does not exist at present, and the problems of repeated attribute values, confusion, errors and the like caused by directly recording the object attributes due to different attribute constraints of the same object under different use scenes are caused, so that the scientific management of the object attributes cannot be realized finally.
Based on the above situation, the invention provides a method and a system for managing coding attribute, which can effectively solve the above problems.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention is realized by the following technical scheme:
in one aspect, the present invention provides a method of coding attribute management, the method comprising the steps of:
step S101, establishing a coding attribute scene;
step S102, building a meta-code attribute, a meta-code attribute assignment rule and a meta-code attribute verification rule of the meta-code under different coding attribute scenes;
step S103, building the element code group attribute, the element code group attribute assignment rule and the element code group attribute check rule of the element code group under different coding attribute scenes;
step S104, setting coding attributes, coding attribute assignment rules and coding attribute verification rules;
step S105, managing the coding attribute.
As a preferred technical solution of the present invention, the step S101 of creating the coding attribute scene includes creating a coding attribute scene name, a coding attribute scene remark, and creating one or more coding attribute scenes.
As a preferred technical scheme of the invention, the step S102 establishes the meta-code attribute, the meta-code attribute assignment rule and the meta-code attribute verification rule of the meta-code under different coding attribute scenes, and is performed after a certain coding attribute scene is selected;
the meta-code attribute, the meta-code attribute assignment rule and the meta-code attribute verification rule are stored in a coding attribute library and can be used for multiplexing meta-code attribute, the meta-code attribute assignment rule and the meta-code attribute verification;
the meta-code attribute, the meta-code attribute assignment rule and the meta-code attribute verification rule are not repeatable under the same coding attribute scene and are repeatable under different coding attribute scenes.
As a preferable technical scheme of the invention, the element codes comprise fixed element codes, random element codes, sequential element codes and finite element codes;
the meta-code attributes of the meta-code under different attribute scenes comprise fixed meta-code attributes, random meta-code attributes, sequential meta-code attributes and finite meta-code value attributes;
the meta-code attribute assignment rules of the meta-code under different coding attribute scenes comprise fixed meta-code attribute assignment rules, random meta-code attribute assignment rules, sequential meta-code attribute assignment rules and finite meta-code value attribute assignment rules;
the meta code attribute verification rules of the meta code under different coding attribute scenes comprise fixed meta code attribute verification rules, random meta code attribute verification rules, sequential meta code attribute verification rules and finite meta code value attribute verification rules;
the fixed meta code attribute, the random meta code attribute, the sequential meta code attribute and the finite meta code value attribute comprise text type, integer type, real number type, currency type, measurement type, time type, boolean type, enumeration type and coordinate type;
the fixed element code attribute assignment rule, the random element code attribute assignment rule, the sequential element code attribute assignment rule and the finite element code value attribute assignment rule comprise directly established attribute assignment rules and attribute assignment rules calculated through calculation expressions which can be defined by other element code attribute combination functions of element codes;
the fixed element code attribute checking rule, the random element code attribute checking rule, the sequential element code attribute checking rule and the finite element code value attribute checking rule comprise a numerical value checking rule, a dimension and unit checking rule and a function checking rule.
As a preferred technical scheme of the invention, the step S103 establishes the meta-code group attribute, meta-code group attribute assignment rule and meta-code group attribute verification rule of the meta-code group under different coding attribute scenes, and needs to be performed after selecting a certain coding attribute scene;
the attributes, attribute assignment rules and attribute verification rules of the element code groups are stored in a coding attribute library and can be used for multiplexing the element code group attributes, the element code group attribute assignment rules and the element code group attribute verification rules;
the meta-code group attribute, meta-code group attribute assignment rule and meta-code group attribute check are not repeatable under the same coding attribute scene and repeatable under different coding attribute scenes.
As a preferable technical scheme of the invention, the element code blocks comprise conventional element code blocks, extended element code blocks and serial element code blocks;
the element code group attributes of the element code group under different coding attribute scenes comprise conventional element code group attributes, extended element code group attributes and different series attributes in series element code groups;
the element code group attribute assignment rules of the element code group under different coding attribute scenes comprise a conventional element code group attribute assignment rule, an extended element code group attribute assignment rule and attribute assignment rules of different series in a series of element code groups;
the meta-code group attribute check rules of the meta-code group under different coding attribute scenes comprise a conventional meta-code group attribute check rule, an extended meta-code group attribute check rule and different series attribute check rules in a series of meta-code groups;
the conventional meta-code group attribute, the extended meta-code group attribute and the serial meta-code group attribute of different series comprise text type, integer type, real number type, currency type, measurement type, time type, boolean type, enumeration type and coordinate type;
the conventional meta-code group attribute assignment rule, the extended meta-code group attribute assignment rule and the attribute assignment rules of different series in the series meta-code group comprise directly created attribute assignment rules and attribute replication rules calculated by calculation expressions which can be defined by other meta-code group attribute combination functions of the meta-code group;
the conventional meta-code group attribute check rule, the extended meta-code group attribute check rule and the attribute check rules of different series in the series meta-code group comprise a numerical check rule, a dimension and unit check rule and a function check rule.
As a preferred technical scheme of the present invention, the step S104 sets the coding attribute, the coding attribute assignment rule and the coding attribute verification rule, including arbitrarily setting the meta-code attribute, the meta-code attribute assignment rule and the meta-code attribute verification rule established in the step S102 and the meta-code group attribute, meta-code group attribute assignment rule and meta-code group attribute verification rule established in the step S103 as the coding attribute, the coding attribute assignment rule and the coding attribute verification rule, and the set coding attribute, coding attribute assignment rule and coding attribute verification rule are all the attributes, attribute assignment rules and attribute verification rules of the arbitrary meta-code or meta-code group under all coding attribute scenes.
As a preferred technical scheme of the invention, the step S105 of managing the coding attribute comprises adding, deleting, modifying and checking the coding attribute under different coding attribute scenes, and assigning and checking the coding attribute according to the coding attribute assignment rule and the coding attribute check rule when adding, deleting and modifying the coding attribute.
In another aspect, the present invention further provides a system for coding attribute management, where the system includes:
the coding attribute scene management module is used for setting a coding attribute scene and realizing the operations of adding, deleting, changing and checking the coding attribute scene;
the meta-code attribute management module is used for setting meta-code attributes, meta-code attribute assignment rules and meta-code attribute verification rules of the meta-code under different attribute scenes, and realizing the operations of adding, deleting, modifying and checking the meta-code attributes, the meta-code attribute assignment rules and the meta-code attribute verification rules after the coded attribute scenes are switched;
the element code group attribute management module is used for setting element code group attributes, element code group attribute assignment rules and element code group attribute verification rules of the element code groups under different coding attribute scenes, and realizing the operations of adding, deleting, modifying and checking the element code group attributes, the element code group attribute assignment rules and the element code group attribute verification rules after the coding attribute scenes are switched;
the coding attribute rule management module is used for setting coding attribute rules, coding attribute assignment rules and coding attribute verification rules;
the coding management module is used for managing the coding attribute, realizing the switching of the coding attribute scene and the operations of adding, deleting, modifying and checking the coding attribute after the switching of the coding attribute scene.
Compared with the prior art, the invention has the following advantages:
the invention relates to a method and a system for managing coding attribute, which consider that in the process of creating a meta code and a meta code group, the meta code group and the coding are strongly related to meta code attribute, meta code group attribute and coding attribute, the multiplexing of attribute, attribute assignment rule and attribute verification rule is realized through the multiplexing of the meta code and the meta code group which form the coding, the attribute assignment rule and the verification rule can be set to realize the verification of the attribute value, the accuracy of object attribute management is ensured, and meanwhile, the attribute assignment rule and the attribute verification rule are divided by utilizing a coding attribute scene, so that the management and the verification of the attribute value under different coding attribute scenes are realized. The method and the device can be applied to the scene of simultaneous management of the coding and the attribute, and realize scientific and efficient management of the coding attribute.
The foregoing and other objects, advantages and features of the present invention will become more readily apparent to those skilled in the art from the following detailed description of the specific embodiments of the invention taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some examples of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for managing coding attribute according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a system for coding attribute management according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a coding attribute scene management function page in the coding attribute management system according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a functional page for creating a coding attribute scene in the coding attribute management system according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of a meta-code management function page in the coding attribute management system according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of a meta-code value management function page in the coding attribute management system according to an embodiment of the present invention.
Fig. 7 is a schematic diagram of a meta-code attribute management function page in the coding attribute management system according to an embodiment of the present invention.
Fig. 8 is a schematic diagram of a function page for creating meta-code attribute in the coding attribute management system according to an embodiment of the present invention.
Fig. 9 is a schematic diagram of a functional page for establishing a meta-code attribute verification rule in the coding attribute management system according to an embodiment of the present invention.
Fig. 10 is a schematic diagram of a functional page for building a meta-code group in the coding attribute management system according to an embodiment of the present invention.
Fig. 11 is a schematic diagram of a set coding function page in the coding attribute management system according to an embodiment of the present invention.
Fig. 12 is a functional page diagram of setting coding attribute, coding attribute assignment rule and coding attribute verification rule in the coding attribute management system according to the embodiment of the present invention.
Fig. 13 is a schematic diagram of a coding attribute management function page in the coding attribute management system according to an embodiment of the present invention.
Fig. 14 is a schematic diagram of a coding attribute verification error reporting function page in the coding attribute management system according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the technical solution of the present invention, a preferred embodiment of the present invention will be described below with reference to specific examples, but it should be understood that the drawings are only for illustrative purposes and should not be construed as limiting the present patent.
Referring to fig. 1 and 2, the method and system for managing coding attribute provided in this embodiment include the following steps:
step S101, establishing a coding attribute scene;
the establishing the coding attribute scenes comprises establishing a coding attribute scene name, a coding attribute scene number and a coding attribute scene remark, and one or more coding attribute scenes can be established.
In this embodiment:
two coding attribute scenes are established, a coding attribute scene management function page in a coding attribute management system is shown in fig. 3, a coding attribute scene name is established as a [ completion stage ] function page is shown in fig. 4, the coding attribute scene names are respectively a construction stage and a completion stage, and other information is shown in table 1.
Table 1 encoding Attribute scene information table
Sequence number Coding attribute scene names Coding attribute scene numbers Coding attribute scene remarks
1 Construction stage LOD400 Without any means for
2 Completion stage LOD500 Without any means for
Step S102, building a meta-code attribute, a meta-code attribute assignment rule and a meta-code attribute verification rule of the meta-code under different coding attribute scenes;
the establishment of the meta-code attribute, the meta-code attribute assignment rule and the meta-code attribute verification rule is carried out after a certain coding attribute scene is selected;
the element codes comprise fixed element codes, random element codes, sequential element codes and finite element codes; the meta-code attributes under different attribute scenes comprise fixed meta-code attributes, random meta-code attributes, sequential meta-code attributes and finite meta-code value attributes;
the meta-code attribute assignment rules of the meta-code under different coding attribute scenes comprise fixed meta-code attribute assignment rules, random meta-code attribute assignment rules, sequential meta-code attribute assignment rules and finite meta-code value attribute assignment rules;
the meta code attribute verification rules of the meta code under different coding attribute scenes comprise fixed meta code attribute verification rules, random meta code attribute verification rules, sequential meta code attribute verification rules and finite meta code value attribute verification rules;
the meta-code attribute, the attribute assignment rule and the attribute verification rule are stored in a coding attribute library and can be used for multiplexing the meta-code attribute, the meta-code attribute assignment rule and the meta-code attribute verification rule;
the fixed meta code attribute, the random meta code attribute, the sequential meta code attribute and the finite meta code value attribute comprise text type, integer type, real number type, currency type, measurement type, time type, boolean type, enumeration type and coordinate type;
the fixed element code attribute assignment rule, the random element code attribute assignment rule, the sequential element code attribute assignment rule and the finite element code value attribute assignment rule comprise element code attribute assignment rules which are directly established and element code attribute assignment rules calculated through a calculation expression, and the calculation expression can be defined by other element code attribute combination functions of element codes;
the fixed element code attribute checking rule, the random element code attribute checking rule, the sequential element code attribute checking rule and the finite element code value attribute checking rule comprise a numerical value checking rule, a dimension and unit checking rule and a function checking rule;
the meta-code attribute, the meta-code attribute assignment rule and the meta-code attribute verification rule are not repeatable under the same coding attribute scene and can be repeatable under different coding attribute scenes.
In this embodiment:
(1) Three meta codes are known, the names of the meta codes are respectively a whole plant code, a system classification code and a system number, the types of the meta codes are respectively a fixed meta code, a finite meta code and a sequential meta code, a meta code management list functional page in the coding attribute management system is shown in fig. 5, and specific meta code information is shown in table 2.
Table 2 meta code information table
Sequence number Meta code name Meta code numbering Meta code type Remarks
1 Code of whole plant 001 Fixed element code Without any means for
2 System classification code 002 Finite element code Without any means for
3 System numbering 003 Sequential element code Without any means for
(2) And establishing a meta-code attribute, a meta-code attribute assignment rule and a meta-code attribute verification rule of the meta-code under different attribute scenes. Wherein, the whole factory code represents the No. 1 unit, no meta-code attribute, meta-code attribute assignment rule and meta-code attribute verification rule are included, and the whole factory code attribute table is shown in the following table 3; the system classification code comprises two finite element code values, namely MFA and MFB, which respectively represent a water pump turbine, a unit water inlet valve and auxiliary equipment, a system classification code value management function page in the coding attribute management system is shown in the table 4 below, because the finite element code values are different in element code attribute, element code attribute assignment rule and element code attribute verification rule under different coding attribute scenes, the system classification code value MFA is taken as an example in the coding attribute management system, the element code attribute management function page with the name of [ construction stage ] in the coding attribute scene is shown in the table 7, the element code attributes of the two finite element code values of MFA and MFB under different coding attribute scenes are shown in the tables 5 and 6 below, the element code attribute with the name of [ maximum power ] of the finite element code value MFA under the coding attribute scene is taken as an example, the functional page with the element code attribute of [ maximum power ] is established in the coding attribute management system is shown in the table 8, and the functional page with the element code attribute management rule of the table 9 is established in the coding attribute management system is shown in the table 7; the system number represents the serial number 01-99 of the unit without element code attribute, element code attribute assignment rule and element code attribute check rule, as shown in the following table 8.
TABLE 3 Whole plant code Property Table
Table 4 systematic classification symbol code value table
Sequence number Meta code value Meta code value description Ordering of
1 MFA Water pump turbine 1
2 MFB Unit water inlet valve and accessory equipment 2
Table 5 attribute tables of MFA under different coding attribute scenarios
Table 6 attribute tables of MFB under different coding attribute scenarios
TABLE 7 (maximum Power) meta-code attribute information table
Table 8 system number attribute table
Step S103, building the element code group attribute, the element code group attribute assignment rule and the element code group attribute check rule of the element code group under different coding attribute scenes;
the building of the meta-code group attribute, the meta-code group attribute assignment rule and the meta-code group attribute verification rule is carried out after a certain coding attribute scene is selected;
the element code blocks comprise conventional element code blocks, extended element code blocks and serial element code blocks; the attributes of the element code group under different coding attribute scenes comprise the attributes of a conventional element code group, the attributes of an extended element code group and the attributes of different series in a series element code group;
the element code group attribute assignment rules of the element code group under different coding attribute scenes comprise a conventional element code group attribute assignment rule, an extended element code group attribute assignment rule and attribute assignment rules of different series in a series of element code groups;
the meta-code group attribute check rules of the meta-code group under different coding attribute scenes comprise a conventional meta-code group attribute check rule, an extended meta-code group attribute check rule and different series attribute check rules in a series of meta-code groups;
the element code group attribute, the element code group attribute assignment rule and the element code group attribute verification rule are stored in a coding attribute library and can be used for multiplexing the element code group attribute, the element code group attribute assignment rule and the element code group attribute verification rule;
the conventional meta-code group attribute, the extended meta-code group attribute and the serial meta-code group attribute of different series comprise text type, integer type, real number type, currency type, measurement type, time type, boolean type, enumeration type and coordinate type;
the conventional meta-code group attribute assignment rule, the extended meta-code group attribute assignment rule and the attribute assignment rules of different series in the series meta-code group comprise directly created attribute assignment rules and attribute replication rules calculated by calculation expressions which can be defined by other meta-code group attribute combination functions of the meta-code group;
the conventional element code group attribute check rule, the extended element code group attribute check rule and the attribute check rules of different series in the series element code groups comprise a numerical check rule, a dimension and unit check rule and a function check rule;
the meta-code group attribute, meta-code group attribute assignment rule and meta-code group attribute check are not repeatable under the same coding attribute scene and repeatable under different coding attribute scenes.
In this embodiment:
(1) The known element code group is element code group KKS, the element code group type is conventional element code group, the element code group composition includes the factory code created in step S102, the system classification code, and the system number, the functional page of the element code group is created in the coding attribute management system as shown in fig. 10, and other information of the element code group is shown in table 9.
Table 9 element code group information table
(2) And establishing an element code group attribute, an element code group attribute assignment rule and an element code group attribute check rule, wherein the element code group KKS has no element code group attribute, the element code group attribute assignment rule and the element code group attribute check rule, and the element code group attribute table is shown in the following table 10.
Table 10 element code group attribute table
Step S104, setting coding attributes, coding attribute assignment rules and coding attribute verification rules;
the setting of the coding attribute, the coding attribute assignment rule and the coding attribute verification rule comprises arbitrarily setting the meta-code attribute, the meta-code attribute assignment rule and the meta-code attribute verification rule established in the step S102 and setting the meta-code attribute, the meta-code group attribute assignment rule and the meta-code group attribute verification rule established in the step S103 as the coding attribute, the coding attribute assignment rule and the coding attribute verification rule, and setting the coding attribute, the coding attribute assignment rule and the coding attribute verification rule as all the attributes, the attribute assignment rule and the attribute verification rule of any meta-code or meta-code group under all coding attribute scenes.
In this embodiment:
(1) The code group KKS is set as the code, the code function page set in the code attribute management system is shown in fig. 11, and the code information table is shown in the following table 11.
Table 11 coding information table
Sequence number Code name Coding number Remarks
1 KKS coding 01 Without any means for
(2) The attribute of the element code system classification code in the element code group KKS component part under different coding attribute scenes is set, the attribute of the element code system classification code under different coding attribute scenes is coded for the attribute, the coding attribute function page is set in the coding attribute management system as shown in figure 12, and the attribute inheritance relationship of the KKS coding is shown in the following table 12.
Table 12 KKS coding Attribute inheritance relationship table
Sequence number Coding composition Type(s) Number of attributes Attribute inheritance
1 Code of whole plant Fixed element code 0
2 System classification code Finite element code 0
3 System numbering Sequential element code 6
4 Meta code group KKS Conventional element code group 0
Step S105, managing coding attribute;
the management of the coding attribute comprises adding, deleting, changing and checking the coding attribute under different coding attribute scenes, and assigning and checking the coding attribute according to the coding attribute assignment rule and the coding attribute checking rule when the coding attribute is added, deleted and adapted.
In this embodiment:
(1) The conventional element code group KKS consisting of the element code whole factory code, the element code system classification code and the element code system number is set as the coding KKS, and the element code attribute of the element code system classification code in different coding attribute scenes is set as the coding attribute of the coding KKS in different coding attribute scenes, and taking a coding value 1MFA01 as an example, the attribute of the coding value in different coding attribute scenes is shown in a table 13.
Table 13 1 attribute table of mfa01 under different coding scenarios
(2) According to the attribute table of 1MFA01 under different coding attribute scenes, the coding attribute values of the coding value under different coding attribute scenes can be added, deleted, changed and checked, the attribute management function page of the coding management system for the coding value 1MFA01 is shown in fig. 13, the error reporting function page for checking the attribute values according to the coding attribute checking rule is shown in fig. 14, and the attribute values of the coding value under different coding attribute scenes are shown in table 14.
Table 14 attribute values of 1mfa01 under different coding scenarios
The method comprises the steps of firstly creating a coding attribute scene, then creating a meta code attribute, a meta code attribute assignment rule and a meta code attribute check rule, creating a meta code group attribute, a meta code group attribute assignment rule and a meta code group attribute check rule, arbitrarily setting the created meta code and meta code group as codes, simultaneously selecting the attribute, attribute assignment rule and attribute check rule of the meta code and the meta code group as coding attributes, attribute assignment rule and attribute check rule, and finally adding, deleting, modifying and checking the coding attributes under different coding attribute scenes.
While the present invention has been described with reference to the particular illustrative embodiments, it is not to be restricted by the embodiments but only by the appended claims. It will be appreciated by those skilled in the art that changes and modifications may be made to the embodiments of the invention without departing from the scope and spirit thereof.

Claims (9)

1. A method of coding attribute management, the method comprising the steps of:
step S101, establishing coding attribute scenes for distinguishing coding attributes of the same code in different coding scenes, wherein the coding attributes refer to attributes of objects;
step S102, establishing a meta code attribute, a meta code attribute assignment rule and a meta code attribute verification rule of a meta code under different coding attribute scenes, comprising establishing a meta code information table and a meta code attribute information table, wherein the meta code information table is used for storing meta code names and meta code types, the meta code types comprise fixed meta codes, sequential meta codes, random meta codes and finite meta codes, the meta code attribute information table is used for storing meta code attribute names, meta code attribute types, calculation expression and verification expression, the meta code attribute names refer to object attribute names when the meta code groups are applied to form codes, the meta code attribute types refer to the meta code attribute types when the meta code groups are formed to form codes, the meta code attribute types comprise text types, integer types, real types, currency types, measurement types, time types, boolean types, enumeration types and coordinate types, the fixed meta codes, sequential meta codes and random meta code attribute information tables are used for storing meta code attributes, meta code attribute value assignment rules and meta code attribute verification rules under different coding attribute scenes, the meta code attribute information tables are used for storing meta code attribute names and meta code attribute values under different coding scenes, the meta code attribute values and the meta code attribute values can be repeatedly used for verifying attribute values under the same coding rules and the same coding scenes, the meta code attribute names and the meta code attribute information can be repeatedly assigned to the meta code attribute information tables are used for verifying the meta code attribute values and the meta code attribute values can be repeatedly coded;
step S103, building element code group attributes, element code group attribute assignment rules and element code group attribute verification rules of element code groups under different coding attribute scenes, comprising building element code group information tables and element code group attribute information tables, wherein the element code group information tables are used for storing element code group names, element code group types and element code group compositions, the element code group types comprise conventional element code groups, extended element code groups and serial element code groups, the element code group compositions refer to filling one or more element code names maintained in the step S102, the element code group attribute information tables are used for storing element code group attribute names, element code group attribute types, calculation expressions and verification expressions, the element code group attribute names refer to object attribute names when element code group compositions are applied to code, the element code group attribute types refer to the types of object attributes when the element code groups are coded, the method comprises the steps of filling the meta-code group attribute, meta-code group attribute assignment rule and meta-code group attribute check rule under different coding attribute scenes in a meta-code group attribute information table, wherein the meta-code group attribute, meta-code group attribute assignment rule and meta-code group attribute check rule under different coding attribute scenes are not repeatable under the same coding attribute scene, repeatable under different coding attribute scenes, and storing the meta-code group attribute information table and the meta-code group attribute information table in a coding attribute library, and can be used for meta-code group attribute, multiplexing of the meta-code group attribute assignment rule and the meta-code group attribute verification rule;
step S104, establishing a coding information table and a coding attribute relation table, wherein the coding information table is used for storing coding names, coding numbers and remarks, and the coding attribute relation table is used for storing coding composition names, coding composition types and coding attribute inheritance, wherein the coding composition names, the coding composition types can fill in one or more of the meta code names, the meta code types maintained in the step S102, the meta code group names and the meta code group types maintained in the step S103, and whether the coding attribute inheritance refers to the meta code attribute, the meta code attribute assignment rule and the meta code attribute check rule of the meta code set in the step S102 under different coding attribute scenes or the meta code group attribute, the meta code attribute assignment rule and the meta code group attribute check rule of the meta code group set in the step S103 under different coding attribute scenes, or not is inherited as the coding attribute, the coding attribute assignment rule and the coding attribute check rule;
and step 105, managing the coding attribute, and performing addition, deletion, modification and check operations on the coding attribute value according to the coding attribute under the different coding attribute scenes set in the steps 101-104.
2. A method of coding property management according to claim 1, wherein: the step S101 establishes a coding attribute scene, including establishing a coding attribute scene name, a coding attribute scene remark, and establishing one or more coding attribute scenes.
3. A method of coding property management according to claim 1, wherein: step S102 establishes meta-code attributes, meta-code attribute assignment rules and meta-code attribute verification rules of meta-codes under different coding attribute scenes, and needs to be performed after a certain coding attribute scene is selected.
4. A method of coding property management according to claim 1 or 3, characterized in that:
the meta-code attribute assignment rules of the meta-code under different coding attribute scenes comprise fixed meta-code attribute assignment rules, random meta-code attribute assignment rules, sequential meta-code attribute assignment rules and finite meta-code value attribute assignment rules;
the meta code attribute verification rules of the meta code under different coding attribute scenes comprise fixed meta code attribute verification rules, random meta code attribute verification rules, sequential meta code attribute verification rules and finite meta code value attribute verification rules;
the fixed element code attribute assignment rule, the random element code attribute assignment rule, the sequential element code attribute assignment rule and the finite element code value attribute assignment rule comprise directly established attribute assignment rules and attribute assignment rules calculated through calculation expressions which can be defined by other element code attribute combination functions of element codes;
the fixed element code attribute checking rule, the random element code attribute checking rule, the sequential element code attribute checking rule and the finite element code value attribute checking rule comprise a numerical value checking rule, a dimension and unit checking rule and a function checking rule.
5. A method of coding property management according to claim 1, wherein: step S103 establishes the meta-code group attribute, meta-code group attribute assignment rule and meta-code group attribute verification rule of the meta-code group under different coding attribute scenes, and needs to be performed after a certain coding attribute scene is selected.
6. A method of coding property management according to claim 1 or 5, wherein:
the element code group attribute assignment rules of the element code group under different coding attribute scenes comprise a conventional element code group attribute assignment rule, an extended element code group attribute assignment rule and attribute assignment rules of different series in a series of element code groups;
the meta-code group attribute check rules of the meta-code group under different coding attribute scenes comprise a conventional meta-code group attribute check rule, an extended meta-code group attribute check rule and different series attribute check rules in a series of meta-code groups;
the conventional meta-code group attribute assignment rule, the extended meta-code group attribute assignment rule and the attribute assignment rules of different series in the series meta-code group comprise directly created attribute assignment rules and attribute assignment rules calculated by calculation expressions which can be defined by other meta-code group attribute combination functions of the meta-code group;
the conventional meta-code group attribute check rule, the extended meta-code group attribute check rule and the attribute check rules of different series in the series meta-code group comprise a numerical check rule, a dimension and unit check rule and a function check rule.
7. A method of coding property management according to claim 1, wherein: the step S104 sets the coding attribute, the coding attribute assignment rule and the coding attribute verification rule, which includes setting the meta code attribute, the meta code attribute assignment rule and the meta code attribute verification rule established in the step S102 and setting the meta code group attribute, the meta code group attribute assignment rule and the meta code group attribute verification rule established in the step S103 as the coding attribute, the coding attribute assignment rule and the coding attribute verification rule, and setting the coding attribute, the coding attribute assignment rule and the coding attribute verification rule as all the attributes, the attribute assignment rule and the attribute verification rule of the meta code or the meta code group under all the coding attribute scenes.
8. A method of coding property management according to claim 1, wherein: and the step S105 is used for managing the coding attribute, which comprises the steps of adding, deleting, changing and checking the coding attribute under different coding attribute scenes, and assigning and checking the coding attribute according to the coding attribute assignment rule and the coding attribute checking rule when the coding attribute is added, deleted and adapted.
9. A method of coding property management according to any one of claims 1-8, developing a system of coding property management, characterized in that: the system comprises:
the coding attribute scene management module is used for setting a coding attribute scene and realizing the operations of adding, deleting, changing and checking the coding attribute scene;
the meta-code attribute management module is used for setting meta-code attributes, meta-code attribute assignment rules and meta-code attribute verification rules of the meta-code under different attribute scenes, and realizing the operations of adding, deleting, modifying and checking the meta-code attributes, the meta-code attribute assignment rules and the meta-code attribute verification rules after the coded attribute scenes are switched;
the element code group attribute management module is used for setting element code group attributes, element code group attribute assignment rules and element code group attribute verification rules of the element code groups under different coding attribute scenes, and realizing the operations of adding, deleting, modifying and checking the element code group attributes, the element code group attribute assignment rules and the element code group attribute verification rules after the coding attribute scenes are switched;
the coding attribute rule management module is used for setting coding attribute rules, coding attribute assignment rules and coding attribute verification rules;
the coding management module is used for managing the coding attribute, realizing the switching of the coding attribute scene and the operations of adding, deleting, modifying and checking the coding attribute after the switching of the coding attribute scene.
CN202011201683.9A 2020-11-02 2020-11-02 Method and system for managing coding attribute Active CN113204576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011201683.9A CN113204576B (en) 2020-11-02 2020-11-02 Method and system for managing coding attribute

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011201683.9A CN113204576B (en) 2020-11-02 2020-11-02 Method and system for managing coding attribute

Publications (2)

Publication Number Publication Date
CN113204576A CN113204576A (en) 2021-08-03
CN113204576B true CN113204576B (en) 2023-08-15

Family

ID=77025124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011201683.9A Active CN113204576B (en) 2020-11-02 2020-11-02 Method and system for managing coding attribute

Country Status (1)

Country Link
CN (1) CN113204576B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729460A (en) * 2014-01-10 2014-04-16 中国南方电网有限责任公司 Graphical data model managing method and system based on metadata
CN106920019A (en) * 2015-12-24 2017-07-04 北京计算机技术及应用研究所 Multi-class coding management system
CN107590736A (en) * 2017-09-22 2018-01-16 中国银行股份有限公司 Business scenario implementation method and device, computer equipment and readable storage medium storing program for executing
CN109145001A (en) * 2018-08-16 2019-01-04 北京奥技异科技发展有限公司 Real-time data-coding method based on KKS coding rule
CN109753492A (en) * 2019-01-02 2019-05-14 陕西西部资信股份有限公司 A kind of system constituting method and device based on metadata configurations
CN110147361A (en) * 2019-05-27 2019-08-20 普元信息技术股份有限公司 The system and method for master data coding rule maintenance function are realized under big data environment
CN111859861A (en) * 2020-07-30 2020-10-30 华中科技大学 Extensible universal code generation system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10650044B2 (en) * 2017-07-18 2020-05-12 Datastrong, L.L.C. Method and apparatus for converting from a source database system to a destination database system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729460A (en) * 2014-01-10 2014-04-16 中国南方电网有限责任公司 Graphical data model managing method and system based on metadata
CN106920019A (en) * 2015-12-24 2017-07-04 北京计算机技术及应用研究所 Multi-class coding management system
CN107590736A (en) * 2017-09-22 2018-01-16 中国银行股份有限公司 Business scenario implementation method and device, computer equipment and readable storage medium storing program for executing
CN109145001A (en) * 2018-08-16 2019-01-04 北京奥技异科技发展有限公司 Real-time data-coding method based on KKS coding rule
CN109753492A (en) * 2019-01-02 2019-05-14 陕西西部资信股份有限公司 A kind of system constituting method and device based on metadata configurations
CN110147361A (en) * 2019-05-27 2019-08-20 普元信息技术股份有限公司 The system and method for master data coding rule maintenance function are realized under big data environment
CN111859861A (en) * 2020-07-30 2020-10-30 华中科技大学 Extensible universal code generation system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
电厂设备KKS编码工作实施经验探讨;季智鸿;能源科技;第71-74页 *

Also Published As

Publication number Publication date
CN113204576A (en) 2021-08-03

Similar Documents

Publication Publication Date Title
CN107807982B (en) Consistency checking method and device for heterogeneous database
CN106777644B (en) Automatic generation method and device for power plant identification system code
CN104579360B (en) A kind of method and apparatus of data processing
CN105184482B (en) A kind of transformer account data verification system and its method
CN110263043A (en) Date storage method, data query method, apparatus and storage medium
CN104021123A (en) Method and system for data transfer
CN108197138A (en) The method and system for the matching subscription information that releases news in publish/subscribe system
CN112307747A (en) Vehicle accessory retrieval method and device, computer equipment and readable storage medium
CN111290998A (en) Method, device and equipment for calibrating migration data and storage medium
CN116150714A (en) Security management method for software development data
CN113204576B (en) Method and system for managing coding attribute
CN113486418B (en) BIM model cloud coding method and system
CN112182021B (en) User data query method, device and system
CN104077272B (en) A kind of method and apparatus of dictionary compression
CN112487198A (en) Physical model processing method and device, electronic equipment and computer storage medium
CN108376082A (en) A kind of reference library method for updating edition and system
CN110232063B (en) Hierarchical data query method, hierarchical data query device, computer equipment and storage medium
CN114118944A (en) Forensic laboratory grading management method, terminal device and storage medium
CN116089663A (en) Rule expression matching method and device and computer readable storage medium
CN115827627A (en) Data management method and device based on user-defined data table
CN114298882A (en) Watermark embedding method and tracing method for CAD data and electronic equipment
CN105868220B (en) Data processing method and device
CN105704189B (en) Correlation method, device and system between upper layer link and lower layer link
CN111949670B (en) Data processing method and device
CN113342647A (en) Test data generation 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