Two-dimensional drawing aided design method

By assisting in designing models and legend recognition models, standard legend lists are generated, and non-standard component drawings are replaced, the problems of data statistics and irregular design in two-dimensional drawing design are solved, design efficiency and standardization are improved, and network collaboration is enhanced ability.

CN118940339APending Publication Date: 2024-11-12CHINA CITY ENVIRONMENT PROTECTION ENGINEERING LIMITED COMPANY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410995329.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In process design and construction design, there are problems such as difficulty in material statistics, irregular design, weak intelligent auxiliary design capabilities, and insufficient network collaborative support capabilities.

Method used

By assisting in designing models and legend identification models, a standard legend list is generated, drawing attributes are obtained, two-dimensional drawing sketches are generated, non-standard component drawings are replaced, standard legend database is constructed, and the generation of drawing design material tables and component statistics are realized.

Benefits of technology

It solves the problems of component statistics and irregular design drawing, improves the design efficiency and standardization of drawings, and enhances the intelligence of design and network collaboration capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118940339A_ABST
    Figure CN118940339A_ABST
Patent Text Reader

Abstract

The invention provides a two-dimensional drawing aided design method which comprises the following steps: generating a first legend list related to drawing attributes according to the drawing attributes by utilizing an aided design model; the aided design model is configured to generate a first legend list according to input drawing attributes; calling a first legend from a standard legend database according to the first legend list, obtaining coordinate information of the first legend, and generating a two-dimensional drawing sketch; obtaining a preliminary two-dimensional drawing drawn according to the two-dimensional drawing sketch, and inputting the preliminary two-dimensional drawing into the legend recognition model to obtain a second legend list and component coordinate information of the preliminary two-dimensional drawing; the legend recognition model is configured to generate a second legend list contained in a drawing according to the input preliminary two-dimensional drawing; and calling a second legend from the standard legend database according to the second legend list, and replacing the component diagram in the two-dimensional drawing with the second legend to generate a standard two-dimensional drawing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of drawing drawing, and more specifically to a two-dimensional drawing auxiliary design method. Background Art

[0002] In process design and construction design, the site is still accustomed to reading two-dimensional drawings. This situation will continue for a long time. However, there are the following main problems with drawings based on two-dimensional design: Since two-dimensional drawings cannot be physically modeled like three-dimensional entities, there are factors such as different scales, and it is difficult to calculate the statistics of materials and components; because there are ways of marking and explaining in two-dimensional legends, designers can have multiple similar drawing methods for the same legend, and then use text annotations to explain. The legend marking methods are different, and there is no standard unification, which reduces the standardization and is not conducive to statistics; since most design software is graphic computing software, the pursuit direction is mostly stand-alone graphic rendering performance, the network collaboration support capability is weak, and the synchronization and collaboration of design data is difficult; the intelligence is low, and the automated design capability is weak. Summary of the invention

[0003] In view of the above problems, the present disclosure provides a two-dimensional drawing auxiliary design method with a unified legend for convenient statistics.

[0004] The present disclosure provides a two-dimensional drawing auxiliary design method, comprising: using an auxiliary design model to generate a first legend list related to drawing attributes according to drawing attributes; the auxiliary design model is configured to be able to generate a first legend list according to input drawing attributes; the drawing attributes include at least one of a professional field and a project name; according to the first legend list, a first legend is retrieved from a standard legend database, coordinate information of the first legend is obtained, and a two-dimensional drawing sketch is generated; a preliminary two-dimensional drawing obtained by drawing according to the two-dimensional drawing sketch is obtained, and the preliminary two-dimensional drawing is input into a legend recognition model to obtain a second legend list and component coordinate information of the preliminary two-dimensional drawing; the legend recognition model is configured to be able to generate a second legend list contained in the drawing according to the input preliminary two-dimensional drawing; according to the second legend list, a second legend is retrieved from the standard legend database, and the second legend is used to replace the component drawing in the two-dimensional drawing to generate a standard two-dimensional drawing.

[0005] According to an embodiment of the present disclosure, the first legend is retrieved from the standard legend database according to the first legend list, and the process also includes: constructing a standard legend database, including: storing images of standard legends; associating non-drawing information of the image with the image; the non-drawing information includes at least one of a component name, a material list, and a label frame; the label frame includes at least one of a project name and a designer.

