CN109634637B - PDM system and BOM multi-version CAD data geometric difference comparison method - Google Patents
PDM system and BOM multi-version CAD data geometric difference comparison method Download PDFInfo
- Publication number
- CN109634637B CN109634637B CN201811543854.9A CN201811543854A CN109634637B CN 109634637 B CN109634637 B CN 109634637B CN 201811543854 A CN201811543854 A CN 201811543854A CN 109634637 B CN109634637 B CN 109634637B
- Authority
- CN
- China
- Prior art keywords
- version
- geometric
- parts
- cad data
- cad
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 230000005484 gravity Effects 0.000 claims description 3
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012938 design process Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to the technical field of data comparison, and provides a PDM system and a BOM multi-version CAD data geometric difference comparison method, wherein the system comprises geometric difference attribute labels, the geometric difference attribute labels are arranged in EBOM attributes of CAD data of parts, and the geometric difference attribute labels consist of CK-value values and CAD version numbers; the CK-value represents whether the geometric figure of each part in the current CAD version is changed compared with the CAD data of the previous version, and the changed parts and the unchanged parts are marked by different CK-value values. According to the invention, by adding the geometric difference attribute labels in the CAD data of the PDM system, when comparing the version i and the version j of the CAD data, only the CK-value values of all parts from the version i to the version j are needed to be read, and logic and operation are performed, so that the situation that the geometric figures of the parts in the version j are changed compared with the version i can be obtained, and the comparison operation is not needed to be performed one by one, so that the data operation amount is reduced and the comparison time is shortened while the comparison operation is simplified.
Description
Technical Field
The invention relates to the technical field of data comparison, and provides a PDM system and a BOM-based multi-version CAD data geometric difference comparison method.
Background
In a manufacturing enterprise, a BOM (bill of material) file is a very core file. The BOM is a description of what part types and sizes the product is made of.
The method comprises the steps that a bill of materials is used for activities of each department, a production department produces products according to the bill of materials, the bill of materials comprises types, quantity and materials of parts, geometric figures are stored in CAD data of the parts, the CAD data of the parts and versions of corresponding BOMs are continuously updated in the product design process, whether the geometric figures of the parts change or not needs to be detected frequently, the existing detection mode is that the CAD data of two versions to be compared are directly compared to judge whether the parts change or not, if the geometric figures of multiple versions of one part need to be compared, the CAD data need to be compared one by one, and the problems of complex operation and long consumed time exist.
Disclosure of Invention
The invention provides a BOM-based multi-version CAD data geometric difference comparison method, and aims to solve the problems of large data calculation amount and long time consumption in comparison of existing CAD data.
In order to achieve the above object, the present invention provides a PDM system, comprising:
the geometric difference attribute labels are arranged in the EBOM attributes of the CAD data of the parts and are composed of CK-value values and CAD version numbers;
the CK-value represents whether the geometric figure of each part in the current CAD version is changed compared with the CAD data of the previous version, and the changed parts and the unchanged parts are marked by different CK-value values.
Further, the geometric figure is judged based on four parameters of the main shaft position, the gravity center position, the surface area value and the volume value of the part, and if any one of the four parameters is changed, the geometric figure is judged to be changed.
Further, the CK-value adopts a logic number '0' to identify parts with changed geometric figures, and adopts a logic number '1' to identify parts with unchanged geometric figures.
In order to achieve the above object, the present invention provides a method for comparing geometric differences of BOM multi-version CAD data based on a PDM system, the method comprising the following steps:
s1, receiving a geometric figure comparison request sent by a user, wherein the request carries two CAD versions to be compared, namely a version i and a version j, and the data of the version j is newer than that of the version i;
s2, reading CK-value values of all parts from version i to version j;
s3, if the CK-value values of the parts from version i to version j are all the unchanged marks, judging that the geometric figure of the part is unchanged from version i to version j, and otherwise, judging that the geometric figure of the part is changed from version i to version j.
Further, the CK-value adopts a logic number '0' to identify parts with changed geometric figures, and adopts a logic number '1' to identify parts with unchanged geometric figures.
Further, before step S1, the method further includes:
and S4, updating the version number in the geometric difference attribute label of each part in the current CAD version after each version of CAD data is released.
Further, after step S4, the method further includes:
and S5, comparing the CAD data of the current version with the CAD data of the previous version after the version numbers in the geometric difference attribute labels of the parts in the current CAD version are updated, and outputting the CK-value of the parts to be 0 if the geometric figures of the parts are changed compared with the CAD data of the previous version, or outputting the CK-value of the parts to be 1 if the geometric figures of the parts are not changed.
Further, whether the geometric figure of each part changes from version i to version j is judged, and the judging method specifically comprises the following steps:
and performing logical AND operation on the CK-value values of the parts from the version i to the version j, wherein if the operation result is 1, the fact that the geometric figure of the part is not changed from the version i to the version j is shown, and if the operation result is 0, the fact that the geometric figure of the part is changed is shown.
According to the invention, by adding the geometric difference attribute labels in the CAD data of the PDM system, when comparing the version i and the version j of the CAD data, only the CK-value values of all parts from the version i to the version j are needed to be read, and logic and operation are performed, so that the situation that the geometric figures of the parts in the version j are changed compared with the version i can be obtained, and the comparison operation is not needed to be performed one by one, so that the data operation amount is reduced and the comparison time is shortened while the comparison operation is simplified.
Drawings
Fig. 1 is a flowchart of a method for comparing geometric differences of BOM multi-version CAD data according to an embodiment of the present invention.
Detailed Description
The following description of preferred embodiments of the invention will be made in further detail with reference to the accompanying drawings.
The PDM system in the invention comprises:
the geometric difference attribute label is arranged in the EBOM attribute of the CAD data of each part and consists of a CK-value and a CAD version number;
updating the version number of the CAD once every time the CAD data is issued, generally adopting a counting form, wherein if the version number of the CAD before the CAD data is issued is n, the version number of the CAD after the CAD data is issued is (n + 1); the CK-value indicates whether the geometric figure of each part in the current CAD version changes compared with the CAD data of the previous version, and identifies the changed part, for example, the part with the changed geometric figure is identified by using a logic number "0", and the part without the changed geometric figure is identified by using a logic number "1"; for example, the geometric difference attribute tag of part a is set to 0(CAD _ ITEM _ review _ (n)), where "n" denotes nth version CAD data, and "1" is a CK-value, indicating that the geometry of part a is the same in (n-1) th and nth versions.
In the embodiment of the invention, the geometric figure is judged based on the main shaft position, the gravity center position, the surface area value and the volume value of the part, and if any one of the parameters is changed, the geometric figure of the part is determined to be changed.
Fig. 1 is a flowchart of a method for comparing geometric differences of BOM multi-version CAD data according to an embodiment of the present invention, where the method specifically includes:
s1, receiving a geometric figure comparison request sent by a user, wherein the request carries two CAD versions to be compared, namely a version i and a version j, and the data of the version j is newer than that of the version i;
s2, reading CK-value values of all parts from version i to version j;
s3, if the CK-value values of the parts from version i to version j are all the unchanged marks, judging that the geometric figure of the part is unchanged from version i to version j, and otherwise, judging that the geometric figure of the part is changed from version i to version j.
In the embodiment of the invention, the CK-value adopts a logic number '0' to identify parts with changed geometric figures, and adopts a logic number '1' to identify parts with unchanged geometric figures;
in the embodiment of the present invention, before step S1, the method further includes:
s4, after each CAD data is released, updating the version number in the geometric difference attribute label of each part in the current CAD version;
in the embodiment of the present invention, after step S4, the method further includes:
and S5, comparing the CAD data of the current version with the CAD data of the previous version after the version numbers in the geometric difference attribute labels of the parts in the current CAD version are updated, and outputting the CK-value of the part to be 0 if the geometric figure of the part is changed compared with the CAD data of the previous version, or outputting the CK-value of the part to be 1 if the geometric figure of the part is not changed.
In the embodiment of the present invention, it is determined whether the geometric figure of each component changes from version i to version j, where the determination method specifically includes:
and performing logical AND operation on the CK-value values of the parts from the version i to the version j, wherein if the operation result is 1, the fact that the geometric figure of the part is not changed from the version i to the version j is shown, and if the operation result is 0, the fact that the geometric figure of the part is changed is shown.
According to the invention, by adding the geometric difference attribute labels in the CAD data of the PDM system, when comparing the version i and the version j of the CAD data, only the CK-value values of all parts from the version i to the version j are needed to be read, and logic and operation are performed, so that the situation that the geometric figures of the parts in the version j are changed compared with the version i can be obtained, and the comparison operation is not needed to be performed one by one, so that the data operation amount is reduced and the comparison time is shortened while the comparison operation is simplified.
It is clear that the specific implementation of the invention is not restricted to the above-described embodiments, but that various insubstantial modifications of the inventive process concept and technical solutions are within the scope of protection of the invention.
Claims (5)
1. A PDM system, the system comprising:
the geometric difference attribute labels are arranged in the EBOM attributes of the CAD data of the parts and are composed of CK-value values and CAD version numbers;
the CK-value represents whether the geometric figures of all parts in the current CAD version are changed or not compared with the CAD data of the previous version, and different CK-value values are adopted for marking changed parts and unchanged parts;
the geometric figure is judged based on four parameters of the main shaft position, the gravity center position, the surface area value and the volume value of the part, and if any one of the four parameters is changed, the geometric figure is judged to be changed;
the CK-value adopts a logic number '0' to identify parts with changed geometric figures, and adopts a logic number '1' to identify parts with unchanged geometric figures.
2. A geometrical difference comparison method of BOM multi-version CAD data based on the PDM system of claim 1, comprising the steps of:
s1, receiving a geometric figure comparison request sent by a user, wherein the request carries two CAD versions to be compared, and the versionsiAnd versionjAnd versionjCompared to versioniThe data of (2) is new;
s2, reading the slave versioniTo versionjCK-value of each part;
s3, if the part is from the editioniTo versionjIf the CK-value values are all the unchanged marks, judging that the geometric figure of the part is in the secondary versioniTo versionjIf no change occurs, otherwise, judging the geometric figure of the part to be from the versioniTo versionjA change occurs.
3. The method for comparing geometric differences between BOM multi-version CAD data according to claim 2, further comprising, before step S1:
and S4, after each CAD data is released, adding a new version field in the geometric difference attribute label of each part in the current CAD version.
4. The BOM multi-version CAD data geometric difference comparison method according to claim 3, further comprising after step S4:
and S5, comparing the CAD data of the current version with the CAD data of the previous version after adding the version number fields in the geometric difference attribute labels of the parts in the current CAD version, and outputting the CK-value of the parts to be 0 if the geometric figures of the parts are changed compared with the CAD data of the previous version, or outputting the CK-value of the parts to be 1 if the geometric figures of the parts are not changed.
5. The BOM multi-version CAD data geometric difference comparison method of claim 2, wherein the secondary version of the geometric figure of each part is judgediTo versionjWhether the change occurs or not is judged by the following specific method:
to be subordinate toiTo versionjThe CK-value of each part is subjected to logical AND operation, and if the operation result is 1, the geometric figure of the part is represented by a versioniTo versionjIf the result of the calculation is 0, it indicates that the geometric figure of the part has changed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811543854.9A CN109634637B (en) | 2018-12-17 | 2018-12-17 | PDM system and BOM multi-version CAD data geometric difference comparison method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811543854.9A CN109634637B (en) | 2018-12-17 | 2018-12-17 | PDM system and BOM multi-version CAD data geometric difference comparison method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109634637A CN109634637A (en) | 2019-04-16 |
CN109634637B true CN109634637B (en) | 2021-11-02 |
Family
ID=66074718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811543854.9A Active CN109634637B (en) | 2018-12-17 | 2018-12-17 | PDM system and BOM multi-version CAD data geometric difference comparison method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109634637B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111626689B (en) * | 2020-04-21 | 2022-10-28 | 徐工集团工程机械股份有限公司 | Intelligent data algorithm based on product example |
CN113568552A (en) * | 2021-07-30 | 2021-10-29 | 奇瑞汽车股份有限公司 | Method and device for displaying comparison result of data structure and computer storage medium |
CN113722827A (en) * | 2021-08-31 | 2021-11-30 | 奇瑞汽车股份有限公司 | CAD data creating method and device and computer storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1293519A (en) * | 1999-10-19 | 2001-05-02 | 三星电子株式会社 | Digital video frequency encoding method and equipment |
US6999965B1 (en) * | 2001-04-10 | 2006-02-14 | Arena Solutions, Inc. | Method, apparatus, and product to associate computer aided design data and bill of materials data |
CN101931544A (en) * | 2009-06-18 | 2010-12-29 | 上海及第熊软件科技有限公司 | Method and system for identifying unauthorized amendment of website content |
CN104462676A (en) * | 2014-11-26 | 2015-03-25 | 英业达科技有限公司 | Method and CAD system for judging part design change based on CAD platform |
-
2018
- 2018-12-17 CN CN201811543854.9A patent/CN109634637B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1293519A (en) * | 1999-10-19 | 2001-05-02 | 三星电子株式会社 | Digital video frequency encoding method and equipment |
US6999965B1 (en) * | 2001-04-10 | 2006-02-14 | Arena Solutions, Inc. | Method, apparatus, and product to associate computer aided design data and bill of materials data |
CN101931544A (en) * | 2009-06-18 | 2010-12-29 | 上海及第熊软件科技有限公司 | Method and system for identifying unauthorized amendment of website content |
CN104462676A (en) * | 2014-11-26 | 2015-03-25 | 英业达科技有限公司 | Method and CAD system for judging part design change based on CAD platform |
Also Published As
Publication number | Publication date |
---|---|
CN109634637A (en) | 2019-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109634637B (en) | PDM system and BOM multi-version CAD data geometric difference comparison method | |
CN108694535B (en) | Information generation method and device | |
US6557002B1 (en) | Data management system for storing structural element data management program | |
CN101794106A (en) | Quality control system, quality control apparatus, and quality control method | |
CN111461590A (en) | Method for calculating complete set of materials according to sales, inventory and purchase information | |
CN112115145A (en) | Data acquisition method and device, electronic equipment and storage medium | |
US20110246256A1 (en) | Product lifecycle management techniques | |
CN105335813A (en) | Material kitting acquisition method and system | |
CN104215309A (en) | Intelligent tobacco box weigher | |
CN109918385A (en) | Tripartite's account checking method, electronic device and readable storage medium storing program for executing | |
JP2004054749A (en) | Screen generation engine applicable to order registration system adaptable to b2b transaction of various direct materials | |
JP6644369B1 (en) | Information processing system, information processing method and information processing program | |
CN102446316A (en) | Machining component ordering system | |
CN105447605A (en) | APS production model-oriented dynamic modeling method | |
US7908023B2 (en) | Method of establishing a lot grade system for product lots in a semiconductor manufacturing process | |
CN110633944B (en) | Method and device for processing item termination component in bill of materials | |
CN104408550A (en) | Commodity specification processing method | |
CN107077703B (en) | Component table management system and component table management method | |
CN109543311B (en) | Three-dimensional visual definition method and system for technical state of part manufacturing | |
CN105405025A (en) | Method and device for determining access type of user account | |
CN106570193A (en) | Time series big data loading method | |
CN113409093A (en) | Index relevance analysis method | |
CN102184482A (en) | Realization method for synchronizing data between BOM (Bill Of Material) by implicit technical BOM model | |
US8775463B2 (en) | Detection and display of semantic errors in a reporting tool | |
CN101866445A (en) | System and method for change processing of supplier data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |