Drawing coding processing method, device, electronic device and storage medium
By replacing material encoding in electronic design drawings, the problem of low production efficiency and accuracy caused by mismatch in material encoding is solved, and higher BOM accuracy and product manufacturability are achieved.
Patent Information
- Application Number
- CN202410932365.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-07-12
AI Technical Summary
In the prior art, mismatch in material coding in electronic design drawings leads to low efficiency and accuracy of production-side BOM tables, and the manufacturability of the corresponding products of electronic design drawings is also low.
By obtaining the current encoding type of the to-processed material encoding in the electronic design drawing, determining the target material encoding that does not match the target encoding type, and replacing it with the to-processed material encoding in the electronic design drawing to characterize the manufacturing process of the components With materials, avoid using original or unreplaced updated material encoding.
It improves the efficiency and accuracy of the production-side BOM table, ensures the productivity of the drawing device selection, and thus improves the manufacturability of the corresponding products of the electronic design drawings.
Smart Images

Figure CN118504475B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a drawing coding processing method, device, electronic equipment and storage medium. Background Art
[0002] In the process of designing hardware schematics, the attribute information of each component with a position number contains the material code of the corresponding component, and each material code corresponds to the material model of the component with the corresponding position number. When generating electronic design drawings, engineers will assume that all material codes carried in the electronic design drawings can be used in the bill of materials (BOM) on the production side, and will not determine whether they comply with the manufacturing process of the corresponding components or the production materials currently used after iteration. As a result, the efficiency and accuracy of BOM production on the production side are very low, and the manufacturability of the products corresponding to the electronic design drawings is also very low. Summary of the invention
[0003] The present invention provides a drawing coding processing method, device, electronic device and storage medium, which are used to solve the defects in the prior art that the efficiency and accuracy of BOM table preparation at the production end are very low, and the manufacturability of products corresponding to electronic design drawings is also very low. The present invention achieves the effect of producibility of drawing component selection, improves the efficiency and accuracy of BOM table preparation at the production end, ensures the manufacturability of drawing component selection, and thus greatly improves the manufacturability of products corresponding to electronic design drawings.
[0004] The present invention also provides a drawing coding processing device.
[0005] The invention also provides an electronic device.
[0006] The present invention also provides a non-transitory computer-readable storage medium.
[0007] The drawing coding processing method according to the first embodiment of the present invention includes the following steps.
[0008] Get the current code type of the material code to be processed in the electronic design drawing;
[0009] Determine that the current coding type does not match the target coding type of the component to be processed corresponding to the material code to be processed, and determine the target material code corresponding to the target coding type; the target coding type is used to characterize the manufacturable process and material of the component to be processed;
[0010] The code of the material to be processed in the electronic design drawing is replaced with the code of the target material.
[0011] According to the drawing coding processing method of the embodiment of the present invention, when the current coding type of the material code to be processed in the electronic design drawing does not match the target coding type of its corresponding component, the target material code corresponding to the target coding type is determined and the material code to be processed in the electronic design drawing is replaced with the target material code; since the target coding type is used to characterize the manufacturable process and material of the corresponding component, the original material codes in the electronic design drawing that cannot characterize the manufacturable process and material of the component with the corresponding bit number are replaced with the target material codes that characterize the manufacturable process and material of the corresponding component in combination with the unique identification characteristics of the material code and the bit number, thereby avoiding the defects of low efficiency and accuracy of BOM production at the production end caused by the production end mistakenly using the original material code or the material code that has not been iteratively updated for the production end, and low manufacturability of the product corresponding to the electronic design drawing, achieving the effect of manufacturability of the drawing device selection, improving the efficiency and accuracy of the production end in making the BOM table, ensuring the manufacturability of the drawing device selection, and thus greatly improving the manufacturability of the product corresponding to the electronic design drawing.
[0012] According to one embodiment of the present invention, obtaining the current coding type of the material code to be processed in the electronic design drawing includes: searching for the current coding type of the material code to be processed from a pre-built coding library; the coding library includes multiple coding types and all material codes under each coding type.
[0013] According to one embodiment of the present invention, the coding library also includes various coding conversion paths that characterize the conversion relationship between relevant material codes under different coding types, and determining the target material code corresponding to the target coding type includes: searching the target coding conversion path corresponding to the material code to be processed from the coding library; and determining the target material code corresponding to the target coding type based on the found target coding conversion path.
[0014] According to one embodiment of the present invention, the method further includes: based on the failed search result of the target code conversion path, prompting the user to convert the material code to be processed into the target material code; based on the conversion result fed back by the user, determining the target code conversion path, and based on the target code conversion path, determining the target material code corresponding to the target code type.
[0015] According to an embodiment of the present invention, the method further comprises: updating the encoding library based on the target encoding conversion path determined through the user feedback.
[0016] According to one embodiment of the present invention, replacing the code of the material to be processed in the electronic design drawing with the target material code includes: deleting the components to be processed corresponding to the position number of the material to be processed in the electronic design drawing, and placing the target components carrying the target material code at the position number.
[0017] According to one embodiment of the present invention, the method further includes: determining that the components to be processed at each position number in the electronic design drawing are all target components carrying the corresponding target material code, and instructing the production end to prepare a BOM table for the electronic design drawing.
[0018] According to the second aspect of the present invention, a drawing coding processing device includes the following units.
[0019] An acquisition unit, used for acquiring the current encoding type of the material encoding to be processed in the electronic design drawing;
[0020] A determination unit, used to determine that the current coding type does not match the target coding type of the component to be processed corresponding to the material code to be processed, and determine the target material code corresponding to the target coding type; the target coding type is used to characterize the manufacturable process and material of the component to be processed;
[0021] A replacement unit is used to replace the code of the material to be processed in the electronic design drawing with the target material code.
[0022] According to the drawing coding processing device of the embodiment of the present invention, when the current coding type of the material code to be processed in the electronic design drawing does not match the target coding type of its corresponding component, the target material code corresponding to the target coding type is determined and the material code to be processed in the electronic design drawing is replaced with the target material code; since the target coding type is used to characterize the manufacturable process and material of the corresponding component, the original material codes in the electronic design drawing that cannot characterize the manufacturable process and material of the component with the corresponding bit number are replaced with the target material codes that characterize the manufacturable process and material of the corresponding component in combination with the unique identification characteristics of the material code and the bit number, thereby avoiding the defects of low efficiency and accuracy of BOM production at the production end caused by the production end mistakenly using the original material code or the material code that has not been iteratively updated for the production end, and low manufacturability of the product corresponding to the electronic design drawing, achieving the effect of manufacturability of the drawing device selection, improving the efficiency and accuracy of BOM production at the production end, ensuring the manufacturability of the drawing device selection, and thus greatly improving the manufacturability of the product corresponding to the electronic design drawing.
[0023] The above one or more technical schemes in the embodiments of the present invention have at least one of the following technical effects: when the current coding type of the material code to be processed in the electronic design drawing does not match the target coding type of its corresponding component, by determining the target material code corresponding to the target coding type and replacing the material code to be processed in the electronic design drawing with the target material code; since the target coding type is used to characterize the manufacturable process and material of the corresponding component, combined with the unique identification characteristics of the material code and the bit number, it is possible to achieve the purpose of replacing all the original material codes in the electronic design drawing that cannot characterize the manufacturable process and material of the component with the corresponding bit number with the target material code that characterizes the manufacturable process and material of the corresponding component, thereby avoiding the defects of low efficiency and accuracy of BOM production at the production end and low manufacturability of the product corresponding to the electronic design drawing caused by the production end mistakenly using the original material code or the material code that has not been iteratively updated for the production end, achieving the effect of producibility of the drawing device selection, improving the efficiency and accuracy of BOM production at the production end, ensuring the manufacturability of the drawing device selection, and thus greatly improving the manufacturability of the product corresponding to the electronic design drawing.
[0024] Furthermore, by pre-building a coding library containing different coding types and all material codes belonging to each coding type, the current coding type of the material code to be processed in the electronic design drawing can be quickly obtained, thereby improving the accuracy and efficiency of obtaining the coding type.
[0025] Furthermore, when the pre-built coding library also includes the coding conversion path of the conversion relationship between related material codes under different coding types, by searching the coding library, the target material code of components whose current coding type does not match the target coding type can be quickly and accurately determined, thereby improving the accuracy and reliability of standardized management drawing coding.
[0026] Furthermore, when the target code conversion path for the material code to be processed does not exist in the constructed code library, the accuracy and flexibility of the standardized management drawing coding are improved by prompting the user to manually maintain the alternative target material coding, providing reliable guarantees for the production effect of the subsequent production-end BOM table and the production effect of the device selection.
[0027] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0029] Figure 1 It is one of the flow charts of the drawing coding processing method provided in an embodiment of the present invention.
[0030] Figure 2 This is the second flow chart of the drawing coding processing method provided in the embodiment of the present invention.
[0031] Figure 3 It is a structural schematic diagram of a drawing coding processing device filled in according to an embodiment of the present invention.
[0032] Figure 4 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0033] In the embodiments of the present invention, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B may be singular or plural. In the textual description of the present invention, the character " / " generally indicates that the previous and next associated objects are in an "or" relationship. In addition, it should be noted that the serial numbers themselves, such as "first", "second", etc., used to distinguish the objects described in the present invention are only used to distinguish the objects described, and do not have any order or technical meaning.
[0034] In the process of designing hardware schematics, the attribute information of each component with a position number contains the material code of the corresponding component, and each material code corresponds to the material model of the component with the corresponding position number; when generating electronic design drawings in this way, engineers will assume that all material codes carried in the electronic design drawings can be used in the BOM on the production side, and will not judge whether they comply with the manufacturing process of the corresponding components or the production materials currently used after iteration. As a result, the efficiency and accuracy of BOM production on the production side are very low, and the manufacturability of the products corresponding to the electronic design drawings is also very low.
[0035] In order to solve the above technical problems, the present invention provides a drawing coding processing method, device, electronic device and storage medium. Figure 1~Figure 4The present invention describes the drawing coding processing method, device, electronic device and storage medium provided by the present invention, wherein the execution subject of the drawing coding processing method is an electronic device or a server, and the electronic device can be other electronic devices such as a personal computer (PC), a portable device, a laptop computer, a smart phone, a tablet computer and a portable wearable device; the server can refer to a single server, or a server cluster composed of multiple servers, a cloud computing center, etc.; the present application does not specifically limit the specific form of the electronic device or server. Furthermore, the drawing coding processing method can also be applied to a drawing coding processing device set in an electronic device or a server, and the drawing coding processing device can be implemented by software, hardware or a combination of the two. The following describes the drawing coding processing method by taking the execution subject of the drawing coding processing method as an electronic device as an example.
[0036] In order to facilitate understanding of the drawing coding processing method provided by the embodiment of the present invention, the drawing coding processing method provided by the embodiment of the present invention will be described in detail below through the following exemplary embodiments. It can be understood that the following exemplary embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0037] Reference Figure 1 , which is one of the flow charts of the drawing coding processing method provided by an embodiment of the present invention, such as Figure 1 As shown, the drawing coding processing method includes the following steps 110 to 130.
[0038] Step 110: Obtain the current coding type of the material coding to be processed in the electronic design drawing.
[0039] Among them, the material code to be processed can be the original material code that needs to be processed in the electronic design drawing, each original material code corresponds to a component with a position number in the electronic design drawing, and each original material code is the material code that comes with the electronic design drawing when it is generated, and each original material code is used to characterize the production process or material of the component with the corresponding position number in the electronic design drawing.
[0040] The current encoding type may be one of a temporary encoding type, a formal encoding type, and an abandoned encoding type.
[0041] It should be noted that for temporary coding types, before new materials pass factory and quality confirmation, they must apply for a temporary material code from the Product Lifecycle Management (PLM) system. This temporary material code needs to go through factory trial production and quality testing verification, so this temporary material code cannot be used in the BOM table on the production side; if this temporary material code is confirmed to meet the reliability and manufacturability requirements after trial production and quality testing verification, it is necessary to convert this temporary material code into a target material code that can be used in the BOM table according to the pre-configured coding conversion mechanism in the PLM system; and the corresponding relationship between this temporary material code and the target material code will be synchronously recorded in the PLM system.
[0042] What needs to be explained about the formal coding type is that the process requirements and quality requirements of each formal material code meet the existing production requirements and can be used in the BOM table on the production side, that is, it is the target material code that can be used in the BOM table.
[0043] What needs to be explained about the discarded code type is that after some formal material codes have been used for a period of time, they will become discarded material codes due to outdated processes or replacement by new material iterations. The discarded material codes cannot be used in the BOM table on the production side; and the discarded material codes usually have corresponding replaceable formal material codes and are recorded in the PLM system.
[0044] Specifically, considering that each bit number can only correspond to one material code when manufacturing the BOM, for the electronic design drawings to be encoded, the electronic equipment first checks whether there are duplicate bit numbers in the electronic design drawings. When duplicate bit numbers are detected, the process is terminated and an alarm is output to the user. Conversely, when it is detected that there are no duplicate bit numbers, the subsequent process is continued. This ensures that all bit numbers in the electronic design drawings are unique, thereby ensuring the manufacturability of the BOM.
[0045] When it is determined that all position numbers in the electronic design drawing are unique, the original material code of the component corresponding to each position number in the electronic design drawing can be obtained, and each original material code is used as the material code to be processed to obtain the current coding type of each material code to be processed.
[0046] The electronic device obtains the current coding type of each material code to be processed by inputting the current coding type of each material code to be processed into the electronic device, and the input method may include but is not limited to electronic device input, device application input, and photo upload input. For example, it can be obtained by the user manually inputting the current coding type of each material code to be processed on the electronic device; or, it can be obtained by the user manually inputting the current coding type of each material code to be processed in other device applications connected to the electronic device; or, it can also be obtained by uploading and inputting a photographed image containing the current coding type of each material code to be processed and performing image recognition. The method for the electronic device to obtain the current coding type of each material code to be processed is not specifically limited here.
[0047] Step 120, determine that the current coding type does not match the target coding type of the component to be processed corresponding to the material code to be processed, and determine the target material code corresponding to the target coding type; the target coding type is used to characterize the manufacturable process and material of the component to be processed.
[0048] Among them, each target coding type is a formal coding type, and each target material code can be a formal material code used in the BOM table at the production end.
[0049] Specifically, the electronic device can pre-configure the target coding type that characterizes the process and material that can be manufactured for all different types of components, as well as the target material coding that characterizes the process and material that can be manufactured, and store them in the mapping relationship between components-target coding type-target material coding. In this way, when determining the material code to be processed corresponding to each position number in the electronic design drawing, it can first be determined based on the above mapping relationship whether the current coding type of each material code to be processed can characterize the process and material that can be manufactured for the component at the corresponding position number. If it is determined that the current coding type of a material code to be processed cannot characterize the process and material that can be manufactured for the component at the corresponding position number, it is determined that the current coding type is not the target coding type of the component corresponding to the material code to be processed, that is, it does not match the target coding type of the corresponding component. At this time, the target material coding corresponding to the target coding type of the component can be determined through the above mapping relationship. According to the above process, the original material codes corresponding to all the position numbers in the electronic design drawing are traversed until the target material codes corresponding to the target coding types of all the material codes to be processed that do not match the current coding type and the target coding type are set.
[0050] Step 130: Replace the code of the material to be processed in the electronic design drawing with the code of the target material.
[0051] Specifically, when the electronic device determines the target material code corresponding to the target coding type of each material code to be processed whose current coding type does not match the target coding type in the electronic design drawing, each target material code can be replaced with the attribute information of the component at the corresponding position number in the electronic design drawing; thereby ensuring that only the target material code exists in the BOM table at the final production end.
[0052] It should be noted that if there are multiple codes of materials to be processed whose current code type does not match the target code type, the above replacement process can be executed in batches or sequentially. The present invention does not make specific limitations on this.
[0053] The drawing coding processing method provided by the embodiment of the present invention, when the current coding type of the material code to be processed in the electronic design drawing does not match the target coding type of its corresponding component, determines the target material code corresponding to the target coding type and replaces the material code to be processed in the electronic design drawing with the target material code; since the target coding type is used to characterize the manufacturable process and material of the corresponding component, combined with the unique identification characteristics of the material code and the bit number, it can achieve the purpose of replacing all the original material codes in the electronic design drawing that cannot characterize the manufacturable process and material of the component with the corresponding bit number with the target material code that characterizes the manufacturable process and material of the corresponding component, avoiding the defects of low efficiency and accuracy of BOM table production at the production end caused by the production end mistakenly using the original material code or the material code that has not been iteratively updated for the production end, and low manufacturability of the product corresponding to the electronic design drawing, achieving the effect of producibility of the drawing device selection, improving the efficiency and accuracy of BOM table production at the production end, ensuring the manufacturability of the drawing device selection, and thus greatly improving the manufacturability of the product corresponding to the electronic design drawing.
[0054] Based on the above Figure 1 In the drawing coding processing method shown, in an exemplary embodiment, the specific acquisition process of step 110 includes the following steps.
[0055] Find the current code type of the material code to be processed from the pre-built code library; the code library includes multiple code types and all material codes under each code type.
[0056] Among them, the current encoding type can be one of multiple encoding types such as a temporary encoding type, a formal encoding type and an abandoned encoding type, and the target encoding type can be a formal encoding type; therefore, it can be understood that the current encoding type and the target encoding type both belong to the encoding library.
[0057] Specifically, the electronic device may be installed with a pre-developed software tool, which has at least a code library construction function, a code search function and a code replacement function, and the constructed code library includes multiple code types such as temporary code types, formal code types and discarded code types, as well as all temporary material codes, all formal material codes and all discarded material codes; alternatively, the above-mentioned code library may also be pre-constructed in the PLM system.
[0058] In this way, the electronic device can input the electronic design drawings and the material codes to be processed of the components at each position number in the electronic design drawings into the software tool through the corresponding software interface, so that the software tool can quickly obtain the current coding type of each material code to be processed found by searching the coding library.
[0059] Alternatively, the electronic device can also use the corresponding software interface to search for the current coding type of each material code to be processed in the coding library constructed on the PLM side. For example, each material code to be processed is compared with all temporary material codes, all formal material codes and all waste material codes in the coding library. When the comparison determines that the corresponding material code to be processed is a temporary material code, a formal material code or a waste material code, the corresponding current coding type can be further obtained.
[0060] The drawing coding processing method provided by the embodiment of the present invention quickly obtains the current coding type of the material coding to be processed in the electronic design drawing based on a pre-built coding library containing different coding types and all material codes belonging to each coding type, thereby improving the accuracy and efficiency of obtaining the coding type.
[0061] Based on the above Figure 1 In the drawing coding processing method shown, in an exemplary embodiment, when the coding library also includes coding conversion paths that characterize the conversion relationship between relevant material codes under different coding types, the target material code corresponding to the target coding type is determined in step 120, and the specific determination process includes the following steps.
[0062] First, the target code conversion path corresponding to the material code to be processed is searched from the code library; then, based on the found target code conversion path, the target material code corresponding to the target code type is determined.
[0063] Specifically, for the coding library constructed in the software tool, or for the coding library constructed on the PLM side, the coding library is not only used to store all material codes under each coding type during the construction process, but also can record the conversion relationship between related material codes under different coding types and store the related material codes before and after each conversion in the form of a coding conversion path.
[0064] Exemplarily, when a temporary material code is converted into a formal material code in a PLM system or a software tool, the PLM system or software tool will automatically record and save the correspondence before and after the conversion in the form of a code conversion path; or, when a formal material code (that is, a target material code) is converted into an obsolete formal code in a PLM system or software tool, the PLM system or software tool can automatically maintain a corresponding alternative target material code for it to ensure that it does not affect subsequent hardware design, and the PLM system or software tool will also record and store the correspondence between the maintained target material code and the obsolete material code in the form of a code conversion path.
[0065] In this way, for the material code to be processed whose current coding type in the electronic design drawing does not match the target coding type, it can be determined that the material code to be processed is a waste material code or a temporary material code. At this time, the electronic device can search the target coding conversion path where the material code to be processed is located from the coding library. When the target coding conversion path is found, the target material code corresponding to the formal coding type can be determined from the target coding conversion path.
[0066] The drawing coding processing method provided by the embodiment of the present invention, when the pre-built coding library also includes the coding conversion path of the conversion relationship between related material codes under different coding types, can quickly and accurately determine the target material code of components whose current coding type does not match the target coding type by searching the coding library, thereby improving the accuracy and reliability of standardized management drawing coding.
[0067] Based on the above Figure 1 In the illustrated drawing coding processing method, in an exemplary embodiment, considering that the new material needs to be converted from the temporary material code application to the formal material code through reliability and manufacturability confirmation, and then through the formal coding conversion mechanism before it can be converted into a formal material code, there may be a temporary material code in the coding library that does not have a corresponding formal material code. At this time, the target material code can be determined by reminding the user to manually maintain the formal material code. Based on this, after searching the target code conversion path corresponding to the material code to be processed from the coding library, the drawing coding processing method provided by the present invention can also perform the following steps.
[0068] First, based on the failed search result of the target code conversion path, the user is prompted to convert the material code to be processed into the target material code; then, based on the conversion result fed back by the user, the target code conversion path is determined, and based on the target code conversion path, the target material code corresponding to the target code type is determined.
[0069] Specifically, when the pending material code whose current coding type does not match the target coding type in the electronic design drawing is a waste material code or a temporary material code, and the target coding conversion path of the pending material code is not found in the coding library, the user can be reminded to manually convert the corresponding waste material code or temporary material code into an alternative target material code in the PLM system or software tool. When the PLM system or software tool obtains the alternative target material code fed back by the user, the correspondence between the material codes before and after the conversion can be recorded as the target coding conversion path, so as to determine the target material code corresponding to the formal coding type from the target coding conversion path.
[0070] The drawing coding processing method provided in the embodiment of the present invention improves the accuracy and flexibility of standardized management of drawing coding by prompting users to manually maintain alternative target material codes when the target code conversion path of the material code to be processed does not exist in the constructed code library, thereby providing reliable guarantee for the production effect of the subsequent production-end BOM table and the production effect of device selection.
[0071] Based on the above Figure 1 In the illustrated drawing coding processing method, in an exemplary embodiment, in order to improve the coding comprehensiveness and coding richness of the coding library, the coding library can be updated in real time based on the replaceable formal material codes corresponding to the abandoned material codes or temporary material codes that do not exist in the coding library. Based on this, after the step of determining the corresponding target material code by user maintenance, the present invention can also perform the following steps.
[0072] The encoding library is updated based on the target encoding conversion path determined through user feedback.
[0073] It should be noted that when a material code to be processed in an electronic design drawing is a temporary material code or a waste material code and the corresponding replaceable formal material code is not found in the PLM system or software tool, the corresponding temporary material code or the corresponding waste material code can be converted into an replaceable formal material code through manual maintenance by the user, and the target code conversion path representing the conversion relationship is recorded at the same time, and then the code library in the PLM system or software tool is synchronously updated according to the recorded target code conversion path; thereby ensuring that the replaceable formal material code corresponding to each temporary material code or each waste material code can be queried from the updated code library in the future; thereby improving the flexibility and convenience of processing drawing codes.
[0074] Based on the above Figure 1In the drawing code processing method shown, in an exemplary embodiment, in step 130, the code of the material to be processed in the electronic design drawing is replaced with the target material code, and the specific replacement process may include the following steps.
[0075] Delete the components to be processed with the corresponding position number of the material code to be processed in the electronic design drawing, and place the target components with the target material code at the position number.
[0076] Specifically, if it is determined that a certain material code to be processed in the electronic design drawing is a temporary material code, and an alternative material code with a conversion relationship with the temporary material code is queried through the code library in the PLM system or software tool, that is, when the target code conversion path of the temporary material code is queried, the corresponding formal material code (that is, the target material code) can be determined, recorded as formal code A; when the target code conversion path is not queried, the corresponding formal material code can also be determined through manual maintenance by the user, such as determining the formal code A; at this time, the components to be processed with the corresponding position number of the temporary material code in the electronic design drawing can be deleted, and based on the device code library containing all types of components and their material codes, the target components corresponding to the target material code (such as formal code A) are determined, and finally the determined formal material code (such as formal code A) and its corresponding target component are placed at the same position number in the electronic design drawing; in this way, the conversion operation of all temporary material codes in the electronic design drawing is completed.
[0077] If it is determined that a certain material code to be processed in the electronic design drawing is a waste material code, and a replaceable material code with a conversion relationship with the waste material code is queried through the code library in the PLM system or software tool, that is, when the target code conversion path of the waste material code is queried, the corresponding formal material code (that is, the target material code) can be determined, recorded as formal code B; then, based on the above-mentioned device code library, the target component corresponding to the target material code (that is, formal code B) is found, the device to be processed with the corresponding position number of the waste formal code in the electronic design drawing is deleted, and the determined formal material code (that is, formal code B) and its corresponding target component are placed at the same position number in the electronic design drawing; thereby completing the replacement operation of all waste material codes in the electronic design drawing.
[0078] It should be noted that, in the case where the alternative material code corresponding to the waste material code does not exist in the coding library, it can be determined that the component to be processed corresponding to the waste material code has been eliminated. At this time, the user can be reminded to manually replace the eliminated component to be processed with other components of the same type but with different parameters and / or manufacturers, and for the other replaced components, determine whether the type of its material code is a formal coding type, and if it is a temporary coding type, determine its formal material code based on the aforementioned constructed coding library or manual maintenance method, or if it is a waste coding type, determine its formal material code based on the aforementioned constructed coding library.
[0079] Based on the above Figure 1 In an exemplary embodiment of the drawing coding processing method shown, considering that all material codes carried by the electronic design drawings are official material codes of components with corresponding position numbers, the final BOM table for production can be generated. Based on this, the drawing coding processing method provided by the present invention can also include the following steps.
[0080] It is determined that all components to be processed at each position number in the electronic design drawing are target components carrying corresponding target material codes, and the production end is instructed to prepare the BOM table of the electronic design drawing.
[0081] It should be noted that, through the aforementioned steps 110 to 130, all temporary material codes and all waste material codes carried by the electronic design drawings can be replaced with the formal material codes of the corresponding components to be processed. At this time, it is determined that the components to be processed at all position numbers in the electronic design drawings are target components carrying the corresponding target material codes, and the production end is instructed to prepare a BOM table for producing the products corresponding to the electronic design drawings accordingly; in this way, engineers can quickly and accurately convert all target components in the electronic design drawings into material requirements with formal material codes, thereby ensuring that the materials selected in the electronic design drawings can be used for production, improving the producible effect of the drawing device selection, prompting users to make the efficiency and accuracy of BOM tables, and also ensuring the producibility of device selection.
[0082] For example, refer to Figure 2 The second flowchart of the drawing coding processing method shown in FIG. Figure 2As shown, the entire drawing device coding method includes obtaining the current coding type of the original material coding of all position numbers in the electronic design drawing, determining the formal material codes corresponding to each temporary material code and each waste material code whose current coding type does not match the target coding type, and replacing each temporary material code and each waste material code with the corresponding formal material code. The current coding type acquisition process, formal material code determination process and material code replacement process involved can be referenced with the aforementioned embodiment, and of course are not limited to the implementation method of the aforementioned embodiment.
[0083] Reference Figure 3 , is a schematic diagram of the structure of a drawing encoding processing device provided by an embodiment of the present invention, such as Figure 3 As shown, the drawing coding processing device 300 includes: an acquisition unit 310, a determination unit 320 and a replacement unit 330.
[0084] The acquisition unit 310 is used to acquire the current code type of the material code to be processed in the electronic design drawing.
[0085] The determination unit 320 is used to determine that the current coding type does not match the target coding type of the component to be processed corresponding to the material code to be processed, and determine the target material code corresponding to the target coding type; the target coding type is used to characterize the manufacturable process and material of the component to be processed.
[0086] The replacement unit 330 is used to replace the code of the material to be processed in the electronic design drawing with the target material code.
[0087] Optionally, the acquisition unit 310 is specifically used to search for the current coding type of the material code to be processed from a pre-built coding library; the coding library includes multiple coding types and all material codes under each coding type.
[0088] Optionally, the determination unit 320 is specifically used to search the target code conversion path corresponding to the material code to be processed from the code library when the code library also includes various code conversion paths that characterize the conversion relationship between relevant material codes under different coding types; based on the found target code conversion path, determine the target material code corresponding to the target code type.
[0089] Optionally, the determination unit 320 is specifically used to prompt the user to convert the material code to be processed into the target material code based on the failed search result of the target code conversion path; determine the target code conversion path based on the conversion result feedback from the user, and determine the target material code corresponding to the target code type based on the target code conversion path.
[0090] Optionally, the replacement unit 330 is specifically configured to update the encoding library based on a target encoding conversion path determined through user feedback.
[0091] Optionally, the replacement unit 330 is specifically used to delete the components to be processed with the position numbers corresponding to the material codes to be processed in the electronic design drawings, and place the target components carrying the target material codes at the position numbers.
[0092] Optionally, the determination unit 320 is specifically used to determine that each component at each position number in the electronic design drawing carries a corresponding target material code, instructing the production end to prepare a BOM table of the electronic design drawing.
[0093] Based on the same idea as the method in the above-mentioned embodiment, the drawing coding processing device provided in the present application can implement the method in the above-mentioned embodiment. For the convenience of explanation, the structural schematic diagram of the device embodiment only shows the parts related to the embodiment of the present application. Those skilled in the art can understand that the illustrated structure does not constitute a limitation on the device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0094] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the following method: obtaining the current coding type of the material code to be processed in the electronic design drawing; determining that the current coding type does not match the target coding type of the component to be processed corresponding to the material code to be processed, and determining the target material code corresponding to the target coding type; the target coding type is used to characterize the manufacturable process and material of the component to be processed; replacing the material code to be processed in the electronic design drawing with the target material code.
[0095] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the relevant technology or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0096] On the other hand, an embodiment of the present invention discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided by the above-mentioned method embodiments, for example, including: obtaining the current coding type of the material code to be processed in the electronic design drawing; determining that the current coding type does not match the target coding type of the component to be processed corresponding to the material code to be processed, and determining the target material code corresponding to the target coding type; the target coding type is used to characterize the manufacturable process and material of the component to be processed; replacing the material code to be processed in the electronic design drawing with the target material code.
[0097] On the other hand, an embodiment of the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the transmission method provided by the above-mentioned embodiments, for example, including: obtaining the current coding type of the material code to be processed in the electronic design drawing; determining that the current coding type does not match the target coding type of the component to be processed corresponding to the material code to be processed, and determining the target material code corresponding to the target coding type; the target coding type is used to characterize the manufacturable process and material of the component to be processed; replacing the material code to be processed in the electronic design drawing with the target material code.
[0098] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0099] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.
[0100] Finally, it should be noted that the above embodiments are only used to illustrate the present invention, rather than to limit the present invention. Although the present invention is described in detail with reference to the embodiments, it should be understood by those skilled in the art that various combinations, modifications or equivalent substitutions of the technical solutions of the present invention do not depart from the spirit and scope of the technical solutions of the present invention, and should be included in the scope of the claims of the present invention.
Claims
1. A drawing coding processing method, characterized in that: include: Get the current code type of the material code to be processed in the electronic design drawing; The current coding type is one of a temporary coding, a formal coding and an abandoned coding; Determine that the current coding type does not match the target coding type of the component to be processed corresponding to the material code to be processed, and determine the target material code corresponding to the target coding type; The target coding type is used to characterize the manufacturable process and materials of the component to be processed, and the target coding type is a formal coding type; Replacing the code of the material to be processed in the electronic design drawing with the code of the target material; Among them, the determination of the target material code corresponding to the target coding type includes: searching for the target coding conversion path corresponding to the material code to be processed from the coding library, the coding library including various coding conversion paths that characterize the conversion relationship between relevant material codes under different coding types; based on the found target coding conversion path, determining the target material code corresponding to the target coding type.
2. The drawing coding processing method according to claim 1, characterized in that: The method of obtaining the current coding type of the material coding to be processed in the electronic design drawing includes: The current coding type of the material coding to be processed is searched from the pre-built coding library; the coding library also includes multiple coding types and all material codes under each coding type.
3. The drawing coding processing method according to claim 1, characterized in that: The method further comprises: Based on the search failure result of the target code conversion path, prompt the user to convert the code of the material to be processed into the target material code; Based on the conversion result fed back by the user, the target code conversion path is determined, and based on the target code conversion path, the target material code corresponding to the target code type is determined.
4. The drawing coding processing method according to claim 3, characterized in that: The method further comprises: The encoding library is updated based on the target encoding conversion path determined through the user feedback.
5. The drawing coding processing method according to any one of claims 1 to 4, characterized in that: The step of replacing the to-be-processed material code in the electronic design drawing with the target material code includes: The components to be processed with the position numbers corresponding to the material codes to be processed in the electronic design drawings are deleted, and target components carrying the target material codes are placed at the positions.
6. The drawing coding processing method according to any one of claims 1 to 4, characterized in that: The method further comprises: It is determined that the components to be processed at each position number in the electronic design drawing are all target components carrying the corresponding target material code, and the production end is instructed to prepare a BOM table of the electronic design drawing.
7. A drawing coding processing device, characterized in that: include: An acquisition unit, used for acquiring the current encoding type of the material encoding to be processed in the electronic design drawing; The current coding type is one of a temporary coding, a formal coding and an abandoned coding; A determination unit, configured to determine that the current coding type does not match a target coding type of the component to be processed corresponding to the code of the material to be processed, and determine a target material code corresponding to the target coding type; The target coding type is used to characterize the process and materials that can be manufactured for the components to be processed, and the target coding type is a formal coding type; wherein, determining the target material coding corresponding to the target coding type comprises: searching for a target coding conversion path corresponding to the material coding to be processed from a coding library, wherein the coding library comprises coding conversion paths that characterize the conversion relationship between relevant material codings under different coding types; determining the target material coding corresponding to the target coding type based on the target coding conversion path found; A replacement unit is used to replace the code of the material to be processed in the electronic design drawing with the code of the target material.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, it implements the drawing encoding processing method as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the drawing encoding processing method as described in any one of claims 1 to 6 is implemented.