[0006] According to an embodiment of the present disclosure, generating a standard two-dimensional drawing also includes: generating a parts list using the first legend list and the second legend list; and generating a drawing design bill of materials based on the parts list and the material bill of materials.

[0007] According to an embodiment of the present disclosure, an auxiliary design model is used to generate a first legend list related to drawing attributes according to drawing attributes, which also includes: receiving sample standard drawings and sample drawing attributes of the sample standard drawings; identifying legend lists contained in the sample standard drawings; merging legend lists with consistent sample drawing attributes to obtain a sample legend list; the auxiliary design model to be trained obtains a predicted first legend list of sample drawing attributes according to the sample legend list and sample drawing attributes; and the auxiliary design model to be trained is trained according to the predicted first legend list and the sample legend list until the error between the predicted first legend list and the sample legend list is within an allowable range.

[0008] According to an embodiment of the present disclosure, the first legend is retrieved from the standard legend database according to the first legend list, the coordinate information of the first legend is obtained, and a two-dimensional drawing sketch is generated, including: obtaining the first legend; obtaining the filtered first legend and coordinate information that needs to be inserted; inserting the first legend into the drawing according to the coordinate information in CAD to generate a two-dimensional drawing sketch.

[0009] According to an embodiment of the present disclosure, a second legend is retrieved from a standard legend database according to a second legend list, and the second legend is used to replace the component drawing in the two-dimensional drawing, including removing the legends in the second legend list that overlap with the first legend list; and the second legend is used to replace the component drawing in the two-dimensional drawing according to the second legend list and component coordinate information.

[0010] According to an embodiment of the present disclosure, a standard two-dimensional drawing is generated, and then the method further includes: identifying standard legends in the standard two-dimensional drawing; in response to a proportion of standard legends exceeding a preset threshold, storing the standard two-dimensional drawing as a sample standard drawing of the auxiliary design model in a sample drawing library.

[0011] The second aspect of the present disclosure provides a two-dimensional drawing auxiliary design device, which is configured to be used to implement the above-mentioned two-dimensional drawing auxiliary design method, including: a legend initial screening module, which is used to use an auxiliary design model to generate a first legend list related to drawing attributes according to drawing attributes; the auxiliary design model is configured to generate a first legend list according to the input drawing attributes; the drawing attributes include at least one of a professional field and a project name; a sketch generation module, which is used to retrieve a first legend from a standard legend database according to the first legend list, obtain the coordinate information of the first legend, and generate a two-dimensional drawing sketch; a legend replacement module, which is used to obtain a preliminary two-dimensional drawing obtained according to the two-dimensional drawing sketch, input the preliminary two-dimensional drawing into a legend recognition model, and obtain a second legend list and component coordinate information of the preliminary two-dimensional drawing; the legend recognition model is configured to generate a second legend list contained in the drawing according to the input preliminary two-dimensional drawing; retrieve a second legend from the standard legend database according to the second legend list, and use the second legend to replace the component drawing in the two-dimensional drawing to generate a standard two-dimensional drawing.

[0012] The third aspect of the present disclosure provides an electronic device, comprising: one or more processors; a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above-mentioned two-dimensional drawing assisted design method.

[0013] The fourth aspect of the present disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the above-mentioned two-dimensional drawing-assisted design method.

[0014] According to the two-dimensional drawing auxiliary design method provided by the present disclosure, by constructing an auxiliary design model, a standard legend is recommended when designing drawings, and the model is identified through the legend. After the preliminary design is completed, omissions are checked and deficiencies are filled, and non-standard component drawings are replaced. Since most of the component drawings in the drawings use standard legends in the standard legend database, the technical problems of difficulty in component statistics and non-standard component drawing are at least partially solved, and the technical effects of reducing the burden of design drawing, improving drawing efficiency, and facilitating component statistics are achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A flowchart of a two-dimensional drawing-assisted design method according to an embodiment of the present disclosure is schematically shown;

[0016] Figure 2 The structure block diagram of the two-dimensional drawing auxiliary design device according to an embodiment of the present disclosure is schematically shown;

[0017] Figure 3 A block diagram of an electronic device suitable for implementing a two-dimensional drawing-assisted design method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0018] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0019] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0020] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0021] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0022] First, the technical terms involved in this disclosure are explained as follows:

