Element drawing method and device

Through the automated component drawing method, the file library priority is used to find the target library files, which solves the problems of low efficiency and high error rate caused by complex manual operations in component drawing, and achieves efficient and accurate component drawing.

CN120508542APending Publication Date: 2025-08-19LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510572853.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2025-08-19

AI Technical Summary

Technical Problem

In the prior art, the component drawing process requires manual reference to complex and complex data sheets, resulting in extended design cycles, low efficiency and error-prone.

Method used

By obtaining the attribute information of the components to be drawn, using the priority of the file library to find matching target library files from multiple file libraries, and automatically drawing components to reduce manual participation.

Benefits of technology

Improves the efficiency and accuracy of component drawing, reduces the design cycle, and reduces the error rate of manual operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120508542A_ABST
    Figure CN120508542A_ABST
Patent Text Reader

Abstract

The invention discloses an element drawing method and device, and the method comprises the steps: obtaining at least one type of attribute information corresponding to a to-be-drawn element, and determining element characteristic information needed for drawing the to-be-drawn element from the at least one type of attribute information; searching a target library file matched with the element characteristic information from a plurality of file libraries included in a preset file library according to the priority of the file libraries and / or the priority of library files in each file library; and in response to the target library file existing in the preset file library, calling the target library file, and performing element drawing on the to-be-drawn element to obtain a drawing library file corresponding to the to-be-drawn element.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of component drawing technology, and in particular to a component drawing method and device. Background Art

[0002] Currently, schematic and printed circuit board (PCB) library files require manual reference to complex datasheets or manual creation of libraries for each pin and name. This not only consumes a huge amount of time and manpower, but is also prone to errors, ultimately leading to extended design cycles and lower quality and efficiency. Summary of the Invention

[0003] In view of this, the present application provides a component drawing method and device.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] The present invention provides a method for drawing a component, the method comprising:

[0006] Acquire at least one type of attribute information corresponding to the component to be drawn, and determine component characteristic information required for drawing the component to be drawn from the at least one type of attribute information;

[0007] Searching for a target library file that matches the component characteristic information from a plurality of file libraries included in the preset file library according to the priority of the file library and / or the priority of the library files in each file library;

[0008] In response to the existence of the target library file in the preset file library, the target library file is called, and the component to be drawn is drawn to obtain the drawing library file corresponding to the component to be drawn.

[0009] The embodiment of the present application provides a component drawing device, including: a memory, a processor,

[0010] A memory, used to store a preset file library, the preset file library including a plurality of file libraries, each file library including a library file of at least one component;

[0011] The processor is configured to determine component characteristic information required for drawing the component to be drawn from at least one type of acquired attribute information corresponding to the component to be drawn; search for a target library file that matches the component characteristic information from a plurality of file libraries included in a preset file library stored in a memory according to the priority of the file library and / or the priority of the library files in each file library; and if the target library file exists in the preset file library, call the target library file, perform component drawing on the component to be drawn, and obtain a drawing library file corresponding to the component to be drawn.

[0012] It should be understood that the above general description and the detailed description below are merely exemplary and explanatory, and do not limit the technical solutions provided in the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present application. Those skilled in the art can also derive other drawings based on these drawings without inventive work, among which:

[0014] Figure 1 A flowchart of a component drawing method provided for related technology;

[0015] Figure 2 A schematic diagram of a flow chart of a component drawing method provided in an embodiment of the present application;

[0016] Figure 3 A schematic diagram of an exemplary process for determining a target library file provided in an embodiment of the present application;

[0017] Figure 4 A schematic diagram of an exemplary process for determining a drawing library file provided in an embodiment of the present application Figure 1 ;

[0018] Figure 5 A schematic diagram of an exemplary process for determining difference information provided in an embodiment of the present application;

[0019] Figure 6 A schematic diagram of an exemplary process for determining a drawing library file provided in an embodiment of the present application Figure 2 ;

[0020] Figure 7 A schematic diagram of an exemplary process for determining difference information provided in an embodiment of the present application;

[0021] Figure 8 A flowchart of an exemplary method for calling a library file provided in an embodiment of the present application;

[0022] Figure 9 A schematic diagram of an exemplary process for determining a drawing library file provided in an embodiment of the present application Figure 3 ;

[0023] Figure 10 A schematic diagram of an exemplary process for determining a drawing library file provided in an embodiment of the present application Figure 4 ;

[0024] Figure 11A schematic diagram of the structure of text information exemplarily recognized in an embodiment of the present application;

[0025] Figure 12 A schematic diagram of an exemplary structure of image information identified in an embodiment of the present application Figure 1 ;

[0026] Figure 13 A schematic diagram of an exemplary structure of image information identified in an embodiment of the present application Figure 2 ;

[0027] Figure 14 A schematic diagram of the structure of an exemplary identification of component principle information provided in an embodiment of the present application;

[0028] Figure 15 A schematic diagram of a structure of component layout information exemplarily identified in an embodiment of the present application;

[0029] Figure 16 A schematic structural diagram of an exemplary component schematic provided in an embodiment of the present application;

[0030] Figure 17 A schematic structural diagram of an exemplary component layout diagram provided in an embodiment of the present application;

[0031] Figure 18 A schematic diagram of the structure of an exemplary preset file library provided in an embodiment of the present application;

[0032] Figure 19 A schematic diagram of the structure of the information required to draw a schematic diagram provided by an embodiment of the present application;

[0033] Figure 20 A schematic diagram of the structure of the information required to draw a layout diagram provided by an embodiment of the present application;

[0034] Figure 21 A schematic diagram of a structure of an exemplary partially drawn circuit schematic provided in an embodiment of the present application;

[0035] Figure 22 A schematic structural diagram of an exemplary component drawing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0036] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. It should be understood that the specific embodiments described herein are only used to explain the related applications and are not intended to limit the applications. It should also be noted that for ease of description, only the parts relevant to the related applications are shown in the drawings.

[0037] In related technologies, such as Figure 1 As shown, a process for manually building a schematic library (Schsymbol) 11 and a package library (layout footprint lib) 12 is provided, wherein manual 13 reference to complex data manuals or design guides (Datasheet / Design guide) 14 is required to build library files one pin at a time. Such manual design not only takes a huge amount of time, but is also prone to errors, ultimately extending the design cycle, thereby reducing the efficiency and quality of component drawing.

[0038] The embodiment of the present application provides a component drawing method, which is implemented by a component drawing device, such as Figure 2 As shown, the following steps S201 to S203 are included:

[0039] Step S201: Acquire at least one type of attribute information corresponding to the component to be drawn, and determine component characteristic information required for drawing the component to be drawn from the at least one type of attribute information.

[0040] In the embodiments of the present application, the component drawing device is an electronic device with a component drawing function, which may be a tablet computer, a laptop computer, a PDA, a personal digital assistant (PDA), a desktop computer, etc. The specific component drawing device is not limited here.

[0041] In the embodiment of the present application, the component to be drawn may be a component for which a schematic diagram and a PCB diagram need to be drawn, for example, a chip, a central processing unit, an amplifier, or any other component to be drawn.

[0042] In an embodiment of the present application, at least one type of attribute information corresponding to a component to be drawn is information describing the characteristics of the component to be drawn in different dimensions. For example, the at least one type of attribute information may include one or more of image information (visual attribute information), text information, description information (descriptive attribute information), or other information that can be used to determine the characteristics of the component to be drawn. Alternatively, the at least one type of attribute information may include image information of a component similar to the component to be drawn, plus a description of the differences between the component and the image, i.e., visual attribute information and descriptive attribute information.

[0043] For example, if the component to be drawn is adder 1, at least one type of attribute information may be image information or description information corresponding to adder 1, or image information or description information of another adder 2. However, the difference between adder 2 and the component to be drawn (adder 1) needs to be explained so that the component characteristic information of adder 1 can be extracted.

[0044] Exemplarily, the element to be drawn is the adder 1 , and the at least one type of attribute information may be a data sheet or design guide for the adder 1 , presented in a document format, which may include image information and text description information of the adder 1 .

[0045] In an embodiment of the present application, if the attribute information is presented in the form of an image, it is necessary to identify the image information to determine the component characteristic information corresponding to the component to be drawn; if the attribute information is presented in the form of text, it is also necessary to extract the component characteristic information from the text information.

[0046] In an embodiment of the present application, component characteristic information is information that can characterize the characteristics of components, such as mechanical characteristics (component size, pin spacing, and package type), functional characteristics (pin type), physical characteristics (number of pins), identification characteristics (pin name), etc. For example, the information included in the component characteristic information can be set according to actual needs and application scenarios.

[0047] In an embodiment of the present application, when the component to be drawn is very large or has many pins, it will be considered to split the component to be drawn into multiple component sub-units, wherein the multiple component sub-units involve connection relationships. Then, at least one type of attribute information corresponding to the component to be drawn may also include at least one type of attribute information of each of the multiple component sub-units, and the connection relationship between the multiple component sub-units; then, for the component characteristic information extracted from the component sub-unit, on the basis of the component characteristic information determined for one component (without splitting), it may also include the connection relationship of each pin of the multiple pins that have a connection relationship with other component sub-units.

[0048] Step S202 : searching for a target library file that matches the component characteristic information from a plurality of file libraries included in the preset file library according to the priority of the file library and / or the priority of the library files in each file library.

[0049] In an embodiment of the present application, the preset file library may include multiple file libraries. Then, when matching from the preset file library, priorities can be set for the multiple file libraries. For example, the priorities of the multiple file libraries can be set based on the time when the file library was established. For example, the priority of the file library with a time distance from the present is higher. It can also be based on the importance of the library files in the file library, or whether it is simple or complex. Alternatively, the priority can be set based on the category of the file library. For example, the priority setting of the multiple file libraries can be set based on actual needs and application scenarios, which is not limited by this application.

[0050] In an embodiment of the present application, the component drawing device can also set a priority for each library file in the file library. For example, based on the order in which the library files are drawn, the library files drawn first have a lower priority, and the library files drawn later have a higher priority; or, based on the simplicity of the library files, simple ones have a higher priority, and complex ones have a lower priority.

[0051] In an embodiment of the present application, the priorities of multiple file libraries and the priorities of the library files within each file library can also be updated or changed in real time. For example, if the component to be drawn is an amplifier, and multiple file libraries are each equipped with amplifiers, the priority can be set based on the number of library files corresponding to the amplifiers stored in the multiple file libraries. A library file with a larger number of amplifiers has a higher priority, while a library file with a smaller number of amplifiers has a lower priority. Furthermore, within each file library, the priority of the library file named "amplifier" or containing a module is set higher, while the priority of other library files is set lower. Of course, when matching file libraries, only library files with the same library name within the file library are matched, which can further improve matching efficiency.

[0052] In an embodiment of the present application, a target library file that matches the component characteristic information is searched for from multiple file libraries included in a preset file library. Search priorities can be set between multiple library files, and search priorities can also be set for library files in each file library. As for whether to set search priorities between multiple library files, or to set search priorities for library files in each file library, or to set search priorities for multiple file libraries and library files in each file library, it can be set based on actual needs and application scenarios, and this application does not limit this.

[0053] Step S203 : In response to the existence of the target library file in the preset file library, the target library file is called, and the component to be drawn is drawn to obtain the drawing library file corresponding to the component to be drawn.

[0054] In an embodiment of the present application, if a target library file matching the component characteristic information is found in the preset file library, then the target library file is directly called to draw the component to be drawn, and the drawing library file corresponding to the component to be drawn can be obtained.

[0055] In this way, this application sets the priority for searching the target library file, so that the time required to search the target library file is shorter, and further draws the component to be drawn based on the target library file that matches the component characteristic information without manual participation, thereby improving the efficiency of component drawing.

[0056] In some embodiments, the component characteristic information includes first information and second information; the first information and the second information are either component principle information or component layout information; when the component drawing device executes the above step S202 of "searching for a target library file that matches the component characteristic information from multiple file libraries included in the preset file library", as follows Figure 3 As shown, the following steps S301 to S303 may be included:

[0057] Step S301: Search for a library file whose similarity with the first information is greater than a first preset threshold from multiple file libraries, and determine the found library file as the first library file.

[0058] In an embodiment of the present application, when the first information is component principle information, the second information is component layout information; and when the first information is component layout information, the second information is component principle information. For example, the component drawing device may search multiple file libraries for a library file whose similarity to the first information (component principle information or component layout information) is greater than a first preset threshold. If such a library file can be found, the found library file is determined as the first library file.

[0059] In an embodiment of the present application, the first preset threshold may be eighty percent, ninety percent, ninety-five percent, or other percentages. The exemplary first preset threshold may be set based on actual needs and application scenarios, and the present application does not impose any limitation on this.

