Plate determination method and device, computer equipment and storage medium
By acquiring multiple sets of size data in the plate database and performing a preset operation to determine the target plate size, the problem of low plate size determination efficiency in the prior art is solved, and the utilization rate and production efficiency of the plate are improved.
Patent Information
- Application Number
- CN202410754009.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-24
AI Technical Summary
In the existing technology, the determination of plate dimensions relies on manual experience, resulting in low efficiency and high cost, making it difficult to improve plate utilization.
By obtaining multiple sets of size data in the plate database, perform preset operations to determine the utilization rate corresponding to each set of size data, select the maximum utilization rate as the target utilization rate, and adjust the arrangement direction of the panels to maximize the utilization rate of the panels. , determine the target plate size.
It improves the utilization rate of panels, reduces the reliance on manual judgment, and improves production efficiency and cost-effectiveness.
Smart Images

Figure CN118690901A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a plate determination method, device, computer equipment and storage medium. Background Art
[0002] Board materials, such as PCB (Printed Circuit Board), are widely used in computer networks, automation, home appliances, etc. When mass-producing boards, the size of the boards needs to be considered, and it is expected that the boards have a high utilization rate in actual applications.
[0003] In the related technology, the size of the plate to be produced is usually determined by the manual experience of professional technicians. This requires a high level of professionalism from the technicians, high labor costs, and low efficiency.
[0004] Therefore, how to improve the efficiency of determining the size of the plate while improving the utilization rate of the plate has become a technical problem that technical personnel in this field urgently need to solve. Summary of the invention
[0005] In view of this, the present invention provides a plate determination method, apparatus, computer equipment and storage medium to solve the problem of low efficiency in determining plate size by manual experience in the related art.
[0006] In a first aspect, the present invention provides a plate determination method, comprising:
[0007] Obtaining a plate database, and the length and width of the panel; the plate database includes multiple sets of dimension data; the dimension data includes the length and width of the plate;
[0008] Performing a first preset operation on each set of size data to obtain a first utilization rate corresponding to each set of size data;
[0009] Determine the maximum utilization rate among the first utilization rates corresponding to each set of size data as the target utilization rate;
[0010] Determine the size data corresponding to the target utilization rate as the size data of the target plate; the target plate is used for panelizing and splicing on the target plate;
[0011] The first preset operation performed on the set of size data includes:
[0012] The first quantity is determined according to the length of the panel and the length of the plate in the set of dimension data; the second quantity is determined according to the width of the panel and the width of the plate in the set of dimension data; the first quantity represents the maximum number of the long sides of the panel arranged in the long direction of the plate in the set of dimension data, and the second quantity represents the maximum number of the wide sides of the panel arranged in the short direction of the plate in the set of dimension data;
[0013] Determine a first remaining area of the plate corresponding to the set of size data according to the first quantity and the second quantity;
[0014] Adjusting the arrangement direction of the panels to determine a first target number of panels to be arranged in a first remaining area of the plate corresponding to the set of size data; the first target number represents a maximum number of panels to be arranged in the first remaining area of the plate corresponding to the set of size data;
[0015] A first utilization rate corresponding to the group of size data is determined according to the first number, the second number and the first target number.
[0016] In an optional embodiment, determining a first target number of panels to be arranged in a first remaining area of the plate corresponding to the set of size data includes:
[0017] Determine a first remaining length in the long direction of the plate corresponding to the set of dimension data;
[0018] When the first remaining length is greater than or equal to the width of the panel, the third number and the fourth number are determined; the third number represents the maximum number of the wide sides of the panel arranged on the first remaining length, and the fourth number represents the maximum number of the long sides of the panel arranged in the short direction of the plate in the set of size data;
[0019] A first target number of panels to be arranged in a first remaining area of the plate corresponding to the set of size data is determined based on the third number and the fourth number.
[0020] In an optional embodiment, determining a first target number of panels to be arranged in a first remaining area of the plate corresponding to the set of size data includes:
[0021] When the first remaining length is less than the width of the panel, a first target number of panels arranged in the first remaining area of the plate corresponding to the set of size data is zero.
[0022] In an optional embodiment, the method further includes:
[0023] A second preset operation is performed on each set of size data to obtain a second utilization rate corresponding to each set of size data; wherein the second preset operation performed on the set of size data includes:
[0024] The fifth number is determined according to the width of the panel and the length of the plate in the set of dimension data; the sixth number is determined according to the length of the panel and the width of the plate in the set of dimension data; the fifth number represents the maximum number of the wide sides of the panel arranged in the long direction of the plate in the set of dimension data, and the sixth number represents the maximum number of the long sides of the panel arranged in the short direction of the plate in the set of dimension data;
[0025] Determine a second remaining area of the plate corresponding to the set of size data according to the fifth number and the sixth number;
[0026] Adjusting the arrangement direction of the panels to determine a second target number of panels to be arranged in the second remaining area of the plate corresponding to the set of size data; the second target number represents the maximum number of panels to be arranged in the second remaining area of the plate corresponding to the set of size data;
[0027] A second utilization rate corresponding to the group of size data is determined according to the fifth number, the sixth number and the second target number.
[0028] In an optional implementation, before determining the maximum utilization rate among the first utilization rates corresponding to each set of size data as the target utilization rate, the method further includes:
[0029] It is determined whether the maximum utilization rate among the first utilization rates corresponding to each set of size data is greater than the maximum utilization rate among the second utilization rates corresponding to each set of size data.
[0030] In an optional implementation manner, determining the maximum utilization rate among the first utilization rates corresponding to each set of size data as the target utilization rate includes:
[0031] When the maximum utilization rate among the first utilization rates corresponding to each set of size data is greater than the maximum utilization rate among the second utilization rates corresponding to each set of size data, the maximum utilization rate among the first utilization rates corresponding to each set of size data is determined as the target utilization rate.
[0032] In an optional embodiment, the method further includes:
[0033] When the maximum utilization rate among the first utilization rates corresponding to each set of size data is less than the maximum utilization rate among the second utilization rates corresponding to each set of size data, the maximum utilization rate among the second utilization rates corresponding to each set of size data is determined as the target utilization rate;
[0034] When the maximum utilization among the first utilizations corresponding to each group of size data is equal to the maximum utilization among the second utilizations corresponding to each group of size data, the maximum utilization among the second utilizations corresponding to each group of size data and the maximum utilization among the first utilizations corresponding to each group of size data are respectively determined as target utilizations.
[0035] In a second aspect, the present invention provides a plate determination device, comprising:
[0036] The first processing module is used to obtain a plate database, and the length and width of the panel; the plate database includes multiple sets of dimension data; the dimension data includes the length and width of the plate;
[0037] A second processing module is used to perform a first preset operation on each set of size data to obtain a first utilization rate corresponding to each set of size data;
[0038] The first preset operation performed on the set of size data includes:
[0039] The first quantity is determined according to the length of the panel and the length of the plate in the set of dimension data; the second quantity is determined according to the width of the panel and the width of the plate in the set of dimension data; the first quantity represents the maximum number of the long sides of the panel arranged in the long direction of the plate in the set of dimension data, and the second quantity represents the maximum number of the wide sides of the panel arranged in the short direction of the plate in the set of dimension data;
[0040] Determine a first remaining area of the plate corresponding to the set of size data according to the first quantity and the second quantity;
[0041] Adjusting the arrangement direction of the panels to determine a first target number of panels to be arranged in a first remaining area of the plate corresponding to the set of size data; the first target number represents a maximum number of panels to be arranged in the first remaining area of the plate corresponding to the set of size data;
[0042] determining a first utilization rate corresponding to the group of size data according to the first number, the second number, and the first target number;
[0043] A third processing module is used to determine the maximum utilization rate among the first utilization rates corresponding to each set of size data as the target utilization rate;
[0044] The fourth processing module is used to determine the size data corresponding to the target utilization rate as the size data of the target plate; the target plate is used for panelizing and splicing on the target plate.
[0045] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the plate material determination method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0046] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the plate material determination method of the first aspect or any corresponding embodiment thereof.
[0047] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the empty pallet management method of the first aspect or any corresponding embodiment thereof.
[0048] The technical solution provided by the present invention has the following technical effects:
[0049] Based on the technical solution of the present invention, the data of plates of different sizes are stored in the plate database, so as to facilitate the subsequent calculation of the utilization rate of plates of different sizes according to the size of the panel. After obtaining the first utilization rate corresponding to each set of size data, the size data corresponding to the largest utilization rate can be used as the size data of the plates to be produced subsequently. The plate with the largest utilization rate is used as the target plate corresponding to the panel, and the plate with the largest utilization rate can be determined among the plates of multiple sizes, thereby improving the utilization rate of the plates. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0051] Figure 1 is a schematic flow chart of a plate determination method according to an embodiment of the present invention;
[0052] Figure 2 is a schematic diagram of a typesetting method according to an embodiment of the present invention;
[0053] Figure 3 is a schematic diagram of another typesetting method according to an embodiment of the present invention;
[0054] Figure 4 is a schematic diagram of the overall process of the plate determination method according to an embodiment of the present invention;
[0055] Figure 5 is a structural block diagram of a plate material determination device according to an embodiment of the present invention;
[0056] Figure 6 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention.
[0057] The reference numerals in the accompanying drawings are: 1. panel, 2. plate. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0059] Therefore, the embodiments of the present invention provide a plate determination method, apparatus, computer equipment and storage medium to solve the above-mentioned problems, determine the size data of the plate to be produced, and improve the utilization rate of the plate.
[0060] According to an embodiment of the present invention, an embodiment of a plate material determination method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0061] Figure 1 4 is a flow chart of a plate determination method according to an embodiment of the present invention.
[0062] like Figure 1 As shown, a plate determination method provided in an embodiment of the present invention includes:
[0063] S101: Acquire a board database, and the length and width of the panel.
[0064] In this embodiment, the plate database includes multiple sets of dimension data, including the length and width of the plate.
[0065] In this embodiment, the length and width of the plates of different sizes can be obtained in advance, and the length and width of the plates of each size can be stored as a set of size data in the plate database. In this embodiment, the panels and the plates can both be rectangular.
[0066] The plate determination method provided by the present invention can be applied to electronic devices, for example, the electronic device can be a computer. The utilization rate of plates of different sizes can be automatically calculated by the electronic device, which can effectively prevent the utilization rate from decreasing due to insufficient manual experience compared to traditional manual experience typesetting.
[0067] S102: Perform a first preset operation on each set of size data to obtain a first utilization rate corresponding to each set of size data.
[0068] In this embodiment, the first preset operation performed on the set of size data includes:
[0069] The first quantity is determined according to the length of the panel and the length of the plate in the set of dimension data. The second quantity is determined according to the width of the panel and the width of the plate in the set of dimension data. The first quantity represents the maximum number of long sides of the panel arranged in the long direction of the plate in the set of dimension data, and the second quantity represents the maximum number of wide sides of the panel arranged in the short direction of the plate in the set of dimension data.
[0070] A first remaining area of the plate corresponding to the set of size data is determined according to the first quantity and the second quantity.
[0071] The arrangement direction of the panels is adjusted to determine a first target number of panels to be arranged in the first remaining area of the plate corresponding to the set of size data. The first target number represents the maximum number of panels to be arranged in the first remaining area of the plate corresponding to the set of size data.
[0072] A first utilization rate corresponding to the group of size data is determined according to the first quantity, the second quantity and the first target quantity.
[0073] In this embodiment, as an example, the first quantity can be determined by taking an integer as the ratio of the length of the plate to the length of the panel in the set of dimension data. The second quantity can be determined by taking an integer as the ratio of the width of the plate to the width of the panel in the set of dimension data.
[0074] In this embodiment, the first remaining length of the plate in the long direction can be obtained by the difference between the length of the plate corresponding to the set of dimensional data and the product of the first quantity and the length of the panel, and the first remaining width of the plate in the short direction can be obtained by the difference between the width of the plate and the product of the second quantity and the width of the panel. The area formed by the first remaining length and the first remaining width is the first remaining area of the plate corresponding to the set of dimensional data.
[0075] In this embodiment, if Figure 2 As shown, before adjusting the arrangement direction of the panels 1, the arrangement direction of the panels 1 is: the long side of the panels 1 is parallel to the long side of the board 2, and the wide side of the panels 1 is parallel to the short side of the board 2. After adjusting the arrangement direction of the panels 1, the wide side of the panels 1 in the first remaining area is parallel to the long side of the board 2, and the long side of the panels 1 is parallel to the short side of the board 2.
[0076] In this embodiment, determining the first utilization rate corresponding to the group of dimensional data based on the first quantity, the second quantity and the first target quantity can specifically include: obtaining the placement area of the panels in the conventional area according to the product of the first quantity, the second quantity and the panel area, obtaining the placement area of the panels in the first remaining area according to the product of the first target quantity and the panel area, taking the sum of the placement area of the panels in the conventional area and the placement area of the panels in the first remaining area as the area of the panels placed on the plate corresponding to the group of dimensional data, and taking the ratio of the area of the panels placed on the plate corresponding to the group of dimensional data to the area of the plate corresponding to the group of dimensional data as the first utilization rate corresponding to the group of dimensional data.
[0077] In this embodiment, a first preset operation is performed for each set of size data to obtain a first quantity, a second quantity, a first target quantity, and a first utilization rate corresponding to each set of size data.
[0078] In this embodiment, the layout of the panels on the board corresponding to each set of size data can be obtained according to the first quantity, the second quantity, and the first target quantity.
[0079] S103: Determine the maximum utilization rate among the first utilization rates corresponding to each set of size data as the target utilization rate.
[0080] S104: Determine the size data corresponding to the target utilization rate as the size data of the target plate.
[0081] In this embodiment, the target plate is used for panelizing to be spliced on the target plate.
[0082] In this embodiment, the target plate is a plate to be produced, and the set of dimension data corresponding to the target utilization rate can be determined as the dimension data of the plate to be produced. The layout of the panels on the target plate can be obtained according to the first quantity, the second quantity, and the first target quantity corresponding to the target utilization rate, and the panels can be spliced on the target plate according to the layout of the panels on the target plate.
[0083] In an optional implementation, determining the first target number of panels to be arranged in the first remaining area of the plate corresponding to the set of size data in S102 specifically includes:
[0084] Sa1: Determine the first remaining length in the long direction of the plate corresponding to this set of dimension data.
[0085] In this embodiment, the first remaining length of the plate in the long direction can be obtained by the difference between the length of the plate corresponding to the set of dimension data and the product of the first number and the length of the panel.
[0086] Sa2: When the first remaining length is greater than or equal to the width of the panel, determine the third number and the fourth number. The third number represents the maximum number of wide sides of the panel arranged on the first remaining length, and the fourth number represents the maximum number of long sides of the panel arranged in the short direction of the plate in the set of size data.
[0087] In this embodiment, the first remaining length is greater than or equal to the width of the panel, indicating that the wide side of the lower panel can be placed in the first remaining length. At this time, the panels can be placed in the first remaining area by adjusting the arrangement direction of the panels.
[0088] Sa3: Determine the first target number of panels to be arranged in the first remaining area of the plate corresponding to the set of size data based on the third number and the fourth number.
[0089] In this embodiment, the product of the third number and the fourth number can be used as the first target number of plates arranged in the first remaining area corresponding to the group of size data.
[0090] In this embodiment, when the first remaining length is less than the width of the panel, the first target number of panels arranged in the first remaining area of the plate corresponding to the set of size data may be zero.
[0091] In an optional implementation, the plate determination method further includes:
[0092] Sb1: performing a second preset operation on each set of size data to obtain a second utilization rate corresponding to each set of size data.
[0093] In this embodiment, the second preset operation performed on the set of size data includes:
[0094] The fifth quantity is determined according to the width of the panel and the length of the plate in the set of dimension data. The sixth quantity is determined according to the length of the panel and the width of the plate in the set of dimension data. The fifth quantity represents the maximum number of wide sides of the panel arranged in the long direction of the plate in the set of dimension data, and the sixth quantity represents the maximum number of long sides of the panel arranged in the short direction of the plate in the set of dimension data.
[0095] A second remaining area of the plate corresponding to the set of size data is determined according to the fifth quantity and the sixth quantity.
[0096] The arrangement direction of the panels is adjusted to determine a second target number of panels to be arranged in the second remaining area of the plate corresponding to the set of size data. The second target number represents the maximum number of panels to be arranged in the second remaining area of the plate corresponding to the set of size data.
[0097] A second utilization rate corresponding to the group of size data is determined according to the fifth number, the sixth number, and the second target number.
[0098] In this embodiment, as an example, the fifth quantity can be determined by taking an integer as the ratio of the length of the plate to the width of the panel in the set of dimension data. The sixth quantity can be determined by taking an integer as the ratio of the width of the plate to the length of the panel in the set of dimension data.
[0099] In this embodiment, the second remaining length of the plate in the long direction can be obtained by the difference between the length of the plate corresponding to the set of dimensional data and the product of the fifth number and the width of the panel, and the second remaining width of the plate in the short direction can be obtained by the difference between the width of the plate and the product of the sixth number and the length of the panel. The area composed of the second remaining length and the second remaining width is the second remaining area of the plate corresponding to the set of dimensional data.
[0100] In this embodiment, if Figure 3 As shown, before adjusting the arrangement direction of the panels 1, the arrangement direction of the panels 1 is: the wide side of the panels 1 is parallel to the long side of the board 2, and the long side of the panels 1 is parallel to the short side of the board 2. After adjusting the arrangement direction of the panels 1, the long side of the panels 1 in the second remaining area is parallel to the long side of the board 2, and the wide side of the panels 1 is parallel to the short side of the board 2.
[0101] In this embodiment, determining the second utilization rate corresponding to the group of dimensional data according to the fifth number, the sixth number and the second target number can specifically include: obtaining the placement area of the panels in the conventional area according to the product of the fifth number, the sixth number and the panel area, obtaining the placement area of the panels in the second remaining area according to the product of the second target number and the panel area, taking the sum of the placement area of the panels in the conventional area and the placement area of the panels in the second remaining area as the area of the panels placed on the plate corresponding to the group of dimensional data, and taking the ratio of the area of the panels placed on the plate corresponding to the group of dimensional data to the area of the plate corresponding to the group of dimensional data as the second utilization rate corresponding to the group of dimensional data.
[0102] In this embodiment, the second preset operation is performed for each set of size data to obtain the fifth quantity, the sixth quantity, the second target quantity and the second utilization rate corresponding to each set of size data.
[0103] In this embodiment, the layout of the panel on the plate corresponding to each set of size data can be obtained according to the fifth quantity, the sixth quantity, and the second target quantity.
[0104] In this embodiment, determining the second target number of panels to be arranged in the second remaining area of the plate corresponding to the set of dimension data specifically includes: determining the second remaining width in the short direction of the plate corresponding to the set of dimension data. As an example: the second remaining width is greater than or equal to the width of the panel, indicating that the wide side of the panel can be placed in the second remaining width. At this time, the panels can be placed in the second remaining area by adjusting the arrangement direction of the panels. Therefore, when the second remaining width is greater than or equal to the width of the panel, the seventh number and the eighth number are determined. The seventh number represents the maximum number of wide sides of the panels arranged on the second remaining width, and the eighth number represents the maximum number of long sides of the panels arranged in the long direction of the plate in the set of dimension data. The eighth number is equal to the first number. The second target number of panels to be arranged in the second remaining area of the plate corresponding to the set of dimension data is determined according to the seventh number and the eighth number. The product of the seventh number and the eighth number can be used as the second target number of panels to be arranged in the second remaining area of the plate corresponding to the set of dimension data.
[0105] As another example, if the second remaining width is smaller than the width of the panel, it means that the wide side of the lower panel cannot be placed in the second remaining width. In this case, even if the arrangement direction of the panels is adjusted, the panels cannot be placed in the second remaining area. Therefore, when the second remaining width is smaller than the width of the panel, the second target number of panels to be arranged in the second remaining area of the plate corresponding to the set of size data may be zero.
[0106] The present invention proposes two preset operations, and at least a part of the two preset operations can be used to obtain the size data of the target plate. Specifically, the first preset operation can be performed for each set of size data to obtain the first utilization rate corresponding to each set of size data, and the size data corresponding to the maximum utilization rate among the first utilization rates corresponding to each set of size data is determined as the size data of the target plate. The second preset operation can also be performed for each set of size data to obtain the second utilization rate corresponding to each set of size data. The size data corresponding to the maximum utilization rate among the second utilization rates corresponding to each set of size data is determined as the size data of the target plate. The size data corresponding to the first utilization rate corresponding to each set of size data and the maximum utilization rate among the second utilization rates corresponding to each set of size data can also be determined as the size data of the target plate.
[0107] In an optional embodiment, when the size data of the target plate is obtained according to the first preset operation and the second preset operation, before determining the maximum utilization rate among the first utilization rates corresponding to each group of size data as the target utilization rate in 103, it can be determined whether the maximum utilization rate among the first utilization rates corresponding to each group of size data is greater than the maximum utilization rate among the second utilization rates corresponding to each group of size data.
[0108] When the maximum utilization rate among the first utilization rates corresponding to each set of size data is greater than the maximum utilization rate among the second utilization rates corresponding to each set of size data, the maximum utilization rate among the first utilization rates corresponding to each set of size data is determined as the target utilization rate.
[0109] When the maximum utilization rate among the first utilization rates corresponding to each set of size data is less than the maximum utilization rate among the second utilization rates corresponding to each set of size data, the maximum utilization rate among the second utilization rates corresponding to each set of size data is determined as the target utilization rate.
[0110] When the maximum utilization among the first utilizations corresponding to each group of size data is equal to the maximum utilization among the second utilizations corresponding to each group of size data, the maximum utilization among the second utilizations corresponding to each group of size data and the maximum utilization among the first utilizations corresponding to each group of size data are respectively determined as target utilizations.
[0111] In this embodiment, considering that when the panels are actually spliced on the board, there is a certain distance of waste left around the board, and there is also a certain distance of gap between adjacent panels. Therefore, in the technical solution of the present invention, in the process of performing the first preset operation for each set of size data and the second preset operation for each set of size data, it is necessary to consider the distance left around the board and the distance left between adjacent panels. As an example, the actual length of the board is A, the actual width of the board is B, the actual length of the panel is C, the actual length of the panel is D, the distance left around the board is m, and the distance left between adjacent panels is n. W = A-m+n / 2, Q = B-m+n / 2, F = C+n / 2, T = D+n / 2, then W can be used as the length of the board stored in the board database in the above technical solution, Q can be used as the width of the board stored in the board database in the above technical solution, F can be used as the length of the panel stored in the board database in the above technical solution, and T can be used as the width of the panel stored in the board database in the above technical solution. As an example, the distance m left around the plate is greater than or equal to 10 mm and less than or equal to 15 mm. The distance n left between adjacent panels is 1.6 mm or 1.2 mm.
[0112] like Figure 4As shown, considering that errors may occur when determining the first quantity, the second quantity, the fifth quantity, and the sixth quantity, when determining the first remaining length in the long direction of the plate corresponding to the set of dimension data, it is also necessary to determine the first remaining width in the short direction of the plate corresponding to the set of dimension data. When determining whether the first remaining length is greater than or equal to the width of the panel, it is also necessary to determine whether the first remaining width is greater than or equal to the length of the panel. When determining the second remaining width in the short direction of the plate corresponding to the set of dimension data, it is also necessary to determine the second remaining length in the long direction of the plate corresponding to the set of dimension data. When determining whether the second remaining width is greater than or equal to the width of the panel, it is also necessary to determine whether the second remaining length is greater than or equal to the length of the panel.
[0113] It should be noted that the contents not described in detail in the specification of the present invention belong to the common knowledge of those skilled in the art.
[0114] In this embodiment, a plate determination device is also provided, which is used to implement the above-mentioned embodiment and optional implementation methods, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0115] Figure 5 4 is a structural block diagram of a plate material determination device according to an embodiment of the present invention.
[0116] This embodiment provides a plate determination device, such as Figure 5 As shown, including:
[0117] The first processing module 11 is used to obtain a board database, and the length and width of the board. The board database includes multiple sets of size data. The size data includes the length and width of the board.
[0118] The second processing module 12 is used to perform a first preset operation on each set of size data to obtain a first utilization rate corresponding to each set of size data.
[0119] The first preset operation performed on the set of size data includes:
[0120] The first quantity is determined according to the length of the panel and the length of the plate in the set of dimension data. The second quantity is determined according to the width of the panel and the width of the plate in the set of dimension data. The first quantity represents the maximum number of long sides of the panel arranged in the long direction of the plate in the set of dimension data, and the second quantity represents the maximum number of wide sides of the panel arranged in the short direction of the plate in the set of dimension data.
[0121] A first remaining area of the plate corresponding to the set of size data is determined according to the first quantity and the second quantity.
[0122] The arrangement direction of the panels is adjusted to determine a first target number of panels to be arranged in the first remaining area of the plate corresponding to the set of size data. The first target number represents the maximum number of panels to be arranged in the first remaining area of the plate corresponding to the set of size data.
[0123] A first utilization rate corresponding to the group of size data is determined according to the first quantity, the second quantity and the first target quantity.
[0124] The third processing module 13 is used to determine the maximum utilization rate among the first utilization rates corresponding to each set of size data as the target utilization rate.
[0125] The fourth processing module 14 is used to determine the size data corresponding to the target utilization rate as the size data of the target plate. The target plate is used for the panel to be spliced on the target plate.
[0126] In an optional embodiment, the second processing module 12 includes a first processing unit, and the first processing unit includes:
[0127] The first subunit is used to determine a first remaining length in the long direction of the plate corresponding to the set of dimension data.
[0128] The second subunit is used to determine the third quantity and the fourth quantity when the first remaining length is greater than or equal to the width of the panel. The third quantity represents the maximum number of the wide sides of the panel arranged on the first remaining length, and the fourth quantity represents the maximum number of the long sides of the panel arranged in the short direction of the plate in the set of size data.
[0129] The third subunit is used to determine a first target number of panels to be arranged in a first remaining area of the plate corresponding to the set of size data according to the third number and the fourth number.
[0130] In an optional embodiment, the second processing module 12 includes the first processing unit and also includes a fourth subunit, and the fourth subunit is used to arrange the first target number of panels in the first remaining area of the plate corresponding to the group of size data to zero when the first remaining length is less than the width of the panel.
[0131] In an optional embodiment, the plate determination device further includes a fifth processing module, the fifth processing module being configured to perform a second preset operation on each set of dimension data to obtain a second utilization rate corresponding to each set of dimension data. The second preset operation performed on the set of dimension data includes:
[0132] The fifth quantity is determined according to the width of the panel and the length of the plate in the set of dimension data. The sixth quantity is determined according to the length of the panel and the width of the plate in the set of dimension data. The fifth quantity represents the maximum number of wide sides of the panel arranged in the long direction of the plate in the set of dimension data, and the sixth quantity represents the maximum number of long sides of the panel arranged in the short direction of the plate in the set of dimension data.
[0133] A second remaining area of the plate corresponding to the set of size data is determined according to the fifth quantity and the sixth quantity.
[0134] The arrangement direction of the panels is adjusted to determine a second target number of panels to be arranged in the second remaining area of the plate corresponding to the set of size data. The second target number represents the maximum number of panels to be arranged in the second remaining area of the plate corresponding to the set of size data.
[0135] A second utilization rate corresponding to the group of size data is determined according to the fifth number, the sixth number, and the second target number.
[0136] In an optional embodiment, the plate determination device also includes a judgment module, which is used to determine whether the maximum utilization rate among the first utilization rates corresponding to each group of dimensional data is greater than the maximum utilization rate among the second utilization rates corresponding to each group of dimensional data before determining the maximum utilization rate among the first utilization rates corresponding to each group of dimensional data as the target utilization rate.
[0137] In an optional embodiment, the third processing module 13 includes a first processing unit, which is used to determine the maximum utilization rate among the first utilization rates corresponding to each group of size data as the target utilization rate when the maximum utilization rate among the first utilization rates corresponding to each group of size data is greater than the maximum utilization rate among the second utilization rates corresponding to each group of size data.
[0138] In an optional embodiment, the third processing module 13 also includes a second processing unit, which is used to determine the maximum utilization rate among the second utilization rates corresponding to each group of size data as the target utilization rate when the maximum utilization rate among the first utilization rates corresponding to each group of size data is less than the maximum utilization rate among the second utilization rates corresponding to each group of size data.
[0139] The third processing module 13 also includes a third processing unit, which is used to determine the maximum utilization rate among the second utilization rates corresponding to each group of dimensional data and the maximum utilization rate among the first utilization rates corresponding to each group of dimensional data as target utilization rates, respectively, when the maximum utilization rate among the first utilization rates corresponding to each group of dimensional data is equal to the maximum utilization rate among the second utilization rates corresponding to each group of dimensional data.
[0140] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0141] The plate determination device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0142] The embodiment of the present invention also provides a computer device having the above Figure 5 The plate determination device shown.
[0143] See also Figure 6 , Figure 6 Schematic diagram of the hardware structure of the computer device according to the embodiment of the present invention. Figure 6 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In an optional embodiment, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.
[0144] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0145] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0146] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function. The data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In an optional embodiment, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0147] The memory 20 may include a volatile memory, such as a random access memory. The memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive. The memory 20 may also include a combination of the above-mentioned types of memory.
[0148] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0149] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc. Further, the storage medium can also include a combination of the above-mentioned types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0150] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0151] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A plate determination method, characterized in that: include: Obtaining a board database, and the length and width of the panel; the board database includes multiple sets of dimension data; Dimensional data includes the length and width of the board; Performing a first preset operation on each set of size data to obtain a first utilization rate corresponding to each set of size data; Determine the maximum utilization rate among the first utilization rates corresponding to each set of size data as the target utilization rate; Determine the size data corresponding to the target utilization rate as the size data of the target plate; The target plate is used for paneling to be spliced on the target plate; The first preset operation performed on the set of size data includes: The first quantity is determined according to the length of the panel and the length of the plate in the set of dimension data; the second quantity is determined according to the width of the panel and the width of the plate in the set of dimension data; the first quantity represents the maximum number of the long sides of the panel arranged in the long direction of the plate in the set of dimension data, and the second quantity represents the maximum number of the wide sides of the panel arranged in the short direction of the plate in the set of dimension data; Determine a first remaining area of the plate corresponding to the set of size data according to the first quantity and the second quantity; Adjusting the arrangement direction of the panels to determine a first target number of panels to be arranged in a first remaining area of the plate corresponding to the set of size data; the first target number represents a maximum number of panels to be arranged in the first remaining area of the plate corresponding to the set of size data; A first utilization rate corresponding to the group of size data is determined according to the first number, the second number and the first target number.
2. The method according to claim 1, characterized in that The step of determining a first target number of panels to be arranged in a first remaining area of the plate corresponding to the set of size data comprises: Determine a first remaining length in the long direction of the plate corresponding to the set of dimension data; When the first remaining length is greater than or equal to the width of the panel, the third number and the fourth number are determined; the third number represents the maximum number of the wide sides of the panel arranged on the first remaining length, and the fourth number represents the maximum number of the long sides of the panel arranged in the short direction of the plate in the set of size data; A first target number of panels to be arranged in a first remaining area of the plate corresponding to the set of size data is determined based on the third number and the fourth number.
3. The method according to claim 2, characterized in that The step of determining a first target number of panels to be arranged in a first remaining area of the plate corresponding to the set of size data comprises: When the first remaining length is less than the width of the panel, a first target number of panels arranged in the first remaining area of the plate corresponding to the set of size data is zero.
4. The method according to claim 1, characterized in that: The method further comprises: A second preset operation is performed on each set of size data to obtain a second utilization rate corresponding to each set of size data; wherein the second preset operation performed on the set of size data includes: The fifth number is determined according to the width of the panel and the length of the plate in the set of dimension data; the sixth number is determined according to the length of the panel and the width of the plate in the set of dimension data; the fifth number represents the maximum number of the wide sides of the panel arranged in the long direction of the plate in the set of dimension data, and the sixth number represents the maximum number of the long sides of the panel arranged in the short direction of the plate in the set of dimension data; Determine a second remaining area of the plate corresponding to the set of size data according to the fifth number and the sixth number; Adjusting the arrangement direction of the panels to determine a second target number of panels to be arranged in the second remaining area of the plate corresponding to the set of size data; the second target number represents the maximum number of panels to be arranged in the second remaining area of the plate corresponding to the set of size data; A second utilization rate corresponding to the group of size data is determined according to the fifth number, the sixth number and the second target number.
5. The method according to claim 4, characterized in that Before determining the maximum utilization rate among the first utilization rates corresponding to each set of size data as the target utilization rate, the method further includes: It is determined whether the maximum utilization rate among the first utilization rates corresponding to each set of size data is greater than the maximum utilization rate among the second utilization rates corresponding to each set of size data.
6. The method according to claim 5, characterized in that The step of determining the maximum utilization rate among the first utilization rates corresponding to each set of size data as the target utilization rate includes: When the maximum utilization rate among the first utilization rates corresponding to each set of size data is greater than the maximum utilization rate among the second utilization rates corresponding to each set of size data, the maximum utilization rate among the first utilization rates corresponding to each set of size data is determined as the target utilization rate.
7. The method according to claim 5, characterized in that The method further comprises: When the maximum utilization rate among the first utilization rates corresponding to each set of size data is less than the maximum utilization rate among the second utilization rates corresponding to each set of size data, the maximum utilization rate among the second utilization rates corresponding to each set of size data is determined as the target utilization rate; When the maximum utilization among the first utilizations corresponding to each group of size data is equal to the maximum utilization among the second utilizations corresponding to each group of size data, the maximum utilization among the second utilizations corresponding to each group of size data and the maximum utilization among the first utilizations corresponding to each group of size data are respectively determined as target utilizations.
8. A plate determination device, characterized in that: include: The first processing module is used to obtain a board database, and the length and width of the panel; the board database includes multiple sets of size data; Dimensional data includes the length and width of the board; A second processing module is used to perform a first preset operation on each set of size data to obtain a first utilization rate corresponding to each set of size data; The first preset operation performed on the set of size data includes: The first quantity is determined according to the length of the panel and the length of the plate in the set of dimension data; the second quantity is determined according to the width of the panel and the width of the plate in the set of dimension data; the first quantity represents the maximum number of the long sides of the panel arranged in the long direction of the plate in the set of dimension data, and the second quantity represents the maximum number of the wide sides of the panel arranged in the short direction of the plate in the set of dimension data; Determine a first remaining area of the plate corresponding to the set of size data according to the first quantity and the second quantity; Adjusting the arrangement direction of the panels to determine a first target number of panels to be arranged in a first remaining area of the plate corresponding to the set of size data; the first target number represents a maximum number of panels to be arranged in the first remaining area of the plate corresponding to the set of size data; determining a first utilization rate corresponding to the group of size data according to the first number, the second number, and the first target number; A third processing module is used to determine the maximum utilization rate among the first utilization rates corresponding to each set of size data as the target utilization rate; The fourth processing module is used to determine the size data corresponding to the target utilization rate as the size data of the target plate; the target plate is used for panelizing and splicing on the target plate.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the steps of the method according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the steps of the method according to any one of claims 1 to 7.