[0023] Legend: In mechanical drawings, component drawings, and equipment drawings, legends (also called symbols or marks) are graphical representations used to represent components, equipment, or their specific features. Component drawings are drawings that express the shape, size, and features of individual parts, and are used to manufacture and inspect machine parts. In component drawings, legends mainly include the following aspects: basic views, sectional views, cross-sectional views, and dimensioning: a set of dimensions are used to correctly, completely, and clearly mark the size and position of each part of the part. When dimensioning, certain principles need to be followed, such as direct marking of the main dimensions from the design basis, and marking of general dimensions from the process basis. In equipment installation engineering drawings, legends are used to represent components such as equipment, pipelines, valves, and instruments and their connection relationships. These legends usually include equipment symbols, pipeline symbols, valve and instrument symbols, and connection symbols. Legends are an important part of mechanical drawings and engineering drawings. They represent drawing information in a graphical way. These legends follow certain standards and specifications to facilitate understanding and communication between different personnel. In practical applications, it is necessary to select appropriate legend symbols for annotation according to specific drawing types and requirements. On the basis of the above, the present disclosure collectively refers to the reusable and modular drawing samples in two-dimensional drawings as legends, including material lists, drawing labels and frames, valves, instruments, motors, commonly used bracket structures, commonly used elbow adapters, etc.

[0024] Figure 1 The flowchart of the two-dimensional drawing assisted design method according to an embodiment of the present disclosure is schematically shown. Figure 1 As shown, an embodiment of the present disclosure provides a two-dimensional drawing auxiliary design method, including: S1, using an auxiliary design model to generate a first legend list related to drawing attributes according to drawing attributes; the auxiliary design model is configured to be able to generate a first legend list according to the input drawing attributes; the drawing attributes include at least one of a professional field and a project name; S2, according to the first legend list, a first legend is retrieved from a standard legend database, coordinate information of the first legend is obtained, and a two-dimensional drawing sketch is generated; S3, a preliminary two-dimensional drawing obtained according to the two-dimensional drawing sketch is obtained, the preliminary two-dimensional drawing is input into a legend recognition model, and a second legend list and component coordinate information of the preliminary two-dimensional drawing are obtained; the legend recognition model is configured to be able to generate a second legend list contained in the drawing according to the input preliminary two-dimensional drawing; according to the second legend list, a second legend is retrieved from the standard legend database, and the second legend is used to replace the component drawing in the two-dimensional drawing to generate a standard two-dimensional drawing.

[0025] In this embodiment, the standard legend database collects the graphic representation information and attribute information of the standardized legend, including various commonly used materials, components, equipment lists, tables, headers, and label templates, etc. Through a unified online legend library, the legend is loaded into the local library to open up the design software network.

[0026] Through the embodiments of the present disclosure, due to the high requirements for certainty in the engineering field and the weak openness of industrial software, the current intelligent auxiliary design capabilities are weak, and there is a huge gap with the AIGC capabilities of advertising and graphic design. The present disclosure trains automatic generative auxiliary design, outputs a legend list based on the input project and drawing type, and helps with material estimation and preliminary design in the early stage of design, which greatly reduces the time for manual screening and matching of legends; through the legend recognition model, after the preliminary design is completed, omissions are checked and supplemented, non-standard component drawings are replaced, and the standardization of drawing design is improved.

[0027] On the basis of the above embodiment, the first legend is retrieved from the standard legend database according to the first legend list, which also includes: constructing a standard legend database, including: storing images of standard legends; associating non-drawing information of the image with the image; the non-drawing information includes at least one of the component name, material list and label frame; the label frame includes at least one of the project name and designer.

[0028] In this embodiment, for the input image, the non-drawing information such as density, quality, model, price, etc. will be expanded according to the required attributes of the design. The expansion capability can be customized to expand the non-drawing information according to the needs of the designer. The attributes can optionally include legend name, number, line shape, geometry and elements (straight line, rounded corner, rectangle), relative position relationship of elements, color, layer, etc.

[0029] Through the embodiments of the present disclosure, by establishing a standardized legend database, designers can share and build a common drawing legend library to solve the difficulties in synchronous collaboration of design data. Design software is mostly graphic computing software, and the pursuit direction is mostly stand-alone graphics rendering performance. For the problem of weak network collaboration support capabilities; by sharing a standardized legend database over the network, the material component information in the drawing can be directly counted across drawings and files, the image expression can be unified, and the reuse capability and standardized usage capability can be improved; by associating non-drawing information, two-dimensional drawings can be attached with more information that was not previously available. At the same time, legends and related information are centrally managed to facilitate subsequent inquiries, modifications, and updates.

