Method and device for generating circuit schematic diagram of board card, electronic device and storage medium

By selecting and extending the target circuit module from the circuit module database, and automatic connection according to the port attribute information, the problem of low -generation efficiency of the existing technology in the existing technology in the existing technology, and achieved a more efficient design process and a shorter shorter. Design cycle.

CN119005109BActive Publication Date: 2025-01-28SICHUAN TELUNTE TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411488628.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-01-28
Estimated Expiration
2044-10-24

AI Technical Summary

Technical Problem

In the prior art, the efficiency of board circuit schematic generation is low, and it depends on developers to have professional knowledge and a long design cycle, which is prone to errors and cannot develop boards in a short time.

Method used

By selecting the target circuit module from the circuit module database, the module expansion and port connection operation are performed to form a target board card circuit circuit. This method includes responding to the user's operation to determine the target circuit module and extended circuit module from the database, and automatically connect to the port attribute information.

Benefits of technology

It improves the efficiency of the schematic diagram of the board and card circuit, reduces the design cycle, reduces the possibility of design errors, and enables the board card in a short period of time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119005109B_ABST
    Figure CN119005109B_ABST
Patent Text Reader

Abstract

The board circuit schematic diagram generation method and device, electronic device and storage medium provided in the present application relate to the technical field of circuit schematic diagram generation. In the present application, first, multiple target circuit modules are determined from the circuit module database; secondly, in response to the module expansion operation, and / or, in response to the result of the module function analysis of multiple target circuit modules reflecting the need for module expansion operation, at least one expansion circuit module is determined from the circuit module database; then, in response to the port connection operation, and / or, in response to the matching relationship between the port attribute information of the external connection ports corresponding to the multiple target circuit modules and the at least one expansion circuit module, the multiple target circuit modules and the external connection ports of the at least one expansion circuit module are connected. Based on the above content, the problem of relatively low efficiency of board circuit schematic diagram generation existing in the prior art can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of circuit schematic generation, and in particular to a method and device for generating a circuit schematic of a board, an electronic device, and a storage medium. Background Art

[0002] Nowadays, if you design a new board, you need to start with the PCB design, use Cadence to draw the schematic, set the pin attribute information, and manually connect each pin according to the actual usage. This relies on the developer's very professional knowledge and experience, and the development cycle is relatively long. The design is prone to errors and it is impossible to develop the board in a short time. That is, there is a problem of relatively low efficiency in generating board circuit schematics. Summary of the invention

[0003] In view of this, the purpose of the present application is to provide a method and device for generating a board circuit schematic diagram, an electronic device and a storage medium, so as to improve the problem of relatively low efficiency of generating a board circuit schematic diagram in the prior art.

[0004] To achieve the above objectives, this application adopts the following technical solutions:

[0005] A method for generating a circuit schematic diagram of a board card, comprising:

[0006] In response to the circuit module selection operation performed by the target user, a plurality of target circuit modules are determined from a circuit module database, wherein the circuit module database has a plurality of pre-built circuit modules, and each of the circuit modules has at least a circuit schematic diagram of a corresponding circuit structure and port attribute information of an external connection port;

[0007] In response to a module expansion operation performed by the target user, and / or in response to a result of module function analysis performed on the plurality of target circuit modules indicating that a module expansion operation is required, determining at least one expansion circuit module from the circuit module database;

[0008] In response to the port connection operation performed by the target user, and / or in response to the matching relationship between the port attribute information of the external connection ports corresponding to the multiple target circuit modules and the at least one expansion circuit module, the external connection ports of the multiple target circuit modules and the at least one expansion circuit module are connected to form a corresponding target board circuit schematic.

[0009] In a preferred embodiment of the present application, in the above-mentioned board circuit schematic diagram generating method, in response to the module expansion operation performed by the target user, and / or in response to the result of the module function analysis of the multiple target circuit modules reflecting the need to perform a module expansion operation, the step of determining at least one expanded circuit module from the circuit module database includes:

[0010] In response to the module expansion operation performed by the target user, determining at least one expansion circuit module from the circuit module database; and / or,

[0011] In response to the result of module function analysis on the multiple target circuit modules reflecting the need to perform module expansion operation, at least one expansion circuit module is determined from the circuit module database, wherein the at least one expansion circuit module includes a power circuit module and / or a clock circuit module for providing electrical energy and / or providing a clock signal, and the at least one expansion circuit module belongs to a circuit module other than the multiple target circuit modules in the circuit module database.

[0012] In a preferred embodiment of the present application, in the above-mentioned board circuit schematic diagram generation method, in response to the result of performing module function analysis on the multiple target circuit modules reflecting the need for module expansion operation, the step of determining at least one expanded circuit module from the circuit module database includes:

[0013] Performing module function analysis on the multiple target circuit modules to obtain corresponding function analysis results, wherein the function analysis results are used to reflect whether there are function circuit modules in the multiple target circuit modules, and the function circuit modules refer to circuit modules that need to be configured with power supply and / or clock;

[0014] When the functional analysis result reflects that there is a functional circuit module in the plurality of target circuit modules, at least one extended circuit module is determined from the circuit module database.

[0015] In a preferred embodiment of the present application, in the above-mentioned board circuit schematic generation method, when the functional analysis result reflects that there is a functional circuit module in the multiple target circuit modules, the step of determining at least one extended circuit module from the circuit module database includes:

