Product data reconstruction method and device, equipment and storage medium

By performing incremental reconstruction using the one-click reconstruction button in the product data management client interface, the differences between the assembly structure tree and the bill of materials are automatically compared and corrected, solving the problem of low synchronization efficiency in existing technologies and achieving fast and automated data synchronization and consistency management.

CN120763183APending Publication Date: 2025-10-10CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510893460.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2025-10-10

AI Technical Summary

Technical Problem

Existing product data management clients are inefficient in data synchronization, lack automated synchronization functions or rely on inefficient manual adjustments, resulting in inconsistent product data and time-consuming and labor-intensive processes.

Method used

By obtaining trigger instructions through the one-click reconstruction button on the product data management client interface, incremental reconstruction is performed using reconstruction logic, comparing the differences between the assembly structure tree and the bill of materials, and automatically correcting and synchronizing data based on the differences.

Benefits of technology

It achieves fast and automated synchronization of product data, improves synchronization efficiency, reduces manual intervention, and improves data consistency and synchronization time and effort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120763183A_ABST
    Figure CN120763183A_ABST
Patent Text Reader

Abstract

The invention relates to a product data reconstruction method and device, equipment and a storage medium. The product data reconstruction method comprises the steps of obtaining a corresponding trigger instruction through a one-key reconstruction button on a product data management client interface; the product data are reconstructed according to a reconstruction logic corresponding to the trigger instruction, the reconstruction logic comprises comparison of differences between the first data and the second data and incremental reconstruction of the second data based on the differences, and the first data and the second data are different product data of the same product; and after the reconstructed product data is obtained, displaying the reconstructed product data. By adopting the method, the synchronization efficiency between the product data can be improved, and time and labor are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of product data management, and in particular to a product data reconstruction method, apparatus, device, and storage medium. Background Art

[0002] Currently, product data management clients, such as CATIA clients, are capable of managing product data. Product data includes assembly structure trees and bills of materials (BOMs), which describe product data from different perspectives. Ideally, all different forms of data for the same product should remain consistent. However, in the actual development process, inconsistencies can arise between product data due to product revisions, data changes, or functional deficiencies within the product data management client itself.

[0003] Therefore, timely data synchronization is crucial to ensuring product design and production quality. However, existing product data management clients fall short in this regard: either they lack automated data synchronization capabilities, relying on manual adjustments, or they employ inefficient full-data reconstruction methods (for example, rebuilding the entire assembly structure tree based on an updated bill of materials). While both approaches ultimately achieve data consistency, the process is time-consuming and labor-intensive, resulting in extremely low synchronization efficiency. Summary of the Invention

[0004] Based on this, a product data reconstruction method, device, equipment and storage medium are provided to improve the problems of low synchronization efficiency and time-consuming and labor-intensive synchronization of product data in the prior art.

[0005] In a first aspect, the present application provides a product data reconstruction method, which includes: obtaining a corresponding trigger instruction through a one-click reconstruction button on a product data management client interface; reconstructing the product data according to the reconstruction logic corresponding to the trigger instruction, wherein the reconstruction logic includes comparing the difference between the first data and the second data, and incrementally reconstructing the second data based on the difference, the first data and the second data are product structured attribute data saved in different forms for the same product; after obtaining the reconstructed product data, displaying the reconstructed product data.

[0006] In a first implementation form of the first aspect, the one-key reconstruction button comprises a first button, and if a corresponding first trigger instruction is received through the first button, the product data is reconstructed according to a first reconstruction logic corresponding to the first trigger instruction, the first reconstruction logic comprising: taking the assembly structure tree and the bill of materials of the target product as first data and second data respectively; comparing the assembly structure tree and the bill of materials to determine data that is more, data that is less and data that is inconsistent in the assembly structure tree compared with the bill of materials; adding the more data in the bill of materials, deleting the less data, and correcting the inconsistent data according to the assembly structure tree to obtain the bill of materials after data reconstruction.

[0007] In a second implementation form of the first aspect, the one-key reconstruction button comprises a second button, and if a corresponding second trigger instruction is received through the second button, the product data is reconstructed according to a second reconstruction logic corresponding to the second trigger instruction, the second reconstruction logic comprising: taking the bill of materials and the assembly structure tree of the target product as first data and second data respectively; comparing the assembly structure tree and the bill of materials to determine data items that are more, data items that are less and data items that are inconsistent in the bill of materials compared with the assembly structure tree; adding the more data in the assembly structure tree, deleting the less data, and correcting the inconsistent data according to the bill of materials to obtain the assembly structure tree after data reconstruction.

[0008] In a third implementation form of the first aspect, the one-key reconstruction button comprises a third button, and if a corresponding third trigger instruction is received through the third button, the product data is reconstructed according to a third one logic and a third two logic corresponding to the third trigger instruction; the third one logic comprises: taking the bill of materials and the assembly structure tree of the target product as first data and second data respectively, and comparing the assembly structure tree and the bill of materials to determine first redundant data items in the bill of materials compared with the assembly structure tree, adding the first redundant data items in the assembly structure tree to obtain the reconstructed assembly structure tree; the third two logic comprises: taking the assembly structure tree and the bill of materials of the target product as first data and second data respectively, and comparing the assembly structure tree and the bill of materials to determine second redundant data items in the assembly structure tree compared with the bill of materials, adding the second redundant data items in the bill of materials to obtain the reconstructed bill of materials.

