CN111125830A - Long-period data storage inspection method based on model definition - Google Patents

Long-period data storage inspection method based on model definition Download PDF

Info

Publication number
CN111125830A
CN111125830A CN201911267899.2A CN201911267899A CN111125830A CN 111125830 A CN111125830 A CN 111125830A CN 201911267899 A CN201911267899 A CN 201911267899A CN 111125830 A CN111125830 A CN 111125830A
Authority
CN
China
Prior art keywords
geometric information
file
model
value
hash
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.)
Granted
Application number
CN201911267899.2A
Other languages
Chinese (zh)
Other versions
CN111125830B (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.)
China Aero Polytechnology Establishment
Original Assignee
China Aero Polytechnology Establishment
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 China Aero Polytechnology Establishment filed Critical China Aero Polytechnology Establishment
Priority to CN201911267899.2A priority Critical patent/CN111125830B/en
Publication of CN111125830A publication Critical patent/CN111125830A/en
Application granted granted Critical
Publication of CN111125830B publication Critical patent/CN111125830B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention provides a long-period data storage inspection method based on model definition, which comprises the following steps: STEP one, converting a CAD original model into a STEP model in a STEP AP242 format; STEP two, extracting non-geometric information from the STEP model and storing the non-geometric information as a first STEP file; STEP three, extracting non-geometric information from the original model, and saving the non-geometric information as a second STEP file through an nge format file; STEP four, checking whether the non-geometric information in the first STEP file is complete through the second STEP file; and STEP five, enabling the non-geometric information in the first STEP file to be correct and complete. The invention solves the problem of data loss caused by the existing 'one-key' model conversion mode, adopts a hierarchical comparison inspection mode for verifying non-geometric information, can automatically inspect the data quality of the converted existing model, improves the inspection efficiency, and solves the problems of large workload, missing inspection and false inspection of manual inspection.

Description

