Signal layer sorting method, electronic equipment and storage medium
By introducing signal layer sorting controls and automated adjustment functions into printed circuit board software, the problems of low efficiency and high error rate of circuit board stacking adjustment in the prior art are solved, and more efficient and accurate signal layer sorting is achieved.
Patent Information
- Application Number
- CN202410981471.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-11-12
AI Technical Summary
Existing board stacking adjustment methods rely on manual sorting, resulting in inefficiency and error-prone in dense wiring and multi-layer designs.
提供一种信号层排序方法,通过在印制电路板软件中引入排序控件,显示排序调整界面,允许用户调整信号层的叠层顺序,创建信号层副本,并根据目标顺序自动调整信号层的位置,实现自动化排序。
It improves the efficiency of signal layer sorting, reduces the chance of errors, and significantly improves adjustment efficiency and accuracy in dense wiring and multi-layer designs.
Smart Images

Figure CN118940708A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to circuit board layout design, and in particular to a signal layer sorting method, electronic equipment and storage medium. Background Art
[0002] PCB Layout Design stackup refers to the planning and design of an arrangement and combination of copper layers and insulation layers inside the PCB during layout and routing during the PCB design phase.
[0003] In the prior art, when adjusting the PCB stackup in the printed circuit board software, it is often necessary to borrow one or several power plane layers in the existing signal layers, manually clear the copper foil blocks on these signal plane layers, and then use these signal layers to adjust the stackup. In addition, the borrowed power plane layers need to be restored later.
[0004] It can be seen that the existing PCB stack adjustment method completely relies on manual sorting. Therefore, when there are PCB design drawings with dense wiring and a large number of layers in the design project, there are problems such as low adjustment efficiency and easy errors. Summary of the invention
[0005] The purpose of the present application is to provide a signal layer sorting method, electronic device and storage medium to address the deficiencies in the above-mentioned prior art, which can improve the sorting efficiency and reduce the error probability.
[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, the present invention provides a signal layer sorting method, the method comprising:
[0008] In response to a trigger operation on a sorting control in the printed circuit board software, a sorting adjustment interface corresponding to the current printed circuit board project is displayed, wherein the sorting adjustment interface includes: an initial stacking order corresponding to multiple signal layers in the current printed circuit board project;
[0009] In response to an adjustment operation on the initial stacking order in the sorting adjustment interface, displaying a target stacking order;
[0010] In response to a triggering operation on a swap control in the sorting adjustment interface, a stacking order between a plurality of signal layers in the current printed circuit board project is adjusted according to the target stacking order.
[0011] In an optional embodiment, in response to the triggering operation of the exchange control in the sorting adjustment interface, adjusting the stacking order between the multiple signal layers in the current printed circuit board project according to the target stacking order includes:
[0012] In response to a triggering operation on a swap control in the sorting adjustment interface, creating a corresponding signal layer copy for each of the signal layers;
[0013] Based on the signal layer copies corresponding to each of the signal layers, the stacking order between the multiple signal layers in the current printed circuit board project is adjusted according to the target stacking order.
[0014] In an optional implementation, in response to the triggering operation of the exchange control in the sorting adjustment interface, creating a corresponding signal layer copy for each signal layer includes:
[0015] Determining a target signal layer identifier corresponding to a target signal layer that needs to be adjusted according to the initial stacking sequence and the target stacking sequence;
[0016] According to the target signal layer identifier, a corresponding target signal layer copy is created for each target signal layer.
[0017] In an optional implementation, adjusting the stacking order between the plurality of signal layers in the current printed circuit board project according to the target stacking order based on the signal layer copies corresponding to each of the signal layers includes:
[0018] Delete the content in the target signal layer, and based on the target stacking order, translate the content in the target signal layer copy to the specified signal layer to adjust the stacking order between multiple signal layers in the current printed circuit board project, wherein the specified signal layer is the expected signal layer corresponding to the target signal layer copy indicated by the target stacking order.
[0019] In an optional embodiment, in response to the triggering operation of the exchange control in the sorting adjustment interface, adjusting the stacking order between the multiple signal layers in the current printed circuit board project according to the target stacking order includes:
[0020] In response to a triggering operation on a swap control in the sorting adjustment interface, detecting whether the target stacking order is correct;
[0021] If correct, adjusting the stacking order between the multiple signal layers in the current printed circuit board project according to the target stacking order;
[0022] If it is incorrect, the signal layer identifiers with incorrect ordering are distinguished and marked in the target stacking sequence.
[0023] In an optional implementation, the step of distinguishing and marking incorrectly ordered signal layer identifiers in the target stacking sequence includes:
[0024] In the target stacking sequence, signal layer identifiers with incorrect order are marked in a highlighting and / or flashing manner.
[0025] In an optional embodiment, after adjusting the stacking order between multiple signal layers in the current printed circuit board project according to the target stacking order in response to the triggering operation of the exchange control in the sorting adjustment interface, the method further includes:
[0026] In response to a trigger operation of closing a control in the sort adjustment interface, determining whether content in each signal layer is modified during the adjustment process;
[0027] If so, a preset prompt message is displayed, wherein the preset prompt message includes: an identifier of the signal layer that has been modified.
[0028] In an optional embodiment, each of the signal layers and its corresponding signal layer copy are displayed in a differentiated manner in a signal layer display area of the printed circuit board software, and each of the signal layer copies is arranged adjacent to its corresponding signal layer.
[0029] In a second aspect, the present invention provides a signal layer sorting device, comprising:
[0030] A display module is used to display a sorting adjustment interface corresponding to the current printed circuit board project in response to a triggering operation on a sorting control in the printed circuit board software, wherein the sorting adjustment interface includes: an initial stacking order corresponding to multiple signal layers in the current printed circuit board project;
[0031] A response module, configured to display a target stacking order in response to an adjustment operation on the initial stacking order in the sorting adjustment interface;
[0032] The adjustment module is used to adjust the stacking order between multiple signal layers in the current printed circuit board project according to the target stacking order in response to the triggering operation of the exchange control in the sorting adjustment interface.
[0033] In an optional implementation, the adjustment module is specifically configured to create a corresponding signal layer copy for each signal layer in response to a triggering operation on a swap control in the sort adjustment interface;
[0034] Based on the signal layer copies corresponding to each of the signal layers, the stacking order between the multiple signal layers in the current printed circuit board project is adjusted according to the target stacking order.
[0035] In an optional implementation manner, the adjustment module is specifically configured to determine a target signal layer identifier corresponding to a target signal layer that needs to be adjusted according to the initial stacking order and the target stacking order;
[0036] According to the target signal layer identifier, a corresponding target signal layer copy is created for each target signal layer.
[0037] In an optional embodiment, the adjustment module is specifically used to delete the content in the target signal layer, and based on the target stacking order, translate the content in the target signal layer copy to the designated signal layer to adjust the stacking order between multiple signal layers in the current printed circuit board project, and the designated signal layer is the expected signal layer corresponding to the target signal layer copy indicated by the target stacking order.
[0038] In an optional implementation, the adjustment module is specifically configured to detect whether the target stacking order is correct in response to a triggering operation on a swap control in the sort adjustment interface;
[0039] If correct, adjusting the stacking order between the multiple signal layers in the current printed circuit board project according to the target stacking order;
[0040] If it is incorrect, the signal layer identifiers with incorrect ordering are distinguished and marked in the target stacking sequence.
[0041] In an optional implementation manner, the adjustment module is specifically configured to mark incorrectly ordered signal layer identifiers in the target stacking sequence by highlighting and / or flashing.
[0042] In an optional implementation manner, the adjustment module is further used to determine whether the content in each signal layer is modified during the adjustment process in response to a trigger operation of closing a control in the sort adjustment interface;
[0043] If so, a preset prompt message is displayed, wherein the preset prompt message includes: an identifier of the signal layer that has been modified.
[0044] In an optional embodiment, each of the signal layers and its corresponding signal layer copy are displayed in a differentiated manner in a signal layer display area of the printed circuit board software, and each of the signal layer copies is arranged adjacent to its corresponding signal layer.
[0045] In a third aspect, the present invention provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the signal layer sorting method as described in any of the aforementioned implementations.
[0046] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the signal layer sorting method as described in any of the aforementioned implementations are executed.
[0047] The beneficial effects of this application are:
[0048] The signal layer sorting method, electronic device and storage medium provided in the embodiments of the present application include: in response to the triggering operation of the sorting control in the printed circuit board software, displaying the sorting adjustment interface corresponding to the current printed circuit board project, the sorting adjustment interface including: the initial stacking order corresponding to multiple signal layers in the current printed circuit board project; in response to the adjustment operation of the initial stacking order in the sorting adjustment interface, displaying the target stacking order; in response to the triggering operation of the exchange control in the sorting adjustment interface, adjusting the stacking order between multiple signal layers in the current printed circuit board project according to the target stacking order, so that the multiple signal layers in the current printed circuit board project can be re-automatically sorted based on the sorting adjustment interface triggered by the sorting control. Compared with the existing manual sorting method, the sorting efficiency can be effectively improved, and the error probability can also be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0050] Figure 1 A schematic diagram of a flow chart of a signal layer sorting method provided in an embodiment of the present application;
[0051] Figure 2 A schematic diagram of the interface of a printed circuit board software provided in an embodiment of the present application;
[0052] Figure 3 A schematic diagram of another printed circuit board software interface provided in an embodiment of the present application;
[0053] Figure 4 A schematic diagram of a flow chart of another signal layer sorting method provided in an embodiment of the present application;
[0054] Figure 5 A schematic diagram of a flow chart of another signal layer sorting method provided in an embodiment of the present application;
[0055] Figure 6 A schematic diagram of a flow chart of another signal layer sorting method provided in an embodiment of the present application;
[0056] Figure 7 A schematic diagram of a flow chart of another signal layer sorting method provided in an embodiment of the present application;
[0057] Figure 8 A schematic diagram of another printed circuit board software interface provided in an embodiment of the present application;
[0058] Fig. 9 A schematic diagram of functional modules of a signal layer sorting device provided in an embodiment of the present application;
[0059] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0060] 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 part of the embodiments of the present application, rather than all 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.
[0061] 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.
[0062] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0063] In the related art, the adjustment of PCB stacking in the printed circuit board software mainly relies on sorting. Therefore, when there are PCB design drawings with dense wiring and a large number of layers in the design project, for example, the number of PCB layers in some projects is as high as 50 layers or even 100 layers. Therefore, the existing method will have the problems of cumbersome operation, low adjustment efficiency, and easy error.
[0064] In view of this, an embodiment of the present application provides a signal layer sorting method, which can be applied to achieve automatic sorting, which can not only improve the sorting efficiency but also reduce the error probability.
[0065] Figure 1 A schematic diagram of a flow chart of a signal layer sorting method provided in an embodiment of the present application, Figure 2A schematic diagram of the interface of a printed circuit board software provided in an embodiment of the present application. Optionally, the execution subject of the method can be an electronic device such as a computer, a server, a processor, etc. that can install and run the printed circuit board software. In some embodiments, the signal layer sorting method can be integrated into the existing printed circuit board software in the form of a plug-in, and a sorting control is provided in the printed circuit board software. The method can be applied to the scene where the PCB stack needs to be reordered and adjusted. For example, considering the impact of each signal layer adjacent to the signal layer, the difference in copper thickness of each layer, the difference in residual copper rate of each layer, the current demand, and considering the need for upper and lower symmetry of the stack to balance the warpage of the PCB, the existing stacking order needs to be adjusted.
[0066] like Figure 1 As shown, the method may include:
[0067] Step 101, in response to a triggering operation on a sorting control in a printed circuit board software, a sorting adjustment interface corresponding to a current printed circuit board project is displayed, wherein the sorting adjustment interface includes: an initial stacking order corresponding to a plurality of signal layers in the current printed circuit board project.
[0068] Alternatively, if Figure 2 As shown, the sorting control 20 may be displayed in the toolbar of the printed circuit board software 10, and in response to a touch operation on the sorting control 20, a sorting adjustment interface 30 corresponding to the current printed circuit board project may be displayed.
[0069] Among them, the current printed circuit board project may include: multiple signal layers, optionally, the multiple signal layers may include: power layer, ground layer, digital signal layer and other types of signal layers, and the multiple signal layers should be located between the top signal layer (TOP) and the bottom signal layer (Bottom).
[0070] Optionally, each signal layer may include: a trace with electrical properties, a geometrical plane with electrical properties, etc., which are not limited here. In addition, the present application does not limit the number and type of the plurality of signal layers.
[0071] Among them, Figure 2 As shown, the sorting adjustment interface 30 may include: the initial stacking order corresponding to multiple signal layers in the current printed circuit board project. Optionally, the initial stacking order may be a pre-designed stacking order, or may be any version of the stacking order in the design stage. Each signal layer may correspond to a signal layer identifier, and the initial stacking order may be marked with the signal layer identifier corresponding to each signal layer, such as Figure 2 As shown, from the top layer to the bottom layer, the initial stacking order corresponding to the printed circuit board project 001 is: L2, L3, L4, L5, L6, L7, L8 and L9.
[0072] Step 102: In response to the adjustment operation of the initial stacking order in the sorting adjustment interface, the target stacking order is displayed.
[0073] Optionally, the sorting adjustment interface may further provide an adjustment control, which may be triggered by a mouse, keyboard, or the like to generate an adjustment operation for the initial stacking order. In response to the adjustment operation, the target stacking order may be displayed.
[0074] Of course, the triggering method of the adjustment operation is not limited to this. For example, Figure 2 As shown, the sort adjustment interface 30 may provide an editing area 31 for a target stacking order, in which a user may edit and save the desired target stacking order. In response to the save operation, an adjustment operation for the initial stacking order may be generated.
[0075] In some embodiments, the target stacking order may be identical to a portion of the initial stacking order. Of course, the two may be completely different. For example, the target stacking order is the reverse order of the initial stacking order, which is not limited here.
[0076] Figure 3 This is a schematic diagram of another printed circuit board software interface provided in the embodiment of the present application. Figure 3 As shown, the target stacking order edited in the editing area 31 can be L2, L7, L8, L4, L3, L6, L5 and L9, wherein the target stacking order and the initial stacking order that are different can be distinguished and marked, based on Figure 3 From the identification content, it can be seen that the arrangement order of L3, L4, L5, L6, L7 and L8 in the initial stacking order needs to be adjusted.
[0077] Step 103: In response to a triggering operation on a swap control in the sorting adjustment interface, a stacking order between multiple signal layers in the current printed circuit board project is adjusted according to a target stacking order.
[0078] Alternatively, if Figure 3 As shown, the sorting adjustment interface can also provide a swap control 40, which can be triggered by a mouse, keyboard, or other triggering method to generate a corresponding trigger operation. In response to the trigger operation, the stacking order between multiple signal layers in the current printed circuit board project can be adjusted according to the target stacking order, wherein the adjusted stacking order of the multiple signal layers is consistent with the target stacking order.
[0079] It can be seen that by applying the embodiments of the present application, it is possible to realize automatic re-sorting of multiple signal layers in the current printed circuit board project based on the sorting adjustment interface triggered by the sorting control. Compared with the existing manual sorting method, the sorting efficiency can be effectively improved and the error probability can be reduced.
[0080] In summary, an embodiment of the present application provides a signal layer sorting method, which includes: in response to a triggering operation on a sorting control in a printed circuit board software, displaying a sorting adjustment interface corresponding to the current printed circuit board project, the sorting adjustment interface including: an initial stacking order corresponding to multiple signal layers in the current printed circuit board project; in response to an adjustment operation on the initial stacking order in the sorting adjustment interface, displaying a target stacking order; in response to a triggering operation on a swap control in the sorting adjustment interface, adjusting the stacking order between multiple signal layers in the current printed circuit board project according to the target stacking order, thereby realizing that the multiple signal layers in the current printed circuit board project can be automatically re-sorted based on the sorting adjustment interface triggered by the sorting control. Compared with the existing manual sorting method, the sorting efficiency can be effectively improved, and the error probability can also be reduced.
[0081] Figure 4 A schematic diagram of another signal layer sorting method provided in an embodiment of the present application. In an optional implementation manner, as Figure 4 As shown, in response to the triggering operation of the swap control in the sorting adjustment interface, the stacking order between multiple signal layers in the current printed circuit board project is adjusted according to the target stacking order, including:
[0082] Step 201: In response to a triggering operation on a swap control in a sorting adjustment interface, a corresponding signal layer copy is created for each signal layer.
[0083] Optionally, the exchange control in the sort adjustment interface may be acted upon by triggering means such as a mouse or a keyboard, and in response to the triggering operation, a signal layer copy may be created for each signal layer.
[0084] In some embodiments, the content in each signal layer copy can be the same as the content in its corresponding signal layer, or the content in each signal layer copy is a preset content (for example, it can include content common to each signal layer - through-hole), or each signal layer copy is an empty copy. This is not limited here and can be flexibly selected according to the operating performance of the electronic device deployed by the method in the actual scenario.
[0085] Among them, each signal layer copy can correspond to a copy identifier, and each copy identifier can be determined by its corresponding signal layer identifier and a preset character, so that the correspondence between each signal layer copy and each signal layer can be quickly identified. Optionally, the preset character can be "-1", "-a", etc., which is not limited here and can be flexibly set according to the actual application scenario.
[0086] Step 202: Based on the signal layer copies corresponding to each signal layer, adjust the stacking order between multiple signal layers in the current printed circuit board project according to the target stacking order.
[0087] Among them, after creating a corresponding signal layer copy for each signal layer, each signal layer copy can be used as a bridge layer to adjust the stacking order between multiple signal layers in the current printed circuit board project according to the target stacking order.
[0088] Optionally, taking the example that the content in each signal layer copy is the same as the content in its corresponding signal layer, when making specific adjustments, you can first determine the target signal layer that needs to be adjusted based on the target stacking order and the initial stacking order, and delete the content in the target signal layer; then, according to the indicated order of the target stacking order, copy the corresponding content from each signal layer copy to the target signal layer, so as to achieve the adjustment of the stacking order of multiple signal layers.
[0089] For example, the current printed circuit board project includes 8 signal layers from L2 to L9, among which the initial stacking order corresponding to the multiple signal layers is: L2, L3, L4, L5, L6, L7, L8 and L9 from top to bottom. If the target stacking order is: L2, L7, L8, L4, L3, L6, L5 and L9, that is, the contents of L3 to L8 in the initial stacking order need to be adjusted according to the target stacking order.
[0090] Among them, L7 is taken as an example for explanation, that is, it is necessary to adjust the content in the signal layer corresponding to the signal layer identifier L7 in the initial stacking order to the position of L3 in the initial stacking order. Optionally, if the signal layer copy corresponding to L7 is L7-1, the signal layer copy corresponding to L3 is L3-1, and the content of the signal layer copy L7-1 is exactly the same as that in L7, and the content of the signal layer copy L3-1 is exactly the same as that in L3, optionally, when making specific adjustments, the signal layer identifier of the signal layer that needs to be adjusted can be adjusted. For example, the signal layer identifier L7 can be renamed L7-2, and then the content in the signal layer copy L7-1 is correspondingly translated in the original signal layer L3, and the original signal layer L3 is renamed and modified to L7. For the adjustment of other signal layers, please refer to the adjustment process and will not be repeated here.
[0091] By applying the embodiments of the present application, it is possible to automatically create corresponding signal layer copies for each signal layer, use the signal layer copies corresponding to each signal layer as bridge layers, and quickly adjust the stacking order between multiple signal layers in the current printed circuit board project according to the target stacking order. Compared with the manual adjustment method, the process of manually adjusting each signal layer is eliminated, and the signal layer sorting efficiency can be improved.
[0092] Figure 5 A schematic diagram of another signal layer sorting method provided in an embodiment of the present application. In an optional implementation manner, as Figure 5 As shown, in response to the triggering operation of the exchange control in the sorting adjustment interface, the corresponding signal layer copy is created for each signal layer, including:
[0093] Step 301: Determine a target signal layer identifier corresponding to a target signal layer that needs to be adjusted according to an initial stacking sequence and a target stacking sequence.
[0094] Step 302: Create a corresponding target signal layer copy for each target signal layer according to the target signal layer identifier.
[0095] Optionally, when creating a signal layer copy, a corresponding target signal layer copy may be created only for a target signal layer that needs to be adjusted.
[0096] In some embodiments, the target signal layer identifiers corresponding to the target signal layers that need to be adjusted in the initial stacking order and the target stacking order can be compared and determined, so that only corresponding target signal layer copies are created for each target signal layer. Compared with the method of creating a signal layer copy for each signal layer, the number of signal layer copies created can be reduced, the sorting overhead can be reduced, and the applicability of the method of the present application can be improved.
[0097] For example, the current printed circuit board project includes 8 signal layers from L2 to L9, among which the initial stacking order corresponding to the multiple signal layers is from top to bottom: L2, L3, L4, L5, L6, L7, L8 and L9. If the target stacking order is: L2, L3, L4, L5, L6, L8, L7 and L9, by comparing the initial stacking order and the target stacking order, it can be seen that the two target signal layers L7 and L8 need to be reordered. Then, signal layer copies corresponding to the two target signal layers L7 and L8 can be created respectively. In this way, the number of signal layer copies created can be reduced, the sorting overhead can be reduced, and the probability of device jamming due to excessive creation of signal layer copies can be reduced.
[0098] In an optional implementation, the above-mentioned adjusting the stacking order between multiple signal layers in the current printed circuit board project according to the target stacking order based on the signal layer copies corresponding to each signal layer includes:
[0099] Delete the content in the target signal layer, and based on the target stacking order, translate the content in the target signal layer copy to the specified signal layer to adjust the stacking order between multiple signal layers in the current printed circuit board project. The specified signal layer is the expected signal layer corresponding to the target signal layer copy indicated by the target stacking order.
[0100] Based on the above content, it can be understood that since a corresponding signal layer copy has been created for each target signal layer, and the signal layer copy includes all the contents in its corresponding target signal layer, the content in the target signal layer can be deleted, and according to the target stacking order, the content in the target signal layer copy can be translated to the specified signal layer (that is, the corresponding expected signal layer) to achieve a sorting operation and avoid overlapping and interleaving of signal layer contents.
[0101] Referring to the above example, if the initial stacking order from top to bottom is: L2, L3, L4, L5, L6, L7, L8 and L9, the target stacking order is: L2, L3, L4, L5, L6, L8, L7 and L9. Optionally, after creating L7-1 and L8-1 signal layer copies corresponding to the two target signal layers L7 and L8, respectively, the contents in L7 and L8 can be deleted and renamed to L7-2 and L8-2 respectively; at this time, according to the target stacking order, the contents in the L7-1 target signal layer copy can be correspondingly translated to its corresponding expected signal layer L8-2, and the contents in the L8-1 target signal layer copy can be correspondingly translated to its corresponding expected signal layer L7-2, so as to achieve reordering of the signal layers.
[0102] Of course, after completing the sorting operation, you can also delete the copies of each signal layer so that the current printed circuit board project can save the original number of layers, avoiding too many signal layer copies occupying the device memory and affecting the operation of the device.
[0103] Figure 6 A schematic diagram of another signal layer sorting method provided in an embodiment of the present application. In an optional implementation manner, as Figure 6 As shown, in response to the triggering operation of the swap control in the sorting adjustment interface, the stacking order between multiple signal layers in the current printed circuit board project is adjusted according to the target stacking order, including:
[0104] Step 401: In response to a triggering operation on a swap control in a sorting adjustment interface, detecting whether a target stacking order is correct.
[0105] Step 402: If correct, adjust the stacking order between multiple signal layers in the current printed circuit board project according to the target stacking order.
[0106] Step 403: If it is incorrect, distinguish and mark the incorrectly ordered signal layer identifiers in the target stacking sequence.
[0107] Optionally, the sorting adjustment interface may provide a swap control. It is understandable that if the target stacking order is manually edited by the user, the target stacking order may be incorrect. For example, there are multiple overlapping signal layer identifiers in the target stacking order. For example, a target stacking order is: L2, L3, L3, L5. It can be seen that there are multiple L3s in the target stacking order, and the target stacking order is incorrectly set. For another example, there are illegal signal layer identifiers in the target stacking order. For example, a target stacking order is: L2, L3, TOP, L5. It is understandable that the TOP layer is a fixed top layer and its order does not need to be modified. The target stacking order is incorrectly set.
[0108] Based on the above description, in response to the triggering operation of the exchange control in the sorting adjustment interface, the target stacking order can be detected according to the preset rules. If it is correct, refer to the above method for sorting. If it is not correct, the signal layer identifiers with incorrect sorting can be distinguished and marked in the sorting adjustment interface, so that the user can quickly locate the problem area and make modifications, thereby improving modification efficiency.
[0109] Optionally, the above-mentioned preset rules may include but are not limited to: the signal layer identifiers in the target stacking sequence should be different, the target stacking sequence should not include preset signal layer identifiers (for example, TOP, Bottom), the signal layer identifiers in the target stacking sequence should be the same as the signal layer identifier in the initial stacking sequence, etc., which are not limited here and can be flexibly set according to the actual application scenario.
[0110] By using the embodiments of the present application, a preliminary check can be performed on the target stacking order in advance during the sorting process, and the signal layer identifiers with incorrect sorting can be differentiated and marked, so that the user can make timely adjustments and optimizations, thereby improving the flexibility of the method of the present application.
[0111] In an optional implementation, the above-mentioned distinguishing and marking incorrectly ordered signal layer identifiers in the target stacking sequence includes:
[0112] In the sorting adjustment interface, the signal layer identifiers with incorrect sorting are highlighted and / or flashed.
[0113] Optionally, when performing differentiated marking, the signal layer identifiers that are incorrectly sorted in the target stacking order can be marked in a highlighting manner, or the signal layer identifiers that are incorrectly sorted in the target stacking order can be marked in a flashing manner, or the signal layer identifiers that are incorrectly sorted in the target stacking order can be marked in a highlighting and flashing superposition manner. There is no limitation here and it can be flexibly set according to the actual application scenario.
[0114] By applying the embodiments of the present application, it is possible to use a variety of differentiated methods to mark incorrectly sorted signal layer identifiers, which can meet the needs of a variety of users and improve the applicability of the method of the present application.
[0115] Figure 7 A schematic diagram of a flow chart of another signal layer sorting method provided in an embodiment of the present application, Figure 8 This is a schematic diagram of another printed circuit board software interface provided by the embodiment of the present application. In an optional implementation, if Figure 7 As shown, after the stacking order between multiple signal layers in the current printed circuit board project is adjusted according to the target stacking order in response to the triggering operation of the exchange control in the sorting adjustment interface, the method further includes:
[0116] Step 501: In response to a trigger operation of closing a control in a sort adjustment interface, it is determined whether the content in each signal layer is modified during the adjustment process.
[0117] Step 502: If yes, display preset prompt information, which includes: the signal layer identifier that has been modified.
[0118] Alternatively, if Figure 8 As shown, the sorting adjustment interface may further include a close control 50, which is used to close the sorting adjustment interface and to check the current adjustment process before closing the sorting adjustment interface to determine whether the content in each signal layer is modified during the adjustment process.
[0119] In some embodiments, the close control 50 in the sorting adjustment interface can be acted on by triggering methods such as mouse and keyboard. In response to the triggering method, it is determined whether the content in each signal layer is modified during the adjustment process. Optionally, when making a specific judgment, for the re-sorted signal layer, the file size of the signal layer copy can be compared with the file size of the corresponding designated signal layer. If different, it is determined that the content in the designated signal layer has changed relative to the content in the signal layer copy, that is, the content in the designated signal layer has been modified. If the same, it is determined that no change has occurred, that is, no modification has been made. At this time, the sorting adjustment interface can be closed.
[0120] Among them, if it is determined that a modification has been made, a preset prompt message can be displayed. The preset prompt signal can include relevant modification information, for example, it can include: the signal layer identification of the modification, the modification time, the modification reason, the modification user identification, etc., which are not limited here. This ensures that if the content in the signal layer is updated during the sorting process, the user can be reminded in time, which can avoid erroneous modifications during the sorting process that are not noticed by the user, thereby improving the applicability of the method of the present application.
[0121] In an optional implementation, each signal layer and its corresponding signal layer copy are displayed in a differentiated manner in a signal layer display area of the printed circuit board software, and each signal layer copy is arranged adjacent to its corresponding signal layer.
[0122] Optionally, in order to facilitate users to synchronously observe changes in signal layer copies, each signal layer and its corresponding signal layer copy can be differentiated and displayed in the signal layer display area of the printed circuit board software. For example, the background color of each signal layer can be set to a first background color, and the background color of its corresponding signal layer copy can be set to a second background color. Of course, the specific display method is not limited to this and can be flexibly set according to the actual application scenario.
[0123] In some embodiments, when displaying specifically, each signal layer copy can be set adjacent to its corresponding signal layer. For example, from the top layer to the bottom layer, the signal layers displayed in the signal layer display area in a printed circuit board project are: L2, L2-1, L3, L3-1, L4, L4-1, wherein L2-1, L3-1, L4-1 are signal layer copies of signal layers L2, L3, L4, respectively.
[0124] In summary, the signal layer sorting method provided in the embodiment of the present application can be applied to multi-layer PCB design projects to achieve fast and accurate signal layer rearrangement, thereby improving the efficiency and quality of PCB design. For example, in high-speed digital circuit design, the stacking and arrangement of signals are crucial to circuit performance. The application of this application helps to achieve fast and accurate signal layer rearrangement, thereby optimizing the performance of high-speed digital circuits; in high-density interconnect (HDI) board design, since the design of HDI boards requires precise signal layer arrangement, the application of this application helps to achieve fast and accurate signal layer rearrangement, thereby improving the efficiency and reliability of HDI board design; in embedded system design, PCB layout is crucial to the performance and stability of the system. The application of this application helps to achieve fast and accurate signal layer rearrangement, thereby optimizing the performance and stability of embedded systems.
[0125] Fig. 9 This is a functional module diagram of a signal layer sorting device provided in an embodiment of the present application. The basic principle and technical effects of the device are the same as those of the corresponding method embodiment described above. For the sake of brief description, the parts not mentioned in this embodiment can be referred to the corresponding contents in the method embodiment. Fig. 9 As shown, the signal layer sorting device 100 includes:
[0126] The display module 110 is used to display a sorting adjustment interface corresponding to the current printed circuit board project in response to a triggering operation on a sorting control in the printed circuit board software, wherein the sorting adjustment interface includes: an initial stacking order corresponding to multiple signal layers in the current printed circuit board project;
[0127] A response module 120, configured to display a target stacking order in response to an adjustment operation on the initial stacking order in the sorting adjustment interface;
[0128] The adjustment module 130 is used to adjust the stacking order between multiple signal layers in the current printed circuit board project according to the target stacking order in response to the triggering operation of the exchange control in the sorting adjustment interface.
[0129] In an optional implementation, the adjustment module 130 is specifically configured to create a corresponding signal layer copy for each signal layer in response to a triggering operation on a swap control in the sort adjustment interface;
[0130] Based on the signal layer copies corresponding to each of the signal layers, the stacking order between the multiple signal layers in the current printed circuit board project is adjusted according to the target stacking order.
[0131] In an optional implementation manner, the adjustment module 130 is specifically configured to determine a target signal layer identifier corresponding to a target signal layer that needs to be adjusted according to the initial stacking order and the target stacking order;
[0132] According to the target signal layer identifier, a corresponding target signal layer copy is created for each target signal layer.
[0133] In an optional embodiment, the adjustment module 130 is specifically used to delete the content in the target signal layer, and based on the target stacking order, translate the content in the target signal layer copy to the specified signal layer to adjust the stacking order between multiple signal layers in the current printed circuit board project, and the specified signal layer is the expected signal layer corresponding to the target signal layer copy indicated by the target stacking order.
[0134] In an optional implementation, the adjustment module 130 is specifically configured to detect whether the target stacking order is correct in response to a triggering operation on a swap control in the sort adjustment interface;
[0135] If correct, adjusting the stacking order between the multiple signal layers in the current printed circuit board project according to the target stacking order;
[0136] If it is incorrect, the signal layer identifiers with incorrect ordering are distinguished and marked in the target stacking sequence.
[0137] In an optional implementation manner, the adjustment module 130 is specifically configured to mark incorrectly ordered signal layer identifiers in the target stacking sequence by highlighting and / or flashing.
[0138] In an optional implementation, the adjustment module 130 is further configured to determine whether the content in each signal layer is modified during the adjustment process in response to a trigger operation of closing a control in the sort adjustment interface;
[0139] If so, a preset prompt message is displayed, wherein the preset prompt message includes: an identifier of the signal layer that has been modified.
[0140] In an optional embodiment, each of the signal layers and its corresponding signal layer copy are displayed in a differentiated manner in a signal layer display area of the printed circuit board software, and each of the signal layer copies is arranged adjacent to its corresponding signal layer.
[0141] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0142] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0143] Fig.10 The following is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device can be integrated into the above-mentioned signal layer sorting device. Fig.10 As shown, the electronic device may include: a processor 210, a storage medium 220 and a bus 230, the storage medium 220 stores machine-readable instructions executable by the processor 210, when the electronic device is running, the processor 210 and the storage medium 220 communicate through the bus 230, and the processor 210 executes the machine-readable instructions to perform the steps of the above method embodiment. The specific implementation method and technical effect are similar and will not be repeated here.
[0144] Optionally, the present application further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method embodiment are executed. The specific implementation method and technical effect are similar and will not be repeated here.
[0145] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0146] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0147] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0148] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the methods of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.
[0149] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0150] The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application. It should be noted that similar numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A signal layer sorting method, characterized in that: The method comprises: In response to a trigger operation on a sorting control in the printed circuit board software, a sorting adjustment interface corresponding to the current printed circuit board project is displayed, wherein the sorting adjustment interface includes: an initial stacking order corresponding to multiple signal layers in the current printed circuit board project; In response to an adjustment operation on the initial stacking order in the sorting adjustment interface, displaying a target stacking order; In response to a triggering operation on a swap control in the sorting adjustment interface, a stacking order between a plurality of signal layers in the current printed circuit board project is adjusted according to the target stacking order.
2. The method according to claim 1, characterized in that In response to the triggering operation of the exchange control in the sorting adjustment interface, adjusting the stacking order between the multiple signal layers in the current printed circuit board project according to the target stacking order includes: In response to a triggering operation on a swap control in the sorting adjustment interface, creating a corresponding signal layer copy for each of the signal layers; Based on the signal layer copies corresponding to each of the signal layers, the stacking order between the multiple signal layers in the current printed circuit board project is adjusted according to the target stacking order.
3. The method according to claim 2, characterized in that The step of creating a corresponding signal layer copy for each signal layer in response to a triggering operation on a swap control in the sorting adjustment interface includes: Determining a target signal layer identifier corresponding to a target signal layer that needs to be adjusted according to the initial stacking sequence and the target stacking sequence; According to the target signal layer identifier, a corresponding target signal layer copy is created for each target signal layer.
4. The method according to claim 3, characterized in that: The adjusting the stacking order between the multiple signal layers in the current printed circuit board project according to the target stacking order based on the signal layer copies corresponding to each of the signal layers includes: Delete the content in the target signal layer, and based on the target stacking order, translate the content in the target signal layer copy to the specified signal layer to adjust the stacking order between multiple signal layers in the current printed circuit board project, wherein the specified signal layer is the expected signal layer corresponding to the target signal layer copy indicated by the target stacking order.
5. The method according to claim 1, characterized in that In response to the triggering operation of the exchange control in the sorting adjustment interface, adjusting the stacking order between the multiple signal layers in the current printed circuit board project according to the target stacking order includes: In response to a triggering operation on a swap control in the sorting adjustment interface, detecting whether the target stacking order is correct; If correct, adjusting the stacking order between the multiple signal layers in the current printed circuit board project according to the target stacking order; If it is incorrect, the signal layer identifiers with incorrect ordering are distinguished and marked in the target stacking sequence.
6. The method according to claim 5, characterized in that The step of distinguishing and marking incorrectly ordered signal layer identifiers in the target stacking sequence includes: marking incorrectly ordered signal layer identifiers in the target stacking sequence in a highlighting and / or flashing manner.
7. The method according to claim 4, characterized in that After adjusting the stacking order between the plurality of signal layers in the current printed circuit board project according to the target stacking order in response to the triggering operation of the exchange control in the sorting adjustment interface, the method further includes: In response to a trigger operation of closing a control in the sort adjustment interface, determining whether content in each signal layer is modified during the adjustment process; If so, a preset prompt message is displayed, wherein the preset prompt message includes: an identifier of the signal layer that has been modified.
8. The method according to any one of claims 2 to 7, characterized in that: Each signal layer and its corresponding signal layer copy are displayed in a differentiated manner in the signal layer display area of the printed circuit board software, and each signal layer copy is arranged adjacent to its corresponding signal layer.
9. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the signal layer sorting method as described in any one of claims 1-8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the signal layer sorting method according to any one of claims 1 to 8 are executed.