[0016] When the functional analysis result reflects that there is a functional circuit module among the multiple target circuit modules, for each of the functional circuit modules, obtaining port attribute information of an external connection port of the functional circuit module, wherein the port attribute information includes at least one of voltage information, current information, ripple information, power supply type information, frequency information, and jitter information;

[0017] Based on the port attribute information of the external connection port of the functional circuit module, at least one expansion circuit module matching the functional circuit module is determined from the circuit module database.

[0018] In a preferred embodiment of the present application, in the above-mentioned board circuit schematic diagram generating method, the step of connecting the multiple target circuit modules and the external connection ports of the at least one expansion circuit module in response to the port connection operation performed by the target user and / or in response to the matching relationship between the port attribute information of the external connection ports corresponding to the multiple target circuit modules and the at least one expansion circuit module to form the corresponding target board circuit schematic diagram includes:

[0019] In response to the port connection operation performed by the target user, connecting at least two external connection ports of the multiple target circuit modules and the at least one expansion circuit module so that a connection line is provided between the at least two external connection ports; and / or

[0020] For any two external connection ports of the multiple target circuit modules and the at least one expansion circuit module, obtain port attribute information of the two external connection ports, and perform matching analysis on the port attribute information of the two external connection ports to obtain corresponding port attribute matching results, wherein the port attribute information includes at least one of voltage information, current information, ripple information, power supply type information, frequency information, and jitter information;

[0021] The two external connection ports that are matched by the corresponding port attribute matching result are connected so that a connection line is provided between the two external connection ports, thereby forming a corresponding target board circuit schematic diagram.

[0022] In a preferred embodiment of the present application, in the above-mentioned board circuit schematic diagram generation method, the step of connecting the two external connection ports that are matched by the corresponding port attribute matching result so that there is a connection line between the two external connection ports, thereby forming the corresponding target board circuit schematic diagram, includes:

[0023] Connecting two external connection ports that are matched by the corresponding port attribute matching result, so that a connection line exists between the two external connection ports;

[0024] After the connection operation between the external connection ports is completed, the target board circuit schematic including the multiple target circuit modules, the at least one expansion circuit module and the connecting lines is compressed and exported to form a corresponding circuit schematic compression package, wherein the circuit schematic compression package includes a target language script and schematic data corresponding to the target board circuit schematic, and when the target language script is run, the schematic data is read and the target board circuit schematic is generated based on the schematic data.

[0025] In a preferred embodiment of the present application, in the above-mentioned board circuit schematic diagram generating method, before executing the step of determining a plurality of target circuit modules from a circuit module database in response to the circuit module selection operation performed by the target user, the board circuit schematic diagram generating method further includes:

[0026] In response to the circuit module building operation of the target user or other users, the following steps are performed to form the circuit module database:

[0027] Acquire and save a module schematic file of any circuit module, so that the module schematic file is included in the circuit module database;

[0028] Acquire and save basic information of any circuit module so that the circuit module database has the basic information, wherein the basic information includes at least one of module name information, module description information, module type information, module status information and module size information of the circuit module;

[0029] Acquire and save relevant file information of any circuit module, so that the circuit module database has the relevant file information, wherein the relevant file information includes at least one of file name information, file type information, file acquisition time information, file storage path information, and information representing the confidentiality level of the file;

[0030] Acquire and save the external connection port information of any circuit module, so that the circuit module database has the external connection port information, wherein the external connection port information includes at least one of port name information, port type information, port coordinate information, port description information, and information of the circuit module to which it belongs;

[0031] Acquire and save the external connection port attribute information of any circuit module so that the circuit module database has the external connection port attribute information, wherein the external connection port attribute information includes at least one of voltage information, current information, ripple information, power supply type information, frequency information, and jitter information.

[0032] The present application also provides a device for generating a circuit schematic diagram of a board, comprising:

[0033] A circuit module determination module, for determining a plurality of target circuit modules from a circuit module database in response to a circuit module selection operation performed by a target user, wherein the circuit module database has a plurality of pre-built circuit modules, and each of the circuit modules has at least a circuit schematic diagram of a corresponding circuit structure and port attribute information of an external connection port;

[0034] a circuit module expansion module, configured to determine at least one expansion circuit module from the circuit module database in response to a module expansion operation performed by the target user and / or in response to a result of a module function analysis performed on the plurality of target circuit modules indicating that a module expansion operation is required;

[0035] A circuit schematic forming module is used to respond to the port connection operation performed by the target user and / or, in response to the matching relationship between the port attribute information of the external connection ports corresponding to the multiple target circuit modules and the at least one expansion circuit module, connect the multiple target circuit modules and the external connection ports of the at least one expansion circuit module to form a corresponding target board circuit schematic.

[0036] Based on the above, the present application also provides an electronic device, including:

[0037] Memory for storing computer programs;

[0038] The processor connected to the memory is used to execute the computer program stored in the memory to implement the above-mentioned board circuit schematic diagram generation method.

[0039] On the basis of the above, the present application also provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is run, each step of the above-mentioned board circuit schematic generation method is executed.

[0040] The board circuit schematic diagram generation method and device, electronic device and storage medium provided by the present application, first, multiple target circuit modules can be determined from the circuit module database; second, in response to the module expansion operation, and / or, in response to the result of the module function analysis of multiple target circuit modules reflecting the need for module expansion operation, at least one expansion circuit module is determined from the circuit module database; then, in response to the port connection operation, and / or, in response to the matching relationship between the port attribute information of the external connection ports corresponding to the multiple target circuit modules and at least one expansion circuit module, the multiple target circuit modules and the external connection ports of at least one expansion circuit module are connected. Based on the above content, on the first hand, since the target circuit module can be directly determined from the circuit module database, the efficiency can be fully improved compared with the conventional technical solution that requires drawing the circuit schematic diagram of the circuit module and marking the pins; on the second hand, the module expansion operation and the connection operation of the external connection port can also be performed, so that the efficiency can be further improved, so the problem of relatively low efficiency of board circuit schematic diagram generation existing in the prior art can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings.

[0042] Figure 1 A structural block diagram of an electronic device provided in an embodiment of the present application.

[0043] Figure 2 A schematic flow chart of a method for generating a circuit schematic diagram of a board provided in an embodiment of the present application.

[0044] Figure 3 A block diagram of a device for generating a circuit schematic diagram of a board card provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0046] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0047] like Figure 1 As shown, an embodiment of the present application provides an electronic device, wherein the electronic device may include a memory, a processor, and a device for generating a circuit schematic diagram of a board.

[0048] In detail, the memory and the processor are electrically connected directly or indirectly to achieve data transmission or interaction. For example, the memory and the processor can be electrically connected through one or more communication buses or signal lines. The board circuit schematic diagram generating device includes at least one software function module stored in the memory in the form of software or firmware. The processor is used to execute an executable computer program stored in the memory, for example, the software function module and computer program included in the board circuit schematic diagram generating device, so as to implement the board circuit schematic diagram generating method provided in the embodiment of the present application.

[0049] Optionally, the memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc.

[0050] Furthermore, the processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), a system on chip (SoC), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0051] Understandably, Figure 1 The structure shown is for illustration only, and the electronic device may also include Figure 1 More or fewer components as shown, or with Figure 1 The different configurations shown, for example, may also include a communication unit for exchanging information with other devices (such as terminal devices such as computers).

[0052] Combination Figure 2 The present application also provides a method for generating a circuit diagram of a board card that can be applied to the above electronic device. The method steps defined in the process related to the circuit diagram generation method of the board card can be implemented by the electronic device. Figure 2 The specific process shown is explained in detail.

[0053] Step S110 , in response to a circuit module selection operation performed by a target user, a plurality of target circuit modules are determined from a circuit module database.

[0054] In an embodiment of the present application, the electronic device can determine multiple target circuit modules from a circuit module database in response to a circuit module selection operation performed by a target user. The circuit module database has multiple pre-built circuit modules (also referred to as CBB modules), and each of the circuit modules has at least a circuit schematic diagram of a corresponding circuit structure and port attribute information of an external connection port. It should be noted that the external connection port can also be referred to as a pin. In other words, the target user can select multiple required circuit modules from the multiple circuit modules included in the circuit module database as corresponding target circuit modules.

[0055] Step S120, in response to the module expansion operation performed by the target user, and / or in response to the result of the module function analysis of the multiple target circuit modules reflecting the need for module expansion operation, determining at least one expansion circuit module from the circuit module database.

[0056] In an embodiment of the present application, the electronic device can determine at least one expansion circuit module from the circuit module database in response to the module expansion operation performed by the target user, and / or in response to the result of the module function analysis of the multiple target circuit modules reflecting the need to perform the module expansion operation. That is to say, after obtaining the multiple target circuit modules, the module expansion can be performed based on the operation of the target user, or the module functions of the multiple target circuit modules can be analyzed to achieve the corresponding expansion. Based on this, by expanding the circuit module, the function of the constructed target board circuit schematic diagram can be reliably realized.

[0057] Step S130, in response to the port connection operation performed by the target user, and / or in response to the matching relationship between the port attribute information of the external connection ports corresponding to the multiple target circuit modules and the at least one expansion circuit module, the external connection ports of the multiple target circuit modules and the at least one expansion circuit module are connected to form a corresponding target board circuit schematic.

[0058] In an embodiment of the present application, the electronic device can respond to the port connection operation performed by the target user, and / or respond to the matching relationship between the port attribute information of the external connection ports corresponding to the multiple target circuit modules and the at least one expansion circuit module, and connect the multiple target circuit modules and the external connection ports of the at least one expansion circuit module to form a corresponding target board circuit schematic diagram. That is, after determining the multiple target circuit modules and the at least one expansion circuit module, the ports can be connected based on the selection of the target user or based on the matching relationship between the port attribute information, so that a complete circuit schematic diagram can be formed.

[0059] Based on the above content, on the first hand, since the target circuit module can be determined directly from the circuit module database, the efficiency can be fully improved compared to the conventional technical solution that requires drawing the circuit schematic diagram of the circuit module and marking the pins; on the second hand, module expansion operations and connection operations to external connection ports can also be performed, so that the efficiency can be further improved. Therefore, the problem of relatively low efficiency in generating board circuit schematic diagrams in the prior art can be improved.

[0060] It should be noted that in order to ensure the efficiency of generating the board circuit schematic, in the above-mentioned step S120, at least one extended circuit module is automatically expanded based on the results of module function analysis, and / or, in the above-mentioned step S130, at least two external connection ports are automatically connected based on the matching relationship between the port attribute information.

[0061] In the first aspect, it should be noted that, in order to ensure that multiple target circuit modules can be effectively determined when executing step S110, before executing the above step S110, the board circuit schematic diagram generating method may further include the following contents:

[0062] In response to the circuit module building operation of the target user or other users, the following steps may be performed to form the circuit module database:

[0063] First, a module schematic file of any circuit module can be obtained and saved, so that the module schematic file is included in the circuit module database;

[0064] Secondly, basic information of any circuit module can be acquired and saved so that the circuit module database has the basic information, wherein the basic information includes at least one of module name information, module description information, module type information, module status information and module size information of the circuit module;

[0065] Then, the relevant file information of any circuit module can be obtained and saved, so that the circuit module database has the relevant file information, wherein the relevant file information includes at least one of file name information, file type information, file acquisition time information, file storage path information, and information representing the file confidentiality level;

[0066] Further, the external connection port information of any circuit module can be obtained and saved, so that the circuit module database has the external connection port information, wherein the external connection port information includes at least one of port name information, port type information, port coordinate information, port description information, and information of the circuit module to which it belongs;

[0067] Finally, the external connection port attribute information of any circuit module can be obtained and saved, so that the circuit module database has the external connection port attribute information, wherein the external connection port attribute information includes at least one of voltage information, current information, ripple information, power supply type information, frequency information, and jitter information.

[0068] Specifically, in one application scenario, the target user or other users can first create a new CBB module based on their own needs and fill in the corresponding basic information. Then, the file including the basic information of the circuit schematic of the CBB module can be transferred to the database corresponding to the above-mentioned electronic device for storage, and the port attribute information of the external connection port of the CBB module can also be configured.

[0069] Secondly, it should be noted that for step S120, the specific method of performing the module expansion operation is not limited and can be selected according to actual needs.

[0070] For example, in an alternative implementation, in order to ensure the reliability of the module expansion operation so that the formed target board circuit schematic has a complete and reliable circuit structure, the above-mentioned step S120 may further include S121 and / or step S122, and the contents of each step are described as follows.

[0071] Step S121, in response to the module expansion operation performed by the target user, determining at least one expansion circuit module from the circuit module database.

[0072] In an embodiment of the present application, on the one hand, in response to the module expansion operation performed by the target user, at least one expansion circuit module can be determined from the circuit module database. That is, the target user can select the corresponding expansion circuit module based on demand. Specifically, the circuit module can be expanded according to actual functional requirements. For example, the circuit module can be expanded based on the requirements of providing power and / or providing a clock signal, so that the determined expansion circuit module can provide power and / or provide a clock signal.

[0073] Step S122: in response to the result of performing module function analysis on the plurality of target circuit modules indicating that a module expansion operation is required, determining at least one expansion circuit module from the circuit module database.

[0074] In an embodiment of the present application, on the other hand, in response to the result of performing module function analysis on the multiple target circuit modules reflecting the need for module expansion operation, at least one expansion circuit module can be determined from the circuit module database. Wherein, the at least one expansion circuit module includes a power circuit module and / or a clock circuit module for providing electrical energy and / or providing a clock signal, and the at least one expansion circuit module belongs to a circuit module other than the multiple target circuit modules in the circuit module database. In other words, by performing module function analysis, it is determined that electrical energy and / or clock signals need to be provided, and there is no circuit module in the multiple target circuit modules that can provide matching electrical energy and / or clock signals, and then expansion can be performed automatically.

[0075] It is understandable that, in the above step S122, in response to the result of performing module function analysis on the multiple target circuit modules reflecting the need to perform module expansion operation, the specific manner is not limited and can be selected according to actual needs.

[0076] For example, in an alternative implementation, in order to ensure the reliability of the module expansion operation so that the formed target board circuit schematic has higher reliability, the above-mentioned step S122 may further include step S122a and step S122b, and the specific contents of each step are described as follows.

[0077] Step S122a, performing module function analysis on the multiple target circuit modules to obtain corresponding function analysis results.

[0078] In the embodiment of the present application, module function analysis can be performed on the multiple target circuit modules to obtain corresponding function analysis results, wherein the function analysis results are used to reflect whether there is a function circuit module in the multiple target circuit modules, and the function circuit module refers to a circuit module that needs to be configured with power supply and / or clock.

[0079] Step S122b: when the functional analysis result shows that there is a functional circuit module in the plurality of target circuit modules, at least one extended circuit module is determined from the circuit module database.

[0080] In an embodiment of the present application, when the functional analysis result reflects that there is a functional circuit module in the multiple target circuit modules, at least one extended circuit module can be determined from the circuit module database to provide the required power and / or the required clock signal.

[0081] It can be understood that in the above-mentioned step S122b, in order to ensure the reliability of at least one expansion circuit module, that is, to ensure that reliable power and / or required clock signals can be provided to the corresponding functional circuit module, the above-mentioned step S122b can further include step b1 and step b2, and the specific contents of each step are described as follows.

[0082] Step b1, when the functional analysis result shows that there is a functional circuit module in the multiple target circuit modules, for each of the functional circuit modules, obtaining port attribute information of the external connection port of the functional circuit module.

[0083] In an embodiment of the present application, when the functional analysis result reflects that there is a functional circuit module in the multiple target circuit modules, for each of the functional circuit modules, the port attribute information of the external connection port of the functional circuit module can be obtained. Among them, the port attribute information includes at least one of voltage information, current information, ripple information, power supply type information, frequency information, and jitter information. For example, for a functional circuit module that needs to provide electric energy, the port attribute information of the external connection port of the functional circuit module may include voltage information, ripple information, circuit information, and power supply type information (i.e., AC or DC), etc. In addition, for a functional circuit module that needs to provide a clock signal, the port attribute information of the external connection port of the functional circuit module may include information such as level standard, frequency, common mode voltage, and jitter requirements.

[0084] Step b2: determining at least one expansion circuit module matching the functional circuit module from the circuit module database based on the port attribute information of the external connection port of the functional circuit module.

[0085] In an embodiment of the present application, at least one expansion circuit module matching the functional circuit module can be determined from the circuit module database based on the port attribute information of the external connection port of the functional circuit module. For example, for a functional circuit module that needs to provide electric energy, a power circuit module that matches (such as is consistent with) the port attribute information of the external connection port of the functional circuit module can be automatically screened out from the circuit module database. For a functional circuit module that needs to provide a clock signal, a clock circuit module that matches (such as is consistent with) the port attribute information of the external connection port of the functional circuit module can be automatically screened out from the circuit module database.

[0086] In a third aspect, it should be noted that for step S130, the specific manner of connecting the external connection ports of the multiple target circuit modules and the at least one expansion circuit module is not limited and can be selected according to actual needs.

[0087] For example, in an alternative implementation, in order to ensure the reliability of the connection operation of the external connection port, the above-mentioned step S130 may further include step S131 and / or step S132, step S133, and the specific content of each step is described as follows.

[0088] Step S131, in response to the port connection operation performed by the target user, connecting at least two external connection ports of the multiple target circuit modules and the at least one expansion circuit module so that there is a connection line between the at least two external connection ports.

[0089] In the embodiment of the present application, in response to the port connection operation performed by the target user, at least two of the external connection ports of the multiple target circuit modules and the at least one expansion circuit module are connected so that a connection line is provided between the at least two external connection ports. In the embodiment of the present application, the target user can manually connect the external connection ports, for example, external connection ports that are easy to identify can be manually connected.

[0090] Step S132, for any two external connection ports of the multiple target circuit modules and the at least one expansion circuit module, obtain the port attribute information of the two external connection ports, and perform matching analysis on the port attribute information of the two external connection ports to obtain corresponding port attribute matching results.

[0091] In the embodiment of the present application, for any two external connection ports of the multiple target circuit modules and the at least one expansion circuit module, the port attribute information of the two external connection ports can be obtained, and the port attribute information of the two external connection ports can be matched and analyzed to obtain corresponding port attribute matching results. The port attribute information includes at least one of voltage information, current information, ripple information, power supply type information, frequency information, and jitter information, or may also include other information.

[0092] Step S133, connecting the two external connection ports that are matched by the corresponding port attribute matching result, so that there is a connection line between the two external connection ports, thereby forming a corresponding target board circuit schematic diagram.

[0093] In the embodiment of the present application, the corresponding port attribute matching result can reflect the two matched external connection ports to be connected, so that there is a connection line between the two external connection ports, thereby forming a corresponding target board circuit schematic diagram, that is, automatic connection is achieved. For example, two external connection ports with consistent port attribute information can be connected together. For example, the port attribute information of external connection port 1 is voltage 3.3V, speed 800M, polarity P, and the port attribute information of external connection port 2 is also voltage 3.3V, speed 800M, polarity P, indicating that the external connection port 1 and the external connection port 2 have consistent port attribute information, and therefore, they can be connected together.

[0094] It can be understood that in the above step S133, in order to form a reliable target board circuit schematic diagram for subsequent specific applications, the above step S133 can further include step S133a and step S133b, and the specific content of each step is described as follows.

[0095] Step S133a: Connect the two external connection ports that are matched by the corresponding port attribute matching result, so that a connection line is formed between the two external connection ports.

[0096] In the embodiment of the present application, the corresponding port attribute matching result may reflect that two matched external connection ports are connected so that a connection line is provided between the two external connection ports.

[0097] Step S133b, after the connection operation between the external connection ports is completed, the target board circuit schematic including the multiple target circuit modules, the at least one expansion circuit module and the connection lines is compressed and exported to form a corresponding circuit schematic compression package.

[0098] In an embodiment of the present application, after the connection operation between the external connection ports is completed, the target board circuit schematic including the multiple target circuit modules, the at least one expansion circuit module and the connection line can be compressed and exported to form a corresponding circuit schematic compression package. The circuit schematic compression package includes a target language script and schematic data corresponding to the target board circuit schematic, and when the target language script is run, the schematic data is read, and the target board circuit schematic is generated based on the schematic data. For example, when all CBB modules are connected to form a board, a compressed package of a TCL language script and a CBB schematic can be exported. After decompression, the TCL language script can be run to automatically read the CBB schematic in Cadence, and the schematic of the entire board can be automatically drawn in Cadence.

[0099] Regarding the above-mentioned board circuit schematic diagram generation method, it is also necessary to explain that, in some possible implementations, the expansion circuit module is actually a power supply CBB module and a clock CBB module, and these two CBB modules provide power and clock information for the board respectively. And, generally speaking, there is at least one power supply CBB module and at least one clock CBB module in the board. In addition, in some possible implementations, each target circuit module needs to be powered by a power supply CBB module, so each target circuit module needs to be provided with a power input pin (an external connection port), and the attributes of each power input pin need to be configured with current, voltage, ripple noise, etc. Of course, the power supply CBB module needs to be configured with an output pin (an external connection port), and the output pin of each power supply CBB module needs to be configured with current, voltage, ripple noise, etc. The same is true for clock and power supply, and only the power supply pin is configured with ripple noise, etc. In addition, in addition to configuring the power and clock pins, the target circuit module also has function pin configurations, such as configuring which function type the pin belongs to (GTH (Gigabit Transceiver High), PCIe (Peripheral Component Interconnect Express), I2C (Inter-Integrated Circuit), SPI (Serial Peripheral Interface)), and the configuration properties are different for different function types. For example, I2C needs to configure input / output, polarity (positive / negative), level standard, signal rate (Mb / s), high / low level validity, etc.

