Circuit board layout method and device, electronic equipment and storage medium

By real-time inspection and highlighting of traces and associated devices that do not meet the preset conditions, the problem of fast and accurate layout in printed circuit board layout is solved, and the progress and layout efficiency of electronic equipment research and development are improved.

CN119167865AInactive Publication Date: 2024-12-20REALME MOBILE TELECOMM SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310738341.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-20
Publication Date
2024-12-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the layout of printed circuit boards for electronic devices such as mobile phones, it is difficult for the existing technology to quickly and accurately complete the layout of functional modules, resulting in time-consuming and labor-intensive layout work and affecting the progress of equipment research and development.

Method used

By displaying the circuit board interface to be laid out, obtain the trace information between the functional module and the associated devices connected to the interface, check in real time whether the trace meets the preset layout conditions, highlight traces and associated devices that do not meet the conditions, and guide User adjustments to ensure layout accuracy.

Benefits of technology

It reduces users' requirements for layout experience, reduces layout inspection time, improves layout accuracy and R&D progress, and achieves time-saving and labor-saving for PCB layout.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119167865A_ABST
    Figure CN119167865A_ABST
Patent Text Reader

Abstract

The invention discloses a circuit board layout method and device, electronic equipment and a nonvolatile computer readable storage medium. The method comprises the steps of displaying a layout interface of a circuit board to be laid out; obtaining first routing information between the to-be-arranged function module and an associated device connected with an interface of the function module; and displaying the first target wire and / or the associated device connected with the first target wire on the layout interface, wherein the first target wire comprises the wire of which the first wire information does not meet the preset layout condition corresponding to the functional module. The first target wire and the associated device connected with the first target wire can be displayed on the layout interface, and a user is informed of the target object with the layout problem, so that the user is guided to accurately adjust the layout, the requirement on the layout experience of the user is low, the user does not need to spend a lot of time to check the layout problem, the PCB layout work is time-saving and labor-saving, and the layout efficiency is improved. The layout accuracy of the functional modules is ensured, and the research and development progress of the equipment is 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 design, and more specifically, to a circuit board layout method, a layout device, an electronic device, and a non-volatile computer-readable storage medium. Background Art

[0002] Take mobile phones as an example. The current mobile phone function integration is getting higher and higher. Mobile phones cover functional modules such as radio frequency, image and sound processing, sensors with various functions, processors, etc. Mobile phones need to ensure portability while meeting multi-functions. This requires us to maximize the integration of more and more mobile phone functions on the limited area of ​​printed circuit boards (PCB). However, when doing layout, PCB layout engineers not only need to have rich experience to ensure the accuracy of the layout, but also need to spend a lot of time to check the layout problems, which makes PCB layout work time-consuming and labor-intensive, greatly affecting the development progress of the equipment. Summary of the invention

[0003] Embodiments of the present application provide a circuit board layout method, a layout device, an electronic device, and a non-volatile computer-readable storage medium.

[0004] The circuit board layout method of the present application includes displaying a layout interface of a circuit board to be laid out; obtaining first routing information between a functional module to be laid out and an associated device connected to an interface of the functional module; and displaying a first target routing and / or the associated device connected to the first target routing on the layout interface, wherein the first target routing includes a routing whose first routing information does not satisfy a preset layout condition corresponding to the functional module.

[0005] The layout device of the present application includes a display module, an acquisition module and an indication module. The display module is used to display the layout interface of the circuit board to be laid out; the acquisition module is used to acquire the first routing information between the functional module to be laid out and the associated device connected to the interface of the functional module; the indication module is used to display the first target routing and / or the associated device connected to the first target routing on the layout interface, and the first target routing includes the routing whose first routing information does not meet the preset layout conditions corresponding to the functional module.

[0006] The electronic device of the embodiment of the present application includes a memory and a processor, the memory stores a computer program, the computer program is executed by the processor, and the computer program includes instructions for executing the circuit board layout method. The circuit board layout method includes displaying a layout interface of a circuit board to be laid out; obtaining first routing information between a functional module to be laid out and an associated device connected to an interface of the functional module; showing a first target routing and / or the associated device connected to the first target routing on the layout interface, the first target routing including a routing whose first routing information does not satisfy a preset layout condition corresponding to the functional module.

