Process diagram automatic drawing method and device, electronic equipment and storage medium
By using automated process drawing methods and devices, and matching order data with drawing template libraries and material databases, process drawings are generated, solving the problems of long time consumption and low accuracy of manual drawing, and realizing efficient and accurate automatic process drawing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGDONG LEHUA HOME FURNISHING CO LTD
- Filing Date
- 2023-02-27
- Publication Date
- 2026-04-21
AI Technical Summary
Manually drawing process diagrams is time-consuming and prone to errors such as missing or incorrect dimensions, incorrect process descriptions, and low accuracy.
By matching order data with a pre-set drawing template library and material database, process drawings are automatically generated. Material data and product dimensions are automatically integrated using template description codes and dimensional formulas to avoid human error.
It significantly shortens the time for drawing process diagrams, improves the efficiency and accuracy of process diagram output, and avoids errors caused by human factors.
Smart Images

Figure CN116244357B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of manufacturing process technology, and in particular to a method and apparatus for automatically drawing process diagrams, electronic equipment, and storage medium. Background Technology
[0002] In related technologies, smart mirrors, smart cabinets, and other engineered products require designers or engineers to draw assembly and material processing drawings according to actual requirements and specifications. However, manually drawing process drawings is time-consuming and prone to problems such as missing or incorrect dimensions and incorrect process descriptions due to human error, resulting in low drawing accuracy. Summary of the Invention
[0003] The main objective of this application is to provide a method, apparatus, electronic device, and storage medium for automatically drawing process diagrams, aiming to shorten the process diagram drawing time and improve the efficiency and accuracy of process diagram output.
[0004] To achieve the above objectives, a first aspect of this application proposes a method for automatically drawing process diagrams, the method comprising:
[0005] Obtain order data for the target product; wherein, the order data includes product model data and product size data;
[0006] The product model data is matched with a preset drawing template library to obtain a target drawing template; wherein, the target drawing template is provided with a target template description code and a target template size formula;
[0007] The target material data is obtained by matching the product model data with a preset material database.
[0008] Substitute the target material data into the target template description code to obtain the target product description;
[0009] Substitute the product size data into the target template size formula to obtain the target product size;
[0010] The target product description and target product dimensions are integrated into the target drawing template to obtain the target process drawing.
[0011] In some embodiments, before the step of matching the product model data with a preset drawing template library to obtain a target drawing template, the method further includes:
[0012] Constructing the drawing template library specifically includes:
[0013] Obtain historical drawing information and reference process drawings for the same product model;
[0014] Based on the historical drawing information, the reference process drawings are standardized to obtain a product drawing template;
[0015] The product drawing templates of different models are packaged and integrated to obtain the drawing template library.
[0016] In some embodiments, the historical drawing information includes historical product descriptions, historical material data, and historical product dimensions; the reference process drawing includes a reference product description and reference product dimensions; and the step of standardizing the reference process drawing based on the historical drawing information to obtain a product drawing template includes:
[0017] Based on the reference product description, the historical product description is filtered to obtain a general product description and a target material description;
[0018] The target material description is coded based on the historical material data to obtain the product template description code;
[0019] Based on the reference product dimensions, the historical product dimensions are formalized to obtain the product template dimension formula;
[0020] The reference process drawing is templated according to the general product description, the product template description code, and the product template size formula to obtain the product drawing template.
[0021] In some embodiments, the method further includes:
[0022] Obtain the updated size data of the target product;
[0023] Substitute the updated size data into the target template size formula to obtain the first updated size;
[0024] The target process drawing is reconstructed based on the first updated dimension to obtain the first updated drawing.
[0025] In some embodiments, the step of reconstructing the target process drawing based on the updated dimension data to obtain a first updated drawing includes:
[0026] The target product size of the target process drawing is replaced according to the first updated size to obtain the first updated drawing;
[0027] or,
[0028] Delete the target process drawing and integrate the target product description and the first updated dimension into the target drawing template to obtain the first updated drawing.
[0029] In some embodiments, the method further includes:
[0030] Obtain an updated drawing template and delete the target drawing template; wherein, the updated drawing template is a new version of the target drawing template, and the updated drawing template has an updated template description code and an updated template size formula;
[0031] Substitute the target material data into the update template description code to obtain the updated product description;
[0032] Substitute the product size data into the update template size formula to obtain the second updated size;
[0033] The updated product description and the second updated dimension are integrated into the updated drawing template to obtain the second updated drawing.
[0034] In some embodiments, the drawing templates in the drawing template library are configured with fixed shapes and fixed frames.
[0035] To achieve the above objectives, a second aspect of this application provides an automatic process drawing apparatus, comprising:
[0036] The data acquisition module is used to acquire order data for the target product; wherein, the order data includes product model data and product size data;
[0037] The first matching module is used to match the product model data with a preset drawing template library to obtain a target drawing template; wherein, the target drawing template is provided with a target template description code and a target template size formula;
[0038] The second matching module is used to match the product model data with a preset material database to obtain target material data;
[0039] The data substitution module is used to substitute the target material data into the target template description code to obtain the target product description; and to substitute the product size data into the target template size formula to obtain the target product size.
[0040] An automatic drawing module is used to integrate the target product description and the target product dimensions into the target drawing template to obtain the target process drawing.
[0041] To achieve the above objectives, a third aspect of this application provides an electronic device comprising:
[0042] At least one memory;
[0043] At least one processor;
[0044] At least one program;
[0045] The program is stored in a memory, and the processor executes the at least one program to implement the method described in the first aspect of this application.
[0046] To achieve the above objectives, a fourth aspect of this application provides a storage medium that is a computer-readable storage medium storing computer-executable instructions for causing a computer to perform:
[0047] As described in the first aspect above.
[0048] The present application discloses an automatic process drawing method, apparatus, electronic device, and storage medium that automatically generates the required product process drawings using order data and a preset drawing template library, eliminating the need for manual drawing and significantly shortening the process drawing time and improving the efficiency of process drawing output. At the same time, by connecting material data and product size data through template description codes and template size formulas, product descriptions and product dimensions are automatically generated on the drawings, avoiding problems such as missing or incorrect dimensions and incorrect process descriptions caused by human factors, and greatly improving the accuracy of the drawings. Attached Figure Description
[0049] Figure 1 This is a flowchart of the automatic process drawing method provided in the embodiments of this application;
[0050] Figure 2 This is a flowchart of a method for automatically drawing process diagrams provided in another embodiment of this application;
[0051] Figure 3 yes Figure 2 The flowchart of step S202 shown is from one embodiment;
[0052] Figure 4 This is a flowchart of a method for automatically drawing process diagrams provided in another embodiment of this application;
[0053] Figure 5 yes Figure 4 The flowchart of step S403 shown is from one embodiment;
[0054] Figure 6 This is a flowchart of a method for automatically drawing process diagrams provided in another embodiment of this application;
[0055] Figure 7 This is a schematic diagram of a lens manufacturing process drawing template for a smart mirror product according to one embodiment of this application:
[0056] Figure 8 This is a schematic diagram of an aluminum profile opening template for a smart mirror product according to one embodiment of this application;
[0057] Figure 9This is a block diagram of the automatic process drawing device provided in the embodiments of this application;
[0058] Figure 10 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0059] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0060] It should be noted that although functional modules are divided in the device schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first," "second," etc., in the specification, claims, and the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0061] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0062] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., may be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring aspects of this disclosure.
[0063] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0064] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily need to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0065] In related technologies, smart mirrors, smart cabinets, and other engineered products require designers or engineers to draw assembly and material processing drawings according to actual requirements and specifications. However, manually drawing process drawings is time-consuming and prone to problems such as missing or incorrect dimensions and incorrect process descriptions due to human error, resulting in low drawing accuracy.
[0066] Based on this, this application proposes an automatic process drawing method and apparatus, electronic device and storage medium, aiming to shorten the process drawing time and improve the efficiency and accuracy of process drawing output.
[0067] Please see Figure 1 The automatic process drawing method proposed in this application includes, but is not limited to, steps S101 to S106:
[0068] Step S101: Obtain order data for the target product; wherein, the order data includes product model data and product size data;
[0069] Step S102: Match the product model data with the preset drawing template library to obtain the target drawing template; wherein, the target drawing template is provided with a target template description code and a target template size formula;
[0070] Step S103: Match the product model data with the preset material database to obtain the target material data;
[0071] Step S104: Substitute the target material data into the target template description code to obtain the target product description;
[0072] Step S105: Substitute the product size data into the target template size formula to obtain the target product size;
[0073] Step S106: Integrate the target product description and target product dimensions into the target drawing template to obtain the target process drawing.
[0074] Steps S101 to S106 as shown in the embodiments of this application automatically generate the required product process drawings through order data and a preset drawing template library, eliminating the need for manual drawing, significantly shortening the process drawing drawing time and improving the efficiency of process drawing output; at the same time, by connecting material data and product size data through template description codes and template size formulas, product descriptions and product dimensions are automatically generated on the drawings, avoiding problems such as missing or incorrect dimensions and incorrect process descriptions caused by human factors, greatly improving the accuracy of the drawings.
[0075] In step S101 of some embodiments, the order data is stored in the order system database, and can be retrieved from the order system when process drawings are required.
[0076] In step S102 of some embodiments, a preset drawing template library contains drawing templates for different types and models of products. The target product is matched with the corresponding drawing template based on the product model data. It should be noted that a drawing template for one product model typically includes multiple process sub-templates. For example, the drawing template for a smart mirror product includes a lens process drawing template, a frame assembly process drawing template, and an aluminum profile opening drawing template.
[0077] In step S103 of some embodiments, it is understood that different types of materials, as well as materials of the same type but different specifications, have different material parameters. Integrating all the material parameters required for production processes yields a material database. One type of product corresponds to several specific types of materials, and this correspondence can be recorded and stored through a material table. The material database is searched for a match based on the product model data to obtain the corresponding material data.
[0078] In steps S104 and S105 of some embodiments, the description code in the drawing template is matched with the material information in the material data. The dimension formula is used to characterize the overall product size and the material usage size, where the material usage size is related to the overall product size. Typically, the overall product size is directly matched with the order data, while the material usage size is calculated based on the overall product size. It should be noted that the drawing template also includes fixed dimension annotations to indicate the fixed dimensional combinations of materials within the product.
[0079] In step S106 of some embodiments, the contents of the drawing template are replaced and updated according to the target product description and target product dimensions to obtain the required process drawings.
[0080] In some embodiments, please refer to Figure 2 Before step S102, the automatic process drawing method of this application further includes:
[0081] Constructing a drawing template library includes, but is not limited to, steps S201 to S203:
[0082] Step S201: Obtain historical drawing information and reference process drawings for the same product model;
[0083] Step S202: Standardize the reference process drawings based on historical drawing information to obtain product drawing templates;
[0084] Step S203: Package and integrate the product drawing templates of different models to obtain the drawing template library.
[0085] Steps S201 to S203, as illustrated in this embodiment, involve standardizing drawings by combining historical drawings and reference drawings to obtain a drawing template for one type of product. Drawing templates for multiple different product models are then integrated into a drawing template library for use in subsequent automated drawing processes, improving the efficiency of process drawing output. It should be noted that the reference process drawings are selected by designers or engineers as standard drawing examples.
[0086] In some embodiments, historical drawing information includes historical product descriptions, historical material data, and historical product dimensions; reference process drawings include reference product descriptions and reference product dimensions. Please refer to [link / reference]. Figure 3 Step S202 includes, but is not limited to, steps S301 to S304:
[0087] Step S301: Filter historical product descriptions based on reference product descriptions to obtain general product descriptions and target material descriptions;
[0088] Step S302: Code the target material description based on historical material data to obtain the product template description code;
[0089] Step S303: Formulate the historical product dimensions based on the reference product dimensions to obtain the product template dimension formula;
[0090] Step S304: The reference process drawing is templated according to the general product description, product template description code and product template size formula to obtain the product drawing template.
[0091] In steps S301 to S304 of the embodiments of this application, the general product description is the part of the product description language that does not involve material parameter information, and it remains unchanged during the drawing process. The target material description is the part of the product description language that corresponds to the material parameter information, and it is automatically matched with the target material data and replaced with the corresponding material information during the drawing process. The relationship between the material size and the overall product size is determined based on the historical product size, thereby constructing the product template size formula. Based on the reference process drawing, the general product description, product template description code, and product template size formula are integrated to construct the product drawing template.
[0092] In some embodiments, please refer to Figure 4 The automatic process drawing method of this application embodiment also includes, but is not limited to, steps S401 to S403:
[0093] Step S401: Obtain updated size data of the target product;
[0094] Step S402: Substitute the updated dimension data into the target template dimension formula to obtain the first updated dimension;
[0095] Step S403: Reconstruct the target process drawing based on the first updated dimension to obtain the first updated drawing.
[0096] In steps S401 to S403 of this embodiment, when order requirements change and product dimensions need to be modified, the product dimension data is automatically updated to the required new dimension data and then re-substituted into the target template dimension formula to obtain the updated product process drawing. This eliminates the need for manual redrawing, saving labor costs and improving drawing efficiency.
[0097] In some embodiments, please refer to Figure 5 Step S403 includes, but is not limited to, steps S501 and S502:
[0098] Step S501: Replace the target product dimensions of the target process drawing with the first updated dimensions to obtain the first updated drawing;
[0099] or,
[0100] Step S502: Delete the target process drawing and integrate the target product description and the first updated dimension into the target drawing template to obtain the first updated drawing.
[0101] In the embodiments of this application, steps S501 and S502, when the product size needs to be modified, can be used to obtain a new process drawing by replacing and updating the size on the original drawing, or a new process drawing can be generated by using the source drawing template.
[0102] In some embodiments, please refer to Figure 6 The automatic process drawing method of this application embodiment also includes, but is not limited to, steps S601 to S604:
[0103] Step S601: Obtain the updated drawing template and delete the target drawing template; wherein, the updated drawing template is a new version of the target drawing template, and the updated drawing template has an updated template description code and an updated template size formula;
[0104] Step S602: Substitute the target material data into the update template description code to obtain the updated product description;
[0105] Step S603: Substitute the product size data into the update template size formula to obtain the second updated size;
[0106] Step S604: Integrate the updated product description and the second updated dimension into the updated drawing template to obtain the second updated drawing.
[0107] In the embodiments of this application, steps S601 to S604, when it is necessary to modify the drawing template, automatically replace the original drawing template with the modified updated drawing template, and substitute the material data and dimension data of the corresponding product into the updated drawing template to regenerate the process drawing. This eliminates the need for designers or engineers to manually modify the drawing after the template has been modified, making drawing template modification convenient, efficient, and quick.
[0108] In some embodiments, the drawing templates in the drawing template library are configured with fixed graphic types and fixed title blocks. By using fixed graphic types and fixed title blocks, the number of process drawings obtained for the same type is the same and the drawing layout is consistent, thereby unifying the drawing style and making it easier for processing personnel to read.
[0109] For illustrative embodiments, please refer to Figure 7 and Figure 8 , Figure 7 This is a schematic diagram of a lens manufacturing process drawing template for a smart mirror product provided in one embodiment of this application. Figure 8 This is a schematic diagram of an aluminum profile opening template for a smart mirror product according to one embodiment of this application. Figure 7 and Figure 8 In this text, W represents the width of the smart mirror, H represents the height of the smart mirror, and descriptions containing text such as “=remarks”, “=order number”, and “=last 6 digits of lens name” are template description codes. Equations composed of letters and numbers such as “=W”, “=H+5-50”, and “=(W+H)*2+20-200” are template size formulas.
[0110] To achieve the above objectives, please refer to Figure 9 This application also proposes an automatic process drawing device, comprising:
[0111] The data acquisition module is used to acquire order data for the target product; the order data includes product model data and product size data.
[0112] The first matching module is used to match the product model data with the preset drawing template library to obtain the target drawing template; wherein, the target drawing template is provided with a target template description code and a target template size formula;
[0113] The second matching module is used to match product model data with a preset material database to obtain target material data;
[0114] The data substitution module is used to substitute target material data into the target template description code to obtain the target product description; and to substitute product size data into the target template size formula to obtain the target product size.
[0115] The automatic drawing module is used to integrate the target product description and target product dimensions into the target drawing template to obtain the target process drawing.
[0116] The working process of the automatic process drawing device in this application embodiment is consistent with the process drawing automatic drawing method, and will not be described again here.
[0117] This application also provides an electronic device, including:
[0118] At least one memory;
[0119] At least one processor;
[0120] At least one program;
[0121] The program is stored in a memory, and the processor executes the at least one program to implement the automatic process drawing method described above in this application. The electronic device can be any smart terminal, including mobile phones, tablets, personal digital assistants (PDAs), and in-vehicle computers.
[0122] Please see Figure 10 , Figure 10 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes:
[0123] The processor can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to achieve the technical solutions provided in the embodiments of this application.
[0124] The memory can be implemented in the form of ROM (Read Only Memory), static storage device, dynamic storage device, or RAM (Random Access Memory). The memory can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory and called and executed by the processor using the automatic process drawing method of the embodiments of this application.
[0125] Input / output interfaces are used to implement information input and output;
[0126] The input / communication interface is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0127] A bus is used to transfer information between various components of a device, such as processors, memory, input / output interfaces, and input / communication interfaces.
[0128] The processor, memory, input / output interface, and input / communication interface are interconnected within the device via a bus.
[0129] This application also provides a storage medium, which is a computer-readable storage medium, storing computer-executable instructions for causing a computer to execute the above-described automatic process drawing method.
[0130] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0131] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of this application, and do not constitute a limitation on the technical solutions provided in this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in this application are also applicable to similar technical problems.
[0132] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.
[0133] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0134] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or appropriate combinations thereof.
[0135] It should be understood that the data used in this way can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in a sequence other than those illustrated or described herein. Furthermore, the terms “comprising” and “having”, and any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such process, method, product, or apparatus.
[0136] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0137] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0138] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0139] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0140] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0141] The embodiments of this application have been described in detail above with reference to the accompanying drawings. However, this application is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of this application. Furthermore, unless otherwise specified, the embodiments and features described in the embodiments of this application can be combined with each other.
Claims
1. A method for automatically drawing process diagrams, characterized in that, The method includes: Obtain order data for the target product; wherein, the order data includes product model data and product size data; The product model data is matched with a preset drawing template library to obtain a target drawing template; wherein, the target drawing template is provided with a target template description code and a target template size formula; The target material data is obtained by matching the product model data with a preset material database. Substitute the target material data into the target template description code to obtain the target product description; Substitute the product size data into the target template size formula to obtain the target product size; The target product description and target product dimensions are integrated into the target drawing template to obtain the target process drawing; Before the step of matching the product model data with a preset drawing template library to obtain the target drawing template, the method further includes: Constructing the drawing template library specifically includes: Obtain historical drawing information and reference process drawings for the same product model; The reference process drawings are standardized based on the historical drawing information to obtain a product drawing template; wherein, the historical drawing information includes historical product descriptions, historical material data, and historical product dimensions, and the reference process drawings include reference product descriptions and reference product dimensions; The product drawing templates of different models are packaged and integrated to obtain the drawing template library.
2. The method according to claim 1, characterized in that, The step of standardizing the reference process drawings based on the historical drawing information to obtain a product drawing template includes: Based on the reference product description, the historical product description is filtered to obtain a general product description and a target material description; The target material description is coded based on the historical material data to obtain the product template description code; Based on the reference product dimensions, the historical product dimensions are formalized to obtain the product template dimension formula; The reference process drawing is templated according to the general product description, the product template description code, and the product template size formula to obtain the product drawing template.
3. The method according to claim 1, characterized in that, The method further includes: Obtain the updated size data of the target product; Substitute the updated size data into the target template size formula to obtain the first updated size; The target process drawing is reconstructed based on the first updated dimension to obtain the first updated drawing.
4. The method according to claim 3, characterized in that, The step of reconstructing the target process drawing based on the first updated size to obtain the first updated drawing includes: The target product size of the target process drawing is replaced according to the first updated size to obtain the first updated drawing; or, Delete the target process drawing and integrate the target product description and the first updated dimension into the target drawing template to obtain the first updated drawing.
5. The method according to any one of claims 1 to 4, characterized in that, The method further includes: Obtain an updated drawing template and delete the target drawing template; wherein, the updated drawing template is a new version of the target drawing template, and the updated drawing template has an updated template description code and an updated template size formula; Substitute the target material data into the update template description code to obtain the updated product description; Substitute the product size data into the update template size formula to obtain the second updated size; The updated product description and the second updated dimension are integrated into the updated drawing template to obtain the second updated drawing.
6. The method according to any one of claims 1 to 4, characterized in that, The drawing templates in the drawing template library are configured with fixed shapes and fixed frames.
7. An automatic process drawing device, characterized in that, The apparatus for automatically drawing process diagrams according to any one of claims 1 to 6 includes: The data acquisition module is used to acquire order data for the target product; wherein, the order data includes product model data and product size data; The first matching module is used to match the product model data with a preset drawing template library to obtain a target drawing template; wherein, the target drawing template is provided with a target template description code and a target template size formula; The second matching module is used to match the product model data with a preset material database to obtain target material data; The data substitution module is used to substitute the target material data into the target template description code to obtain the target product description; and to substitute the product size data into the target template size formula to obtain the target product size. An automatic drawing module is used to integrate the target product description and the target product dimensions into the target drawing template to obtain the target process drawing.
8. An electronic device, characterized in that, include: At least one memory; At least one processor; At least one program; The program is stored in the memory, and the processor executes the at least one program to achieve the following: The method as described in any one of claims 1 to 6.
9. A storage medium, said storage medium being a computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions for causing a computer to perform: The method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Bathroom product customizing and processing method and system
CN107563838A
Automobile wire harness automatic production management method and system
CN112307043A