[0100] In view of the above-mentioned board circuit schematic generation method, the embodiment of the present application also provides a specific application example, and the technical problem to be solved is to simplify and automate the process of designing the entire board in Cadence. Specifically, a system can be provided for image management of CBB modules, automatic connection of CBB modules in the board, recommendation of suitable power CBB modules and clock CBB modules according to the board design, and drawing of the board in Cadence after the entire board is completed.

[0101] Among them, the specific implementation process, that is, the above-mentioned board circuit schematic generation method, can be compiled into software, run in a Java virtual machine, and install a Redis database, a Mysql database, and a front-end web page, which can be run under either a Linux system or a Window system. This system can be developed in Java language and is a network application. Users can log in to the corresponding system and fill in the basic information of the CBB module, such as CBB name, CBB power consumption, CBB type (power supply, clock, DDR, FLASH, etc.), performance indicators, developer and other information. Users can also customize some CBB basic information. Upload the files of the CBB module (including external connection port files, CBB schematics, Bom tables, data manuals, netlist files, etc.). Automatically generate the corresponding CBB module schematics based on the filled basic information and the uploaded files. Users can make the CBB module public for everyone to use, or set it to private so that only they can use the CBB module.

[0102] In addition, in order to facilitate the setting of the attribute information of the pins of the CBB module, there is a mapping table, which contains the attribute information of all pins, such as the ripple, noise, overshoot, input and output of the power supply, the level standard, frequency common mode voltage, jitter requirements of the clock, and the attributes of the functional interface type PCIe, GTH, ordinary IO, etc. Users can also set the mapping table to add new attribute items.

[0103] In addition, for the automatic connection of CBB modules, after dragging the CBB module to the board, the external connection ports can be automatically connected according to the pin information that has been set for the CBB module (the external connection ports of the CBB modules at both ends map the same properties), and users can also manually adjust the connection according to actual conditions.

[0104] In addition, if the functional CBB module is completed, a qualified power CBB module and clock CBB can be recommended according to the power configuration and clock configuration required by the functional CBB module.

[0105] In addition, the software data structure and data processing are described as follows:

[0106] Information of CBB module filled in by the user: The basic information of CBB module filled in by the user (including CBB name, CBB description, CBB type, CBB status, CBB actual size, developer, etc.) will be directly stored in bas_cbb in the database;

[0107] User-uploaded files related to the CBB module: The files related to the CBB module uploaded by the user will be saved in the server / var / cbbdak, and the file information (including file name, file type, upload time, file save path, whether it is confidential, which CBB module it belongs to, etc.) will be automatically generated and saved in the bas_d_files of the database;

[0108] The user uploads the external connection port and Bom list of the CBB module: The external connection port and Bom list of the CBB module uploaded by the user will automatically analyze the file and save the relevant information (the information of the external connection port of the CBB module includes: interface name, interface type, interface coordinates, interface description, and which CBB module it belongs to; the Bom list includes: serial number, position number, model, package, number of boards, quality level, remarks, etc.) in the database bas_cbb_interface_port and bas_cbb_bom respectively;

[0109] User-mapped CBB module port attribute information: User-mapped CBB module port attribute information will be saved in the function_reflection_id field in the bas_cbb_interface_port of the database;

[0110] The user-configured power and clock properties are saved in bas_cbb_power_gnd_config and bas_cbb_clock_config respectively;

[0111] User creates a board: Users create boards and fill in board information (including board name, board description, board type, board status, board type, board level, custom parameters, etc.), which can be stored in the bas_d_module of the database;

[0112] When the user drags a CBB module to a board, the ID of the board and the ID of the CBB module will be saved in the bas_module_cbb of the database.

[0113] The CBB module in the user connection board: the ID of the external connection port (bas_cbb_interface_port) of the interconnected CBB modules will be extracted, and the connection information (connection information includes: the start connection port of the CBB module, the end connection port of the CBB module, and the name of the connection line Net_Name) will be saved in the bas_cbb_pipe of the database;

[0114] The user exports a TCL compressed package: the CBB module and connecting cables contained in the board will be read, and all files containing the CBB module will be downloaded, compressed, and downloaded to the browser.

[0115] Combination Figure 3 The embodiment of the present application also provides a circuit schematic diagram generating device for a board that can be applied to the above electronic device. The circuit schematic diagram generating device for a board can include a circuit module determining module, a circuit module expanding module, and a circuit schematic diagram forming module.

[0116] The circuit module determination module is used to determine multiple target circuit modules from a circuit module database in response to a circuit module selection operation performed by a target user, wherein the circuit module database has multiple pre-built circuit modules, and each of the circuit modules has at least a circuit schematic diagram of a corresponding circuit structure and port attribute information of an external connection port. In an embodiment of the present application, the circuit module determination module can be used to perform Figure 2 As shown in step S110, the relevant contents of the circuit module determination module can refer to the above description of step S110.

[0117] The circuit module expansion module is used to respond to the module expansion operation performed by the target user, and / or, in response to the result of the module function analysis of the multiple target circuit modules reflecting the need for module expansion operation, determine at least one expansion circuit module from the circuit module database. Figure 2 As shown in step S120, the relevant contents of the circuit module expansion module can refer to the above description of step S120.