[0007] The non-volatile computer-readable storage medium of the embodiment of the present application includes a computer program, and when the computer program is executed by a processor, the processor executes the circuit board layout method. The circuit board layout method includes displaying a layout interface of a circuit board to be laid out; obtaining first routing information between a functional module to be laid out and an associated device connected to an interface of the functional module; and displaying a first target routing and / or the associated device connected to the first target routing on the layout interface, wherein the first target routing includes a routing whose first routing information does not satisfy a preset layout condition corresponding to the functional module.

[0008] The circuit board layout method, layout device, electronic device and non-volatile computer-readable storage medium of the embodiment of the present application are arranged by displaying the layout interface of the circuit board to be laid out, and then the functional module to be laid out is laid out on the circuit board, and then the first routing information between the functional module to be laid out and the associated device connected to the interface of the functional module is obtained. Since the layout requirements of different functional modules are different, the layout requirements of each functional module can be sorted out in advance, so as to determine whether the functional module layout is wrong according to the first routing information and the preset layout conditions corresponding to each functional module. When there is a first target routing whose first routing information does not meet the preset layout conditions corresponding to the functional module, it means that there is a problem with the layout of the functional module. Therefore, the first target routing and the associated devices connected to the first target routing can be shown (such as highlighted in red) on the layout interface, and the user is informed of the specific target object with the layout problem, so as to guide the user to adjust the first target routing and / or the corresponding associated devices, eliminate all the first target routing, and the layout experience requirements for the user are relatively low, and the user does not need to spend a lot of time to check the layout problems. The PCB layout work saves time and effort, not only ensures the accuracy of the layout of the functional module, but also improves the research and development progress of the equipment.

[0009] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0011] Figure 1 is a schematic flow chart of a circuit board layout method according to certain embodiments of the present application;

[0012] Figure 2 is a schematic diagram of a circuit board layout method according to some embodiments of the present application;

[0013] Figure 3 is a schematic diagram of a circuit board layout method according to some embodiments of the present application;

[0014] Figure 4 is a schematic flow chart of a circuit board layout method according to certain embodiments of the present application;

[0015] Figure 5 is a schematic diagram of a circuit board layout method according to some embodiments of the present application;

[0016] Figure 6 is a schematic flow chart of a circuit board layout method according to certain embodiments of the present application;

[0017] Figure 7 is a schematic diagram of a circuit board layout method according to some embodiments of the present application;

[0018] Figure 8 is a schematic flow chart of a circuit board layout method according to certain embodiments of the present application;

[0019] Fig. 9 is a schematic diagram of a circuit board layout method according to some embodiments of the present application;

[0020] Fig.10 is a schematic diagram of a circuit board layout method according to some embodiments of the present application;

[0021] Fig.11 is a schematic flow chart of a circuit board layout method according to certain embodiments of the present application;

[0022] Fig.12 is a schematic diagram of a module of a layout device of certain embodiments of the present application;

[0023] Fig.13 is a schematic diagram of the structure of an electronic device according to some embodiments of the present application;

[0024] Fig.14 It is a schematic diagram of the connection status of a non-volatile computer-readable storage medium and a processor in certain embodiments of the present application. DETAILED DESCRIPTION

[0025] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.

[0026] See also Figure 1 and Figure 2 , the circuit board layout method of the embodiment of the present application includes:

[0027] Step 011: Displaying the layout interface of the circuit board to be laid out;

[0028] The circuit board may be any type of circuit board, such as a flexible circuit board, a rigid circuit board, a rigid-flexible circuit board, etc.

[0029] Specifically, the display screen 20 of the electronic device 100 can display a layout interface V1 of the circuit board to be laid out, such as Figure 3 As shown, the layout interface V1 displays the circuit board P to be laid out and the functional module M to be laid out. The user implements the layout of the functional module M by dragging the functional module M to the area where the circuit board P is located.