Long-period data storage inspection method based on model definition
Technical Field
The invention belongs to the field of data management, and particularly relates to a long-period data storage inspection method based on model definition.
Background
In the aviation field, the service life of an aviation product is often as long as several decades, and during the period, the related maintenance, reuse, redesign and the like need to use original product design data, which requires that the design data of the product can be completely stored and reused for several decades correspondingly, namely, the requirement of long-period data storage. At present, a large number of enterprises in the equipment manufacturing industry continue to use the traditional mode of storing product design data by using two-dimensional drawings and technical documents, the mode can ensure the integrity of product data, but the file storage capacity is huge, the long-period storage is difficult, the file is easy to damage, and the reuse requirement of the data in the long period is difficult to ensure. In the field of aviation, the development of products has gradually applied model-based definition (MBD), which can reduce the reserves of product data files to some extent and facilitate the storage and use of data. However, CAD systems are updated every year, and the model format may be different with the updating of the system. Meanwhile, different software often adopts different CAD file formats along with the competition of the CAD software market, and a certain CAD format may die because the corresponding software is eliminated by the market. Thus, a particular CAD software model format is likely to be unrecognizable and reusable after 30 years, 50 years. To solve this problem, the method adopted internationally is to convert the model format into a neutral format, STEP AP242, which does not belong to a specific CAD software and can well store the geometric information and non-geometric information of the model. However, due to technical blockages of large mainstream CAD software, there is a problem that non-geometric information is lost when various CAD format files are converted to the STEP AP242 format, and the importance of non-geometric information data as a technical file for product design is needless to say in terms of data reuse. At present, no effective means exists for the inspection of the integrity of model information after conversion, and the manual inspection method has low efficiency and the problems of missed inspection and false inspection.
Disclosure of Invention
The invention designs a conversion data quality inspection method for solving the problems that an effective means is lacked for inspecting the conversion model data quality, the manual inspection method is low in efficiency, and the inspection omission and the error inspection exist in the long-period storage process of the MBD data at present. The method can automatically complete data quality inspection by calculation through extraction, conversion and calculation comparison of model data, has high inspection efficiency, and can control the error probability below 1/(2^ 30).
The invention adopts the technical scheme that a long-period data storage inspection method based on model definition comprises the following steps:
STEP one, converting an original model in a CAD format into a STEP model in a STEP AP242 format;
STEP two, extracting non-geometric information from the STEP model,
extracting non-geometric information remained in the model from the STEP model with the geometric information and the non-geometric information after conversion is completed, and storing the non-geometric information in a STEP AP242 format separately, wherein the STEP AP242 file at the moment is called a first STEP file, and the stored non-geometric information is called key-to-key conversion non-geometric information;
step three, extracting non-geometric information from the original model,
firstly, the non-geometric information directly extracted from the original model is independently stored as nge format files, then the nge format file is converted into the STEP AP242 format and stored, the file obtained by conversion is called a second STEP file, and the stored non-geometric information is called reference non-geometric information;
step four, checking whether the non-geometric information of the one-key conversion is complete or not, and specifically comprising the following steps:
(1) firstly, extracting non-geometric information item by item from reference non-geometric information, and performing lossy compression of hash calculation by using a formula as follows:
k1i=H1(ngepmi(i)) (1)
where, i is 1, 2.. said., n, n is the number of pieces of non-geometric information in the second STEP file, ngepmi (i) is the value of the ith piece of non-geometric information, and H is the value of the second STEP file1() Is the first hashAlgorithm, H1(ngepmi (i)) shows that hash calculation is carried out on the ith non-geometric information content in the second STEP file to obtain a first primary key value k1i
Obtaining a first primary key value k11、k12、k13…k1nThen, for the first primary key value k11、k12、k13…k1nAfter the collision detection processing, k without collision is obtained11、k12、k13…k1n
(2) K will not collide11、k12、k13…k1nUsing a random combining matrix Rn×mThe random combination is m groups, wherein m is more than or equal to 2 and less than or equal to n-1;
(3) the first primary key values of each group are directly connected in series in sequence to form a new value, and a group with the most bits is used as a reference, and the bits are filled with 1 at the tail of other groups to obtain a new second primary key value k21、k22、k23…k2m
(4) Performing a second hash calculation on each second primary key value,
h1i=H2(k2i) (2)
wherein, i is 1, 22() For the second hash algorithm, get h11、h12、h13…h1m
(5) H is to be11、h12、h13…h1mDirectly concatenated to new value h21And performing the hash calculation again
H=H3(h21) (3)
Finally, hash values H, H of the reference non-geometric information in the second STEP file are obtained3() A third hash algorithm;
(6) processing the one-key conversion non-geometric information in the first STEP file by using the same STEP as the STEP of calculating the hash value of the reference non-geometric information in the second STEP file to obtain the hash value H' of the one-key conversion non-geometric information in the first STEP file;
(7) comparing the hash value H of the reference non-geometric information in the second STEP file with the hash value H' of the one-key conversion non-geometric information in the first STEP file, if the two hash values are consistent, indicating that the retention degree of the non-geometric information in the STEP model after the one-key conversion reaches 100%, and if the two hash values are not consistent, indicating that the non-geometric information is lost or tampered, and continuing to execute the STEP five;
and step five, after judging that the one-key conversion non-geometric information is lost or tampered, modifying the one-key conversion non-geometric information item with the difference into the same as the reference non-geometric information item.
Preferably, the specific STEPs of extracting the non-geometric information retained in the model from the STEP model with the converted geometric information and non-geometric information in STEP 2 are as follows:
(1) by identifying keywords, non-geometric information is quickly found; (2) determining the information type according to the data information classification rule; (3) carrying out semantic judgment on the data information; (4) filtering out information without semantics and storing.
Preferably, the nge-format file structure in step three is as follows:
nge format file structure designs a main node Infr, the main node includes: PMINum attribute, Fileroute attribute and PMIInfo node; wherein the PMINum attribute value represents a PMIentity node number; the Fileroute attribute value represents the storage path name of the model file of the corresponding CAD software; the PMIInfo node comprises a PMIentity sub-node, the PMIentity sub-node at least comprises a No attribute and a Value attribute, wherein the No attribute Value is a node number, and the Value is a piece of non-geometric information; thus one PMIentity node represents one PMI; the PMIInfo node is consistent with a tree directory structure of non-geometric information stored in a model file of CAD software corresponding to the original model.
Preferably, the first primary key value k in the step four (1) is added11、k12、k13…k1nAfter the collision detection processing, k without collision is obtained11、k12、k13…k1nThe method comprises the following specific steps:
obtaining a first primary key value k11、k12、k13…k1nThen, for the first primary key value k11、k12、k13…k1nAnd performing collision detection, when j first primary key values generate collision, namely j first primary key values are the same, adding a serial number value to the first bit of the first collision item and the second bit of the second collision item in sequence, and recording the serial number and a rule for adding the serial number. And recalculating the key values until the first primary key value has no collision.
Preferably, k in step four (2) that will not collide11、k12、k13…k1nUsing a random combining matrix Rn×mThe random combination is m groups, and the specific steps are as follows:
generating a random combinatorial matrix Rn×m,Rn×mThe following requirements need to be met:
(a) in m elements of each row, only one element is 1, and the others are 0;
(b) columns with elements all being 1 cannot exist.
From k to k11、k12、k13…k1nForm a cellular matrix K1×n=[k11,k12,k13,…,k1n]From K by1×nRn×mObtaining a new cellular matrix K'1×mAt this time K'1×mThe first primary key values in each column are divided into a group according to K'1×mThe first primary key values are randomly divided into m groups.
Preferably, the step five is implemented by the following steps:
comparison h11、h12、h13…h1mAnd h'11、h'12、h'13…h'1mWherein h is11、h12、h13…h1mIs a value h 'obtained by carrying out secondary hash calculation on the reference non-geometric information in the second STEP file'11、h'12、h'13…h'1mThe first STEP file is used for carrying out secondary conversion on the non-geometric information by one keyAnd finally, analyzing the composition of the source data items according to a grouping matrix, comparing key values of all formed basic items, tracing the non-geometric information items causing the differences, and modifying the non-geometric information items with the differences into the non-geometric information items the same as the reference non-geometric information items by one key conversion.
Preferably, the first hash algorithm, the second hash algorithm and the third hash algorithm are the same.
The invention has the beneficial effects that:
in the invention, the non-geometric information in the original model is completely stripped and stored by using the non-geometric information architecture of the nge format file, so that the integrity of the non-geometric information of the model is ensured, the problem of data loss caused by the conventional one-click model conversion mode is solved, and an effective comparison reference is provided for the inspection of the quality of the model data. The conversion method of the non-geometric information belongs to a reversible conversion method, can realize the conversion of the non-geometric information among different formats, has high readability, can be used for comparison and inspection, and can also be used for supplementing missing information, thereby improving the usability of the converted model. The verification of the non-geometric information adopts a hierarchical comparison inspection mode, so that the converted existing model can be automatically inspected for data quality, the inspection efficiency is improved, and the problems of large workload, missed inspection and false inspection in manual inspection are solved.
Drawings
FIG. 1 is a schematic flow diagram of the present invention;
fig. 2 is a schematic flow chart of calculating a hash value for non-geometric information.
Detailed Description
In the prior art, due to the technical blockage of various major CAD software and other reasons, the problem that non-geometric information is lost when various CAD format files are converted to the STEP AP242 format is often caused, the invention provides a model definition-based long-period data storage and inspection method, which comprises the STEPs of converting a CAD software model into the non-geometric information in the STEP AP242 format, directly extracting the non-geometric information from the CAD software model and storing the non-geometric information into the nge format and then converting the non-geometric information into the non-geometric information in the STEP AP242 format for comparison; and supplements missing or error information so that the file in the format of STEP AP242, which is converted from the CAD format file by one key, can completely hold non-geometric information.
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
STEP one, the original model in the CAD format is converted into a STEP model in the STEP AP242 format.
In the prior art, such a one-key conversion technique is widely available, and the converted STEP AP242 format file includes geometric information and non-geometric information of the STEP model.
STEP two, extracting non-geometric information from the STEP model,
extracting non-geometric information remained in the model from the STEP model with the geometric information and the non-geometric information after conversion is completed, and storing the non-geometric information in a STEP AP242 format separately, wherein the STEP AP242 file at the moment is called a first STEP file, and the stored non-geometric information is called key-to-key conversion non-geometric information. In order to ensure the subsequent inspection of the non-geometric information, the one-key conversion non-geometric information needs to be extracted again, and the extraction of the one-key conversion non-geometric information is identified and extracted according to nine major categories of part annotation, general annotation, material information, basic information, engineering annotation, flag annotation information, paint spraying definition, material annotation and hotlist processing annotation in a non-geometric information architecture, and the specific steps are as follows: (1) by identifying keywords, non-geometric information is quickly found; (2) determining the information type according to the data information classification rule; (3) carrying out semantic judgment on the data information; (4) filtering out information without semantics and storing. Those skilled in the art will appreciate that these steps can be implemented by existing techniques.
Step three, extracting non-geometric information from the original model,
and directly extracting complete non-geometric information from the original model, storing the information separately, and converting the information to be used as a reference in a checking link, wherein the information is called as reference non-geometric information. In the prior art, non-geometric information in an original model cannot be independently and directly converted into a STEP AP242 format, so that the application uses a customized nge format file for transition.
First, the non-geometric information extracted directly from the original model is saved separately in nge format. The extraction mode of the original model is completely the same as that of the STEP model, and the identification and extraction are carried out according to nine major categories of part annotation, general annotation, material information, basic information, engineering annotation, flag annotation information, paint spraying definition, material annotation and hotlist processing annotation in a non-geometric information architecture. By identifying keywords, non-geometric information is quickly found, the information type is determined according to the data information classification rule, semantic judgment is carried out on the data information, information without semantics is filtered out, and then effective information is stored in nge format files.
nge the file structure designs a main node Infr, which at least includes: PMINum attribute, Fileroute attribute and PMIInfo node; wherein the PMINum attribute value represents a PMIentity node number; the Fileroute attribute value represents the storage path name of the model file of the corresponding CAD software; the PMIInfo node comprises a PMIentity sub-node, wherein the PMIentity sub-node at least comprises a No attribute and a Value attribute, the No attribute Value is a node number, and the Value is non-geometric information. One pminity node thus represents one PMI (Product & manufacturing information Product manufacturing information); the PMIInfo node is consistent with a tree directory structure of non-geometric information stored in a model file of CAD software corresponding to the original model.
Then, the nge format file is converted into the STEP AP242 format and saved. Because the nge format file with the non-geometric information stored therein records the number of PMI nodes and the number value of PMIentity under the master node in the model. Therefore, in the conversion process of converting the nge format file into the STEP AP242 format file, the number of PMI nodes and the number value of PMIentity are converted one by one, so that the non-geometric information in the STEP AP242 after conversion has the highest integrity, at this time, the file obtained by conversion is called a second STEP file, and the stored non-geometric information is called reference non-geometric information.
And step four, checking whether the non-geometric information of the one-key conversion is complete.
Theoretically, the one-key conversion non-geometric information in the first STEP file and the reference non-geometric information in the second STEP file should coincide. The one-key conversion non-geometric information in the first STEP file can be compared with the reference non-geometric information in the second STEP file. And judging whether the non-geometric information of the original model after one-key conversion is missing or not.
The inspection specifically comprises the following steps:
(1) firstly, extracting non-geometric information item by item from reference non-geometric information, and performing lossy compression of hash calculation by using a formula as follows:
k1i=H1(ngepmi(i)) (1)
where, i is 1, 2.... wherein, n, n is the number of pieces of non-geometric information in the second STEP file, ngepmi (i) is the value of the ith piece of non-geometric information, where the value is usually the content of the non-geometric information, H1() For the first hash algorithm, the first hash algorithm uses the existing hash algorithm, so H1(ngepmi (i)) shows that hash calculation is carried out on the ith non-geometric information content in the second STEP file to obtain a primary key value k1i. Since the second STEP file is converted from file to file in nge format, n is the PMINum attribute Value in nge file, and ngepmi (i) is the Value in PMIentity.
Obtaining a first primary key value k11、k12、k13…k1nThen, the first primary key value k is processed by the prior art11、k12、k13…k1nAnd performing collision detection, wherein the collision detection is used for preventing the same primary key values. Usually, generation key values are different, but in case that j initial key values generate collision, namely j initial key values are the same, a number value is added to the first bit of the first collision item and the second bit of the second collision item in sequence, and the number and a rule for adding the number are recorded. And recalculating the key values until the first primary key value has no collision. For example: when k is detected12,k14,k15When there are three collisions, the first bit of the ngepmi (2) is addedNumber 1, number 2 is added to the second digit of ngepmi (4), number 3 is added to the third digit of ngepmi (5), and numbers 1-3 and their added positions are recorded. Then, the calculation is performed by using the formula 1, and since the contents of the ngepmi (2), the ngepmi (4) and the ngepmi (5) are different from the original contents due to the addition of the numbers, k after the calculation is again performed12,k14,k15The values will be different.
(2) K will not collide11、k12、k13…k1nThe random combination is m groups and is used for improving the anti-collision capacity of the key values, wherein m is more than or equal to 2 and less than or equal to n-1, and the random combination process comprises the following steps:
generating a random combinatorial matrix Rn×mWhere m is the set number of packet groups, Rn×mThe following requirements need to be satisfied:
(a) in m elements of each row, only one element is 1, and the others are 0;
(b) columns with elements all being 1 cannot exist.
From k to k11、k12、k13…k1nForm a cellular matrix K1×n=[k11,k12,k13,…,k1n]From K by1×nRn×mObtaining a new cellular matrix K'1×mAt this time K'1×mThe first primary key value in each column in the group is divided into one group, then according to K'1×mThe first primary key values are randomly divided into m groups because Rn×mIs a randomly generated matrix, and therefore the number of the first generation key values in each group is also random.
(3) The first primary key values of each group are directly connected in series in sequence to form a new value, and a group with the most bits is used as a reference, and the bits are filled with 1 at the tail of other groups to obtain a new second primary key value k21、k22、k23…k2m. For example, simply k11、k12、k13…k1n23,4,56, … …, 356, respectively, after grouping k11And k12As a first group, k13And k1nIs the second group, then the first group has a value of 234 and the second group has a value of 56356, assuming thatThe second group has the most bits after grouping, so that the number of bits at the end of the first group needs to be padded with 1 to be as many as the number of bits of the first group, so that the value of the first group is 23411 after being padded, and then the obtained second primary key value k is obtained2123411, the second primary key value k22Is 56356.
(4) Performing a second hash calculation on each second primary key value,
h1i=H2(k2i) (2)
wherein, i is 1, 22() Is a second hash algorithm, the second hash algorithm adopts the existing hash algorithm to obtain h11、h12、h13…h1m
(5) H is to be11、h12、h13…h1mDirectly concatenated to new value h21And performing the hash calculation again
H=H3(h21) (3)
Finally, hash values H, H of the reference non-geometric information in the second STEP file are obtained3() Is a third hash algorithm.
In this embodiment, for convenience of implementation, the same hash function is used for the first hash algorithm, the second hash algorithm and the third hash algorithm. One skilled in the art may also select different hash functions for the first hash algorithm, the second hash algorithm and the third hash algorithm according to actual needs.
(6) The one-key-converted non-geometric information in the first STEP file is then processed using the same STEPs as the hash value calculation of the reference non-geometric information in the second STEP file, i.e. collision processing rules, random combining matrix Rn×mThe hash value H' of the one-key conversion non-geometric information in the first STEP file is obtained by being completely the same as the hash calculation formula.
(7) And comparing the hash value H of the reference non-geometric information in the second STEP file with the hash value H' of the one-key conversion non-geometric information in the first STEP file, if the two hash values are consistent, indicating that the retention degree of the non-geometric information in the STEP model after the one-key conversion reaches 100%, and if the two hash values are not consistent, indicating that the non-geometric information is lost or tampered, and continuing to execute the STEP five.
And step five, recovering the non-geometric information converted by the one-key after judging that the non-geometric information converted by the one-key is lost or tampered.
At this point, further comparison h is required11、h12、h13…h1mAnd h'11、h'12、h'13…h'1mWherein h is11、h12、h13…h1mIs a value h 'obtained by carrying out secondary hash calculation on the reference non-geometric information in the second STEP file'11、h'12、h'13…h'1mThe method comprises the STEPs of performing secondary Hash calculation on one-key conversion non-geometric information in a first STEP file to obtain a value, traversing and comparing two Hash values, finding out a difference item, finding out a corresponding source data item according to the difference item, finally analyzing the composition of the source data item according to a grouping matrix, comparing key values of all formed basic items, tracing the non-geometric information item causing the difference, and modifying the one-key conversion non-geometric information item with the difference to be the same as a reference non-geometric information item.
By the method, the geometric information and the non-geometric information can be completely stored after the CAD model is converted into the STEP model in the neutral format, and long-period data storage based on model definition is facilitated.
The above-mentioned embodiments are merely illustrative of the preferred embodiments of the present invention, and do not limit the scope of the present invention, and various modifications and improvements made to the technical solution of the present invention by those skilled in the art without departing from the spirit of the present invention shall fall within the protection scope defined by the claims of the present invention.