[0009] In combination with the first aspect, in a fourth possible implementation of the first aspect, before obtaining the corresponding trigger instruction through the one-click reconstruction button on the product data management client interface, it also includes: creating a one-click reconstruction button and setting the properties of the button, wherein the properties include a trigger event, and the trigger event generated by the user operating the button is used to trigger the generation of the trigger instruction corresponding to the button; integrating the one-click reconstruction button into a designated position of the product data management client interface; binding the one-click reconstruction button with the corresponding reconstruction logic, so that the reconstruction logic is executed when the corresponding trigger instruction is obtained through the one-click reconstruction button on the product data management client interface.

[0010] In combination with the fourth possible implementation method of the first aspect, in the fifth possible implementation method of the first aspect, the aforementioned step of integrating the one-click reconstruction button into the designated location of the product data management client interface includes: creating an incremental reconstruction toolbar and adding a one-click reconstruction button in the toolbar; setting the layout position of the incremental reconstruction toolbar in the interface of the product data management client so that the button in the incremental reconstruction toolbar is visible when the product data management client is opened.

[0011] In combination with any one of the first possible implementation methods of the first aspect to the third possible implementation method of the first aspect, in the sixth possible implementation method of the first aspect, the step of comparing the assembly structure tree with the bill of materials includes: accessing the root node in the assembly structure tree of the target product through the specified interface provided by CAA, calling the specified method to access each child node in the assembly structure tree, reading the first attribute information of each node in the assembly structure tree, and storing the first attribute information of each node in the assembly data; reading the second attribute information of the bill of materials from the bill of materials of the target product through the interface library, and storing the second attribute information of the bill of materials in the material data; and obtaining the difference between the assembly structure tree and the bill of materials by comparing the assembly data and the material data.

[0012] In the second aspect, the present application also provides a product data reconstruction device, which includes: a trigger unit, used to obtain the corresponding trigger instruction through a one-click reconstruction button on the product data management client interface; a reconstruction unit, used to reconstruct the product data according to the reconstruction logic corresponding to the trigger instruction, wherein the reconstruction logic includes comparing the difference between the first data and the second data, and incrementally reconstructing the second data based on the difference, the first data and the second data are product structured attribute data saved in different forms for the same product; a display unit, used to display the reconstructed product data after obtaining the reconstructed product data.

[0013] With reference to the second aspect, in a first implementation form of the second aspect, the one-key reconstruction button comprises a first button, and if a corresponding first trigger instruction is received through the first button, the product data is reconstructed according to a first reconstruction logic corresponding to the first trigger instruction, the first reconstruction logic comprising: taking the assembly structure tree and the bill of materials of the target product as first data and second data respectively; comparing the assembly structure tree and the bill of materials to determine data that is more, data that is less and data that is inconsistent in the assembly structure tree compared with the bill of materials; adding the more data in the bill of materials, deleting the less data, and correcting the inconsistent data according to the assembly structure tree to obtain the bill of materials after data reconstruction.

[0014] With reference to the second aspect, in a second implementation form of the second aspect, the one-key reconstruction button comprises a second button, and if a corresponding second trigger instruction is received through the second button, the product data is reconstructed according to a second reconstruction logic corresponding to the second trigger instruction, the second reconstruction logic comprising: taking the bill of materials and the assembly structure tree of the target product as first data and second data respectively; comparing the assembly structure tree and the bill of materials to determine data items that are more, data items that are less and data items that are inconsistent in the bill of materials compared with the assembly structure tree; adding the more data in the assembly structure tree, deleting the less data, and correcting the inconsistent data according to the bill of materials to obtain the assembly structure tree after data reconstruction.

[0015] With reference to the second aspect, in a third implementation form of the second aspect, the one-key reconstruction button comprises a third button, and if a corresponding third trigger instruction is received through the third button, the product data is reconstructed according to a third one logic and a third two logic corresponding to the third trigger instruction; the third one logic comprising: taking the bill of materials and the assembly structure tree of the target product as first data and second data respectively, and comparing the assembly structure tree and the bill of materials to determine first redundant data items in the bill of materials compared with the assembly structure tree, adding the first redundant data items in the assembly structure tree to obtain the reconstructed assembly structure tree; the third two logic comprising: taking the assembly structure tree and the bill of materials of the target product as first data and second data respectively, and comparing the assembly structure tree and the bill of materials to determine second redundant data items in the assembly structure tree compared with the bill of materials, adding the second redundant data items in the bill of materials to obtain the reconstructed bill of materials.

[0016] In combination with the second aspect, in a fourth possible implementation of the second aspect, the device also includes a creation unit, which is used to: create a one-key reconstruction button and set the properties of the button, wherein the properties include a trigger event, and the trigger event generated by the user operating the button is used to trigger the generation of a trigger instruction corresponding to the button; integrate the one-key reconstruction button into a specified position of the product data management client interface; bind the one-key reconstruction button with the corresponding reconstruction logic, so that the reconstruction logic is executed when the corresponding trigger instruction is obtained through the one-key reconstruction button on the product data management client interface.

[0017] In combination with the fourth possible implementation method of the second aspect, in the fifth possible implementation method of the second aspect, the creation unit is specifically used to: create an incremental reconstruction toolbar and add a one-click reconstruction button in the toolbar; set the layout position of the incremental reconstruction toolbar in the interface of the product data management client so that the buttons in the incremental reconstruction toolbar are visible when the product data management client is opened.

[0018] In combination with any one of the first feasible implementation methods of the second aspect to the third feasible implementation method of the second aspect, in the sixth feasible implementation method of the second aspect, the reconstruction unit is specifically used to: access the root node in the assembly structure tree of the target product through the specified interface provided by CAA, call the specified method to access each child node in the assembly structure tree, read the first attribute information of each node in the assembly structure tree, and store the first attribute information of each node in the assembly data; read the second attribute information of the bill of materials from the bill of materials of the target product through the interface library, and store the second attribute information of the bill of materials in the material data; obtain the difference between the assembly structure tree and the bill of materials by comparing the assembly data and the material data.

[0019] In a third aspect, the present application also provides a product data reconstruction device, which includes a processor and a memory, and the processor and the memory are connected via a bus; the processor is used to execute multiple instructions; the memory is used to store multiple instructions, and the instructions are suitable for being loaded by the processor and executed as a product data reconstruction method such as the first aspect or any one of the implementable embodiments of the first aspect.

[0020] In a fourth aspect, the present application also provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions are suitable for being loaded and executed by a processor as a product data reconstruction method such as the first aspect or any one of the implementable embodiments of the first aspect.

[0021] In summary, the present application provides a product data reconstruction method, apparatus, device and storage medium, wherein the present application receives a user's trigger instruction through a one-click reconstruction button of a product data management client to trigger the execution of the reconstruction logic bound to the trigger instruction. Since the reconstruction logic specifies the first data as a reconstruction template and the second data as a reconstruction object, the user does not need to manually select the reconstruction template and the reconstruction object, and the reconstruction logic reconstructs the second data based on the difference between the first data and the second data, realizing an incremental reconstruction and reducing the reconstruction content. Therefore, the present application quickly realizes the incremental reconstruction of product data through the one-click reconstruction button on the product data management client interface, improves the synchronization efficiency between product data, and saves a lot of time and effort. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 1 is a flow chart of a product data reconstruction method according to an embodiment;

[0023] Figure 2 is a flowchart of a product data reconstruction method in another embodiment;

[0024] Figure 3 A schematic diagram of the structure of a product data reconstruction device in one embodiment

[0025] Figure 4 FIG. 1 is a schematic block diagram of a product data reconstruction device in one embodiment. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0027] It should be noted that the diagrams provided in the present embodiment are only schematic illustrations of the basic concept of the present invention. The diagrams only show the components related to the present invention and are not drawn according to the number, shape and size of the components when actually implemented. The type, quantity and ratio of each component can be changed at will during actual implementation, and the component layout type may also be more complex. The structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the content disclosed in the specification for people familiar with this technology to understand and read. They are not used to limit the limiting conditions for the implementation of the present invention. Therefore, they have no technical significance. Any modification of the structure, change of the proportional relationship or adjustment of the size should still fall within the scope of the technical content disclosed by the present invention without affecting the efficacy and purpose of the present invention. At the same time, the terms such as "upper", "lower", "left", "right", "middle" and "one" quoted in this specification are only for the convenience of description and are not used to limit the scope of the implementation of the present invention. Changes or adjustments in their relative relationships should also be considered as the scope of the implementation of the present invention without substantially changing the technical content.

[0028] Currently, during the product design process, the assembly structure tree and bill of materials (BOM) are typically compared to ensure that the model matches the actual product, guaranteeing quality during design and production. However, during the design or production process, due to product revisions, data changes, or functional defects within the product data management client, the assembly structure tree and BOM are often manually adjusted or data mapping errors occur. This can lead to data discrepancies between the assembly structure tree and the BOM. However, there is no effective solution to quickly synchronize data in this situation.

[0029] In this regard, the present application provides a product data reconstruction method that quickly implements incremental reconstruction of product data through a one-click reconstruction button on the product data management client interface, thereby improving the synchronization efficiency between product data and saving a lot of time and effort. It should be noted that product data management clients such as CATIA clients do not themselves have a one-click reconstruction button and incremental reconstruction functions. However, the present application creatively adds a one-click reconstruction button and incremental reconstruction functions to the product data management client, allowing users to quickly implement the incremental reconstruction function by operating the one-click reconstruction button, thereby achieving the purpose of improving the synchronization efficiency between product data and saving time and effort.

[0030] The product data management client that the embodiment of the application mentions can manage product data, for product design and product production etc.For example, in automobile design and production scene, whole automobile or auto parts can be carried out modeling and assembly design by the product data management client.Product data comprises assembly structure tree and bill of materials (Bill Of Materials, BOM) etc., and assembly structure tree and bill of materials are the product structured attribute data that identical product preserves with different forms, and the product data management client can provide the creation function of assembly structure tree and bill of materials etc. of product.Wherein, the product data management client can be installed in terminal equipment, and terminal equipment includes but is not limited to product data reconstruction device, product data reconstruction equipment, notebook computer, desktop computer, server etc.

[0031] The assembly structure tree reflects the product's design logic, while the bill of materials (BOM) guides its actual production. A BOM is a list that represents a product's components and the assembly relationships between them. BOMs are typically stored in formats such as Excel or CSV. The assembly structure tree is a tree-like structure that represents a product's components and the assembly relationships between them. The assembly structure tree includes multiple levels of nodes, each of which can be a product or component. For example, the root node of the assembly structure tree corresponds to a specific product, and the child nodes correspond to specific components of that product.

[0032] refer to Figure 2 , is a flow chart of a product data reconstruction method provided in an embodiment of the present application. The method can be applied to the aforementioned terminal device, and the method includes:

[0033] 110: Obtain the corresponding trigger instruction through the one-key reconstruction button on the product data management client interface;

[0034] 120: Reconstruct product data according to the reconstruction logic corresponding to the trigger instruction;

[0035] 130: After obtaining the reconstructed product data, display the reconstructed product data.

[0036] In step 110, when the user clicks on the one-key reconstruction button on the product data management client interface and triggers an event, the terminal device can locate the location where the trigger event occurs on the product data management client interface, and then locate the one-key reconstruction button selected by the user, and trigger the generation of the trigger instruction corresponding to the one-key reconstruction button. The trigger instruction is bound to the reconstruction logic.

[0037] In step 120, in response to the aforementioned trigger instruction, the reconstruction logic bound to the trigger instruction is executed. The reconstruction logic includes comparing the difference between the first data and the second data, and incrementally reconstructing the second data based on the difference. The first data and the second data are product data of the same product, and the first data and the second data are product structured attribute data of the same product saved in different forms. Specifically, they can be different data in the assembly structure tree and the bill of materials of the same product. For example, the first data is the assembly structure tree of the target product and the second data is the bill of materials of the target product, or the first data is the bill of materials of the target product and the second data is the assembly structure tree of the target product.

[0038] In step 130, after obtaining the reconstructed product data, the reconstructed product data is displayed for visualization. Before display, the changed parts of the reconstructed product data can be highlighted, for example, by highlighting or color-coding, to help the user confirm whether the reconstruction is correct. If the user confirms that it is correct, the highlighting is removed and the reconstructed product data is saved.

[0039] It should be noted that when the first data and the second data are specifically different data in the assembly structure tree and the bill of materials of the same product, since the assembly structure tree and the bill of materials are structured information that describe the product from different dimensions, their data representation forms are different and direct comparison is more difficult. Therefore, in order to compare the differences between the assembly structure tree and the bill of materials, the present application also proposes another feasible implementation method, which first converts the assembly structure tree and the bill of materials into assembly data and material data in a preset format that is convenient for comparison, and then obtains the differences between the assembly structure tree and the bill of materials by comparing the differences between the assembly data and the material data.

[0040] Based on the aforementioned feasible implementation method, the process of comparing the assembly structure tree with the bill of materials includes: accessing the root node in the assembly structure tree of the target product through a specified interface (e.g., CATIProduct) provided by CAA, calling a specified method (e.g., GetChildren) to access each child node in the assembly structure tree, implementing recursion of the assembly structure tree, reading first attribute information of each node in the assembly structure tree, the first attribute information including, for example, information such as the hierarchy, component names, and coordinates of the product, and storing the first attribute information of each node in the assembly data; reading second attribute information of the bill of materials (BOM) from the bill of materials (BOM) of the target product through an interface library (e.g., a C++ interface library), the second attribute information including, for example, information such as the hierarchy, component names, and coordinates of the product, and storing the second attribute information of the bill of materials in the material data; and obtaining the difference between the assembly structure tree and the bill of materials by comparing the assembly data with the material data.

[0041] It should be noted that, since different one-key reconstruction buttons target different reconstruction templates and reconstruction objects, the differences obtained through the above comparison are actually different, and the specific contents modified based on the differences are also different. Next, this application will illustrate the following through several implementation methods:

[0042] In one implementable manner, the one-key reconstruction button includes a first button. If a corresponding first trigger instruction is received through the first button, the product data is reconstructed according to the first reconstruction logic corresponding to the first trigger instruction. The first reconstruction logic includes: using the assembly structure tree and the bill of materials of the target product as the first data and the second data, respectively; comparing the assembly structure tree with the bill of materials to determine the excess data, missing data, and inconsistent data in the assembly structure tree compared with the bill of materials; adding excess data to the bill of materials, deleting missing data, and correcting inconsistent data according to the assembly structure tree to obtain the bill of materials after data reconstruction.

[0043] The first reconstruction logic is used to represent the use of the assembly structure tree as a reconstruction template and the bill of materials as a reconstruction object. That is, the data in the bill of materials is compared with the data in the assembly structure tree in sequence based on the assembly structure tree. When attributes such as hierarchy, component name, and coordinate information are the same, the data is considered correct. If the data exists in the assembly structure tree but not in the bill of materials, it is marked as data that the assembly structure tree has more than the bill of materials. If the data does not exist in the assembly structure tree but exists in the bill of materials, it is marked as data that the assembly structure tree has less than the bill of materials. If the data exists in both the assembly structure tree and the bill of materials but is inconsistent, it is marked as data that is inconsistent between the assembly structure tree and the bill of materials. The compared data can be highlighted and the excess data, missing data, and inconsistent data can be displayed in different highlighting formats. After the differences are marked, the excess data is added to the bill of materials, the missing data is deleted, and the inconsistent data is corrected according to the assembly structure tree to obtain the reconstructed bill of materials. For example, if the assembly structure tree contains parts A, B, and C, and the bill of materials contains parts A, B, and D, then part D is deleted from the bill of materials and part C is added, resulting in parts A, B, and C in the bill of materials.

[0044] In one implementable manner, the one-key reconstruction button includes a second button. If a corresponding second trigger instruction is received through the second button, the product data is reconstructed according to the second reconstruction logic corresponding to the second trigger instruction. The second reconstruction logic includes: taking the bill of materials and assembly structure tree of the target product as the first data and the second data, respectively; comparing the assembly structure tree with the bill of materials to determine the extra data items, missing data items and inconsistent data items of the bill of materials relative to the assembly structure tree; adding extra data to the assembly structure tree, deleting missing data, and correcting inconsistent data according to the bill of materials to obtain the assembly structure tree after data reconstruction.

[0045] The second reconstruction logic is used to represent that the bill of materials is taken as a reconstruction template and the assembly structure tree is taken as a reconstruction object, that is, taking the bill of materials as a standard, data in the assembly structure tree is compared with data in the bill of materials in turn, when the level, the part name and the coordinate information and other attributes are all the same, it is correct, if there is data in the bill of materials but not in the assembly structure tree, it is marked as data in the bill of materials more than the assembly structure tree, if there is data in the assembly structure tree but not in the bill of materials, it is marked as data in the bill of materials less than the assembly structure tree, if there is data in the bill of materials and the assembly structure tree but inconsistent, it is marked as inconsistent data in the bill of materials and the assembly structure tree, the data compared in the foregoing can be highlighted, and the more data, the less data and the inconsistent data are displayed in different highlight formats; after the differences are marked, the more data is added in the assembly structure tree, the less data is deleted, and the inconsistent data is corrected according to the bill of materials, to obtain the assembly structure tree after data reconstruction, for example, there are A, B and C parts in the assembly structure tree, and there are A, B and D parts in the bill of materials, then C part in the assembly structure tree is deleted and D part is added, finally the assembly structure tree is A, B and D parts. In addition, modifying the assembly structure tree is relatively complex, for example, adding D part, the assembly D can be newly built through the NewFrom() of the interface CATIIniInteractiveSession of CAA, and added on the assembly structure tree through AddProduct(), then the attribute information is set according to the bill of materials through the CATICkeParm interface, and finally the position information of the assembly is set through SetAbsPosition().

[0046] In an implementable mode, the one-key reconstruction button comprises a third button, if a corresponding third trigger instruction is received through the third button, the product data is reconstructed according to a third one logic and a third two logic corresponding to the third trigger instruction; the third one logic comprises: taking the bill of materials of the target product and the assembly structure tree as first data and second data respectively, and comparing the assembly structure tree with the bill of materials to determine first redundant data items of the bill of materials relative to the assembly structure tree, adding the first redundant data items in the assembly structure tree to obtain the reconstructed assembly structure tree; the third two logic comprises: taking the assembly structure tree of the target product and the bill of materials as first data and second data respectively, and comparing the assembly structure tree with the bill of materials to determine second redundant data items of the assembly structure tree relative to the bill of materials, adding the second redundant data items in the bill of materials to obtain the reconstructed bill of materials.

[0047] The third reconstruction logic is used to represent the use of the bill of materials as a reconstruction template and the assembly structure tree as a reconstruction object. That is, the data in the assembly structure tree is compared with the data in the bill of materials in sequence, based on the bill of materials. When the attributes such as hierarchy, component name, and coordinate information are the same, they are considered correct. If there is data in the bill of materials but not in the assembly structure tree, it is marked as data that is extra in the bill of materials compared to the assembly structure tree, namely the second redundant data item. The second redundant data item can be highlighted. After the difference is marked, the second redundant data item is added to the assembly structure tree to obtain the reconstructed assembly structure tree.

[0048] The third, second-order reconstruction logic uses the assembly structure tree as the reconstruction template and the bill of materials as the reconstruction target. This means that, using the assembly structure tree as the standard, the data in the bill of materials is sequentially compared with the data in the assembly structure tree. Attributes such as hierarchy, component name, and coordinate information are identical, and the data is considered correct. Any data present in the assembly structure tree but not in the bill of materials is marked as "secondary redundant data items" compared to the bill of materials. These second redundant data items can be highlighted. After identifying the differences, the second redundant data items are added to the bill of materials to produce the reconstructed bill of materials. For example, if the assembly structure tree contains parts A, B, and C, and the bill of materials contains parts A, B, and D, then part D is added to the assembly structure tree and part C is added to the bill of materials. Finally, both the assembly structure tree and the bill of materials contain parts A, B, C, and D.

[0049] refer to Figure 2 This application provides another embodiment of a product data reconstruction method. This embodiment adopts Component Application Architecture (CAA) secondary development technology, calls the CAA function library, and integrates the core capabilities of the CATIA client, especially the underlying API of the Assembly Design module (such as component operation and constraint management), to implement customized reconstruction logic. The reconstruction logic is encapsulated as an interactive one-click reconstruction button and embedded in the CATIA client user interface, thereby integrating the one-click reconstruction button into the product data management client interface and adding an incremental reconstruction function. In this embodiment, before obtaining the corresponding trigger instruction through the one-click reconstruction button on the product data management client interface, the following is also included:

[0050] 210: Create a one-click reconstruction button and set the button properties;

[0051] 220: Integrate the one-click reconstruction button into the designated location of the product data management client interface;

[0052] 230: Bind the one-key reconstruction button with the corresponding reconstruction logic, so that the reconstruction logic is executed when the corresponding trigger instruction is obtained through the one-key reconstruction button on the product data management client interface.

[0053] For step 210, the attributes of a button include a trigger event (such as a click event), a unique identifier (ID), display text (Label), and a button resource (Icon). The trigger event generated by a user operating a button is used to trigger the generation of a trigger instruction corresponding to the button. For example, when a user clicks the first button on the product data management client interface, the terminal device detects the trigger event at the first button on the interface and then generates a first trigger instruction corresponding to the first button, thereby triggering the execution of the first reconstruction logic bound to the first trigger instruction.