[0030] Based on the above embodiment, generating a standard two-dimensional drawing also includes: generating a component list using the first legend list and the second legend list; and generating a drawing design material list according to the component list and the material list.

[0031] In this embodiment, a list of components is generated using the legends actually added in the first legend list and the legends actually replaced in the second legend list, and the material bill of materials and the component list of the legend are called to generate an estimated drawing design bill of materials.

[0032] Through the embodiments of the present disclosure, since two-dimensional drawings cannot be physically modeled like three-dimensional entities, there are factors such as different scales, and it is impossible to count information such as the weight and quantity of steel plates, brackets, and steel materials. The drawing design material list is automatically generated according to the parts list and material list, which helps to pre-calculate the materials required for the project, thereby effectively controlling costs.

[0033] On the basis of the above embodiment, the auxiliary design model is used to generate a first legend list related to the drawing attributes according to the drawing attributes, which also includes: receiving sample standard drawings and sample drawing attributes of the sample standard drawings; identifying the legend list contained in the sample standard drawings; merging the legend lists with consistent sample drawing attributes to obtain a sample legend list; the auxiliary design model to be trained obtains a predicted first legend list of the sample drawing attributes according to the sample legend list and the sample drawing attributes; and the auxiliary design model to be trained is trained according to the predicted first legend list and the sample legend list until the error between the predicted first legend list and the sample legend list is within an allowable range.

[0034] Through the embodiments of the present disclosure, by receiving sample standard drawings and sample drawing attributes, the auxiliary design model is trained to predict the legend list, thereby improving the intelligence level of the design.

[0035] On the basis of the above embodiment, the first legend is retrieved from the standard legend database according to the first legend list, the coordinate information of the first legend is obtained, and a two-dimensional drawing sketch is generated, including: obtaining the first legend; obtaining the filtered first legend and coordinate information to be inserted; inserting the first legend into the drawing according to the coordinate information in CAD to generate a two-dimensional drawing sketch.

[0036] Through the embodiments of the present disclosure, the legend is accurately inserted into CAD according to the coordinate information of the first legend, and a two-dimensional drawing sketch is generated, thereby ensuring the accuracy and standardization of the drawing; it supports the screening and insertion of legends according to actual needs, thereby improving the flexibility and adaptability of the design.

[0037] Based on the above embodiment, a second legend is retrieved from a standard legend database according to a second legend list, and the second legend is used to replace the component drawing in the two-dimensional drawing, including removing the legends in the second legend list that overlap with the first legend list; and the second legend is used to replace the component drawing in the two-dimensional drawing according to the second legend list and the component coordinate information.

[0038] In this embodiment, based on the entry of the legend library, similar legends in the original two-dimensional drawings are extracted and judged by attribute name, drawing shape, etc., and the identified parts are automatically replaced and modified; for those with insufficient confidence, manual judgment can be assisted, post-selection judgment can be made, and learning can be strengthened, and the sample set test library can be added to expand the training sample set.

[0039] Through the embodiments of the present disclosure, by removing overlapping legends and replacing part drawings with second legends, the drawing content is optimized to avoid duplication and redundancy; by replacing part drawings with standard legends, the standardization degree and overall quality of drawings are improved, and manually drawn drawings are output in a standardized manner. In addition, stock drawings can be used in a standard legend library after an auxiliary replacement to enhance the overall recognition of drawings.

[0040] Based on the above embodiment, a standard two-dimensional drawing is generated, which then includes: identifying standard legends in the standard two-dimensional drawing; in response to the proportion of standard legends exceeding a preset threshold, the standard two-dimensional drawing is used as a sample standard drawing of the auxiliary design model and stored in a sample drawing library.

[0041] In this embodiment, the proportion of the legend in the graphic refers to the proportion of the legend area and / or the proportion of the number of geometric elements in the drawing.

[0042] Through the embodiments of the present disclosure, for drawings with a sufficient usage rate of legends, they are determined to be standard drawings. Similarly, the project information, drawing name information, designer, design professional information, etc. in the drawing label are read as drawing attributes and entered into the legend drawing library, providing a training material library for model recognition and providing data support for the continuous optimization of the auxiliary design model. With the increase of sample data and iterative training of the model, the prediction accuracy is continuously improved, making the design process more accurate and efficient.