Claims (7)

1. A long period data storage inspection method based on model definition is characterized by comprising the following steps:
STEP one, converting an original model in a CAD format into a STEP model in a STEP AP242 format;
STEP two, extracting non-geometric information from the STEP model,
extracting non-geometric information remained in the model from the STEP model with the geometric information and the non-geometric information after conversion is completed, and storing the non-geometric information in a STEP AP242 format separately, wherein the STEP AP242 file at the moment is called a first STEP file, and the stored non-geometric information is called key-to-key conversion non-geometric information;
step three, extracting non-geometric information from the original model,
firstly, the non-geometric information directly extracted from the original model is independently stored as nge format files, then the nge format file is converted into the STEP AP242 format and stored, the file obtained by conversion is called a second STEP file, and the stored non-geometric information is called reference non-geometric information;
step four, checking whether the non-geometric information of the one-key conversion is complete or not, and specifically comprising the following steps:
(1) firstly, extracting non-geometric information item by item from reference non-geometric information, and performing lossy compression of hash calculation by using a formula as follows:
k1i=H1(ngepmi(i)) (1)
where, i is 1, 2.. said., n, n is the number of pieces of non-geometric information in the second STEP file, ngepmi (i) is the value of the ith piece of non-geometric information, and H is the value of the second STEP file1() Is a first hash algorithm, H1(ngepmi (i)) shows that hash calculation is carried out on the ith non-geometric information content in the second STEP file to obtain a first primary key value k1i
Obtaining a first primary key value k11、k12、k13…k1nThen, for the first primary key value k11、k12、k13…k1nAfter the collision detection processing, k without collision is obtained11、k12、k13…k1n
(2) K will not collide11、k12、k13…k1nUsing a random combining matrix Rn×mThe random combination is m groups, wherein m is more than or equal to 2 and less than or equal to n-1;
(3) the first primary key values of each group are directly connected in series in sequence to form a new value, and a group with the most bits is used as a reference, and the bits are filled with 1 at the tail of other groups to obtain a new second primary key value k21、k22、k23…k2m
(4) Performing a second hash calculation on each second primary key value,
h1i=H2(k2i) (2)
wherein, i is 1, 22() For the second hash algorithm, get h11、h12、h13…h1m
(5) H is to be11、h12、h13…h1mDirectly concatenated to new value h21And performing the hash calculation again
H=H3(h21) (3)
Finally, hash values H, H of the reference non-geometric information in the second STEP file are obtained3() A third hash algorithm;
(6) processing the one-key conversion non-geometric information in the first STEP file by using the same STEP as the STEP of calculating the hash value of the reference non-geometric information in the second STEP file to obtain the hash value H' of the one-key conversion non-geometric information in the first STEP file;
(7) comparing the hash value H of the reference non-geometric information in the second STEP file with the hash value H' of the one-key conversion non-geometric information in the first STEP file, if the two hash values are consistent, indicating that the retention degree of the non-geometric information in the STEP model after the one-key conversion reaches 100%, and if the two hash values are not consistent, indicating that the non-geometric information is lost or tampered, and continuing to execute the STEP five;
and step five, after judging that the one-key conversion non-geometric information is lost or tampered, modifying the one-key conversion non-geometric information item with the difference into the same as the reference non-geometric information item.
2. The model definition-based long-period data storage inspection method according to claim 1, wherein the STEP 2 of extracting the non-geometric information retained in the model from the STEP model with the geometric information and the non-geometric information after conversion is specifically performed by:
(1) by identifying keywords, non-geometric information is quickly found; (2) determining the information type according to the data information classification rule; (3) carrying out semantic judgment on the data information; (4) filtering out information without semantics and storing.
3. The model definition-based long period data storage verification method according to claim 1, wherein the nge-formatted file structure in step three is as follows:
nge format file structure designs a main node Infr, the main node includes: PMINum attribute, Fileroute attribute and PMIInfo node; wherein the PMINum attribute value represents a PMIentity node number; the Fileroute attribute value represents the storage path name of the model file of the corresponding CAD software; the PMIInfo node comprises a PMIentity sub-node, the PMIentity sub-node at least comprises a No attribute and a Value attribute, wherein the No attribute Value is a node number, and the Value is a piece of non-geometric information; thus one PMIentity node represents one PMI; the PMIInfo node is consistent with a tree directory structure of non-geometric information stored in a model file of CAD software corresponding to the original model.
4. The model definition based long period data storage verification method of claim 1, wherein: in the step four (1), the first primary key value k is processed11、k12、k13…k1nAfter the collision detection processing, k without collision is obtained11、k12、k13…k1nThe method comprises the following specific steps:
obtaining a first primary key value k11、k12、k13…k1nThen, for the first primary key value k11、k12、k13…k1nPerforming collision detection, and when j first primary key values generate collision, namely j first primary key values are the same, sequentially performing the first collision itemAnd adding a number value into the jth bit of the jth collision item by using the first bit and the second bit of the second collision item, recording the number and the rule of adding the number, and recalculating the key value until the first primary key value has no collision.
5. The model definition-based long-period data storage inspection method according to claim 1, wherein k without collision in the step four (2)11、k12、k13…k1nUsing a random combining matrix Rn×mThe random combination is m groups, and the specific steps are as follows:
generating a random combinatorial matrix Rn×m,Rn×mThe following requirements need to be met:
(a) in m elements of each row, only one element is 1, and the others are 0;
(b) columns with elements all 1 cannot exist;
from k to k11、k12、k13…k1nForm a cellular matrix K1×n=[k11,k12,k13,…,k1n]From K by1×nRn×mObtaining a new cellular matrix K'1×mAt this time K'1×mThe first primary key values in each column are divided into a group according to K'1×mThe first primary key values are randomly divided into m groups.
6. The model definition-based long-period data storage inspection method according to claim 1, wherein the step five is implemented by the following steps:
comparison h11、h12、h13…h1mAnd h'11、h'12、h'13…h'1mWherein h is11、h12、h13…h1mIs a value h 'obtained by carrying out secondary hash calculation on the reference non-geometric information in the second STEP file'11、h'12、h'13…h'1mThe first STEP file is obtained by performing secondary Hash calculation on the first key-converted non-geometric information, and the two Hash values are processedAfter comparison, finding out a difference item, finding out a corresponding source data item according to the difference item, finally analyzing the composition of the source data item according to a grouping matrix, comparing key values of all the formed basic items, tracing back a non-geometric information item causing the difference, and modifying the non-geometric information item with the difference into the same as a reference non-geometric information item by one-key conversion.
7. The model definition based long period data storage verification method of claim 1, wherein:
the first hash algorithm, the second hash algorithm and the third hash algorithm are the same.
CN201911267899.2A 2019-12-11 2019-12-11 Long-period data storage inspection method based on model definition Active CN111125830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911267899.2A CN111125830B (en) 2019-12-11 2019-12-11 Long-period data storage inspection method based on model definition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911267899.2A CN111125830B (en) 2019-12-11 2019-12-11 Long-period data storage inspection method based on model definition