[0030] In one example, there are multiple functional modules, including a Wifi module M1 and a power module M2, and the layout task is to layout the Wifi module M1 and the power module M2 on the circuit board P. When laying out, the user can first drag the Wifi module M1 to the area where the circuit board P is located to implement the layout of the Wifi module M1, and then drag the power module M2 to the area where the circuit board P is located to implement the layout of the power module M2.

[0031] Step 012: Acquire first routing information between the functional module to be laid out and an associated device connected to an interface of the functional module;

[0032] Specifically, when the functional module to be laid out is laid out, in addition to laying out the functional module body to be laid out, it is also necessary to lay out the associated devices connected to the interface of the functional module to be laid out. When the user drags the functional module, the associated devices connected to the interface of the functional module are also dragged together, and thus laid out together on the circuit board. Among them, the associated devices can be inductive devices, capacitive devices, etc.

[0033] Initially, the functional modules and the associated devices connected to the interfaces of the functional modules are in a preset layout (eg Figure 2The preset layout of the Wifi module M1 and the power module M2 shown in the figure can be determined based on the relative positions between the functional modules and the associated components connected to the interfaces of the functional modules when other users correctly complete the layout for the functional modules.

[0034] However, due to differences in the type, size, shape, etc. of the circuit boards to be laid out, or the need to lay out multiple different functional modules, the preset layout may not be applicable, such as some associated components may exceed the area where the circuit board is located, or some associated components may overlap with other laid out associated components, or the routing may interfere with the routing (or associated components) of other functional modules, etc. In this case, the user needs to manually adjust the position of the associated components, the routing connected to the associated components, and / or the position of the functional modules, so that the functional modules and the corresponding associated components are located in the area where the circuit board is located and do not interfere with other functional modules.

[0035] During the user layout process, the processor of the electronic device 100 will obtain the first routing information between the functional module and the associated device connected to the interface of the functional module in real time, so as to implement the subsequent layout checking process through the first routing information to check whether the layout is wrong.

[0036] Step 013: Displaying the first target routing and / or associated devices connected to the first target routing on the layout interface V1, wherein the first target routing includes routing whose first routing information does not satisfy the preset layout conditions corresponding to the functional module.

[0037] Specifically, it can be understood that the routing between the functional module to be laid out and the associated devices connected to the interface of the functional module needs to meet the preset layout conditions of the functional module. For example, different functional modules have restrictions on the length of the routing and the line width of the routing.

[0038] The preset layout conditions may be determined according to the functional requirements of the functional module, the line width requirements of each interface of the functional module, and the routing requirements of the functional module.

[0039] For example, with respect to the functional requirements of a functional module, for example, when the functional module is a Wifi module, due to the functional requirements for the signal, if the length of the trace between the associated device and the corresponding interface is greater than 1.5 mm (millimeter), parasitic capacitance and inductance are easily introduced, resulting in the signal of the WiFi module not meeting the standard. Therefore, the preset layout conditions of the Wifi module include that the length of the trace between the associated device and the corresponding interface is less than or equal to 1.5 mm.

[0040] For another example, there are line width requirements for each interface of a functional module, such as line width requirements for different interfaces of a Wifi module. A line width that is too small will affect the signal transmission of the interface. Therefore, there are corresponding preset layout requirements for the associated devices connected to each interface, that is, the line width of the routing corresponding to the associated device should be greater than the minimum line width required by the interface corresponding to the associated device.

[0041] For another example, regarding the routing requirements of functional modules, such as a Wifi module, which is generally arranged on the surface of a PCB, surface routing is required. The preset layout conditions of the Wifi module include that the routing between associated components and corresponding interfaces is surface routing.

[0042] In view of the above situation, the preset layout conditions may include routing length restriction conditions, routing line width restriction conditions and routing layer restriction conditions.

[0043] Among them, the routing length restriction condition includes that the routing length between the associated device and the functional module is less than the length threshold corresponding to the associated device; the routing line width restriction condition includes that the line width of the routing connecting the associated device is less than the line width threshold corresponding to the associated device (the interface connected during the association period has a line width restriction, and the routing width can be set by clicking the routing). The routing layer restriction condition includes that the routing connecting the associated device is located in the preset routing layer, and the preset routing layer is the surface routing or the inner routing.

[0044] After the user adjusts the preset layout of the functional modules, such as adjusting the positions of associated components to avoid interference with associated components of different functional modules, or adjusting the length and path of the routing to avoid interference with routing, the re-layout routing may not meet the preset layout conditions.

[0045] like Figure 2 In the layout in FIG. 1 , an associated component N of the Wifi module M1 overlaps with an associated component N of the power module M2. At this time, the user adjusts the associated component N of the Wifi module M1. At this time, the first routing information (such as the first routing information including the length and width of the routing) can be obtained in real time, and then it is determined according to the first routing information and the corresponding preset layout conditions whether the routing corresponding to the first routing information is incorrectly laid out, thereby determining the incorrectly laid out routing.

[0046] Specifically, it can be determined that the routing whose first routing information does not meet the preset layout conditions corresponding to the functional module is the first target routing, such as Figure 3 If the length of the routing line S1 in is less than the routing threshold of the Wifi module M1, the routing line S1 is determined to be the first target routing line, and the first target routing line and / or the associated device N connected to the first target routing line are displayed on the layout interface V1.

[0047] For example, when the length of the routing in the first routing information does not meet the routing length restriction condition in the preset layout condition, the first target routing and the associated components connected to the first target routing may be highlighted in red (such as highlighting routing S1 and the associated component N connected to routing S1 in red), so as to guide the user to adjust the position of the associated component N and eliminate the first target routing. When the first routing information of the adjusted first target routing meets the preset layout condition, the first target routing and the associated component N connected to the first target routing are no longer highlighted in red, but the normal color and display effect of the routing are restored.

[0048] For another example, when the line width of the routing in the first routing information does not meet the routing line width restriction conditions in the preset layout conditions, the first target routing can be displayed to guide the user to adjust the line width of the first target routing (such as clicking on the first target routing, a setting interface appears, and then setting the line width of the first target routing in the setting interface), and the first target routing is eliminated. When the first routing information of the first target routing meets the preset layout conditions, the first target routing is no longer highlighted in red, but the normal color and display effect of the routing are restored.

[0049] Through the above-mentioned layout checking and indication functions, the user can be guided to realize accurate layout of functional modules, associated devices corresponding to the functional modules, etc., to ensure that the layout meets the preset layout conditions.

[0050] The circuit board layout method of the embodiment of the present application displays the layout interface of the circuit board to be laid out, then lays out the function module to be laid out on the circuit board, and then obtains the first routing information between the function module to be laid out and the associated device connected to the interface of the function module. Since the layout requirements of different function modules are different, the layout requirements of each function module can be sorted out in advance, so as to determine whether the layout of the function module is wrong according to the first routing information and the preset layout conditions corresponding to each function module. When there is a first target routing whose first routing information does not meet the preset layout conditions corresponding to the function module, it means that there is a problem with the layout of the function module. Therefore, the first target routing and the associated devices connected to the first target routing can be shown (such as highlighted in red) on the layout interface, and the specific target object with the problem of the layout can be informed to the user, so as to guide the user to adjust the first target routing and / or the corresponding associated devices, eliminate all the first target routing, and require less layout experience for the user, and do not need the user to spend a lot of time to check the layout problem, and the PCB layout work saves time and effort, not only ensures the accuracy of the layout of the function module, but also improves the research and development progress of the equipment.

[0051] See also Figure 4 Step 013: Displaying the first target routing and / or the associated devices connected to the first target routing on the layout interface, including:

[0052] Step 0131: Highlight the first target routing and / or the associated components connected to the first target routing; and / or issue a prompt message, the prompt message including the first target routing and / or the associated components connected to the first target routing.

[0053] Specifically, when the user layout is incorrect, the erroneous first target routing and / or the associated components connected to the first target routing need to be shown to let the user know the specific location of the erroneous target object in the layout interface.

[0054] In one implementation, the prompt may be provided by highlighting, specifically, highlighting the first target routing and / or associated devices connected to the first target routing. The specific explanation of the highlighting has been described in the aforementioned implementation and will not be repeated here.

[0055] In another embodiment, see Figure 5 , and can also directly issue a prompt message to let the user know that there is a layout error in the first target routing, such as displaying a prompt message "Ring S1 layout is incorrect, please adjust!" on the layout interface, thereby prompting the user to adjust the corresponding first target routing and / or the associated devices connected to the first target routing to achieve layout adjustment.

[0056] Optionally, the prompt information may also include the specific type of layout error and provide an adjustment plan, such as the prompt "The length of routing S1 is too long, please adjust the length to less than 1.5mm!", or "The width of routing S1 is too small, please adjust the width to greater than 0.1mm!", or "The routing layer setting of routing S1 length is incorrect, please adjust it to surface routing!".

[0057] It can be understood that the two methods of highlighting and issuing a prompt message can be implemented either one or both at the same time, that is, while highlighting, a prompt message is also issued.

[0058] When the highlight or prompt message no longer appears after the adjustment, the layout is considered complete and there are no errors in the layout routing.

[0059] See also Figure 6 In some embodiments, the circuit board layout method further includes:

[0060] Step 014: When the associated devices connected to the first target routing are re-layouted, a layout range corresponding to the associated devices connected to the first target routing is displayed.

[0061] Specifically, see Figure 7In order to better assist the user in layout, when the user adjusts the layout, for the associated device dragged by the user, the layout range Q of the associated device is determined according to the current position of the functional device (specifically, the layout range Q can be displayed in the layout interface V1). For example, after the user drags the Wifi module M1 to the layout interface V1, the layout interface V1 shows the first target routing and the associated device connected to the first target routing. At this time, the user can drag the associated device, and the dragged associated device will display the corresponding layout range Q, thereby guiding the user to layout the associated device within the layout range Q. When the associated device is laid out within the layout range Q, the length of the routing connected to the associated device always meets the preset layout conditions, and no layout error will occur, thereby assisting the user in faster layout. Compared with only showing the first target routing with layout errors every time the layout is completed, the layout is randomly adjusted according to experience, resulting in the need to adjust the layout multiple times to complete the layout, and the layout efficiency is faster.

[0062] See also Figure 8 , the circuit board layout method also includes:

[0063] Step 015: Acquire second routing information between the associated first functional module and the second functional module;

[0064] Step 016: On the layout interface, the second target routing and / or the associated devices connected to the second target routing are displayed, and the second target routing includes routing whose second routing information does not satisfy the preset connection condition between the associated first functional module and the second functional module.

[0065] Specifically, there may be multiple functional modules to be laid out, and different functional modules may also need to be connected to each other through routing. In this case, the layout should not only consider the preset layout requirements of a single functional module, but also the preset connection requirements between multiple functional modules.

[0066] In one embodiment, the plurality of functional modules include associated first functional modules and second functional modules, and the associated first functional modules and second functional modules refer to first functional modules and second functional modules that need to be connected to each other.

[0067] Therefore, after the user completes the layout of multiple functional modules and connects the associated first functional module and the second functional module through routing, the second routing information between the associated first functional module and the second functional module can be obtained. For example, the connection between the associated first functional module and the second functional module is achieved by connecting the associated device of the first functional module and the associated device of the second functional module. The second routing information is the routing information connecting the associated device of the first functional module and the associated device of the second functional module.

[0068] After the second routing information is obtained, the layout can be checked by using the second routing information and the preset connection conditions, thereby checking whether there is a layout error.

[0069] Specifically, it can be determined that the routing whose second routing information does not satisfy the preset connection conditions between the associated first functional module and the second functional module is the second target routing, so that the second target routing and / or the associated devices connected to the second target routing are displayed in the layout interface, such as highlighted and / or a prompt message is issued.

[0070] It can be understood that the interface of the first functional module and the interface of the second functional module need to be connected correspondingly. In the case of a connection error, the two cannot work together. The interface of the associated first functional module and the interface of the second functional module correspond to each other, so that there is a corresponding matching relationship between the associated devices of the first functional module and the associated devices of the second functional module. If the associated devices of the first functional module and the associated devices of the second functional module connected by the routing do not match, it can be determined that the routing is the second target routing; or, if the routing does not meet the line width restriction conditions of the associated devices of the connected first functional module or the line width restriction conditions of the associated devices of the second functional module, it can be determined that the routing is the second target routing.

[0071] In this way, the second target routing with layout errors can be quickly determined, and the second target routing and / or the associated devices connected to the second target routing can be displayed, guiding the user to achieve accurate layout between the associated multiple functional modules and ensure that the layout of the associated multiple functional modules meets the preset connection conditions.

[0072] See also Fig. 9 In one example, the first functional module and the second functional module are respectively a Wifi module M1 and a power module M2. For example, the power module M2 has associated components A, B, and C, and the Wifi module M1 has associated components D, E, and F. The matching relationship between the power module M2 and the Wifi module M1 is as follows:

[0073] Power module M2 Wifi Module M1 Related device A Related Devices D Related Device B Related Devices E Related Devices C Related Devices F

[0074] The line width constraints of associated devices A, associated devices B and associated devices C are respectively greater than 0.1 mm, greater than 0.15 mm and greater than 0.16 mm, and the line width constraints of associated devices D, associated devices E and associated devices F are respectively greater than 0.2 mm, greater than 0.45 mm and greater than 0.5 mm.

[0075] When the user connects the power module M2 and the Wifi module M1, the user connects the associated device A with the associated device D, the routing is X1, and the line width of the routing X1 is set to 0.2 mm; the user connects the associated device B with the associated device F, the routing is X2, and the line width of the routing X2 is set to 0.5 mm; the user connects the associated device C with the associated device E, the routing is X3, and the line width of the routing X3 is set to 0.5 mm.

[0076] Therefore, the second routing information of routing X1 is to connect associated device A and associated device D, with a line width of 0.2 mm; the second routing information of routing X2 is to connect associated device B and associated device F, with a line width of 0.4 mm; the second routing information of routing X3 is to connect associated device C and associated device E, with a line width of 0.5 mm.

[0077] Then, it can be determined whether the second routing information of routing X1, routing X2, and routing X3 meets the preset connection conditions. It can be determined that routing X1 connects associated device A and associated device D, and the line width setting of routing X1 meets the line width restriction conditions of the connected associated device A and associated device D; routing X2 connects associated device B and associated device F, but does not match, and the line width setting of routing X2 does not meet the line width restriction conditions of the connected associated device F; routing X3 connects associated device C and associated device E, but does not match, and the line width setting of routing X3 meets the line width restriction conditions of the connected associated device C and associated device E. Therefore, routing X1 is not the second target routing, while routing X2 and routing X3 are both second target routings.

[0078] At this time, the trace X2, trace X3, associated device B, associated device C, associated device E, and associated device F can be highlighted. And prompt information can be issued, such as Fig.10 As shown, the layout interface displays the prompt information "1. The devices connected to routing X2 and routing X3 do not match. Please connect the associated devices B and E, and connect the associated devices C and F; 2. Please set the line width of routing X2 to at least 0.45mm;". In this way, not only the target objects with layout errors can be displayed, but also the user can be prompted to adjust the layout, thereby improving the user's layout efficiency.

[0079] Optionally, based on the matching relationship between the associated first functional module and the second functional module, connectable objects may be displayed when the user lays out the layout.

[0080] Specifically, when the user connects the associated first functional module and the second functional module, based on the associated device selected by the user, a target associated device that matches the associated device is found in the matching relationship, and the target associated device is highlighted, thereby guiding the user to correctly connect the associated devices. Compared with prompting the user after the user connects the associated devices based on experience, the layout efficiency is higher.

[0081] Optionally, the line width of the routing may be automatically set according to the line width restriction condition of two associated devices connected by the routing, thereby eliminating the need for the user to manually set the line width and ensuring that the line width of the routing meets the preset connection condition.

[0082] See also Fig.11 In some embodiments, the circuit board layout method further includes:

[0083] Step 016: Storing the completed circuit board layout as a layout template in a database; and

[0084] Step 017: When the circuit board and the functional module to be laid out match the layout template in the database, call the layout template.

[0085] Specifically, after the layout is completed, the completed circuit board layout is stored in the database as a layout template, and the PCB layout is stored in the database (such as stored in the database) to achieve automatic inheritance and facilitate subsequent layout calls. If the current engineer has completed the overall layout of a specific model of circuit board, power module and Wifi module, and there is no layout error, then the layout (the layout may specifically include the position of each functional module, the position of associated components, the position of the routing, the setting of the routing, etc.) can be used as a layout template, so that when an engineer needs to perform an overall layout of the circuit board, power module and Wifi module of the specific model in the future, there is no need to re-layout, avoid duplication and ineffective work, and directly call the matching layout template in the database according to the model of the circuit board, power module and Wifi module entered by the engineer, so as to quickly complete the PCB layout work; or after calling the layout template, if it is found that the layout can be optimized, the layout can be adjusted again, so that it can be stored in the database again to achieve iteration of the layout template.

[0086] In this way, by using preset layout conditions, layout templates and other means, new risks introduced by PCB layout engineers due to lack of experience or incomplete consideration can be avoided: the introduction of standardized PCB layout rules can avoid technical risks introduced by switching and experience differences of PCB technicians in the project team; through the operable layout interface, layout inspection, layout prompts, etc., PCB layout is streamlined and standardized, so that engineers with insufficient PCB layout experience can also implement PCB layout, which lowers the threshold of PCB layout and improves the efficiency of PCB layout.

[0087] For chips (i.e. functional modules) that are reused on the same platform, a standardized and modular layout (such as layout template) can be formed, which can automatically identify and avoid 90% of PCB layout risks, improve PCB layout efficiency and reduce manpower input; general modules such as CPU, power module, cellular module, short-distance module, etc. can directly apply layout templates, leaving only the remaining 10% of PCB layout risks to be manually checked and identified, which greatly liberates the labor input in manual self-inspection of PCB.

[0088] See also Fig.12 The circuit board layout method of the present application can be implemented by a layout device 10, and the layout device 10 of the present application includes a display module 11, an acquisition module 12 and an indication module 13. The display module 11 is used to display the layout interface of the circuit board to be laid out; the acquisition module 12 is used to acquire the first routing information between the functional module to be laid out and the associated device connected to the interface of the functional module; the indication module 13 is used to show the first target routing and / or the associated device connected to the first target routing in the layout interface, and the first target routing includes the routing whose first routing information does not meet the preset layout conditions corresponding to the functional module.

[0089] The indication module 13 is further specifically used to highlight the first target routing and / or the associated components connected to the first target routing; and / or, issue prompt information, the prompt information including the first target routing and / or the associated components connected to the first target routing.

[0090] The display module 11 is further used to display a layout possible range corresponding to the associated components connected to the first target routing line when the associated components connected to the first target routing line are re-layouted.

[0091] The acquisition module 12 is also used to obtain the second routing information between the associated first functional module and the second functional module; the indication module 13 is also used to display the second target routing and / or the associated devices connected to the second target routing in the layout interface, and the second target routing includes the routing whose second routing information does not meet the preset connection conditions between the associated first functional module and the second functional module.

[0092] The layout device 10 also includes a storage module 14 and a calling module 15. The storage module 14 is used to store the completed circuit board layout as a layout template in the database; the calling module 15 is used to call the layout template when the circuit board and the functional module to be laid out match the layout template in the database.

[0093] See also Fig.13An electronic device 100 of one embodiment of the present application includes a display 20, a memory 30 and a processor 40. The memory 30 stores a computer program, and the computer program is executed by the processor 40. The computer program includes instructions for executing the circuit board layout method of any of the above embodiments. For the sake of brevity, it will not be repeated here.

[0094] Optionally, the electronic device 100 may be any device having a display screen 20 , such as a mobile phone, a tablet computer, a smart watch, a desktop computer, etc.

[0095] See also Fig.14 The embodiment of the present application also provides a non-volatile computer-readable storage medium 300, on which a computer program 310 is stored. When the computer program 310 is executed by a processor 320, the steps of the circuit board layout method of any of the above-mentioned embodiments are implemented, wherein the processor 320 can be the processor 40 of the electronic device 100. For the sake of brevity, it is not repeated here.

[0096] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are 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 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 one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0097] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0098] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A circuit board layout method, characterized in that: include: Display the layout interface of the circuit board to be laid out; Acquire first routing information between a functional module to be laid out and an associated device connected to an interface of the functional module; The first target routing and / or the associated device connected to the first target routing are shown on the layout interface, and the first target routing includes routing whose first routing information does not satisfy the preset layout condition corresponding to the functional module.