[0060] For example, the component principle information may include the pin name, pin quantity, and pin type of the pin. Then, if the number of pins of the component to be drawn is 50, then there are 50 pin names, 50 pin types, and 50 pins, and the total number is 150. If one pin name is different, the difference is one hundred and fifty, and the similarity is one hundred and forty-nine out of one hundred and fifty.

[0061] For example, if the component to be drawn includes multiple component sub-units, the component principle information may also include the connection relationships between the multiple component sub-units. Therefore, the principle information determined for the component to be drawn includes the pin name, pin quantity, and pin type of each of the multiple component sub-units, as well as the pin connection relationships between the multiple component sub-units. Thus, the connection relationship of each pin is also considered as a factor in the similarity.

[0062] Exemplarily, component layout information may include component pin coordinates and component dimensions. For example, component dimensions include several dimensions, such as length and width, and 8 pins. If the coordinates of a certain pin are different, the difference is one tenth, and the similarity is nine tenths.

[0063] For example, if the component to be drawn includes multiple component sub-units, the component layout information may also include the connection relationships between the multiple component sub-units. Therefore, the layout information determined for the component to be drawn includes the pin coordinates and sizes of each of the multiple component sub-units, as well as the pin connection relationships. Thus, the connection relationship of each pin is also considered as a factor in the similarity.

[0064] Step S302: Determine a first similarity between the second information and the information corresponding to the first component in the first library file.

[0065] In an embodiment of the present application, if the first information is component principle information, then the first similarity between the component layout information in the first file library and the second information will be determined; if the first information is component layout information, then the similarity between the component principle information in the first file library and the second information will be determined.

[0066] In the embodiment of the present application, how to determine the similarity between component layout information and the similarity between component principle information has been discussed in the above step S301 and will not be repeated here.

[0067] Step S303: In response to the first similarity being greater than a second preset threshold, determining that the first library file is a target library file.

[0068] In an embodiment of the present application, the second preset threshold value may be 80%, 90%, 95%, or other percentages. The exemplary second preset threshold value may be set based on actual needs and application scenarios, and this application does not limit this. In addition, the first preset threshold value and the second preset threshold value may be the same or different, and the relationship between the first preset threshold value and the second preset threshold value may be set based on actual needs and application scenarios, and this application does not limit this.

[0069] In this way, based on the similarity comparison between the information, the target library file that matches the component to be drawn can be determined, and then the component to be drawn can be drawn based on the target library file, which can improve the efficiency of component drawing.

[0070] In some embodiments, when the component drawing device performs the above step S203, Figure 4 As shown, the following steps S401 and S402 may be included:

[0071] Step S401: Determine the difference between target component characteristic information and component characteristic information corresponding to a target component in a target library file.

[0072] In an embodiment of the present application, the component drawing device determines difference information between target component characteristic information corresponding to a target component in a target library file and component characteristic information.

[0073] For example, if the target component has 10 pins and the component to be drawn also has 10 pins, and their names and types are the same, then there will be no discrepancy between the target component characteristic information and the component characteristic information corresponding to the target component in the target library file. If both the target component and the component to be drawn have 10 pins, but one pin has a different type, then the discrepancy will indicate which pin has a different type. For example, pin 2 should be an input pin, not an output pin.

[0074] For example, if the component to be drawn includes multiple component sub-units, then it is also necessary to determine whether the connection relationship of each pin in each component sub-unit corresponds. Then, the difference information can reflect that pin 3 of component sub-unit 1 should be connected to pin 1 of component sub-unit 3, rather than pin 2 of component sub-unit 4.

[0075] Step S402 : in response to the difference information indicating that the similarity between the target component characteristic information and the component characteristic information is higher than a specific threshold, determining the target library file as a drawing library file.

[0076] In an embodiment of the present application, if the difference information represents that the similarity between the target component characteristic information and the component characteristic information is higher than a specific threshold, the specific threshold represents that there is almost no difference between the target component characteristic information and the component characteristic information. If the difference information represents that the similarity between the target component characteristic information and the component characteristic information is higher than a specific threshold, it means that the target library file can be used as a drawing library file.

[0077] In this way, a matching target library file can be directly determined from the preset file library as a drawing library file without the need for adjustment and drawing, which can greatly improve the efficiency of component drawing.

[0078] In some embodiments, the target component characteristic information includes target component principle information and target component layout information; the component characteristic information includes component principle information and component layout information; when the component drawing device executes the above step S401, Figure 5 As shown, the following steps S501 to S503 may also be included:

[0079] Step S501: Determine first difference information between target component principle information and component principle information.

[0080] In an embodiment of the present application, a component drawing device can determine first difference information between target component schematic information and component schematic information. For example, the component schematic information includes the pin names, pin counts, and pin types of the component pins; the target component schematic information includes the pin names, pin counts, and pin types of the target component pins. The component drawing device compares the pin counts of the target component and the component to be drawn to determine whether they are consistent, and to determine whether the pin names and pin types of each pin are consistent, thereby obtaining the first difference information.

[0081] For example, if the component to be drawn includes multiple component sub-units, the first difference information may further determine whether the connection relationship of each pin in each component sub-unit is consistent.

[0082] Step S502: Determine second difference information between the target component layout information and the component layout information.

[0083] In an embodiment of the present application, a component drawing device can determine second difference information between target layout information and component layout information. For example, the target layout information includes the pin coordinates and component size of the component pins of the component to be drawn, and the target layout information also includes the pin coordinates and component size of the component pins of the target component. The component drawing device compares the pin coordinates and component size of each pin to determine whether they are consistent, and determines the comparison result as the second difference information, i.e., the second difference information can reflect the difference between the target component layout information and the component layout information.

[0084] For example, if the component to be drawn includes multiple component sub-units, the second difference information may further determine whether the connection relationship of each pin in each component sub-unit is consistent.

[0085] Step S503: Determine the first difference information and the second difference information as difference information.

[0086] In an embodiment of the present application, after determining the first difference information and the second difference information, the component drawing device determines the first difference information and the second difference information as difference information, and then adjusts the target library file based on the difference information to obtain a drawing library file.

[0087] In this way, the difference between the target component and the component to be drawn can be clearly identified, and then the drawing library file can be determined based on the difference and the target library file corresponding to the target component. The drawing library file can be established based on the target library file without re-establishing the drawing library file, which can improve the efficiency of component drawing.

[0088] In some embodiments, as Figure 6 As shown, the component drawing device may further perform the following steps S601 to S603:

[0089] Step S601 : in response to the difference information indicating that there is a difference between target component characteristic information and component characteristic information, adjusting the target component schematic diagram based on first difference information to obtain a component schematic diagram corresponding to the component to be drawn.

[0090] In an embodiment of the present application, if there is a difference between the target component characteristic information and the component characteristic information, the first difference information is the difference between the schematic diagrams of the target component and the component to be drawn. For example, if the first difference information indicates that the target component has one more pin than the component to be drawn, and the extra pin is an input pin named "int1," then, based on this first difference information, the target component schematic is adjusted by deleting the extra pin in the target component compared to the component to be drawn, namely, the input pin named "int1."

[0091] For example, if the first difference information is that the number of pins of the target component is less than the number of pins of the component to be drawn by an output pin named "out3", then based on the first difference information, the target component schematic diagram can be adjusted by adding an output pin named "out3" to the target component schematic diagram.

[0092] For example, if the first difference information indicates that the target component and the component to be drawn have the same number of pins and the types of the corresponding pins are the same, and only the name of pin 3 is inconsistent, the name of pin 3 should be "int3". At this time, based on the first difference information, the target component schematic diagram can be adjusted by replacing the name of pin 3 with "int3".

[0093] For example, if the component to be drawn includes multiple component sub-units, the first difference information indicates that pin 3 of component sub-unit 1 should be connected to pin 1 of component sub-unit 3, rather than pin 2 of component sub-unit 4. At this time, the adjustment method for the target component schematic based on the first difference information is to replace pin 3 of sub-unit 1 from pin 2 of component sub-unit 4 to pin 1 of component sub-unit 3.

[0094] Step S602: Based on the second difference information, adjust the target component layout diagram to obtain a component layout diagram corresponding to the component to be drawn.

[0095] In an embodiment of the present application, the second difference information is represented by the difference between the target component and the layout diagram of the component to be drawn; for example, if the second difference information is that the coordinates of pin 1 of the target component and pin 1 of the component to be drawn are inconsistent, the difference is the distance, or the adjustment method is: adjust the first distance in the first direction, and adjust the layout diagram of the target component based on the second difference information. The adjustment method can be to adjust pin 1 in the first direction by the second distance to obtain the component layout diagram.

[0096] For example, if the component to be drawn includes multiple component sub-units, the first difference information indicates that pin 3 of component sub-unit 1 should be connected to pin 1 of component sub-unit 3, rather than pin 2 of component sub-unit 4. At this time, the adjustment method for the target layout schematic based on the second difference information is to replace pin 3 of sub-unit 1 from pin 2 of component sub-unit 4 to pin 1 of component sub-unit 3. Of course, this may also involve inconsistent pin coordinates or adjustments to sizes.

[0097] Step S603: Determine the component characteristic information, the component layout diagram, and the component schematic diagram as a drawing library file.

[0098] In an embodiment of the present application, the component drawing device determines the component characteristic information, the component layout diagram, and the component schematic diagram as a drawing library file.

[0099] In this way, based on the existing target library file, modifications are made based on the difference information without the need to rebuild the drawing, which improves the efficiency of component drawing.

[0100] In some embodiments, after the component drawing device performs the above step S601 of "adjusting the target component schematic diagram based on the first difference information to obtain the component schematic diagram corresponding to the component to be drawn", Figure 7 As shown, the following steps S701 and S702 may be included:

[0101] Step S701: Generate a component layout diagram corresponding to the component to be drawn based on the component schematic diagram and component layout information.

[0102] In an embodiment of the present application, after the component drawing device determines the component schematic diagram, the component drawing device can directly generate an initial component layout diagram based on the component schematic diagram, and verify the initial component layout diagram based on the component layout information. If they are consistent, the initial component layout diagram is determined as the component layout diagram corresponding to the component to be drawn; if they are inconsistent, the initial component layout diagram is adjusted based on the component layout information to obtain the component layout diagram.

[0103] For example, after determining the initial component layout diagram, the component drawing device will verify each information in the component layout information with the component layout diagram one by one, and record inconsistent information. Based on the recorded inconsistent information, the initial component layout diagram is adjusted to obtain the component layout diagram.

[0104] Step S702: Determine the component characteristic information, the component layout diagram, and the component schematic diagram as a drawing library file.

[0105] In an embodiment of the present application, the component drawing device may determine the component characteristic information, the component layout diagram, and the component schematic diagram as a drawing library file.

[0106] In this way, the component drawing device may not execute the above step S602, and directly execute step S601, and then execute steps S701 and S702.

[0107] In this way, the component drawing device can determine the drawing library file corresponding to the component to be drawn based on different methods, and the flexibility of component drawing is high.

[0108] In some embodiments, after executing the above steps S203, S603, and S702 of "obtaining the drawing library file corresponding to the component to be drawn", the component drawing device may further execute the following steps: in response to detecting that the target information in the drawing library file is updated, updating the drawing library file based on the updated target information; wherein the target information includes at least one of the component characteristic information, the component layout diagram, and the component schematic diagram in the drawing library file.

[0109] In an embodiment of the present application, if any of the component characteristic information, component layout diagram, and component schematic diagram included in the drawn drawing library file is updated, the entire drawing library file needs to be updated synchronously.

[0110] For example, if the component characteristic information of the component to be drawn is modified by the user, the component drawing device will determine the updated content (target information) and synchronously update the corresponding component layout diagram and component schematic diagram based on the updated content.

[0111] For example, if a name in the component schematic diagram of the component to be drawn is changed by the user, the component drawing device will update the information corresponding to the name in the component characteristic information.

[0112] In this way, based on the update of a certain information in the drawing library file, other information in the drawing library file can be updated synchronously, which can improve the efficiency of component drawing, the accuracy of the library file, and the matching degree between information.

[0113] In some embodiments, after executing the above steps S203, S603, and "obtaining the drawing library file corresponding to the component to be drawn" in step S702, the component drawing device may further execute the following steps: setting the file library to which the drawing library file belongs, and its priority in the file library to which it belongs, and updating the drawing library file to the preset file library.

[0114] In an embodiment of the present application, after obtaining the drawing library file, the component drawing device can set the file library to which the drawing library file belongs. For example, if multiple file libraries are divided based on drawing time, then the drawing library file can be placed in the file library with the closest drawing time. If multiple file libraries are divided based on component category, the category of the component to be drawn can be determined and then placed in the file library corresponding to its category.