Publications (2)

Publication Number Publication Date
CN111125830A true CN111125830A (en) 2020-05-08
CN111125830B CN111125830B (en) 2021-08-20

Family

ID=70498620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911267899.2A Active CN111125830B (en) 2019-12-11 2019-12-11 Long-period data storage inspection method based on model definition

Country Status (1)

Country Link
CN (1) CN111125830B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010043969A1 (en) * 2008-10-14 2010-04-22 Cct International, Inc. System and method for hybrid solid and surface modeling for computer-aided design environments
US20100135535A1 (en) * 2006-02-28 2010-06-03 Cocreate Software Gmbh Method for Comparing First Computer-Aided 3D Model with a Second Computer-Aided 3D Model
CN104598569A (en) * 2015-01-12 2015-05-06 北京航空航天大学 Association rule-based MBD (Model Based Definition) data set completeness checking method
CN105975723A (en) * 2016-05-27 2016-09-28 北京航空航天大学 Data exchange method for heterogeneous CAD model in spacecraft development process
CN106529050A (en) * 2016-11-18 2017-03-22 中国航空综合技术研究所 Three-dimensional model data detection method, device and system for product
WO2018138290A1 (en) * 2017-01-30 2018-08-02 3D Repo Ltd Method and computer programs for identifying differences between 3-dimensional scenes
CN108694158A (en) * 2017-04-08 2018-10-23 大连万达集团股份有限公司 The method whether changed for checking BIM model files
CN108984895A (en) * 2018-07-10 2018-12-11 徐工集团工程机械有限公司 A kind of model automatic identifying method based on XML heterogeneous platform
CN109165313A (en) * 2018-07-11 2019-01-08 山东师范大学 A kind of threedimensional model bilayer search method and device based on Feature Descriptor
CN109658499A (en) * 2018-12-11 2019-04-19 中国航空工业集团公司成都飞机设计研究所 A kind of method for establishing model, device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100135535A1 (en) * 2006-02-28 2010-06-03 Cocreate Software Gmbh Method for Comparing First Computer-Aided 3D Model with a Second Computer-Aided 3D Model
WO2010043969A1 (en) * 2008-10-14 2010-04-22 Cct International, Inc. System and method for hybrid solid and surface modeling for computer-aided design environments
CN104598569A (en) * 2015-01-12 2015-05-06 北京航空航天大学 Association rule-based MBD (Model Based Definition) data set completeness checking method
CN105975723A (en) * 2016-05-27 2016-09-28 北京航空航天大学 Data exchange method for heterogeneous CAD model in spacecraft development process
CN106529050A (en) * 2016-11-18 2017-03-22 中国航空综合技术研究所 Three-dimensional model data detection method, device and system for product
WO2018138290A1 (en) * 2017-01-30 2018-08-02 3D Repo Ltd Method and computer programs for identifying differences between 3-dimensional scenes
CN108694158A (en) * 2017-04-08 2018-10-23 大连万达集团股份有限公司 The method whether changed for checking BIM model files
CN108984895A (en) * 2018-07-10 2018-12-11 徐工集团工程机械有限公司 A kind of model automatic identifying method based on XML heterogeneous platform
CN109165313A (en) * 2018-07-11 2019-01-08 山东师范大学 A kind of threedimensional model bilayer search method and device based on Feature Descriptor
CN109658499A (en) * 2018-12-11 2019-04-19 中国航空工业集团公司成都飞机设计研究所 A kind of method for establishing model, device and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
F. BIANCONI等: "An intermediate level representation scheme for secondary features recognition and B-rep model simplification", 《IEEE》 *
于勇等: "基于STEP AP242的MBD模型表达研究与实现", 《浙江大学学报(工学版)》 *
谢伟康等: "基于特征的异构全三维数字化模型转换方法研究与实现", 《计算机集成制造系统》 *