[0043] On the basis of the above-mentioned embodiments, the present disclosure adds drawing labels to the standard drawing database. Through the modeling application of drawings and drawing labels, drawing labels, attachment drawing sizes, drawing numbers, designer information, etc. can be quickly inserted. Drawing catalog information, drawing paper consumption information, drawing number coding, and automatic identification of coding anomalies can be generated through statistics across files and drawings. The drawing labels in the old drawings are updated by calling the standard legend library after identifying the drawing labels in the drawings. For standard drawings, the drawing labels in the standard drawings are added after the legend is identified, and the drawing paper materials, design workload, etc. of the generated drawings are calculated and stored in the standard drawing library. The auxiliary design model can be used to generate predicted drawing paper materials and design workload according to the drawing attributes.

[0044] On the basis of the above-mentioned embodiments, the present disclosure adds the drawing of the material list in the standard legend library. By modeling and applying the legend-material list, the material information can be quickly inserted, and the types and quantities of materials can be counted across drawings, and the weight and other information can be calculated. Optionally, the material list can also include line density, surface density, and steel model, etc. The material list of the old drawing can be updated by calling the standard legend library after identifying the legend in the drawing. For standard drawings, after identifying the legend, the material list of all the legends in the standard drawing is added, and the material list of the drawing is calculated and generated. After being stored in the standard drawing library, the predicted material list can be generated according to the drawing attributes through the auxiliary design model.

[0045] Based on the above two-dimensional drawing assisted design method, the present disclosure also provides a two-dimensional drawing assisted design device. Figure 2 The device is described in detail.

[0046] like Figure 2 As shown, the two-dimensional drawing auxiliary design device 200 of this embodiment includes a legend initial screening module 201, a sketch generation module 202 and a legend replacement module 203.

[0047] The legend screening module is used to generate a first legend list related to the drawing attributes by using the auxiliary design model according to the drawing attributes; the auxiliary design model is configured to generate the first legend list according to the input drawing attributes; the drawing attributes include at least one of a professional field and a project name. In one embodiment, the legend screening module can be used to perform the operation S1 described above, which will not be repeated here.

[0048] The sketch generation module is used to retrieve the first legend from the standard legend database according to the first legend list, obtain the coordinate information of the first legend, and generate a two-dimensional drawing sketch. In one embodiment, the sketch generation module can be used to perform the operation S2 described above, which will not be repeated here.

[0049] The legend replacement module is used to obtain a preliminary two-dimensional drawing obtained by drawing a two-dimensional drawing sketch, input the preliminary two-dimensional drawing into the legend recognition model, and obtain a second legend list and component coordinate information of the preliminary two-dimensional drawing; the legend recognition model is configured to generate a second legend list contained in the drawing according to the input preliminary two-dimensional drawing; according to the second legend list, the second legend is retrieved from the standard legend database, and the second legend is used to replace the component diagram in the two-dimensional drawing to generate a standard two-dimensional drawing. In one embodiment, the legend replacement module can be used to perform the operations S3-S4 described above, which will not be repeated here.

[0050] Figure 3 A block diagram of an electronic device suitable for implementing a two-dimensional drawing-assisted design method according to an embodiment of the present disclosure is schematically shown.

[0051] like Figure 3 As shown, the electronic device 300 according to an embodiment of the present disclosure includes a processor 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage part 308 into a random access memory (RAM) 303. The processor 301 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 301 may also include an onboard memory for caching purposes. The processor 301 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0052] In RAM 303, various programs and data required for the operation of electronic device 300 are stored. Processor 301, ROM 302 and RAM 303 are connected to each other through bus 304. Processor 301 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 302 and / or RAM 303. It should be noted that the program can also be stored in one or more memories other than ROM 302 and RAM 303. Processor 301 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0053] According to an embodiment of the present disclosure, the electronic device 300 may further include an input / output (I / O) interface 305, which is also connected to the bus 304. The electronic device 300 may further include one or more of the following components connected to the I / O interface 305: an input portion 306 including a keyboard, a mouse, etc.; an output portion 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 308 including a hard disk, etc.; and a communication portion 309 including a network interface card such as a LAN card, a modem, etc. The communication portion 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed, so that a computer program read therefrom is installed into the storage portion 308 as needed.

[0054] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0055] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the method provided by the embodiment of the present disclosure.