[0054] With respect to step 220 , the present application integrates a one-key reconstruction button into a designated location of the user interface (UI) of the product data management client to ensure that the one-key reconstruction button can be seen at the designated location when the client is opened.

[0055] In one practicable manner, when there are multiple one-click reconstruction buttons, the present application further adds an incremental reconstruction toolbar to the product data management client interface. The incremental reconstruction toolbar aggregates multiple one-click reconstruction buttons together, thereby achieving the aggregation of multiple reconstruction functions, improving human-computer interaction efficiency, shortening the operation path, and reducing interface switching costs. Specifically, the aforementioned integration of the one-click reconstruction button into a designated location on the product data management client interface includes:

[0056] 221: Create an incremental refactoring toolbar and add a one-click refactoring button to the toolbar;

[0057] 222: Setting the layout position of the incremental reconstruction toolbar in the interface of the product data management client so that the buttons in the incremental reconstruction toolbar are visible when the product data management client is opened.

[0058] For step 230, the aforementioned reconstruction logic is implemented by calling the CAA framework function library. Different one-key reconstruction buttons correspond to different reconstruction logics. In order to correctly execute the corresponding reconstruction logic when each button is triggered, it is necessary to bind the one-key reconstruction button with the corresponding reconstruction logic by registering an event processing function for the button's triggering event. For example, in the previous embodiment, the first button corresponds to the first reconstruction logic, the second button corresponds to the second reconstruction logic, and the third button corresponds to the third-first reconstruction logic and the third-second reconstruction logic. The first button is bound to the first reconstruction logic, the second button is bound to the second reconstruction logic, and the third button is bound to the third-first reconstruction logic and the third-second reconstruction logic, so that the first reconstruction logic is triggered when the corresponding first trigger instruction is obtained through the first button, the second reconstruction logic is triggered when the corresponding second trigger instruction is obtained through the second button, and the third-first reconstruction logic and the third-second reconstruction logic are triggered when the corresponding third trigger instruction is obtained through the third button.

[0059] It should be understood that although Figures 1 to 2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. In addition, Figures 1 to 2 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily performed at the same time, but can be performed at different times. The order of execution of these sub-steps or stages is not necessarily one by one, but can be performed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0060] like Figure 3As shown, the present application also provides a product data reconstruction device. The embodiments of the present application can divide the device into functional modules according to the above method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical functional division. In actual implementation, other division methods can be used. Specifically, the product data reconstruction device includes: a trigger unit 310, which is used to obtain a corresponding trigger instruction through a one-click reconstruction button on the product data management client interface; a reconstruction unit 320, which is used to reconstruct the product data according to the reconstruction logic corresponding to the trigger instruction, wherein the reconstruction logic includes comparing the difference between the first data and the second data and incrementally reconstructing the second data based on the difference. The first data and the second data are product structured attribute data of the same product stored in different forms; and a display unit 330, which is used to display the reconstructed product data after obtaining the reconstructed product data.

[0061] In one implementable manner, the one-key reconstruction button includes a first button. If a corresponding first trigger instruction is received through the first button, the product data is reconstructed according to the first reconstruction logic corresponding to the first trigger instruction. The first reconstruction logic includes: using the assembly structure tree and the bill of materials of the target product as the first data and the second data, respectively; comparing the assembly structure tree with the bill of materials to determine the excess data, missing data, and inconsistent data in the assembly structure tree compared with the bill of materials; adding excess data to the bill of materials, deleting missing data, and correcting inconsistent data according to the assembly structure tree to obtain the bill of materials after data reconstruction.

[0062] In one implementable manner, the one-key reconstruction button includes a second button. If a corresponding second trigger instruction is received through the second button, the product data is reconstructed according to the second reconstruction logic corresponding to the second trigger instruction. The second reconstruction logic includes: taking the bill of materials and assembly structure tree of the target product as the first data and the second data, respectively; comparing the assembly structure tree with the bill of materials to determine the extra data items, missing data items and inconsistent data items of the bill of materials relative to the assembly structure tree; adding extra data to the assembly structure tree, deleting missing data, and correcting inconsistent data according to the bill of materials to obtain the assembly structure tree after data reconstruction.

[0063] In one implementable manner, the one-key reconstruction button includes a third button. If a corresponding third trigger instruction is received through the third button, the product data is reconstructed according to the third-first logic and the third-second logic corresponding to the third trigger instruction; the third-first logic includes: taking the bill of materials and the assembly structure tree of the target product as the first data and the second data respectively, and comparing the assembly structure tree with the bill of materials to determine the first redundant data item of the bill of materials relative to the assembly structure tree, adding the first redundant data item to the assembly structure tree, and obtaining a reconstructed assembly structure tree; the third-second logic includes: taking the assembly structure tree and the bill of materials of the target product as the first data and the second data respectively, and comparing the assembly structure tree with the bill of materials to determine the second redundant data item of the assembly structure tree relative to the bill of materials, adding the second redundant data item to the bill of materials, and obtaining a reconstructed bill of materials.

[0064] In one practicable manner, the device further includes a creation unit 340, which is used to: create a one-key reconstruction button and set the properties of the button, wherein the properties include a trigger event, and the trigger event generated by the user operating the button is used to trigger the generation of a trigger instruction corresponding to the button; integrate the one-key reconstruction button into a designated location of the product data management client interface; bind the one-key reconstruction button with the corresponding reconstruction logic, so that the reconstruction logic is executed when the corresponding trigger instruction is obtained through the one-key reconstruction button on the product data management client interface.