[0115] In an embodiment of the present application, after placing the drawing library file in the file library to which it belongs, the component drawing device can also set the priority of the drawing library file in the file library to which it belongs. If the priority is set based on the drawing time, the drawing library file can be determined as the library file with the highest priority in the file library to which it belongs. If the priority is set based on file size, file category, or other factors, the priority of the drawing library file in the file library to which it belongs is set accordingly. The exemplary method of setting the priority can be set according to actual needs and application scenarios.

[0116] In an embodiment of the present application, if the file library corresponding to the drawing library file and the corresponding priority are determined, the drawing library file is updated to the corresponding file library in the preset file library.

[0117] In this way, after the library file is drawn, the preset file library is updated in a timely manner based on the drawing library file, which improves the timeliness of the preset file library update, increases the success rate of component matching, and further improves the efficiency of component drawing.

[0118] For example, Figure 8 As shown, a flowchart of an exemplary library file calling method is provided, including steps S801 to S805:

[0119] Step S801: Obtain document information.

[0120] Here, the component drawing device uses artificial intelligence (AI) to obtain document information, where the document information can be a data sheet or design guide corresponding to the component to be drawn, presented in the form of PDF.

[0121] Step S802: calibrate the memory bank priority.

[0122] Here, the component drawing device will calibrate the priorities among multiple file libraries in the preset file library.

[0123] Step S803: Intelligent dynamic detection begins.

[0124] Here, the component drawing device starts intelligent dynamic detection.

[0125] Step S804: Obtain inventory data.

[0126] Here, the component drawing device obtains the stock library data (preset database) based on the priorities among the calibrated multiple file libraries, and intelligently and dynamically detects whether there is a target library file that matches the document information.

[0127] Step S805: Determine the similarity.

[0128] Here, if the similarity of the component drawing device is less than a specific threshold (90 percent), it does not exist and is discarded. It is regenerated based on the description document information to obtain the corresponding drawing library file.

[0129] Step S806: Update the inventory library.

[0130] Here, based on the newly generated drawing library file, the stock library (preset file library) is updated.

[0131] In this way, without manual intervention, the existing library files in the preset file library can be directly called to draw the drawing library files corresponding to the components to be drawn, thereby improving the efficiency of component drawing.

[0132] In some embodiments, the component characteristic information includes: component principle information and component layout information; Figure 9 As shown, the component drawing device may further perform the following steps S901 to S903:

[0133] Step S901 : In response to the absence of a target library file in a preset file library, generating a corresponding component layout diagram based on component layout information; the component layout information includes at least one of component pin coordinates and component size.

[0134] In an embodiment of the present application, if the target library file does not exist in the preset file library, a corresponding component layout diagram can be generated directly based on the component layout information. The component layout information includes at least one of the component pin coordinates and the component size. If the component to be drawn includes multiple component subunits, the component layout information may also include the connection relationships between the multiple component subunits.

[0135] In an embodiment of the present application, component layout information is information determined from at least one type of attribute information corresponding to the component to be drawn obtained in step S201. Exemplarily, this determination can be based on AI recognition, recognizing image information in the at least one type of attribute information as textual information, and identifying key information from the existing textual information. The key information includes component pin coordinates and component dimensions in the component layout information. If the component to be drawn includes multiple component subunits, the component layout information may also include the connection relationships between the multiple component subunits.

[0136] In an embodiment of the present application, after determining the component layout information, the component drawing device can directly create a component layout diagram corresponding to the component to be drawn based on the component layout information. For example, the area required for the component can be planned according to the component size, and the hole position can be planned according to the component pin coordinates to obtain the component layout diagram, and the perforation and routing methods can be set based on the connection relationship between the component sub-units.

[0137] In an embodiment of the present application, after the component drawing device obtains the component layout diagram, it will verify the component layout diagram based on the component layout information to determine whether the drawn component layout diagram is consistent with the component layout information representation. If inconsistent, the inconsistent parts will be recalibrated until the component layout information is consistent with the component pin coordinates and component dimensions in the component layout diagram. If the component to be drawn includes multiple component sub-units, it can also be considered whether the connection relationships between the multiple component sub-units are consistent.

[0138] Step S902: Generate a corresponding component schematic diagram based on the component schematic information; the component schematic information includes at least one of the pin name, pin quantity, and pin type of the component pins.

[0139] In an embodiment of the present application, if the target library file does not exist in the preset file library, the corresponding component schematic diagram can be directly generated based on the component schematic information, wherein the component schematic information includes at least one of the pin name, pin number, and pin type of the component pin.

[0140] In an embodiment of the present application, component principle information is information determined from at least one type of attribute information corresponding to the component to be drawn, obtained in step S201. Exemplarily, this determination can be based on AI recognition, recognizing image information in at least one type of attribute information as textual information, and identifying key information from the existing textual information. The key information includes the pin names, pin counts, and pin types of the component pins in the component principle information. If the component to be drawn includes multiple component subunits, the component principle information may also include the connection relationships between the multiple component subunits.

[0141] In an embodiment of the present application, after determining the component principle information, the component drawing device can directly create a component schematic corresponding to the component to be drawn based on the component principle information. For example, the component pins are arranged according to the number of pins of the component, and the pin name and pin type of each pin are set according to the pin name and pin type of the component pin to obtain the component schematic. If the component to be drawn includes multiple component sub-units, connections between the multiple component sub-units can also be established based on the connection relationship between the multiple component sub-units included in the component principle information.

[0142] In an embodiment of the present application, after the component drawing device obtains a component schematic, it verifies the component schematic based on the component schematic information to determine whether the drawn component schematic is consistent with the component schematic information. If not, the inconsistent parts are recalibrated until the component schematic information is consistent with the pin name, pin number, and pin type of the component pins in the component schematic. If the component to be drawn includes multiple component sub-units, it can also be considered whether the connection relationships between the multiple component sub-units are consistent.

[0143] Step S903: Determine the component characteristic information, the component layout diagram, and the component schematic diagram as a drawing library file.

[0144] In an embodiment of the present application, the component drawing device may determine component characteristic information, component layout information, and component schematic diagram as a drawing library file.

[0145] In an embodiment of the present application, when generating a drawing library file, the execution order may also be the restrictive step S902, followed by step S701 and step S702.

[0146] In this way, when the target library file does not exist in the preset file library, it can be directly generated based on the component layout information and component principle information without manual participation, which can improve the efficiency of component drawing.

[0147] like Figure 10 As shown, a flowchart of an exemplary component drawing method is provided, including the following steps S1001 to S1008:

[0148] Step S1001: Obtain a data sheet or design guide.