[0118] The circuit schematic diagram forming module is used to connect the multiple target circuit modules and the external connection ports of the at least one expansion circuit module in response to the port connection operation performed by the target user and / or in response to the matching relationship between the port attribute information of the external connection ports corresponding to the multiple target circuit modules and the at least one expansion circuit module, so as to form a corresponding target board circuit schematic diagram. In the embodiment of the present application, the circuit schematic diagram forming module can be used to perform Figure 2As shown in step S130, the relevant contents of the circuit schematic forming module can refer to the above description of step S130.

[0119] In the embodiment of the present application, corresponding to the above-mentioned board circuit schematic diagram generation method applied to the electronic device, a computer-readable storage medium is also provided, in which a computer program is stored, and when the computer program is run, each step of the board circuit schematic diagram generation method is executed. Among them, each step executed when the aforementioned computer program is run will not be described one by one here, and reference can be made to the above explanation of the board circuit schematic diagram generation method.

[0120] In summary, the board circuit schematic generation method and device, electronic device and storage medium provided by the present application can, first, determine multiple target circuit modules from the circuit module database; secondly, in response to the module expansion operation, and / or, in response to the result of the module function analysis of multiple target circuit modules reflecting the need for module expansion operation, determine at least one expansion circuit module from the circuit module database; then, in response to the port connection operation, and / or, in response to the matching relationship between the port attribute information of the external connection ports corresponding to the multiple target circuit modules and at least one expansion circuit module, connect the multiple target circuit modules and the external connection ports of at least one expansion circuit module. Based on the above content, on the one hand, since the target circuit module can be determined directly from the circuit module database, the efficiency can be fully improved compared with the conventional technical solution that requires drawing the circuit schematic diagram of the circuit module and marking the pins; on the other hand, the module expansion operation and the connection operation of the external connection port can also be performed, so that the efficiency can be further improved, so the problem of relatively low efficiency of board circuit schematic generation existing in the prior art can be improved.

[0121] In several embodiments provided in the embodiments of the present application, it should be understood that the disclosed device and method can also be implemented in other ways. The device and method embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the device, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0122] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0123] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, electronic device, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code. It should be noted that in this article, the term "include", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or device. Without more constraints, an element defined by the phrase "comprising a..." does not exclude the existence of other identical elements in the process, method, article or apparatus comprising the element.

[0124] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for generating a circuit schematic diagram of a board, characterized in that: include: In response to the circuit module selection operation performed by the target user, a plurality of target circuit modules are determined from a circuit module database, wherein the circuit module database has a plurality of pre-built circuit modules, and each of the circuit modules has at least a circuit schematic diagram of a corresponding circuit structure and port attribute information of an external connection port; In response to a module expansion operation performed by the target user, and / or in response to a result of module function analysis performed on the plurality of target circuit modules indicating that a module expansion operation is required, determining at least one expansion circuit module from the circuit module database; In response to the port connection operation performed by the target user, and / or in response to the matching relationship between the port attribute information of the external connection ports corresponding to the multiple target circuit modules and the at least one expansion circuit module, the multiple target circuit modules and the external connection ports of the at least one expansion circuit module are connected to form a corresponding target board circuit schematic diagram; Before executing the step of determining a plurality of target circuit modules from a circuit module database in response to the circuit module selection operation performed by the target user, the board circuit schematic diagram generating method further includes: In response to the circuit module building operation of the target user or other users, the following steps are performed to form the circuit module database: Acquire and save a module schematic file of any circuit module, so that the module schematic file is included in the circuit module database; Acquire and save basic information of any circuit module so that the circuit module database has the basic information, wherein the basic information includes at least one of module name information, module description information, module type information, module status information and module size information of the circuit module; Acquire and save relevant file information of any circuit module, so that the circuit module database has the relevant file information, wherein the relevant file information includes at least one of file name information, file type information, file acquisition time information, file storage path information, and information representing the confidentiality level of the file; Acquire and save the external connection port information of any circuit module, so that the circuit module database has the external connection port information, wherein the external connection port information includes at least one of port name information, port type information, port coordinate information, port description information, and information of the circuit module to which it belongs; Acquire and save the external connection port attribute information of any circuit module so that the circuit module database has the external connection port attribute information, wherein the external connection port attribute information includes at least one of voltage information, current information, ripple information, power supply type information, frequency information, and jitter information.

2. The method for generating a circuit schematic diagram of a board card according to claim 1, characterized in that: In response to the module expansion operation performed by the target user, and / or in response to the result of module function analysis performed on the multiple target circuit modules reflecting the need to perform a module expansion operation, the step of determining at least one expansion circuit module from the circuit module database includes: In response to the module expansion operation performed by the target user, determining at least one expansion circuit module from the circuit module database; and / or, In response to the result of module function analysis on the multiple target circuit modules reflecting the need to perform module expansion operation, at least one expansion circuit module is determined from the circuit module database, wherein the at least one expansion circuit module includes a power circuit module and / or a clock circuit module for providing electrical energy and / or providing a clock signal, and the at least one expansion circuit module belongs to a circuit module other than the multiple target circuit modules in the circuit module database.