[0065] In one implementable manner, the creation unit 340 is specifically used to: create an incremental reconstruction toolbar and add a one-click reconstruction button in the toolbar; set the layout position of the incremental reconstruction toolbar in the interface of the product data management client so that the buttons in the incremental reconstruction toolbar are visible when the product data management client is opened.

[0066] In one practicable manner, the reconstruction unit 320 is specifically used to: access the root node in the assembly structure tree of the target product through the specified interface provided by CAA, call the specified method to access each child node in the assembly structure tree, read the first attribute information of each node in the assembly structure tree, and store the first attribute information of each node in the assembly data; read the second attribute information of the bill of materials from the bill of materials of the target product through the interface library, and store the second attribute information of the bill of materials in the material data; and obtain the difference between the assembly structure tree and the bill of materials by comparing the assembly data and the material data.

[0067] like Figure 4As shown, the present application also provides a product data reconstruction device, which may include: a processor 410 and a memory 420. The processor 410 and the memory 420 are connected via a bus 430. The processor 410 is configured to execute multiple instructions; the memory is configured to store multiple instructions, which are suitable for being loaded by the processor and executed as described in the above embodiment of the remote testing method based on the human-computer interaction interface. The processor may be an electronic control unit (ECU), a central processing unit (CPU), a general-purpose processor, a coprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of an 5SP and a microprocessor, and so on. In this embodiment, the processor may be a single-chip microcomputer. By programming the single-chip microcomputer, various control functions can be implemented. The processor has the advantages of strong computing power and fast processing speed. Specifically, the processor 410 is used to execute the function of the trigger unit 310, which is used to obtain the corresponding trigger instruction through the one-key reconstruction button on the product data management client interface; it is also used to execute the function of the reconstruction unit 320, which is used to reconstruct the product data according to the reconstruction logic corresponding to the trigger instruction, wherein the reconstruction logic includes comparing the difference between the first data and the second data, and incrementally reconstructing the second data based on the difference, the first data and the second data are product structured attribute data saved in different forms for the same product; it is also used to execute the function of the display unit 330, which is used to display the reconstructed product data after obtaining the reconstructed product data.

[0068] In one implementable manner, the one-key reconstruction button includes a first button. If a corresponding first trigger instruction is received through the first button, the product data is reconstructed according to the first reconstruction logic corresponding to the first trigger instruction. The first reconstruction logic includes: using the assembly structure tree and the bill of materials of the target product as the first data and the second data, respectively; comparing the assembly structure tree with the bill of materials to determine the excess data, missing data, and inconsistent data in the assembly structure tree compared with the bill of materials; adding excess data to the bill of materials, deleting missing data, and correcting inconsistent data according to the assembly structure tree to obtain the bill of materials after data reconstruction.

[0069] In an implementable manner, the one-key reconstruction button comprises a second button, and if a corresponding second trigger instruction is received through the second button, the product data is reconstructed according to a second reconstruction logic corresponding to the second trigger instruction, and the second reconstruction logic comprises: taking the bill of materials and the assembly structure tree of the target product as first data and second data respectively; comparing the assembly structure tree with the bill of materials to determine data items that are excessive, missing and inconsistent in the bill of materials relative to the assembly structure tree; adding the excessive data in the assembly structure tree, deleting the missing data, and correcting the inconsistent data according to the bill of materials to obtain the assembly structure tree after data reconstruction.

[0070] In an implementable manner, the one-key reconstruction button comprises a third button, and if a corresponding third trigger instruction is received through the third button, the product data is reconstructed according to a third one logic and a third two logic corresponding to the third trigger instruction; the third one logic comprises: taking the bill of materials and the assembly structure tree of the target product as first data and second data respectively, and comparing the assembly structure tree with the bill of materials to determine first excessive data items in the bill of materials relative to the assembly structure tree, adding the first excessive data items in the assembly structure tree to obtain the reconstructed assembly structure tree; and the third two logic comprises: taking the assembly structure tree and the bill of materials of the target product as first data and second data respectively, and comparing the assembly structure tree with the bill of materials to determine second excessive data items in the assembly structure tree relative to the bill of materials, adding the second excessive data items in the bill of materials to obtain the reconstructed bill of materials.

[0071] In an implementable manner, the processor 410 is further configured to execute the functions of the creating unit 340, for: creating a one-key reconstruction button and setting the attributes of the button, wherein the attributes comprise a trigger event, and the trigger event generated by the user operating the button is used to trigger the generation of the trigger instruction corresponding to the button; integrating the one-key reconstruction button to a specified position of the interface of the product data management client; and binding the one-key reconstruction button with the corresponding reconstruction logic, so that the reconstruction logic is executed when the corresponding trigger instruction is obtained through the one-key reconstruction button on the interface of the product data management client.

[0072] In an implementable manner, the processor 410 is specifically configured to: create an incremental reconstruction toolbar, and add a one-key reconstruction button in the toolbar; and set the layout position of the incremental reconstruction toolbar in the interface of the product data management client, so that the buttons in the incremental reconstruction toolbar are visible when the product data management client is opened.

[0073] In one practicable manner, the processor 410 is specifically used to: access the root node in the assembly structure tree of the target product through a specified interface provided by the CAA, call a specified method to access each child node in the assembly structure tree, read the first attribute information of each node in the assembly structure tree, and store the first attribute information of each node in the assembly data; read the second attribute information of the bill of materials from the bill of materials of the target product through the interface library, and store the second attribute information of the bill of materials in the material data; and obtain the difference between the assembly structure tree and the bill of materials by comparing the assembly data and the material data.

