Board card arrangement method, electronic equipment, storage medium and program product

By obtaining the module and structure information of the board and determining the overlapping and non-overlapping areas, efficient arrangement of boards of different forms is achieved, solving the problem of low efficiency in existing technologies and improving the convenience of automated design and testing.

CN120805823AActive Publication Date: 2025-10-17INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202511242280.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-02
Publication Date
2025-10-17
Estimated Expiration
2045-09-02

AI Technical Summary

Technical Problem

In the prior art, separate layout designs are performed for boards of different shapes, which results in a waste of manpower and low efficiency in board layout.

Method used

By obtaining multiple module information and structural information related to the functions of the first board and the second board, their overlapping and non-overlapping areas are determined, and the setting positions of the modules are determined based on this information, thereby achieving simultaneous arrangement of two boards of different forms.

Benefits of technology

It improves the efficiency of board layout, reduces manpower waste, and improves the automation level of layout and the convenience of subsequent testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120805823A_ABST
    Figure CN120805823A_ABST
Patent Text Reader

Abstract

The invention discloses a board card arrangement method, electronic equipment, a storage medium and a program product, and relates to the technical field of servers, and the method comprises the steps that when board cards need to be arranged, the electronic equipment can obtain first information of a plurality of first modules corresponding to a first board card and a second board card and structure information of the first board card and the second board card; determining an overlapped first area and a non-overlapped second area between the first board card and the second board card according to the structure information; determining second information according to the first area and the first information; and according to the second information, arranging the plurality of first modules on the first area and the second area to obtain arrangement information of the first board card and the second board card. According to the method, the modules arranged in the overlapping area and the modules arranged in the non-overlapping area are determined according to the second information, so that the modules in the board cards of two different forms can be arranged at the same time, and the arrangement efficiency of the board cards is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of server technology, and in particular to a board arrangement method, electronic equipment, storage medium, and program product. Background Art

[0002] In order to adapt to servers of different sizes, the boards in the server can be designed in a variety of different forms.

[0003] In related technologies, the layout of modules within a board can be designed separately according to the different forms of the board, so that the board can achieve the corresponding functions. However, designing the layout for different forms of boards separately will waste manpower, resulting in low board layout efficiency. Summary of the Invention

[0004] The present application provides a board arrangement method, electronic equipment, storage medium and program product to at least solve the problem of low efficiency of board arrangement.

[0005] This application provides a board arrangement method, including:

[0006] Acquire first information corresponding to a plurality of first modules associated with functions of a first board and a second board, and structural information of the first board and the second board, wherein the first board and the second board have different forms, and the first information includes sub-functional modules in the plurality of first modules and component information in each sub-functional module;

[0007] Determine, based on the structural information, a first overlapping area and a second non-overlapping area between the first board and the second board;

[0008] Determining second information based on the first area and the first information, where the second information is used to indicate a module disposed in the first area;

[0009] According to the second information, a plurality of first modules are arranged on the first area and the second area to obtain arrangement information of the first board and the second board.

[0010] The present application also provides a board arrangement device, comprising: an acquisition module, a first determination module, a second determination module and a first arrangement module, wherein:

[0011] The acquisition module is used to acquire first information of a plurality of first modules corresponding to a first board and a second board, and structural information of the first board and the second board, where the first board and the second board have different forms;

[0012] The first determining module is used to determine, based on the structural information, a first overlapping area and a second non-overlapping area between the first board and the second board;

[0013] The second determining module is configured to determine second information according to the first region and the first information, the second information being used to indicate a module arranged in the first region.

[0014] The first arranging module is configured to arrange the plurality of first modules on the first region and the second region according to the second information, to obtain arrangement information of the first board card and the second board card.

[0015] The application further provides an electronic device, comprising a memory configured to store a computer program, and a processor configured to execute the computer program to implement the steps of the arrangement method of the board card.

[0016] The application further provides a computer readable storage medium, which stores a computer program, wherein the computer program is executed by a processor to implement the steps of the arrangement method of the board card.

[0017] The application further provides a computer program product, which comprises a computer program, and the computer program is executed by a processor to implement the steps of the arrangement method of the board card.

[0018] According to the application, when the board card needs to be arranged, the electronic device can obtain the first information of the plurality of first modules corresponding to the first board card and the second board card, the structure information of the first board card and the second board card, and the forms of the first board card and the second board card are different; according to the structure information, the first region overlapping between the first board card and the second board card and the second region not overlapping are determined; according to the first region and the first information, the second information is determined, the second information being used to indicate a module arranged in the first region; according to the second information, the plurality of first modules are arranged on the first region and the second region, to obtain the arrangement information of the first board card and the second board card. In this way, according to the above method, the first region overlapping between two board cards with different forms and the second region not overlapping can be determined, the module arranged in the overlapping region and the module arranged in the non-overlapping region are determined according to the second information, so that the modules in the two board cards with different forms can be arranged at the same time, and the arrangement efficiency of the board card is improved. BRIEF DESCRIPTION OF DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the application, the drawings needed in the embodiments will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative effort.

[0020] Figure 1 The system architecture diagram provided for the embodiments of the application;

[0021] Figure 2A flowchart of a method for arranging the board card according to an embodiment of the present application is shown in FIG. 1.

[0022] Figure 3 A schematic diagram of the first region and the second region according to an embodiment of the present application is shown in FIG. 2.

[0023] Figure 4 A schematic diagram of the setting process of the plurality of first modules according to an embodiment of the present application is shown in FIG. 3.

[0024] Figure 5 A schematic diagram of the first structural member region according to an embodiment of the present application is shown in FIG. 4.

[0025] Figure 6 A schematic diagram of the third region, the fourth region, and the fifth region according to an embodiment of the present application is shown in FIG. 5.

[0026] Figure 7 A schematic diagram of the determination process of the arrangement information of any one of the first modules according to an embodiment of the present application is shown in FIG. 6.

[0027] Figure 8 A schematic diagram of the preset arrangement of any one of the top sub-modules according to an embodiment of the present application is shown in FIG. 7.

[0028] Figure 9 A schematic diagram of the arrangement device of the board card according to an embodiment of the present application is shown in FIG. 8.

[0029] Figure 10 A schematic diagram of another arrangement device of the board card according to an embodiment of the present application is shown in FIG. 9.

[0030] Figure 11 A schematic diagram of the electronic device according to an embodiment of the present application is shown in FIG. 10. DETAILED DESCRIPTION

[0031] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, any other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.

[0032] It should be noted that, in the description of the present application, the terms “comprise”, “contain” or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. The terms “first”, “second” and the like in the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence.

[0033] In the related art, the arrangement of modules in a board card can be designed separately according to different forms of the board card, so that the board card can realize corresponding functions. However, since the functional modules of the board cards realizing the same functions are basically the same, separate arrangement design for different form board cards will cause waste of manpower, thereby resulting in low efficiency of board card arrangement.

[0034] To solve the above problems, in the embodiments of the present application, when it is necessary to arrange a board card, an electronic device can obtain first information of a plurality of first modules corresponding to a first board card and a second board card, structure information of the first board card and the second board card, the first board card and the second board card being different in form; determine a first region overlapping between the first board card and the second board card and a second region not overlapping according to the structure information; determine second information according to the first region and the first information, the second information being used to indicate modules arranged in the first region; determine second modules arranged in the first region and third modules arranged in the second region from the plurality of first modules according to the second information; arrange the second modules in the first region of the first board card and the second board card; and arrange the third modules in the second region of the first board card and the second board card. In this way, by the above method, the first region overlapping between two board cards of different forms and the second region not overlapping can be determined, the second modules arranged in the first region and the third modules arranged in the second region are determined according to the second information, so that the modules in two board cards of different forms can be arranged at the same time, and the arrangement efficiency of the board card is improved.

[0035] In order for those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the drawings and specific embodiments.

[0036] In combination with the specific application environment architecture or specific hardware architecture on which the arrangement method of the board card depends, the specific application environment architecture or specific hardware architecture is described herein. For reference Figure 1 , Figure 1 The system architecture diagram provided by the embodiments of the present application is shown. Please refer to Figure 1 , which includes an electronic device, the electronic device can receive structure information of a plurality of form board cards to be arranged and information of functional modules arranged on the board cards, and arrange each board card to obtain arrangement information of board cards with similar arrangement.

[0037] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described again in some embodiments. The embodiments of the present application will be described below with reference to the drawings.

[0038] Figure 2A flowchart of a method for arranging a board card provided by an embodiment of the present application is shown in FIG. 1. An embodiment of the present application provides a method for arranging a board card, which is described in detail as follows. Figure 2

[0039] S201, obtaining first information of a plurality of first modules corresponding to a first board card and a second board card, and structure information of the first board card and the second board card.

[0040] The execution subject of the embodiment of the present application can be an electronic device, which can be a device with on-end computing capability, for example, a server, a terminal device, etc. The execution subject can also be an arrangement device of a board card arranged in the electronic device. The arrangement device of the board card can be realized by software or by a combination of software and hardware.

[0041] The first board card and the second board card can be circuit boards installed in a server, which can be used to expand and enhance the functions of the server.

[0042] The first board card and the second board card can be two board cards with the same function but different forms. Optionally, the form of the first board card can be a standard card form, for example, the form of the second board card can be an Open Compute Project (OCP) form.

[0043] The first module can be a functional module arranged on the first board card and the second board card. It can be understood that the functions implemented by the first board card and the second board card are the same, that is, the first modules on the first board card and the second board card are also the same. For example, the first module can be a processor module, a memory module, a power module, etc.

[0044] The first information of the first module can refer to preset module schematic diagram information. The first information can include the name of the first module, the identification of the first module, at least one sub-module contained by the first module, at least one component contained by the sub-module, the name of the component, the height of the component, the size of the component, etc.

[0045] The first information of any one first module can be determined in the following manner: determining at least one sub-module of the first module, the sub-module being used to indicate the signal type of the first module, for example, the sub-module can include a sensor module, a flash memory module, a bus module, a memory module, etc.; determining at least one component corresponding to each sub-module and the information of each component, for example, the component can include a resistor, a capacitor, a diode, a triode, etc., and the information of the component can include the height and size of the component, etc.; obtaining the first information of the first module according to each sub-module, each component and the information of each component.

[0046] For example, the first information of the first module can be as shown in Table 1, please refer to Table 1.​

[0047] Table 1

[0048]

[0049] The structural information of the first board card and the second board card can refer to the size and structure corresponding to the first board card and the second board card, and the like. For example, the structural information of the first board card can include the length, width, top height, bottom height, structure position, and the like of the first board card. It can be understood that the structural information of the first board card and the structural information of the second board card are different.