[0056] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0057] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0058] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A two-dimensional drawing assisted design method, characterized in that: include: Using the auxiliary design model, according to the drawing attributes, generating a first legend list related to the drawing attributes; the auxiliary design model is configured to generate the first legend list according to the input drawing attributes; the drawing attributes include at least one of a professional field and a project name; Retrieving a first legend from a standard legend database according to the first legend list, acquiring coordinate information of the first legend, and generating a two-dimensional drawing sketch; Obtaining a preliminary two-dimensional drawing obtained by drawing the two-dimensional drawing sketch, inputting the preliminary two-dimensional drawing into a legend recognition model, and obtaining a second legend list and component coordinate information of the preliminary two-dimensional drawing; the legend recognition model is configured to generate a second legend list contained in the drawing according to the input preliminary two-dimensional drawing; The second legend is retrieved from the standard legend database according to the second legend list, and the component drawing in the two-dimensional drawing is replaced by the second legend to generate a standard two-dimensional drawing.

2. The method according to claim 1, wherein: The method further includes: retrieving a first legend from a standard legend database according to the first legend list; Build a standard legend database, including: An image storing standard legends; The non-drawing information of the image is associated with the image; the non-drawing information includes at least one of a component name, a material list, and a drawing label frame; the drawing label frame includes at least one of a project name and a designer.

3. The method according to claim 2, wherein: Generate standard 2D drawings, including: Generate a parts list using the first legend list and the second legend list; A drawing design bill of materials is generated according to the parts list and the material bill of materials.

4. The method according to claim 1, wherein: Using the auxiliary design model, according to the drawing attributes, the first legend list related to the drawing attributes is generated, which previously also includes: receiving a sample standard drawing and sample drawing attributes of the sample standard drawing; Identify the list of legends included in said sample standard drawings; Merge the legend lists with consistent attributes of the sample drawings to obtain a sample legend list; The auxiliary design model to be trained obtains a predicted first legend list of sample drawing attributes according to the sample legend list and the sample drawing attributes; The auxiliary design model to be trained is trained according to the predicted first legend list and the sample legend list until the error between the predicted first legend list and the sample legend list is within an allowable range.

5. The method according to claim 1, wherein: Retrieving a first legend from a standard legend database according to the first legend list, acquiring coordinate information of the first legend, and generating a two-dimensional drawing sketch, including: Get the first legend; Get the first legend and coordinate information that need to be inserted after filtering; In CAD, the first legend is inserted into the drawing according to the coordinate information to generate a two-dimensional drawing sketch.

6. The method according to claim 1, wherein: Retrieving a second legend from a standard legend database according to the second legend list, and replacing the component drawing in the two-dimensional drawing with the second legend, comprises: Remove the legends in the second legend list that overlap with the first legend list; According to the second legend list and component coordinate information, the component drawing in the two-dimensional drawing is replaced by the second legend.

7. The method according to claim 1, wherein: Generate standard 2D drawings, and then also include: Identify standard legends in said standard two-dimensional drawings; In response to the proportion of standard legends exceeding a preset threshold, the standard two-dimensional drawing is used as a sample standard drawing of the auxiliary design model and stored in a sample drawing library.

8. A two-dimensional drawing auxiliary design device, characterized in that: The method is configured to be used to implement the two-dimensional drawing-assisted design method according to any one of claims 1 to 7, comprising: A legend preliminary screening module, for generating a first legend list related to drawing attributes according to drawing attributes using an auxiliary design model; the auxiliary design model is configured to generate the first legend list according to input drawing attributes; the drawing attributes include at least one of a professional field and a project name; A sketch generation module, used for retrieving a first legend from a standard legend database according to the first legend list, obtaining coordinate information of the first legend, and generating a two-dimensional drawing sketch; A legend replacement module is used to obtain a preliminary two-dimensional drawing obtained by drawing the two-dimensional drawing sketch, input the preliminary two-dimensional drawing into a legend recognition model, and obtain a second legend list and component coordinate information of the preliminary two-dimensional drawing; the legend recognition model is configured to generate a second legend list contained in the drawing according to the input preliminary two-dimensional drawing; retrieve a second legend from a standard legend database according to the second legend list, and use the second legend to replace the component drawing in the two-dimensional drawing to generate a standard two-dimensional drawing.

9. An electronic device, comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method according to any one of claims 1 to 7.