Also Published As

Publication number Publication date
CN111125830B (en) 2021-08-20

Similar Documents

Publication Publication Date Title
US10565498B1 (en) Deep neural network-based relationship analysis with multi-feature token model
US9953102B2 (en) Creating NoSQL database index for semi-structured data
JP6051212B2 (en) Processing iterative data
US11841839B1 (en) Preprocessing and imputing method for structural data
WO2020098315A1 (en) Information matching method and terminal
CN112463774B (en) Text data duplication eliminating method, equipment and storage medium
CN102169491B (en) Dynamic detection method for multi-data concentrated and repeated records
CN107168868B (en) Software change defect prediction method based on sampling and ensemble learning
JP6244274B2 (en) Correlation rule analysis apparatus and correlation rule analysis method
CN111125830B (en) Long-period data storage inspection method based on model definition
CN112612810A (en) Slow SQL statement identification method and system
CN104573098B (en) Extensive object identifying method based on Spark systems
CN110704407B (en) Data deduplication method and system
CN108647243B (en) Industrial big data storage method based on time series
CN111221967A (en) Language data classification storage system based on block chain architecture
CN101807201A (en) Effective calculating of ontology affinity matrices
CN111737107B (en) Repeated defect report detection method based on heterogeneous information network
CN110427675B (en) Data detection method for three-dimensional design review
CN113537349A (en) Method, device, equipment and storage medium for identifying hardware fault of large host
US10853177B2 (en) Performant process for salvaging renderable content from digital data sources
CN107436728A (en) Rule analysis result storage method, regular retrogressive method and device
CN117194410B (en) Method and system for generating business report by artificial intelligence language model
CN111259027A (en) Data consistency detection method
CN113780597B (en) Influence propagation relation model construction and alarm influence evaluation method, computer equipment and storage medium
CN110727838B (en) Method and system for checking consistency of part numbers in virtual sample vehicle and loading list

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