[0050] In S202, according to the structural information, a first area of overlap and a second area of non-overlap between the first board card and the second board card are determined.

[0051] The first area of overlap can refer to an area with the largest area that can be obtained after the first board card and the second board card are overlapped. The second area of non-overlap can refer to an area that is not overlapped between the first board card and the second board card after the first area is determined.

[0052] The first area of overlap and the second area of non-overlap can be determined in the following manner: the structural information can include first structural information of the first board card and second structural information of the second board card, the size of the first board card is determined according to the first structural information; the size of the second board card is determined according to the second structural information; and the first area and the second area are determined according to the size of the first board card and the size of the second board card.

[0053] For example, assuming that the size of the first board card is 5 cm in length and 3 cm in width, and the size of the second board card is 6 cm in length and 2 cm in width, the size of the area with the largest area that can be obtained after the first board card and the second board card are overlapped is 5 cm in length and 2 cm in width, that is, the first area is an area of 5 cm in length and 2 cm in width, and the second area is the remaining non-overlapping area.

[0054] Alternatively, the first area and the second area can be determined in the following manner: according to the size of the first board card and the size of the second board card, a target vertex between the first board card and the second board card is determined; the first board card and the second board card are overlapped according to the target vertex; the first board card is rotated with the target vertex as the center, so that an overlapping area appears between the first board card and the second board card; the largest overlapping area appearing in the rotation process is determined as the first area, and the area that is not overlapped between the first board card and the second board card when the first area appears is determined as the second area.

[0055] The first area of non-overlap and the second area of non-overlap will be described below through specific examples.

[0056] Figure 3 The schematic diagram of the first area and the second area provided by the embodiments of the present application is shown. Please refer toFigure 3 , the first board card, the second board card, the first region and the second region. According to the target vertex, the first board card and the second board card are overlapped, and the first board card is rotated with the target vertex as the rotation center, so that the overlapping region appears between the first board card and the second board card. The largest overlapping region appearing in the rotation process is determined as the first region (the gray region in FIG. 1B), and the region in which the first board card and the second board card do not overlap when the first region appears is determined as the second region. Figure 3

[0057] S203, determining the second information according to the first region and the first information.

[0058] The second information can be used to indicate the modules arranged in the first region.

[0059] The second information can be determined in the following manner: determining the areas corresponding to the plurality of first modules according to the first information; determining, among the plurality of first modules, a sixth module with the largest area and a seventh module with an area greater than or equal to a first threshold value; determining an area difference between the first region and the sixth module; determining, among the seventh module, an eighth module that can be arranged in the first region according to the area difference and the area of the seventh module; and determining the second information according to the sixth module and the eighth module. The first threshold value can be a value pre-set by a user, for example, the first threshold value can be 5. The area of the first module can be determined according to the arrangement information of the components in the first module.

[0060] For example, assuming that there are a first module A, a first module B, a first module C, a first module D and a first module E, the first threshold value is 5, and the area of the first region is 20, wherein the area of the first module A is 8, the area of the first module B is 3, the area of the first module C is 4, the area of the first module D is 5, and the area of the first module E is 6, then the first module A with the largest area can be determined as the sixth module, the first module D and the first module E with an area greater than or equal to the first threshold value can be determined as the seventh module, and the area difference between the first region and the sixth module is 12. Since the area of the first module D is 5 and the area of the first module E is 6, the first module D and the first module E can be arranged in the first region, that is, the first module D and the first module E can be determined as the eighth module. Therefore, the second information can be determined as indicating that the modules arranged in the first region are the first module A, the first module D and the first module E.

[0061] S204, arranging the plurality of first modules in the first region and the second region according to the second information, to obtain the arrangement information of the first board card and the second board card.

[0062] ​The arrangement information of the first board card and the second board card can be used to indicate the arrangement positions of the modules on the first board card and the second board card. According to the positions of the plurality of first modules on the first board card and the second board card, the arrangement information can be obtained.

[0063] The plurality of first modules can be arranged on the first region and the second region by the following manner: according to the second information, determining the second modules arranged in the first region and the third modules arranged in the second region from the plurality of first modules; arranging the second modules in the first region of the first board card and the second board card; and arranging the third modules in the second region of the first board card and the second board card.

[0064] For example, assuming that there are first module A, first module B, first module C, first module D and first module E, and the second information indicates that the modules arranged in the first region are first module A and first module B, then it can be determined that first module A and first module B are the second modules arranged in the first region, and first module C, first module D and first module E are the third modules arranged in the second region, first module A and first module B are arranged in the first region of the first board card and the second board card, and first module C, first module D and first module E are arranged in the second region of the first board card and the second board card.

[0065] In the embodiments of the present application, when it is necessary to arrange the board cards, the first information of the plurality of first modules corresponding to the first board card and the second board card, and the structure information of the first board card and the second board card can be obtained. The first board card and the second board card can be two board cards with different forms but the same functions, the first module can be a functional module arranged on the first board card and the second board card, and the structure information of the first board card and the second board card can indicate the size and structure corresponding to the first board card and the second board card. According to the structure information, the first region overlapping between the first board card and the second board card and the second region not overlapping can be determined. The first region can indicate the region with the largest area obtained after the first board card and the second board card are overlapped, and the second region can indicate the region not overlapping between the first board card and the second board card after the first region is determined. According to the first region and the first information, the second information can be determined, which can be used to indicate the modules arranged in the first region. According to the second information, the plurality of first modules can be arranged on the first region and the second region, and the arrangement information of the first board card and the second board card can be obtained, which can be used to indicate the arrangement positions of the modules on the first board card and the second board card. In this way, by using the above method, for the first board card and the second board card with different forms but the same functions, the second modules arranged in the first region and the third modules arranged in the second region can be determined according to the second information based on the first region overlapping between the two board cards and the second region not overlapping, so that the modules in the two board cards with different forms can be arranged at the same time, and the arrangement efficiency of the board cards is improved.