3. The method for generating a circuit schematic diagram of a board card according to claim 2, characterized in that: In response to the result of performing module function analysis on the plurality of target circuit modules reflecting that a module expansion operation is required, the step of determining at least one expanded circuit module from the circuit module database comprises: Performing module function analysis on the multiple target circuit modules to obtain corresponding function analysis results, wherein the function analysis results are used to reflect whether there are function circuit modules in the multiple target circuit modules, and the function circuit modules refer to circuit modules that need to be configured with power supply and / or clock; When the functional analysis result reflects that there is a functional circuit module in the plurality of target circuit modules, at least one extended circuit module is determined from the circuit module database.

4. The method for generating a circuit schematic diagram of a board card according to claim 3, characterized in that: When the functional analysis result reflects that there is a functional circuit module in the plurality of target circuit modules, the step of determining at least one extended circuit module from the circuit module database comprises: When the functional analysis result reflects that there is a functional circuit module among the multiple target circuit modules, for each of the functional circuit modules, obtaining port attribute information of an external connection port of the functional circuit module, wherein the port attribute information includes at least one of voltage information, current information, ripple information, power supply type information, frequency information, and jitter information; Based on the port attribute information of the external connection port of the functional circuit module, at least one expansion circuit module matching the functional circuit module is determined from the circuit module database.

5. The method for generating a circuit schematic diagram of a board card according to claim 1, characterized in that: The step of connecting the multiple target circuit modules and the external connection ports of the at least one expansion circuit module in response to the port connection operation performed by the target user and / or in response to the matching relationship between the port attribute information of the external connection ports corresponding to the multiple target circuit modules and the at least one expansion circuit module to form a corresponding target board circuit schematic diagram includes: In response to the port connection operation performed by the target user, connecting at least two external connection ports of the multiple target circuit modules and the at least one expansion circuit module so that a connection line is provided between the at least two external connection ports; and / or For any two external connection ports of the multiple target circuit modules and the at least one expansion circuit module, obtain port attribute information of the two external connection ports, and perform matching analysis on the port attribute information of the two external connection ports to obtain corresponding port attribute matching results, wherein the port attribute information includes at least one of voltage information, current information, ripple information, power supply type information, frequency information, and jitter information; The two external connection ports that are matched by the corresponding port attribute matching result are connected so that a connection line is provided between the two external connection ports, thereby forming a corresponding target board circuit schematic diagram.

6. The method for generating a circuit schematic diagram of a board card according to claim 5, characterized in that: The step of connecting the two external connection ports that are matched by the corresponding port attribute matching result so that there is a connection line between the two external connection ports, thereby forming a corresponding target board circuit schematic diagram, includes: Connecting two external connection ports that are matched by the corresponding port attribute matching result, so that a connection line exists between the two external connection ports; After the connection operation between the external connection ports is completed, the target board circuit schematic including the multiple target circuit modules, the at least one expansion circuit module and the connecting lines is compressed and exported to form a corresponding circuit schematic compression package, wherein the circuit schematic compression package includes a target language script and schematic data corresponding to the target board circuit schematic, and when the target language script is run, the schematic data is read and the target board circuit schematic is generated based on the schematic data.

7. A device for generating a circuit schematic diagram of a board, characterized in that: include: A circuit module determination module, for determining a plurality of target circuit modules from a circuit module database in response to a circuit module selection operation performed by a target user, wherein the circuit module database has a plurality of pre-built circuit modules, and each of the circuit modules has at least a circuit schematic diagram of a corresponding circuit structure and port attribute information of an external connection port; a circuit module expansion module, configured to determine at least one expansion circuit module from the circuit module database in response to a module expansion operation performed by the target user and / or in response to a result of a module function analysis performed on the plurality of target circuit modules indicating that a module expansion operation is required; A circuit schematic diagram forming module, configured to connect the multiple target circuit modules and the external connection ports of the at least one expansion circuit module in response to the port connection operation performed by the target user and / or in response to the matching relationship between the port attribute information of the external connection ports corresponding to the multiple target circuit modules and the at least one expansion circuit module, so as to form a corresponding target board circuit schematic diagram; The board circuit schematic diagram generating device further includes other modules for: In response to the circuit module building operation of the target user or other users, the following steps are performed to form the circuit module database: Acquire and save a module schematic file of any circuit module, so that the module schematic file is included in the circuit module database; Acquire and save basic information of any circuit module so that the circuit module database has the basic information, wherein the basic information includes at least one of module name information, module description information, module type information, module status information and module size information of the circuit module; Acquire and save relevant file information of any circuit module, so that the circuit module database has the relevant file information, wherein the relevant file information includes at least one of file name information, file type information, file acquisition time information, file storage path information, and information representing the confidentiality level of the file; Acquire and save the external connection port information of any circuit module, so that the circuit module database has the external connection port information, wherein the external connection port information includes at least one of port name information, port type information, port coordinate information, port description information, and information of the circuit module to which it belongs; Acquire and save the external connection port attribute information of any circuit module so that the circuit module database has the external connection port attribute information, wherein the external connection port attribute information includes at least one of voltage information, current information, ripple information, power supply type information, frequency information, and jitter information.

8. An electronic device, characterized in that: include: Memory for storing computer programs; A processor connected to the memory is used to execute the computer program stored in the memory to implement the board circuit schematic generation method described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is run, the method for generating a circuit schematic diagram of a board card according to any one of claims 1 to 6 is executed.

Citation Information

Patent Citations

  • VPC-based modular test adapter with the functions of conditioning and hot swapping

    CN102735881A

  • Data processing method and device, distributed data flow programming framework and related components

    CN111324558A