[0149] Here, the component drawing device can obtain a data sheet or a design guide.

[0150] Step S1002: remove the watermark.

[0151] Here, the component drawing device can remove the watermark logo in the data book or design guide.

[0152] Step S1003: accurate information and pictures.

[0153] Here, the component drawing device removes the watermark in the data sheet or design guide and obtains accurate information and pictures, that is, accurate information and pictures related to the component to be drawn. For example, when drawing a schematic diagram, the corresponding accurate information (see Figure 11 The text information shown in the , including the description information of each pin (Pin Descriptions) (including the pin name (Pin Name), pin number (Pin No.), pin type (I / O Type), and pin description (Description)) and pictures (picture information of the component to be drawn, see Figure 12 ); when drawing the layout, the corresponding accuracy information and pictures (see Figure 13 , including image information of the element to be drawn 130 at different angles: the first surface 131 , the side surface 132 , and the second surface 133 of the element to be drawn 130 ).

[0154] Step S1004: Identify key information.

[0155] Here, the component drawing device uses AI to identify key information related to the component to be drawn, including converting accurate information into text information and converting pictures into text information. The converted text information is the information required for drawing the component to be drawn. For example, when drawing a schematic diagram, based on the corresponding accurate information (see Figure 11 ) and pictures (see Figure 12 ) to obtain the component principle information (see Figure 14 ); when drawing the layout, the corresponding accuracy information and pictures (see Figure 13 , the first surface 131, the side surface 132, and the second surface 133 of the component to be drawn), and the component layout information is identified (see Figure 15 ).

[0156] Step S1005: Generate a schematic library.

[0157] Here, the component drawing device is based on the identified key information (component principle information) (see Figure 14 ), generate the schematic (see Figure 16 ).

[0158] Step S1006: Generate a layout library.

[0159] Here, the component drawing device is based on the identified key information (component layout information) (see Figure 15 ), generate a layout diagram (see Figure 17 ).

[0160] It should be noted that there is no order in which step S1105 and step S1106 are performed.

[0161] Step S1007: Update the inventory library.

[0162] Here, the stock library is the preset file library discussed above (see Figure 18 ), here the stock library is updated based on the drawing library file, such as Figure 18 As shown, the preset file library includes multiple file libraries: file library 1, file library 2, file library 3, and file library 4. Only four file libraries are shown here, and the number of multiple file libraries can be any number. Here, the priorities of file library 1, file library 2, file library 3, and file library 4 are 1, 2, 3, and 4.

[0163] Step S1008: consistency check.

[0164] Here, the component drawing equipment will use AI to perform consistency verification, using the identified accurate information and images for verification. Of course, verification can also be performed based on key information extracted by AI.

[0165] In an embodiment of the present application, the component drawing method can also be executed by an AI model or AI agent, including an upper-level application input interface. For example, the component drawing application can be called an electronic design automation (EDA) intelligent drawing application. After opening the application, the application interface is used to receive information input by the user. The EDA intelligent drawing application can call the AI model or AI agent to analyze and extract component characteristic information. The AI model or AI agent matches and searches the preset file library to obtain the target library file, and then draws based on the target library file, or directly draws based on the component characteristic information to obtain a drawing library file. After obtaining the drawing library file, it can also receive user corrections and then synchronously correct other information in the library file.

[0166] Exemplarily, the intelligent library building method may include: S1, AI identifies datasheet information (document information) to extract accurate table data; S2, AI extracts results based on the table, and different types of pin coordinates, size information, combined with general library building specifications, stock library (preset database) reuse and adaptation; S3, AI customizes process parameters to create symbols and packages (component schematics and component layout diagrams); S4, AI consistency verification, platform export, network (web) management. This intelligent library building method allows AIPC to identify the required library file calls faster and more accurately, and uses a memory library sorting (setting priority) method that is faster and quicker than ordinary PC calls. In addition, it saves less resources of the AIPC's neural network processor (Neural Network Processing Unit, NPU) independent graphics card, saving power.

[0167] In this way, by customizing the EDACopilot software to implement AI-based PDF content recognition: semantic recognition, intelligent recognition of drawing annotations, and intelligent database construction, it provides engineers with a convenient, fast and efficient working mode, which is different from existing design tools, and maximizes the savings of resources and project design cycles.

[0168] In the embodiment of the present application, for example, based on the component drawing method discussed in the embodiment of the present application, 15 new circuit diagram symbols (schematic diagrams) (such as Figure 19 ) can save an engineer two days of time; 15 new layout diagrams (such as Figure 20 The creation of the model (shown) can save one engineer three days of work.

[0169] In an embodiment of the present application, the component drawing device can also obtain at least one type of attribute information for a complete circuit to be drawn. The circuit to be drawn includes the multiple components to be drawn as described above, and the connection relationship between the multiple components to be drawn. Then, the at least one type of attribute information will include at least one type of attribute information corresponding to each of the multiple components to be drawn, and the connection relationship between the multiple components to be drawn. In this way, the component drawing device will draw each component to be drawn in the circuit to be drawn according to the above-mentioned component drawing method, and will also take into account the connection relationship between the multiple components to be drawn, connect the corresponding multiple components to be drawn, and obtain a drawing circuit schematic diagram corresponding to the circuit to be drawn, as well as a drawing circuit layout diagram.

[0170] In an embodiment of the present application, the at least one type of attribute information may be graphical information or text information (in PDF format) of the circuit to be drawn, or image information of a similar circuit to be drawn, as well as distinguishing information of a specific text description. In this way, the component drawing device determines the circuit characteristic information required to draw the circuit to be drawn based on the at least one type of information corresponding to the circuit to be drawn. The circuit characteristic information includes multiple component characteristic information corresponding to multiple components to be drawn, as well as the connection relationships between the multiple components to be drawn.

[0171] In an embodiment of the present application, a corresponding circuit library file is also set for the entire circuit in the preset file library. Then, when the circuit to be drawn is obtained, the component drawing device can also match the target circuit library file based on the component characteristic information of each component to be drawn in the obtained circuit to be drawn and the connection relationship between multiple components to be drawn (circuit characteristic information), and then call the target circuit library file to draw the circuit to be drawn to obtain the drawn circuit library file.

[0172] In an embodiment of the present application, during the process of drawing a circuit library file, the similarity matching involved in the call, in addition to matching each of the multiple components to be drawn as mentioned above, also considers the similarity of the connection relationships between the multiple components to be drawn. This is a superposition of the similarity judgments of the multiple components to be drawn and the similarity judgments of the connection relationships between the multiple components to be drawn, ultimately finding the target circuit library file. It should be noted that the circuit library files corresponding to the multiple circuits in the preset file library and the file libraries to which they belong can also be set with corresponding priorities, or the circuit library files can be directly mixed and stored with the above-mentioned component library files, or of course they can be stored independently.

[0173] In an embodiment of the present application, the method of searching for the target circuit library file from a preset file library can also be based on similarity matching of component principle information or component layout information of multiple components to be drawn, as well as the connection relationship between multiple components to be drawn, to determine the target circuit library file.

[0174] In an embodiment of the present application, difference information between a target circuit corresponding to a target circuit library file and a circuit to be drawn is determined, which may include first difference information between schematic diagrams of multiple components to be drawn and corresponding target components and second difference information between layout diagrams, which may also include differences in connection relationships between multiple drawing components.

[0175] For example, if the difference information is characterized as the difference between the target circuit schematic diagram and the target circuit schematic diagram is: pin 5 of component 1 to be drawn should be connected to pin 2 of component 3 to be drawn, not pin 3 of component 2 to be drawn, then, when drawing the circuit to be drawn based on the target circuit library file, the target circuit library file is adjusted as follows: replace the connection relationship between pin 5 of component 1 to be drawn and pin 3 of component 2 to be drawn with pin 5 of component 1 to be drawn and pin 2 of component 3 to be drawn, and obtain the corresponding circuit schematic diagram.

[0176] In an embodiment of the present application, after the circuit schematic diagram is determined, a circuit layout diagram can be generated directly based on the circuit schematic diagram, or the target circuit layout diagram can be adjusted based on the difference between the target circuit layout diagram to obtain the circuit layout diagram.

[0177] In an embodiment of the present application, if there is updated information in the circuit characteristic information, circuit schematic diagram or circuit layout diagram in the drawing circuit library file, then the corresponding drawing circuit library file is updated based on the updated information.

[0178] In an embodiment of the present application, if the target circuit library file does not exist in the preset file library, then the corresponding circuit schematic diagram and circuit layout diagram can be directly generated based on the circuit principle information and circuit layout information in the circuit characteristic information, wherein the circuit principle information includes not only the component principle information corresponding to the multiple components to be drawn, but also the connection relationship between the multiple components to be drawn. The circuit layout information includes not only the component layout information corresponding to the above-mentioned multiple components to be drawn, but also the connection relationship between the multiple components to be drawn. If, in the process of drawing the circuit layout diagram, multiple layers are involved, it will also include the signal layer, the setting method of the ground layer, as well as perforation, routing method and other information.

[0179] like Figure 21 As shown, part of the circuit to be drawn includes multiple components to be drawn, and the multiple components to be drawn are C27, C28, C29, C31, MAX262, and J2, where C is a capacitor, MAX262 is a chip model, and J is a relay module.

[0180] In this way, the present application can automatically draw a single component, a component including multiple component sub-units, and a circuit including multiple components to be drawn, thereby improving the efficiency and accuracy of the drawing.

[0181] An embodiment of the present application provides a component drawing method, the method comprising: obtaining at least one type of attribute information corresponding to a component to be drawn, and determining component characteristic information required for drawing the component to be drawn from the at least one type of attribute information; searching for a target library file that matches the component characteristic information from multiple file libraries included in a preset file library according to the priority of the file library and / or the priority of the library files in each file library; in response to the existence of a target library file in the preset file library, calling the target library file, drawing the component to be drawn, and obtaining a drawing library file corresponding to the component to be drawn. The component drawing method provided by the present application shortens the time required to search for the target library file by setting the priority of searching for the target library file, and further draws the component to be drawn based on the target library file that matches the component characteristic information, without manual intervention, thereby improving the efficiency of component drawing.

[0182] The embodiment of the present application provides a component drawing device 22, such as Figure 22 As shown, the component drawing device includes: a memory 221 and a processor 222;

[0183] The memory 221 is used to store a preset file library, which includes multiple file libraries, each of which includes a library file of at least one component;

[0184] Processor 222 is used to determine component characteristic information required for drawing the component to be drawn from at least one type of attribute information corresponding to the component to be drawn obtained; according to the priority of the file library and / or the priority of the library files in each file library, search for a target library file that matches the component characteristic information from multiple file libraries included in the preset file library stored in the memory; and if the target library file exists in the preset file library, call the target library file to draw the component to be drawn, and obtain the drawing library file corresponding to the component to be drawn.

[0185] In one embodiment of the present application, the component characteristic information includes first information and second information; the first information and the second information are either component principle information or component layout information respectively; the processor 222 is further used to search for a library file whose similarity with the first information is greater than a first preset threshold from multiple file libraries, and determine the found library file as the first library file; determine the first similarity between the second information and the corresponding information in the first library file; in response to the first similarity being greater than the second preset threshold, determine the first library file as the target library file.

[0186] In one embodiment of the present application, the processor 222 is further configured to determine difference information between target element characteristic information and element characteristic information corresponding to the target element in the target library file; in response to the difference information indicating that the similarity between the target element characteristic information and the element characteristic information is higher than a specific threshold, the target library file is determined to be a drawing library file.

[0187] In one embodiment of the present application, the target element characteristic information includes target element principle information and target element layout information; the element characteristic information includes element principle information and element layout information; the processor 222 is further used to determine first difference information between the target element principle information and the element principle information; determine second difference information between the target element layout information and the element layout information; and determine the first difference information and the second difference information as difference information.

[0188] In one embodiment of the present application, the processor 222 is further used to respond to the difference information representing the difference between the target component characteristic information and the component characteristic information, adjust the target component schematic diagram based on the first difference information to obtain the component schematic diagram corresponding to the component to be drawn; adjust the target component layout diagram based on the second difference information to obtain the component layout diagram corresponding to the component to be drawn; and determine the component characteristic information, the component layout diagram, and the component schematic diagram as a drawing library file.

[0189] In one embodiment of the present application, the processor 222 is further configured to generate a component layout diagram corresponding to the component to be drawn based on the component schematic diagram and component layout information; and determine the component characteristic information, component layout diagram, and component schematic diagram as a drawing library file.

[0190] In one embodiment of the present application, the processor 222 is further configured to, in response to detecting an update of target information in a drawing library file, update the corresponding drawing library file based on the updated target information; wherein the target information includes at least one of component characteristic information, component layout diagram, and component schematic diagram in the drawing library file.

[0191] In an embodiment of the present application, the processor 222 is further configured to set the file library to which the drawing library file belongs and its priority in the file library to which it belongs, and to update the drawing library file to the preset file library.

[0192] In one embodiment of the present application, the processor 222 is further used to generate a corresponding component layout diagram based on the component layout information in response to the absence of a target library file in a preset file library; the component layout information includes at least one of the component pin coordinates and the component size; generate a corresponding component schematic diagram based on the component principle information; the component principle information includes at least one of the pin name, pin number, and pin type of the component pin; and determine the component characteristic information, the component layout diagram, and the component schematic diagram as a drawing library file.

[0193] An embodiment of the present application provides an exemplary electronic device, comprising at least one processor and at least one processing model capable of running on the processor, wherein the processing model can be called by a target application (the above-mentioned EDA intelligent drawing application) to execute all component drawing methods executed by the above-mentioned component drawing device.

[0194] An embodiment of the present application provides a component drawing device that obtains at least one type of attribute information corresponding to a component to be drawn, and determines the component characteristic information required to draw the component to be drawn from the at least one type of attribute information; searches for a target library file that matches the component characteristic information from multiple file libraries included in a preset file library according to the priority of the file library and / or the priority of the library files in each file library; and in response to the existence of the target library file in the preset file library, calls the target library file, draws the component to be drawn, and obtains the drawing library file corresponding to the component to be drawn. The component drawing device provided by the present application shortens the time required to search for the target library file by setting the priority of searching for the target library file. Furthermore, based on the target library file that matches the component characteristic information, the component to be drawn is drawn without manual intervention, thereby improving the efficiency of component drawing.

[0195] An embodiment of the present application provides a computer-readable storage medium storing one or more computer programs, which can be executed by one or more processors to implement the above-mentioned element drawing method. The computer-readable storage medium can be a volatile memory (volatile memory), such as a random access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read-Only Memory, ROM), a flash memory (flash memory), a hard disk drive (Hard Disk Drive, HDD) or a solid-state drive (SSD); or it can be a respective device including one or any combination of the above memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc.

[0196] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage and optical storage, etc.) containing computer-usable program code.