[0066] Based on any of the above embodiments, Figure 4 , the setting process of multiple first modules is described in detail.

[0067] Figure 4 This is a schematic diagram of the setup process of multiple first modules provided in the embodiment of this application. Figure 4 , the method may include:

[0068] S401. Determine, according to second information, a second module disposed in a first area and a third module disposed in a second area among a plurality of first modules.

[0069] The second information can be used to indicate a module set in the first area. The second information can be used to determine a second module set in the first area among multiple first modules. After determining the second module, the remaining modules among the multiple first modules are determined as third modules.

[0070] S402: Dispose the second module in the first area of ​​the first board and the second board.

[0071] Based on the first structural information of the first board and the second structural information of the second board, a first structural component area and a second structural component area can be determined. The first structural component area can be the area occupied by the structural components of the first board on the first board, and the second structural component area can be the area occupied by the structural components of the second board on the second board. Based on the first structural component area and the second structural component area, a first target area can be determined within the first area. The first target area is an area where the first area does not overlap with the first structural component area and the second structural component area. The structural components can be gold fingers, connectors, etc.

[0072] The first structural component area can be determined in the following manner: based on the first structural information, the first pin position, silk screen position and trace width of the structural component of the first board are determined, and based on the pin position, the position of the structural component on the first board is determined; with the silk screen position as a reference line, a first distance is measured into the board, where the length of the first distance is equal to the sum of the trace width and the width of the structural component, to obtain a first reference line parallel to the silk screen position, and the area between the first reference line and the first board and overlapping with the structural component is determined as the first structural component area.

[0073] The second structure part region can be determined by the following method: according to the second structure information, the pin position, the silk screen position and the trace width of the structure part of the second board card are determined, according to the pin position, the position of the structure part on the second board card is determined; the second distance is measured from the silk screen position to the board, the length of the second distance is equal to the sum of the trace width and the width of the structure part, a second reference line parallel to the silk screen position is obtained, and the region between the second reference line and the second board card and overlapping with the structure part is determined as the second structure part region.

[0074] The first structure part region is described below by a specific example.

[0075] Figure 5 A schematic diagram of the first structure part region provided by the embodiment of the application is shown in FIG. 1. Figure 5 The schematic diagram includes a first board card, a first region, a first structure part region, a structure part, a first reference line, a first distance and a silk screen position. The first distance is measured from the silk screen position to the board, a first reference line parallel to the silk screen position is obtained, and the region between the first reference line and the first board card and overlapping with the structure part is determined as the first structure part region.

[0076] In the second module, the sixth module with the largest area is determined, and according to the component information of the sixth module, the trace width corresponding to the sixth module can be determined. The sixth module is placed in the first target region, so that the distance between any one long side and any one wide side of the sixth module and the side of the first target region is equal to the trace width.

[0077] In the second module, the eighth module other than the sixth module is determined, and the eighth module is placed in the remaining region in the first target region.

[0078] Optionally, the placement method of the eighth module in the remaining region in the target region can be determined by the following method: the number of pins corresponding to each eighth module is determined, each eighth module is sorted in descending order of the number of pins, and each eighth module is placed in the remaining region in the order, wherein the greater the number of pins, the closer to the sixth module.

[0079] S403, according to the second region, a first sub-region and a second sub-region are determined, the first sub-region and the second sub-region are overlapped to obtain a third region, a fourth region and a fifth region.

[0080] The first sub-region is the region in the second region located on the first board card, and the second sub-region is the region in the second region located on the second board card.

[0081] The third region is the region with the largest area after the first sub-region and the second sub-region are overlapped, the fourth region is the region in the first sub-region which is not overlapped, and the fifth region is the region in the second sub-region which is not overlapped.

[0082] The third area, the fourth area, and the fifth area are described below through specific examples.

[0083] Figure 6 The third area, the fourth area, and the fifth area are described below through specific examples. Figure 6 , including the first board card, the second board card, the first area, the first sub-area, the second sub-area, the third area, the fourth area, and the fifth area, wherein the first area and the second area can be determined by overlapping the first board card and the second board card, the first sub-area located on the first board card and the second sub-area located on the second board card can be determined according to the second area, and the third area with the largest area after overlapping, the fourth area in the first sub-area that is not overlapped, and the fifth area in the second sub-area that is not overlapped can be obtained by overlapping the first sub-area and the second sub-area.

[0084] S404, in the third module, determining the fourth module that can be accommodated in the third area, and the fifth module that cannot be accommodated in the third area.

[0085] According to the size of the first board card and the size of the second board card, the area of the third area can be determined; the area of each third module is determined, and each third module is sorted and processed in descending order of area, and the third module is placed in the third area in the order, until the third area is placed with N third modules, and the N+1 module cannot be placed in the third area, the first N third modules are determined as the fourth module, and the remaining modules in the third module are determined as the fifth module.