2. The circuit board layout method according to claim 1, characterized in that: The displaying of the first target routing line and / or the associated device connected to the first target routing line in the layout interface includes: The first target routing and / or the associated device connected to the first target routing are highlighted; and / or a prompt message is issued, wherein the prompt message includes the first target routing and / or the associated device connected to the first target routing.

3. The circuit board layout method according to claim 1, characterized in that: Also includes: In the case of re-layout of the associated devices connected to the first target routing, a layout range corresponding to the associated devices connected to the first target routing is displayed.

4. The circuit board layout method according to claim 1, characterized in that: The preset layout condition is determined according to the functional requirement of the functional module, the line width requirement of each interface of the functional module and the routing requirement of the functional module.

5. The circuit board layout method according to claim 1 or 4, characterized in that: The preset layout conditions include a routing length restriction condition, a routing line width restriction condition, and a routing layer restriction condition, wherein the routing length restriction condition includes that the routing length between the associated device and the functional module is less than a length threshold corresponding to the associated device; The routing line width restriction condition includes that the line width of the routing line connecting the associated device is smaller than the line width threshold corresponding to the associated device; The routing layer restriction condition includes that the routing connecting the associated device is located in a preset routing layer, and the preset routing layer is a surface routing or an inner routing.

6. The circuit board layout method according to claim 1, characterized in that: The functional modules to be laid out include a plurality of functional modules, the plurality of functional modules include an associated first functional module and a second functional module, the first functional module and the second functional module are connected by routing, and the method further includes: Acquire second routing information between the associated first functional module and the second functional module; In the layout interface, the second target routing and / or the associated device connected to the second target routing are shown, and the second target routing includes a routing whose second routing information does not satisfy a preset connection condition between the associated first functional module and the second functional module.

