Classification method and device, equipment and storage medium
By extracting component attribute information in circuit board design files, creating symbol libraries and classifying and processing, the problem of low processing efficiency of complex circuit board design files is solved, clearer design understanding and module reuse is achieved, and design efficiency is improved.
Patent Information
- Application Number
- CN202410882443.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-11-08
AI Technical Summary
In the field of electronic design automation, the design files of complex circuit board designs are huge, resulting in low processing and classification efficiency and error-prone, and the existing technology lacks effective paging and module-dividing methods.
By obtaining component position information and connection relationships in the circuit board design file, extracting component attribute information, creating a symbol library, and determining the layout object distribution based on the symbol library and design file, classifying, paving and Processed in modules.
It simplifies the circuit board design process, improves designers' understanding and analysis capabilities of different parts of the circuit, promotes design reuse, reduces errors and repetitive work, and improves design efficiency.
Smart Images

Figure CN118916734A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of circuit board design, and in particular to a paging method, device, equipment and storage medium. Background Art
[0002] In the field of Electronic Design Automation (EDA), the design file of a circuit board is used to describe the various components in the circuit, such as resistors, capacitors, transistors, etc., and the connection relationship between them. For complex circuit designs, the design file will become very large, making it difficult to handle. Therefore, when designing a printed circuit board (PCB), it is necessary to logically divide / classify the design file.
[0003] Currently, design files need to be classified manually, which is inefficient and prone to errors. Summary of the invention
[0004] The present disclosure provides a classification method, device, equipment and storage medium to at least solve the above technical problems existing in the prior art.
[0005] According to a first aspect of the present disclosure, a classification method is provided, the method comprising:
[0006] Obtaining a design file of a circuit board, wherein the design file is used to store location information of components and connection relationships between components;
[0007] Acquiring attribute information of components based on the design file;
[0008] Creating or updating a symbol library based on the attribute information of the components, the symbol library being used to store graphic representations and connection information of all components on the circuit board;
[0009] Determine the distribution of layout objects on the circuit board according to the symbol library and the design file;
[0010] The layout objects are classified based on preset rules.
[0011] In one possible implementation manner, the design file includes an engineering drawing file and a text file, and the text file is used to record a component list and component locations.
[0012] In one possible implementation manner, the attribute information of the component includes at least the location, size, type and packaging information of the component.
[0013] In one possible implementation, determining the distribution of layout objects on the circuit board according to the symbol library and the design file includes:
[0014] Determine the position information of the connection lines in the circuit board layout according to the attribute information of the components in the design file;
[0015] Determine a connection path based on the position information of the connection;
[0016] The distribution of layout objects on the circuit board is determined based on the symbol library and the wiring path.
[0017] In one possible implementation, the classifying the layout objects based on a preset rule includes:
[0018] Paginate the layout object based on a preset paging rule to obtain multiple paging files; and / or
[0019] Each paging file is processed into modules based on a preset module division rule to obtain multiple functional modules.
[0020] In one possible implementation, paging the layout object based on a preset paging rule to obtain a plurality of paging files includes:
[0021] The layout object is paged according to the hierarchical structure of the circuit board, and each hierarchical structure corresponds to a page file.
[0022] In one possible implementation, each paging file is processed into modules based on a preset module rule to obtain multiple functional modules, including:
[0023] Each paging file is divided into modules according to the attributes of components and the boundary of each module is marked to obtain multiple functional modules.
[0024] According to a second aspect of the present disclosure, a classification device is provided, the device comprising:
[0025] A first acquisition module is used to acquire a design file of a circuit board, wherein the design file is used to store location information of components and connection relationships between components;
[0026] A second acquisition module, used for acquiring attribute information of components based on the design file;
[0027] A symbol library module, used to create or update a symbol library based on the attribute information of the components, wherein the symbol library is used to store the graphical representation and connection information of all components on the circuit board;
[0028] A layout module, used to determine the distribution of layout objects on the circuit board according to the symbol library and the design file;
[0029] The classification module is used to classify the layout objects based on preset rules.
[0030] According to a third aspect of the present disclosure, there is provided an electronic device, including:
[0031] at least one processor; and
[0032] a memory communicatively connected to the at least one processor; wherein,
[0033] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present disclosure.
[0034] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method described in the present disclosure.
[0035] The classification method, device, equipment and storage medium disclosed in the present invention obtain the design file of the circuit board, and then obtain the attribute information of the components based on the design file; then create or update the symbol library based on the attribute information of the components, wherein the symbol library is used to store the graphical representation and connection information of all components on the circuit board; then determine the distribution of layout objects on the circuit board according to the symbol library and the design file; finally classify the layout objects based on preset rules. By classifying the complex layout objects on the circuit board into smaller and more manageable parts, it helps designers to understand and analyze the different parts of the circuit more clearly; through classification, common parts of the circuit (such as power circuits, interface circuits, etc.) can also be designed as reusable modules, which can be reused between different designs, thereby speeding up the design and reducing errors; and then the commonly used classification modules can also be stored in a library for quick retrieval and use when needed, which helps to reduce duplication of work and improve efficiency.
[0036] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:
[0038] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.
[0039] Figure 1 A schematic diagram of a classification method according to an embodiment of the present disclosure is shown;
[0040] Figure 2 A schematic diagram of a classification device according to an embodiment of the present disclosure is shown;
[0041] Figure 3 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0042] In order to make the purpose, features, and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0043] In PCB (Printed Circuit Board) design, netlist is a very important file, which describes the various components in the circuit (such as resistors, capacitors, ICs, etc.) and the connection relationships between them. These connection relationships are defined by "nets", and each net represents a set of points that need to be connected to each other. For large and complex PCB designs, processing huge netlist files can become quite cumbersome. Electronic engineers are required to export netlist files from the component information management system (OrCAD Capture CIS (Component Information System)), and then need to manually import them into the Allegro software and manually set cumbersome properties, which is prone to errors or omissions, and manually page the engineering drawing .brd file through the netlist file and CSV file, which is inefficient and prone to errors, and then manually divide the modules, which is also prone to errors. Based on this, the present disclosure provides a classification method that can greatly simplify the PCB design process and promote the reuse of designs.
[0044] like Figure 1 A schematic diagram of a classification method provided by an embodiment of the present disclosure is shown, and the method includes:
[0045] S1. Obtain a design file of a circuit board, wherein the design file is used to store location information of components and connection relationships between components.
[0046] Design files are a key part of the circuit board design and manufacturing process, and contain all the information required to manufacture the circuit board. In one example, the design file includes at least an engineering drawing file (.brd file) and a text file (CSV). The .brd file contains detailed information such as the layout, connection, and device location of the circuit board, such as the layer structure of the circuit board, the layout and connection method of the components, etc. This information is the key to the manufacture of printed circuit boards and determines the quality and success rate of the entire printed circuit board manufacturing. CSV files are a text file format used to store tabular data. In circuit board design, CSV files are used to record the bill of materials (BOM), including the number (ID), description, location (which can be given in coordinate form), value (such as resistance value, capacitance value, etc.), manufacturer and model of the components. This format is easy to read and edit, and is also easy to interact with other systems (such as inventory management systems, BOM generation tools, etc.).
[0047] In one example, the CSV file is uploaded first, and the file format is verified, that is, to ensure that the uploaded file is in CSV format and is not corrupted. Then the CSV file is checked to see if it contains all the necessary columns, such as component ID, type, location, size, etc.
[0048] Then upload the .brd file to obtain detailed information such as the layout, connection, and device location of the circuit board. It should be noted that the CSV file can be uploaded first, and after verification, the .brd file can be uploaded; the CSV file and the .brd file can also be uploaded at the same time, and the present disclosure does not limit this.
[0049] S2. Acquire attribute information of components based on the design file.
[0050] After obtaining the .brd file and CSV file, use appropriate tools to parse / open the .brd file or CSV file, such as using Allegro PCB Editor software to open the .brd file and extract the attribute information of the components on the circuit board. The attribute information of the components at least includes the location, size, type, and packaging information of the components and other information related to the component attributes.
[0051] Among them, the position of components refers to the position information of components on the circuit board, which can be expressed by a coordinate system (such as XY coordinates) or the distance and angle relative to a reference point; accurate position information is essential to ensure the correctness of the circuit board layout and the correct connection between components. Component size refers to the physical size of the component, such as width, height, and length. Component types include resistors, capacitors, inductors, diodes, transistors, etc. In addition, other element types can be obtained, such as wire types, including power lines, signal lines, ground lines, etc., or connector types, etc. By clarifying the type of each element, it can be ensured that the correct components and connection methods are used during manufacturing, installation, and maintenance. Component packaging refers to the way of physically and electrically connecting the pins or other connecting parts of components (such as resistors, capacitors, transistors, etc.) in a standardized manner. The package determines how the components are connected to the circuit board and the physical and electrical characteristics between components. Package types include dual in-line package (DIP), single in-line package (SIP), small outline package (SOP), ball grid array (BGA), land grid array (LGA) and many other types. Each type has its own specific pin arrangement, pin spacing and electrical characteristics.
[0052] In one example, the obtained attribute information can also be verified to ensure that the parameters extracted from the design file, that is, the attribute information of the components, are valid and complete. For example, it is necessary to verify whether the CSV file contains all the necessary component attribute information, such as component number, description, location (coordinates), value (such as resistance value, capacitance value, etc.), manufacturer and model, etc. For each component, it is also possible to further check whether its attribute value is within a reasonable range. For example, whether the resistance value, capacitance value, etc. meet the requirements of the circuit design.
[0053] S3. Create or update a symbol library based on the attribute information of the components, wherein the symbol library is used to store graphic representations and connection information of all components on the circuit board.
[0054] The symbol library contains the graphical representation and connection information of all components on the circuit board. Each component has a unique graphical representation in the symbol library. This graphical representation (or symbol) is the visual representation of the component in the circuit diagram. These graphical representations or symbols follow certain industry standards, such as the International Electronics Manufacturing Initiative (IPC) or the Institute of Electrical and Electronics Engineers (IEEE). The symbol of each component in the symbol library is marked with pins (or connection points). These pins represent the electrical connection points of the component on the physical circuit board. These pins are connected to the copper traces (or traces) on the circuit board to realize the function of the circuit.
[0055] By creating or updating a symbol library, you can select the required component symbols directly from the symbol library and place them on the schematic or circuit board without having to manually draw a graphical representation of each component.
[0056] S4. Determine the distribution of layout objects on the circuit board according to the symbol library and the design file.
[0057] Layout objects refer to the various elements placed and connected on the circuit board, namely, various components, connection lines, text labels, vias, fill areas, test points, etc. Components such as resistors, capacitors, inductors, transistors, integrated circuits (ICs), etc. Text labels are used to identify components, connection points or other important features on the circuit board; vias are structures that connect different layers of the circuit board. Fill areas are used to cover specific areas on the circuit board to improve the mechanical strength, insulation or heat dissipation of the circuit board. Test points are used to connect test equipment during circuit board manufacturing and testing; boundary lines define the outer contour and size of the circuit board. These elements are placed at specific locations on the circuit board and connected to other components through connection lines, together forming the overall layout of the circuit board and determining the function and performance of the circuit board.
[0058] S5. Classify the layout objects based on preset rules.
[0059] Classify layout objects based on preset rules to better organize and manage these objects. For example, they can be classified based on component type, component location, signal type, component size and shape. During the classification process, you can create multiple categories as needed and assign layout objects to the corresponding categories. This helps to better manage and control these objects in the subsequent design, analysis and manufacturing processes; at the same time, classification rules can also be customized and adjusted according to specific design requirements and constraints.
[0060] In the above scheme, the design file of the circuit board is obtained, and then the attribute information of the components is obtained based on the design file; then the symbol library is created or updated based on the attribute information of the components, wherein the symbol library is used to store the graphical representation and connection information of all components on the circuit board; then the distribution of the layout objects on the circuit board is determined according to the symbol library and the design file; finally, the layout objects are classified based on preset rules. By classifying the complex layout objects on the circuit board into smaller, more manageable parts, it helps designers to understand and analyze the different parts of the circuit more clearly; through classification, common parts of the circuit (such as power circuits, interface circuits, etc.) can also be designed as reusable modules, which can be reused between different designs, thereby speeding up the design and reducing errors; and then the commonly used classified modules can be stored in a library for quick retrieval and use when needed, which helps to reduce duplication of work and improve efficiency.
[0061] In one example, determining the distribution of layout objects on the circuit board according to the symbol library and the design file includes:
[0062] Determine the position information of the connection lines in the circuit board layout according to the attribute information of the components in the design file;
[0063] Determine a connection path based on the position information of the connection;
[0064] The distribution of layout objects on the circuit board is determined based on the symbol library and the wiring path.
[0065] According to the component location and package information provided in the CSV file, and the connection information in the .brd file, determine the location of the connection, that is, determine the starting point and end point of the connection. Then, based on the location information of the connection, use algorithms (such as A* algorithm, Dijkstra algorithm, etc.) to calculate the shortest or optimal connection path of the connection. For example, in the circuit board wiring problem, each connection point on the circuit board can be regarded as a node of the graph, and the connection is regarded as the edge between the nodes. By assigning a weight (such as length, cost, etc.) to each edge, the A* algorithm is used to find the shortest path from one node to another.
[0066] According to the connection position and path determined in the previous step, create the actual layout object in the PCB design software. Select the corresponding graphic representation of the component from the symbol library and place it in the appropriate position, and then create the connection in the PCB design software according to the determined connection path.
[0067] Specifically, you can start the PCB design software first, and use the API provided by the PCB design software, such as using the get-components function or similar API interface to obtain all components in the design. For each component, traverse its pins. For each pin, use the API interface to obtain its connected pin list (connected Pins). For each connected pin, extract its organization (the component it belongs to), organization name (the name of the component), and pin name.
[0068] To further determine the page edge coordinates and component position, first obtain the page information. You can use the API interface to obtain the page edge coordinates (such as the minimum x coordinate min-x) and page width. Then determine the component position by traversing each component, use the get-x function to obtain its current position, and compare it with the page edge coordinates to determine whether it is in the correct position. Then calculate the offset. If the component position is incorrect, calculate the required offset (x-offset). The offset is the distance between the current position of the component and the edge of the page.
[0069] Finally, set the page where the component is located and move the component, using the setf function or similar API to set the page where the component is located (new-page). Use the setf function to set the new position of the component (get-x), and the new position can be determined by adding the calculated offset (x-offset) to the current position.
[0070] In one example, classifying the layout objects based on a preset rule includes:
[0071] Paginate the layout object based on a preset paging rule to obtain multiple paging files; and / or
[0072] Each paging file is processed into modules based on a preset module division rule to obtain multiple functional modules.
[0073] The layout objects can be classified and processed based on the preset paging rules, that is, paging processing can be performed to multiple paging files; and each paging file can be processed into modules.
[0074] In one example, paging the layout object based on a preset paging rule to obtain a plurality of paging files includes:
[0075] The layout object is paged according to the hierarchical structure of the circuit board, and each hierarchical structure corresponds to a page file.
[0076] These levels are usually grouped according to their function and physical location in the board design. For example, the hierarchical structure of the example, i.e., the paging rules, is shown in Table 1 below.
[0077] Table 1 Hierarchical structure
[0078]
[0079]
[0080] Among them, the top layer is also the top wiring layer, which is the uppermost layer of the PCB board. It is mainly used for the design of the top copper foil routing, that is, the layout and design of the main components of the circuit, connecting wires, pads and other components.
[0081] The Outline layer is used to define the physical boundaries or frame of the PCB board. During the PCB manufacturing process, the Outline layer is used to guide cutting and forming operations to ensure that the final circuit board has the correct size and shape.
[0082] Assembly_Top, the top assembly layer, displays the top component position and identification, that is, this layer is mainly used to display the assembly position and related information of the components on the top layer of the circuit board. For example, the nominal value of the device (such as the value of resistance and capacitance) can be placed on this layer.
[0083] Assembly_Bottom, the bottom assembly layer, is similar to Assembly_Top, but this layer is used to display the assembly position and related information of components on the bottom layer of the circuit board.
[0084] Place_Bound_TopThe top layer of the package outline is used to define the physical boundaries or placeholders of components on the top layer (Top Layer). It is a representation of the actual size of the component package and is used to prevent errors when two components are stacked together. The outer frame size of this layer needs to include the pads to ensure that the components have enough space during layout to avoid overlapping or conflicting with each other.
[0085] Silkscreen_Top, the top silkscreen layer, displays the silkscreen text, logo, etc. on the top layer.
[0086] Soldermask_Top, the top solder mask layer, defines the area on the top layer that does not need to be soldered.
[0087] Paste mask_Top, the surface layer of the steel mesh, is also the top solder paste layer, which defines the coating area of the solder paste during welding.
[0088] According to the paging rules in Table 1, select the level to be included in each paging file, and set parameters such as the file name and save path. For example, each level may correspond to a paging file, or multiple levels may correspond to one paging file.
[0089] In one example, each paging file is processed into modules based on a preset module rule to obtain multiple functional modules, including:
[0090] Each paging file is divided into modules according to the attributes of components and the boundary of each module is marked to obtain multiple functional modules.
[0091] For example, the module division rules can be defined according to the properties of the components. These rules can be determined based on the function, type, location, electrical connection relationship and other factors of the components. In one example, all components related to power management can be divided into one module (GROUP), and all components related to signal processing can be divided into another module. Components with the same function or property, such as all resistors or all capacitors, can also be put into the same GROUP to make it easier to manage and edit these components.
[0092] In the PCB design software, draw or mark the boundaries for each functional module, for example, by drawing a rectangular box, line or other graphic elements. The module boundary should clearly define the scope of each functional module for subsequent design, production and maintenance.
[0093] Finally, each functional module can be saved as a separate file or layer and stored according to the preset saving path.
[0094] In one example, the present disclosure further provides a classification device, the device comprising:
[0095] A first acquisition module 10 is used to acquire a design file of a circuit board, wherein the design file is used to store location information of components and connection relationships between components;
[0096] A second acquisition module 20, used to acquire attribute information of components based on the design file;
[0097] A symbol library module 30, used to create or update a symbol library based on the attribute information of the components, wherein the symbol library is used to store the graphical representation and connection information of all components on the circuit board;
[0098] A layout module 40, configured to determine the distribution of layout objects on the circuit board according to the symbol library and the design file;
[0099] The classification module 50 is used to classify the layout objects based on preset rules.
[0100] In one example, the design file includes an engineering drawing file and a text file, and the text file is used to record a component list and component locations.
[0101] In one possible implementation manner, the attribute information of the component includes at least the location, size, type and packaging information of the component.
[0102] In one example, the layout module 40 is used to:
[0103] Determine the position information of the connection lines in the circuit board layout according to the attribute information of the components in the design file;
[0104] Determine a connection path based on the position information of the connection;
[0105] The distribution of layout objects on the circuit board is determined based on the symbol library and the wiring path.
[0106] In one embodiment, the classification module 50 is used to:
[0107] Paginate the layout object based on a preset paging rule to obtain multiple paging files; and / or
[0108] Each paging file is processed into modules based on a preset module division rule to obtain multiple functional modules.
[0109] In one example, the classification module 50 is further configured to:
[0110] The layout object is paged according to the hierarchical structure of the circuit board, and each hierarchical structure corresponds to a page file.
[0111] In one example, the classification module 50 is further configured to:
[0112] Each paging file is divided into modules according to the attributes of components and the boundary of each module is marked to obtain multiple functional modules.
[0113] According to an embodiment of the present disclosure, there is also provided an electronic device, including:
[0114] at least one processor; and
[0115] a memory communicatively connected to the at least one processor; wherein,
[0116] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present disclosure.
[0117] According to an embodiment of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is further provided, wherein the computer instructions are used to enable the computer to execute the method described in the present disclosure.
[0118] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
[0119] Figure 3 A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0120] like Figure 3 As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0121] A number of components in the device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0122] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as classification methods. For example, in some embodiments, the classification method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the classification method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the classification method in any other appropriate manner (e.g., by means of firmware).
[0123] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0124] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0125] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0126] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0127] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0128] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0129] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0130] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0131] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A classification method, characterized in that: The method comprises: Obtaining a design file of a circuit board, wherein the design file is used to store location information of components and connection relationships between components; Acquiring attribute information of components based on the design file; Creating or updating a symbol library based on the attribute information of the components, the symbol library being used to store graphic representations and connection information of all components on the circuit board; Determine the distribution of layout objects on the circuit board according to the symbol library and the design file; The layout objects are classified based on preset rules.
2. The method according to claim 1, characterized in that The design file includes an engineering drawing file and a text file, and the text file is used to record the component list and component location.
3. The method according to claim 1, characterized in that The attribute information of the component includes at least the location, size, type and packaging information of the component.
4. The method according to claim 3, characterized in that The determining the distribution of layout objects on the circuit board according to the symbol library and the design file includes: Determine the position information of the connection lines in the circuit board layout according to the attribute information of the components in the design file; Determine a connection path based on the position information of the connection; The distribution of layout objects on the circuit board is determined based on the symbol library and the wiring path.
5. The method according to claim 1, characterized in that The classifying the layout objects based on preset rules includes: Paginate the layout object based on a preset paging rule to obtain multiple paging files; and / or Each paging file is processed into modules based on a preset module division rule to obtain multiple functional modules.
6. The method according to claim 5, characterized in that The paging the layout object based on the preset paging rule to obtain multiple paging files includes: The layout object is paged according to the hierarchical structure of the circuit board, and each hierarchical structure corresponds to a page file.
7. The method according to claim 5, characterized in that The module processing is performed on each paging file based on the preset module rules to obtain multiple functional modules, including: Each paging file is divided into modules according to the attributes of components and the boundary of each module is marked to obtain multiple functional modules.
8. A classification device, characterized in that: The device comprises: A first acquisition module is used to acquire a design file of a circuit board, wherein the design file is used to store location information of components and connection relationships between components; A second acquisition module, used for acquiring attribute information of components based on the design file; A symbol library module, used to create or update a symbol library based on the attribute information of the components, wherein the symbol library is used to store the graphical representation and connection information of all components on the circuit board; A layout module, used to determine the distribution of layout objects on the circuit board according to the symbol library and the design file; The classification module is used to classify the layout objects based on preset rules.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.
Citation Information
Patent Citations
Method for carrying out automatic paging placement of component according to schematic diagram
CN107066763A
Device automatic paging method, device and equipment in PCB design and medium
CN112434486A
Method for forming module boundary of physical layout and related equipment
CN116227407A
Computing device and method for generating component module files of circuit diagram
US20140245243A1