[0086] S405, the fourth module is set in the third area, and the fifth module is set in the fourth area and the fifth area.

[0087] In Figure 4In the embodiment shown, when a plurality of first modules need to be arranged, the second module arranged in the first region and the third module arranged in the second region can be determined from the plurality of first modules according to the second information, the second module is arranged in the first region of the first board card and the second board card, the first sub-region and the second sub-region are determined according to the second region, the first sub-region and the second sub-region are overlapped to obtain the third region, the fourth region and the fifth region, the fourth module that can be accommodated in the third region and the fifth module that cannot be accommodated in the third region are determined in the third module, the fourth module is arranged in the third region, and the fifth module is arranged in the fourth region and the fifth region. In this way, by the above method, the second module with a larger area can be arranged in the first region of the first board card and the second board card first, then the maximum third region that can be overlapped is determined in the region that is not overlapped, the fourth module with a larger area and that can be placed is placed in the third region of the first board card and the second board card, and the remaining fifth module is arranged in the fourth region and the fifth region, so as to ensure a higher similarity of the module arrangement of the first board card and the second board card. On the one hand, the efficiency of the design of the first board card and the second board card is improved by automatic arrangement, and on the other hand, the convenience of subsequent test boards is improved by the higher similarity.

[0088] On the basis of any one of the above embodiments, the following will be described in combination with Figure 7 The determination process of the arrangement information of the first module is described in detail.

[0089] Figure 7 The determination process of the arrangement information of any one first module provided by the embodiments of the present application is shown in the figure. Please refer to Figure 7 The method can include:

[0090] S701, determining the top height and the bottom height of the first board card and the second board card according to the structure information.

[0091] The bottom height of the first board card and the second board card is smaller than the top height. For example, the top height can be 2 cm, and the bottom height can be 1 cm.

[0092] S702, determining the first component located at the top of the board card and the second component located at the bottom of the board card according to the top height, the bottom height and the information of each component.

[0093] It can be understood that for any one first module, part of the components of the first module can be arranged at the top of the board card, and another part of the components can be arranged at the bottom of the board card.

[0094] The first component and the second component can be determined as follows: among the plurality of components, a third component with a height less than the bottom height and a fourth component with a height greater than or equal to the bottom height are determined as the components; a quantity difference between a first quantity of the third components and a second quantity of the fourth components is determined, wherein the first quantity is greater than or equal to the second quantity; when the quantity difference is less than or equal to a second threshold, the third components are determined as the second components located at the bottom of the board card, and the fourth components are determined as the first components located at the top of the board card; when the quantity difference is greater than the second threshold, a plurality of fifth components are selected from the third components according to the quantity difference, and the plurality of fifth components and the fourth components are determined as the first components located at the top of the board card, and the remaining components in the third components are determined as the second components located at the bottom of the board card. The second threshold can be a value set by a user in advance, for example, the second threshold can be 2.

[0095] It can be understood that when the quantity difference between the first components at the top and the second components at the bottom is large, the quantities of the components at the top and the bottom need to be adjusted to balance the quantities of the components at the top and the bottom, so as to ensure the reliability of the first module.

[0096] S703, arranging the first components and the second components to obtain arrangement information of the first module.

[0097] The arrangement can be performed as follows: pin information of each component is determined according to the information of the components; at least one top sub-module is determined in the first components, each top component in the top sub-module belongs to the same sub-module, the pin information of each top component is the same, and each top component in the top sub-module is placed according to a preset arrangement; at least one bottom sub-module is determined in the second components, each bottom component in the bottom sub-module belongs to the same sub-module, the pin information of each bottom component is the same, and each bottom component in the bottom sub-module is placed according to a preset arrangement; pin information of each top sub-module is determined according to the at least one top sub-module, and arrangement of the top sub-module is obtained according to the pin information of each top sub-module according to the preset arrangement; pin information of each bottom sub-module is determined according to the at least one bottom sub-module, and arrangement of the bottom sub-module is obtained according to the pin information of each bottom sub-module according to the preset arrangement; and the arrangement information of the first module is obtained according to the arrangement of the top sub-module and the arrangement of the bottom sub-module.

[0098] For example, the preset arrangement can refer to: determining at least one component belonging to the same sub-module, determining the size of each component, determining the component with the longest side length in each component, determining the length of the component as the first length, determining the target frame, fixing the length of any side of the target frame as the first length; placing each component in the target frame; determining the pin information of each component, and placing the components with the same pin information in parallel.

[0099] The preset arrangement is described below through specific examples.

[0100] Figure 8 A schematic diagram of preset arrangement of any top sub-module is provided for the embodiments of the present application. Referring to FIG. 1, Figure 8 Any top sub-module includes top component A, top component B, and top component C, wherein the top component A has the longest side length, the pin information A and the pin information B correspond to the same component, and the pin information C and the pin information D correspond to the same component. The length of the long side of the top component A is determined as the first length, the length of any side of the target frame is fixed as the first length, the target frame is determined, and the components with the same pin information are placed in parallel, thereby obtaining the top sub-module.