[0074] This application also provides a computer-readable storage medium storing a plurality of instructions suitable for being loaded by a processor and executing the method of any of the aforementioned embodiments. The processor is configured to execute the plurality of instructions; and the memory is configured to store the plurality of instructions, which are loaded by the processor and executed by the method of product data reconstruction of the aforementioned embodiments.

[0075] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0076] The above embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.

Claims

1. A product data reconstruction method, characterized in that: The method comprises: Obtain the corresponding trigger instruction through the one-key reconstruction button on the product data management client interface; reconstructing the product data according to the reconstruction logic corresponding to the trigger instruction, wherein the reconstruction logic includes comparing a difference between first data and second data and incrementally reconstructing the second data based on the difference, the first data and the second data being structured product attribute data of the same product stored in different forms; After obtaining the reconstructed product data, the reconstructed product data is displayed.

2. The method according to claim 1, characterized in that The one-key reconstruction button includes a first button. If a corresponding first trigger instruction is received through the first button, the product data is reconstructed according to a first reconstruction logic corresponding to the first trigger instruction. The first reconstruction logic includes: The assembly structure tree and the bill of materials of the target product are respectively used as the first data and the second data; Comparing the assembly structure tree with the bill of materials to determine excess data, missing data, and inconsistent data between the assembly structure tree and the bill of materials; The excess data is added to the bill of materials, the missing data is deleted, and the inconsistent data is corrected according to the assembly structure tree to obtain a bill of materials after data reconstruction.

3. The method according to claim 1, characterized in that The one-key reconstruction button includes a second button. If a corresponding second trigger instruction is received through the second button, the product data is reconstructed according to a second reconstruction logic corresponding to the second trigger instruction. The second reconstruction logic includes: The bill of materials and assembly structure tree of the target product are respectively used as the first data and the second data; Comparing the assembly structure tree with the bill of materials to determine excess data items, missing data items, and inconsistent data items in the bill of materials relative to the assembly structure tree; The excess data is added to the assembly structure tree, the missing data is deleted, and the inconsistent data is corrected according to the bill of materials to obtain an assembly structure tree after data reconstruction.

4. The method according to claim 1, wherein The one-key reconstruction button includes a third button. If a corresponding third trigger instruction is received through the third button, the product data is reconstructed according to the third-first logic and the third-second logic corresponding to the third trigger instruction; The third logic includes: using a bill of materials and an assembly structure tree of the target product as first data and second data, respectively, comparing the assembly structure tree with the bill of materials to determine a first redundant data item of the bill of materials relative to the assembly structure tree, and adding the first redundant data item to the assembly structure tree to obtain a reconstructed assembly structure tree; The third second logic includes: taking the assembly structure tree and the bill of materials of the target product as the first data and the second data respectively, and comparing the assembly structure tree with the bill of materials to determine the second redundant data item of the assembly structure tree relative to the bill of materials, adding the second redundant data item to the bill of materials to obtain a reconstructed bill of materials.

5. The method according to claim 1, wherein Before obtaining the corresponding trigger instruction through the one-key reconstruction button on the product data management client interface, it also includes: Create a one-key reconstruction button and set the button's properties, where the properties include a trigger event. The trigger event generated by the user operating the button is used to trigger the generation of a trigger instruction corresponding to the button; Integrate the one-key reconstruction button into a designated location of the product data management client interface; The one-key reconstruction button is bound to the corresponding reconstruction logic, so that the reconstruction logic is executed when the corresponding trigger instruction is obtained through the one-key reconstruction button on the product data management client interface.

6. The method according to claim 5, characterized in that The step of integrating the one-key reconstruction button into a designated location on the product data management client interface includes: Creating an incremental reconstruction toolbar and adding the one-key reconstruction button in the toolbar; The layout position of the incremental reconstruction toolbar in the interface of the product data management client is set so that the buttons in the incremental reconstruction toolbar are visible when the product data management client is opened.

7. The method according to any one of claims 2 to 4, characterized in that The step of comparing the assembly structure tree with the bill of materials comprises: Accessing the root node in the assembly structure tree of the target product through a designated interface provided by CAA, calling a designated method to access each child node in the assembly structure tree, reading first attribute information of each node in the assembly structure tree, and storing the first attribute information of each node in the assembly data; Reading second attribute information of the bill of materials from the bill of materials of the target product through the interface library, and storing the second attribute information of the bill of materials into material data; By comparing assembly data with material data, the differences between the assembly structure tree and the bill of materials are obtained.

8. A product data reconstruction device, characterized in that: The device comprises: A trigger unit is used to obtain a corresponding trigger instruction through a one-key reconstruction button on the product data management client interface; a reconstruction unit, configured to reconstruct the product data according to reconstruction logic corresponding to the trigger instruction, wherein the reconstruction logic includes comparing a difference between first data and second data and incrementally reconstructing the second data based on the difference, the first data and the second data being structured product attribute data of the same product stored in different forms; The display unit is used to display the reconstructed product data after obtaining the reconstructed product data.

9. A product data reconstruction device, characterized in that: The product data reconstruction device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the product data reconstruction method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a plurality of instructions, which are suitable for being loaded by a processor and executing the steps of the product data reconstruction method according to any one of claims 1 to 7.