7. The circuit board layout method according to claim 6, characterized in that: The preset connection condition includes the matching relationship between the associated components of the first functional module and the associated components of the second functional module, the line width restriction condition of the associated components of the first functional module and the restriction condition of the associated components of the second functional module, and the second target routing includes the routing whose associated components of the first functional module and the associated components of the second functional module do not satisfy the matching relationship; and / or, the routing whose line width does not satisfy the line width restriction condition of the associated components of the first functional module or the line width restriction condition of the associated components of the second functional module.

8. The circuit board layout method according to claim 1, characterized in that: Also includes: storing the completed circuit board layout as a layout template in a database; and In the case where both the circuit board and the functional module to be laid out match the layout template in the database, the layout template is called.

9. A layout device, characterized in that: include: A display module, used to display the layout interface of the circuit board to be laid out; An acquisition module, used for acquiring first routing information between a functional module to be laid out and an associated device connected to an interface of the functional module; An indication module is used to display the first target routing and / or the associated device connected to the first target routing on the layout interface, wherein the first target routing includes routing whose first routing information does not meet the preset layout conditions corresponding to the functional module.

10. An electronic device, characterized in that: include: A memory and a processor, wherein the memory stores a computer program, the computer program is executed by the processor, and the computer program includes instructions for executing the circuit board layout method according to any one of claims 1 to 8.

11. A non-volatile computer-readable storage medium containing a computer program, wherein when the computer program is executed by a processor, the processor executes the circuit board layout method according to any one of claims 1 to 8.