[0101] In the embodiment shown in Figure 7 When the arrangement information of the first module needs to be determined, the top height and the bottom height of the first board card and the second board card can be determined according to the structure information; the first component located at the top of the board card and the second component located at the bottom of the board card can be determined according to the top height, the bottom height, and the information of each component; and the first component and the second component are arranged to obtain the arrangement information of the first module. Through the above method, the distribution of the components at the top and the bottom of the first module can be determined according to the top height and the bottom height, the balance of the component distribution is ensured, thereby improving the stability of the first module. In addition, through the preset arrangement, the rules of the arrangement of each component can be ensured to be the same, and the occupied area can be reduced. The consistency of the overall arrangement can be ensured by ensuring the same rules of the arrangement, and the utilization rate of the board card can be improved by reducing the occupied area.

[0102] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be realized by means of software and a general hardware platform as required, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment.

[0103] Figure 9 A structural schematic diagram of the arrangement device of the board card provided for the embodiments of the present application is provided. As shown in Figure 9As shown, the embodiment of the present application further provides a board card arrangement device 10, comprising: an acquisition module 11, a first determination module 12, a second determination module 13 and a first arrangement module 14, wherein,

[0104] The acquisition module 11 is configured to acquire first information corresponding to a plurality of first modules associated with functions of a first board card and a second board card, and structural information of the first board card and the second board card, the first board card and the second board card are different in form, and the first information comprises sub-function modules in the plurality of first modules and component information in each sub-function module;

[0105] The first determination module 12 is configured to determine, according to the structural information, a first region overlapping between the first board card and the second board card and a second region not overlapping;

[0106] The second determination module 13 is configured to determine, according to the first region and the first information, second information, the second information being used for indicating modules arranged in the first region;

[0107] The first arrangement module 14 is configured to arrange, according to the second information, the plurality of first modules on the first region and the second region to obtain arrangement information of the first board card and the second board card.

[0108] The arrangement device of the board card provided by the embodiment of the present application can execute the technical solutions shown in the above method embodiment, and has similar implementation principles and beneficial effects, which will not be described in detail.

[0109] In a possible design, the first arrangement module 14 is specifically configured to,

[0110] determine, according to the second information, second modules arranged in the first region and third modules arranged in the second region from the plurality of first modules;

[0111] arrange the second modules in the first region of the first board card and the second board card;

[0112] arrange the third modules in the second region of the first board card and the second board card.

[0113] In a possible design, the first arrangement module 14 is specifically configured to,

[0114] overlap the first sub-region and the second sub-region to obtain a third region being the largest after overlapping, a fourth region not overlapping in the first sub-region, and a fifth region not overlapping in the second sub-region;

[0115] arrange the third modules in the third region, the fourth region and the fifth region.

[0116] In a possible design, the first arranging module 14 is specifically configured to,

[0117] In the third module, a fourth module that can be accommodated in the third region and a fifth module that cannot be accommodated in the third region are determined;

[0118] The fourth module is arranged in the third region, and the fifth module is arranged in the fourth region and the fifth region.

[0119] In a possible design, the second determining module 13 is specifically configured to,

[0120] According to the first information, areas corresponding to the plurality of first modules are determined;

[0121] In the plurality of first modules, a sixth module with the largest area and a seventh module with an area greater than or equal to a first threshold value are determined;

[0122] An area difference between the first region and the sixth module is determined;

[0123] According to the area difference and the area of the seventh module, an eighth module that can be arranged in the first region is determined in the seventh module;

[0124] The second information is determined according to the sixth module and the eighth module.

[0125] In a possible design, the first determining module 12 is specifically configured to,

[0126] The size of the first board card is determined according to the first structure information;

[0127] The size of the second board card is determined according to the second structure information;

[0128] The first region and the second region are determined according to the size of the first board card and the size of the second board card.

[0129] In a possible design, the first determining module 12 is specifically configured to,

[0130] The target vertex between the first board card and the second board card is determined according to the size of the first board card and the size of the second board card;

[0131] The first region and the second region are determined according to the target vertex.

[0132] In a possible design, the first determining module 12 is specifically configured to,

[0133] The first board card and the second board card are overlapped according to the target vertex;

[0134] rotating the first board card with the target vertex as the rotation center, so that an overlapping area appears between the first board card and the second board card;

[0135] determining the maximum overlapping area appearing in the rotation process as the first area, and determining an area where the first board card and the second board card are not overlapped when the first area appears as the second area.

[0136] In a possible design, the obtaining module 11 is specifically configured to,

[0137] determine at least one sub-module of the first module, the sub-module being used to indicate a signal type of the first module;

[0138] determine at least one component corresponding to each sub-module, and information of each component, the information of each component including a height of the component;

[0139] obtain first information of the first module according to the sub-modules, the components, and the information of the components.

[0140] The arrangement device for board cards provided in the embodiments of the present application can implement the technical solutions shown in the method embodiments, and has similar implementation principles and beneficial effects, which will not be repeated here.

[0141] Figure 10 Another arrangement device for board cards provided in the embodiments of the present application is shown in a structural schematic diagram. In Figure 9 the arrangement device for board cards 10 shown in Figure 10 the arrangement device for board cards 10 further includes a second arrangement module 15, where,

[0142] The second arrangement module 15 is configured to determine at least one sub-module of the first module, the sub-module being used to indicate a signal type of the first module;

[0143] determine at least one component corresponding to each sub-module, and information of each component, the information of each component including a height of the component;

[0144] obtain first information of the first module according to the sub-modules, the components, and the information of the components.

[0145] In a possible design, the second arrangement module 15 is specifically configured to,