[0197] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0198] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0199] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.

[0200] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A component drawing method, the method comprising: Acquire at least one type of attribute information corresponding to the element to be drawn, and determine element characteristic information required for drawing the element to be drawn from the at least one type of attribute information; Searching for a target library file that matches the component characteristic information from a plurality of file libraries included in the preset file library according to the priority of the file library and / or the priority of the library files in each file library; In response to the target library file existing in the preset file library, the target library file is called, and the component to be drawn is drawn to obtain a drawing library file corresponding to the component to be drawn.

2. The component drawing method according to claim 1, wherein the component characteristic information includes first information and second information; the first information and the second information are either component principle information or component layout information; The step of searching for a target library file that matches the component characteristic information from a plurality of file libraries included in a preset file library includes: Searching, from the multiple file repositories, for a library file whose similarity to the first information is greater than a first preset threshold, and determining the found library file as a first library file; Determining a first similarity between the second information and corresponding information in the first library file; In response to the first similarity being greater than a second preset threshold, the first library file is determined to be the target library file.

3. The component drawing method according to claim 1, wherein calling the target library file, drawing the component to be drawn, and obtaining the drawing library file corresponding to the component to be drawn comprises: Determine difference information between target component characteristic information corresponding to the target component in the target library file and the component characteristic information; In response to the difference information indicating that the similarity between the target component characteristic information and the component characteristic information is higher than a specific threshold, the target library file is determined to be the drawing library file.