[0146] determine a top height and a bottom height of the first board card and the second board card according to the structural information, the bottom height being less than the top height;

[0147] determine a first component located at the top of the board and a second component located at the bottom of the board according to the top height, the bottom height and the information of the components;

[0148] arrange the first component and the second component to obtain arrangement information of a first module.

[0149] In a possible design, the second arrangement module 15 is specifically configured to,

[0150] determine a third component with a height less than the bottom height and a fourth component with a height greater than or equal to the bottom height from the components;

[0151] determine a quantity difference between a first quantity of the third components and a second quantity of the fourth components, the first quantity being greater than or equal to the second quantity;

[0152] when the quantity difference is less than or equal to a second threshold, determine the third components as the second components located at the bottom of the board and determine the fourth components as the first components located at the top of the board;

[0153] when the quantity difference is greater than the second threshold, select a plurality of fifth components from the third components according to the quantity difference, and determine the plurality of fifth components and the fourth components as the first components located at the top of the board, and determine the remaining components in the third components as the second components located at the bottom of the board.

[0154] In a possible design, the second arrangement module 15 is specifically configured to,

[0155] determine pin information of the components;

[0156] determine at least one top sub-module from the first components, each top component in the top sub-module belongs to a same sub-module, pin information of the top components corresponds to the same sub-module, and each top component in the top sub-module is placed according to a preset arrangement;

[0157] determine at least one bottom sub-module from the second components, each bottom component in the bottom sub-module belongs to a same sub-module, pin information of the bottom components corresponds to the same sub-module, and each bottom component in the bottom sub-module is placed according to a preset arrangement;

[0158] determine pin information of each top sub-module according to the at least one top sub-module, and obtain arrangement of the top sub-module according to the pin information of each top sub-module;

[0159] According to the pin information of each bottom sub-module, arrangement of the bottom sub-modules is obtained.

[0160] According to the arrangement of the top sub-modules and the arrangement of the bottom sub-modules, arrangement information of the first module is obtained.

[0161] The arrangement device of the board card provided in the embodiment of the application can execute the technical solutions shown in the method embodiments, and has similar implementation principles and beneficial effects, which will not be described herein.

[0162] Figure 11 The structure of the electronic device provided in the application is shown in the schematic diagram. As shown in the figure, the electronic device 50 provided in the embodiment includes at least one processor 501 and a memory 502. Optionally, the electronic device 50 further includes a communication component 503. The processor 501, the memory 502 and the communication component 503 are connected through a bus. Figure 11

[0163] In the specific implementation process, the at least one processor 501 executes the computer execution instructions stored in the memory 502, so that the at least one processor 501 executes the arrangement method of the board card described above.

[0164] The specific implementation process of the processor 501 can be referred to the method embodiments described above, which has similar implementation principles and technical effects, and will not be described herein.

[0165] In the above embodiments, it should be understood that the processor can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC) and the like. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor and the like. The steps of the method disclosed in the application can be directly embodied as hardware processor execution, or executed by a combination of hardware and software modules in the processor.

[0166] The memory can include a random access memory (RAM), and can also include a non-volatile memory (NVM), for example, at least one disk memory.

[0167] ​The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application does not limit to only one bus or one type of bus.

[0168] Embodiments of the present application also provide a computer readable storage medium, which stores a computer program, wherein the computer program is configured to execute the steps in any of the above-mentioned card arrangement method embodiments when running.

[0169] In an exemplary embodiment, the above-mentioned computer readable storage medium can include, but is not limited to, a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store computer programs.

[0170] Embodiments of the present application also provide a computer program product, which includes a computer program, and the computer program is executed by a processor to implement the steps in any of the above-mentioned card arrangement method embodiments.

[0171] Embodiments of the present application also provide another computer program product, which includes a non-volatile computer readable storage medium, and the non-volatile computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps in any of the above-mentioned card arrangement method embodiments.

[0172] The skilled person can further realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be realized in electronic hardware, computer software or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of the examples have been described in the above description in a general manner. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0173] The arrangement method of the board card, the electronic equipment, the storage medium and the program product provided by the application are introduced in detail. The principles and implementation modes of the application are described by applying specific examples, and the above example description is only applicable to help understand the method of the application and its core idea. It should be pointed out that, for ordinary skilled persons in the technical field, some improvements and modifications can be made to the application without departing from the principles of the application, and these improvements and modifications also fall within the protection scope of the claims of the application.

Claims

1. A method for arranging boards, characterized in that: include: Acquiring first information corresponding to a plurality of first modules associated with functions of a first board and a second board, and structural information of the first board and the second board, wherein the first board and the second board have different forms, and the first information includes submodules in the first module indicating a signal type and component information in each submodule; determining, based on the structural information, a first overlapping area and a second non-overlapping area between the first board and the second board; Determining second information according to the first area and the first information, where the second information is used to indicate a module disposed in the first area; The plurality of first modules are arranged on the first area and the second area according to the second information, and arrangement information of the first board and the second board is obtained.

2. The method according to claim 1, characterized in that Arranging the plurality of first modules on the first area and the second area according to the second information includes: determining, according to the second information, a second module disposed in the first area and a third module disposed in the second area among the plurality of first modules; Disposing the second module in the first area of ​​the first board and the second board; The third module is disposed in the second area of ​​the first board and the second board.