4. The component drawing method according to claim 3, wherein the target component characteristic information includes target component principle information and target component layout information; the component characteristic information includes component principle information and component layout information; Determining the difference between the target component characteristic information corresponding to the target component in the target library file and the component characteristic information includes: determining first difference information between the target element principle information and the element principle information; determining second difference information between the target component layout information and the component layout information; The first difference information and the second difference information are determined as the difference information.

5. The component drawing method according to claim 4, further comprising: In response to the difference information indicating that there is a difference between the target component characteristic information and the component characteristic information, adjusting the target component schematic based on the first difference information to obtain a component schematic corresponding to the component to be drawn; Based on the second difference information, the target component layout diagram is adjusted to obtain a component layout diagram corresponding to the component to be drawn; The component characteristic information, the component layout diagram, and the component principle diagram are determined as the drawing library file.

6. The component drawing method according to claim 5, wherein after adjusting the target component schematic diagram based on the first difference information to obtain the component schematic diagram corresponding to the component to be drawn, the method further comprises: Based on the component schematic diagram and the component layout information, generating a component layout diagram corresponding to the component to be drawn; The component characteristic information, the component layout diagram, and the component principle diagram are determined as the drawing library file.

7. The component drawing method according to claim 1, after obtaining the drawing library file corresponding to the component to be drawn, the method further comprises: In response to detecting that target information in the drawing library file is updated, updating the corresponding drawing library file based on the updated target information; The target information includes at least one of the component characteristic information, the component layout diagram, and the component schematic diagram in the drawing library file.

8. The component drawing method according to claim 1, after obtaining the drawing library file corresponding to the component to be drawn, the method further comprises: The file library to which the drawing library file belongs and the priority of the file in the file library to which it belongs are set, and the drawing library file is updated to the preset file library.

9. The component drawing method according to any one of claims 1 to 8, wherein the component characteristic information comprises: Component principle information and component layout information; The method further comprises: In response to the target library file not existing in the preset file library, generating a corresponding component layout diagram based on the component layout information; the component layout information includes at least one of component pin coordinates and component size; Generate a corresponding component schematic diagram based on the component schematic information; the component schematic information includes at least one of the pin name, pin quantity, and pin type of the component pin; The component characteristic information, the component layout diagram, and the component principle diagram are determined as the drawing library file.

10. A component drawing device, comprising: memory and processor; The memory is used to store a preset file library, wherein the preset file library includes a plurality of file libraries, each of which includes a library file of at least one component; The processor is configured to determine component characteristic information required for drawing the component to be drawn from at least one type of acquired attribute information corresponding to the component to be drawn; search for a target library file matching the component characteristic information from a plurality of file libraries included in a preset file library stored in the memory according to a priority of the file library and / or a priority of library files in each file library; and, if the target library file exists in the preset file library, call the target library file to draw the component to be drawn, thereby obtaining a drawing library file corresponding to the component to be drawn.