3. The method according to claim 2, characterized in that The second area includes a first sub-area located on the first board and a second sub-area located on the second board; The method of disposing the third module in the second area of ​​the first board and the second board includes: Overlapping the first sub-region and the second sub-region to obtain a third region that is the largest after the overlap, a fourth region that is not overlapped in the first sub-region, and a fifth region that is not overlapped in the second sub-region; The third module is disposed in the third area, the fourth area, and the fifth area.

4. The method according to claim 3, characterized in that The method of disposing the third module in the third area, the fourth area, and the fifth area includes: In the third module, determining a fourth module that can be accommodated in the third area and a fifth module that cannot be accommodated in the third area; The fourth module is disposed in the third area, and the fifth module is disposed in the fourth area and the fifth area.

5. The method according to any one of claims 1 to 4, characterized in that Determining second information according to the first area and the first information includes: determining areas corresponding to the plurality of first modules according to the first information; Determine, among the plurality of first modules, a sixth module having the largest area and a seventh module having an area greater than or equal to a first threshold; determining an area difference between the first region and the sixth module; Determining, in the seventh module, an eighth module that can be disposed in the first area based on the area difference and the area of ​​the seventh module; The second information is determined according to the sixth module and the eighth module.

6. The method according to any one of claims 1 to 4, characterized in that The structural information includes first structural information of the first board and second structural information of the second board; Determining, according to the structural information, a first overlapping area and a second non-overlapping area between the first board and the second board, comprising: determining a size of the first board according to the first structural information; determining a size of the second board according to the second structural information; The first area and the second area are determined according to the size of the first board and the size of the second board.

7. The method according to claim 6, characterized in that Determining the first area and the second area according to a size of the first board and a size of the second board includes: determining a target vertex between the first board and the second board according to a size of the first board and a size of the second board; The first area and the second area are determined according to the target vertex.

8. The method according to claim 7, characterized in that Determining the first area and the second area according to the target vertex includes: overlapping the first board and the second board according to the target vertex; Rotating the first board around the target vertex as a rotation center so that an overlapping area appears between the first board and the second board; The largest overlapping area appearing during the rotation process is determined as the first area, and the area where the first board and the second board do not overlap when the first area appears is determined as the second area.

9. The method according to any one of claims 1 to 4, characterized in that For any first module, obtaining first information of multiple first modules corresponding to the first board and the second board includes: determining at least one submodule of the first module, where the submodule is used to indicate a signal type of the first module; Determine at least one component corresponding to each submodule and information about each component, wherein the component information includes a height of the component; First information of the first module is obtained according to the sub-modules, the components and the information of the components.

10. The method according to claim 9, characterized in that The method further comprises: Determining, based on the structural information, a top height and a bottom height of the first board and the second board, wherein the bottom height is smaller than the top height; Determine a first component located at the top of the board and a second component located at the bottom of the board according to the top height, the bottom height and the information of the components; Arrange the first components and the second components to obtain arrangement information of the first module.

11. The method according to claim 10, characterized in that The component information includes the height of the component; determining a first component located at the top of the board and a second component located at the bottom of the board according to the top height, the bottom height, and the information of each component, including: Among the plurality of components, determining a third component whose height is less than the bottom height, and a fourth component whose height is greater than or equal to the bottom height; determining a difference between a first quantity of the third component and a second quantity of the fourth component, the first quantity being greater than or equal to the second quantity; When the quantity difference is less than or equal to a second threshold, determining the third component as the second component located at the bottom of the board, and determining the fourth component as the first component located at the top of the board; When the quantity difference is greater than the second threshold, multiple fifth components are selected from the third components based on the quantity difference, and the multiple fifth components and the fourth component are determined as the first components located at the top of the board, and the remaining components in the third components are determined as the second components located at the bottom of the board.

12. The method according to claim 11, characterized in that The component information also includes component pin information; the arrangement processing of the first component and the second component is performed to obtain the arrangement information of the first module, including: Determining pin information of each component; Determine at least one top submodule in the first components, wherein each top component in the top submodule belongs to the same submodule, and each top component has the same corresponding pin information, and each top component in the top submodule is placed according to a preset arrangement; Determine at least one bottom submodule in the second component, wherein the bottom components in the bottom submodule belong to the same submodule, the pin information of the bottom components is the same, and the bottom components in the bottom submodule are placed according to a preset arrangement; Determining pin information of each top submodule according to the at least one top submodule, and obtaining an arrangement of the top submodules according to the pin information of each top submodule; Determining pin information of each bottom submodule according to the at least one bottom submodule, and obtaining an arrangement of the bottom submodules according to the pin information of each bottom submodule; Arrangement information of the first module is obtained according to the arrangement of the top submodule and the arrangement of the bottom submodule.

13. An electronic device, characterized in that: include: memory for storing computer programs; A processor, configured to implement the steps of the board arrangement method according to any one of claims 1 to 12 when executing the computer program.

14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the board arrangement method according to any one of claims 1 to 12.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the board arrangement method according to any one of claims 1 to 12 are implemented.

Citation Information

Patent Citations

  • Cutting method of PCB layout

    CN112580294A

  • Automatic component layout method based on hierarchical structure

    CN114357930A

  • Variable-size multi-specification plate two-dimensional irregular layout method and system

    CN114528701A

  • Card adjustment method and device, terminal equipment and storage medium

    CN117573261A

  • PCB module automatic layout method and device, electronic equipment and storage medium

    CN118070735A