A paperboard specification calculation method and device, computer equipment and storage medium

By optimizing the paperboard specification calculation method and utilizing formulas and equipment step length multiples, the problem of paperboard cutting equipment being unable to meet the demand for multi-specification cartons was solved, achieving paperboard specification calculation with minimal paperboard waste and maximum production efficiency.

CN116383552BActive Publication Date: 2026-06-19SHENZHEN FENYUAN TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN FENYUAN TECH CO LTD
Filing Date
2023-04-03
Publication Date
2026-06-19

Smart Images

  • Figure CN116383552B_ABST
    Figure CN116383552B_ABST
Patent Text Reader

Abstract

This invention relates to a method, apparatus, computer equipment, and storage medium for calculating cardboard specifications, belonging to the field of cardboard box production technology. The method for calculating cardboard specifications includes: obtaining a formula, a range of paper lengths and multiples thereof, a range of paper widths and multiples thereof, and the quantity and dimensions of the cardboard boxes; obtaining the paper length a0 and paper width b0 based on the dimensions; performing operations on each set of paper length ranges and multiples thereof with a0 to obtain tuples that meet the requirements and adding them to set A; performing operations on each set of paper width ranges and multiples thereof with b0 to obtain tuples that meet the requirements and adding them to set B; determining whether A and B are both non-empty sets; if so, calculating the Cartesian product of A and B, and substituting each group in the product into the formula to obtain S. min This method yields the specifications of the target cardboard. It reduces cardboard waste, minimizes frequent machine adjustments, and improves production efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a method, apparatus, computer equipment, and storage medium for calculating cardboard specifications, belonging to the field of cardboard box production technology. Background Technology

[0002] Products and goods are often packaged in cardboard boxes. In order to minimize space usage and reduce freight costs during transportation (especially by sea and air), cardboard boxes of appropriate specifications need to be produced according to the shape and size of the products.

[0003] For manufacturers of self-made cardboard boxes, with limited cardboard cutting equipment, they often have to purchase sufficiently large cardboard for cutting in order to meet the demand for various cardboard sizes. Currently, when manufacturing rectangular cardboard boxes, raw cardboard is mostly purchased according to the length a0 and width b0 of the unfolded folded cardboard, but this often leads to the following problems:

[0004] 1. It is possible that our factory's cardboard cutting equipment does not support the production of cartons with paper length a0 and paper size b0, which not only wastes financial and material resources, but also seriously affects the carton production cycle.

[0005] 2. When the paper length a0 and paper size b0 are less than the minimum purchase specification of paperboard in the industry, the paperboard needs to be cut. The greater the difference between the paper length a0 and paper size b0 and the minimum purchase specification of paperboard in the industry, the more waste of raw paperboard will be. Summary of the Invention

[0006] To address the aforementioned technical problems, this invention provides a method for calculating cardboard specifications, which not only reduces waste of cardboard materials during carton production but also allows for customized cardboard cutting equipment, reducing frequent machine adjustments and improving production efficiency.

[0007] On one hand, the present invention provides a method for calculating paperboard specifications, including:

[0008] Formula for obtaining: S min =min{a i *b j *ceil(N / (x i *y j ))-a0*b0*N};where, S min a is the minimum total wasted area of ​​cardboard. i b is the length of the target cardboard. j Let N be the paper size of the target cardboard, N be the number of prefabricated cartons in rectangular shape, and x be the paper size of the target cardboard. i y is a multiple of the length of the target cardboard. jceil(N / (x)) represents the paper size multiple of the target cardboard, a0 is the paper length of the folded cardboard after unfolding the prefabricated carton in a cuboid shape, b0 is the paper size of the folded cardboard after unfolding the prefabricated carton in a cuboid shape, and ceil(N / (x)) i *y j )) is N / (x i *y j Round the result up.

[0009] Obtain at least one set of paper length ranges a suitable for cardboard cutting equipment i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Where c is the paper length step of the cardboard, and e is an integer greater than or equal to 0;

[0010] Obtain at least one set of paper size ranges b suitable for cardboard cutting equipment j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j Where d is the paper size step of the paperboard, and f is an integer greater than or equal to 0;

[0011] Obtain the quantity N and dimensions of the prefabricated cartons;

[0012] The paper length a0 is obtained according to the stated dimensions;

[0013] The paper size b0 is obtained according to the stated dimensions;

[0014] The paper length range a of each group i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Each operation with the paper length a0 yields a tuple that meets the requirements [a i ,x i Add to a pre-created set A; set A is an empty set or {[a1,x1],......,[a i ,x i ]}, where i is an integer greater than or equal to 1;

[0015] Set the paper size range for each group as b j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j Each operation with the paper size b0 yields a tuple that meets the requirements [b]. j ,y j Add to a pre-created set B; set B is an empty set or {[b1,y1],......,[b j ,y j ]}, where j is an integer greater than or equal to 1;

[0016] Determine whether set A and set B are both nonempty sets;

[0017] If so, then take the Cartesian product of set A and set B, and define the product {[a1,x1,b1,y1],......,[a i ,x i ,b j ,y j Substituting each group into the above formula, we can obtain S. min At this time, the corresponding a i ,b j This refers to the target paperboard specification that minimizes paperboard waste.

[0018] The paper length mentioned above refers to the length of the cardboard, and the paper width refers to the width of the cardboard.

[0019] The above paper length multiple x i For cardboard cutting equipment at paper length multiples of x i The corresponding paper length range is a1~a i Below, it can cut out x i The cardboard must be of the required length.

[0020] The above paper size ratio y j For cardboard cutting equipment at paper size ratio y j The corresponding paper size range is b1~b i Below, it can cut out y j Paperboard that meets the required paper size.

[0021] The paper length increment 'c' mentioned above is a common increment for paper length in the paperboard industry, typically increasing in 0.125-inch increments.

[0022] The paper size increment d mentioned above is the common paper size increment in the paperboard industry, usually in increments of 2,000 inches.

[0023] Specifically, a0 = (carton length + carton width) * 2 + paper length allowance.

[0024] The paper length allowance includes at least one of paper length deformation allowance, paper length creasing allowance, and staple strip allowance.

[0025] The paper length deformation allowance refers to reserving extra length of cardboard to prevent it from being affected by moisture during storage. The paper length deformation allowance is set according to the actual situation. Setting the paper length deformation allowance can ensure that the dimensions of the manufactured carton meet the requirements.

[0026] The reserved paper length for the crease lines refers to allowing extra length to accommodate the folding and crease lines on the four sides of the carton, as these lines will occupy a certain amount of paper. This is determined based on the specific material of the cardboard. Different cardboard materials require different paper lengths for the crease lines, so the specific length will vary depending on the material. After the crease lines occupy a certain amount of paper, gaps will appear when the four sides of the carton are closed. Setting a reserved paper length for the crease lines helps to prevent these gaps from forming on the sides of the carton.

[0027] The term "staple strip allowance" refers to the requirement that staple strips be used to secure the overlapping portions of the cardboard box walls when they are joined together, thus fixing the four walls in place. The length of paper occupied by the overlapping portions is the staple strip allowance. The staple strip allowance is related to the cardboard material, the size of the prefabricated carton, the weight of the goods packed inside, the size of the staple strips, etc., and should be set according to the specific circumstances.

[0028] Specifically, b0 = carton width + carton height + paper size allowance.

[0029] The paper size allowance includes at least one of paper size deformation allowance and paper size creasing allowance.

[0030] The paper deformation allowance refers to reserving extra width of cardboard to prevent it from being affected by moisture during storage. The paper deformation allowance is set according to the specific application. Setting the paper deformation allowance can ensure that the dimensions of the manufactured cartons meet the requirements.

[0031] The aforementioned paper gauge crease allowance refers to the extra width reserved to account for the paper gauge occupied by the creases on the carton lid. This is determined based on the specific circumstances. Different cardboard materials require different amounts of paper gauge for the creases, so the allowance must be set according to the specific cardboard material. After the carton lid creases occupy a certain amount of paper gauge, there will be gaps when the carton is closed. Setting a paper gauge crease allowance can prevent these gaps from appearing on the carton lid.

[0032] Specifically, the paper length range a for each group i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Each operation with the paper length a0 yields a tuple that meets the requirements [a i ,x i Add to a pre-created set A, including:

[0033] x the multiple of the paper length of each group i Multiplying each product by the paper length a0 yields the corresponding T. i ;

[0034] Determine the corresponding T for each group i Is it greater than its corresponding paper length range a? i(min) ~a i(min) The maximum value of +c*e is a i(min) +c*e;

[0035] If so, then there is no target paper length a that meets the requirements within this paper length range. i ;

[0036] If not, when T i Smaller than its corresponding paper length range a i(min) ~a i(min) The minimum value of +c*e is a i(min) When, the target paper length a i For a i(min) When T i It belongs to the corresponding paper length range a i(min) ~a i(min) When +c*e, the target paper length a i For range a i(min) ~a i(min) +c*e is greater than T i The minimum value;

[0037] The target paper length a of each group that meets the requirements i and its corresponding x i Forming tuples [a i ,x i And add it to set A.

[0038] More specifically, the target paper length a of each group that meets the requirements is... i and its corresponding x i Forming tuples [a i ,x i Before adding it to set A, it also includes:

[0039] Determine if there exists a multiple x of the same paper length. i Corresponding to multiple a i ;

[0040] If so, then the length of the same sheet of paper is a multiple of x. i Take the smallest value of a i ;

[0041] or;

[0042] The target paper length a of each group that meets the requirements is described. i and its corresponding x i Forming tuples [a i ,x i After being added to set A, it also includes:

[0043] Determine if there exists a multiple x of the same paper length. i Corresponding to multiple a i ;

[0044] If so, then for the same multiple of paper length x in set A... i Keep ai The smallest tuple.

[0045] Specifically, the paper size range b for each group j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j Each operation with the paper size b0 yields a tuple that meets the requirements [b]. j ,y j Add to the pre-created set B, including:

[0046] The paper size multiplier y for each group j Multiplying each of these by the paper size b0 yields the corresponding W. j ;

[0047] Determine the corresponding W for each group j Is it greater than its corresponding paper size range b? j(min) ~b j(min) The maximum value of +d*f is b j(min) +d*f;

[0048] If so, then there is no target paper size b that meets the requirements within that paper size range. j ;

[0049] If not, when W j Less than its corresponding paper size range b j(min) ~b j(min) The minimum value of +d*f is b j(min) At that time, the target paper size b j For b j(min) When W j It belongs to its corresponding paper size range b j(min) ~b j(min) When +d*f, the target paper size b j For range b j(min) ~b j(min) +d*f is greater than W j The minimum value;

[0050] Each group of target paper sizes that meet the requirements (b) j and its corresponding y j Forming tuples [b j ,y j And add it to the set B.

[0051] More specifically, the target paper size b of each group that meets the requirements is... j and its corresponding y j Forming tuples [b j ,y j Before adding it to set B, it also includes:

[0052] Determine if the same paper size multiple y exists.j Corresponding to multiple b j ;

[0053] If so, then the same paper size multiple y j Take the smallest value of b j ;

[0054] or;

[0055] The target paper size b that meets the requirements of each group is described. j and its corresponding y j Forming tuples [b j ,y j After being added to set B, it also includes:

[0056] Determine if the same paper size multiple y exists. j Corresponding to multiple b j ;

[0057] If so, then for the same paper size multiple y in set B... j Keep b j The smallest tuple.

[0058] On one hand, the present invention also provides a paperboard specification calculation device, comprising:

[0059] The first acquisition unit is used to acquire the formula: S min =min{a i *b j *ceil(N / (x i *y j ))-a0*b0*N};where, S min a is the minimum total wasted area of ​​cardboard. i b is the length of the target cardboard. j Let N be the paper size of the target cardboard, N be the number of prefabricated cartons in rectangular shape, and x be the paper size of the target cardboard. i y is a multiple of the length of the target cardboard. j ceil(N / (x)) represents the paper size multiple of the target cardboard, a0 is the paper length of the folded cardboard after unfolding the prefabricated carton in a cuboid shape, b0 is the paper size of the folded cardboard after unfolding the prefabricated carton in a cuboid shape, and ceil(N / (x)) i *y j )) is N / (x i *y j Round the result up.

[0060] The second acquisition unit is used to acquire at least one set of paper length ranges a suitable for cardboard cutting equipment. i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Where c is the paper length step of the cardboard, and e is an integer greater than or equal to 0;

[0061] The third acquisition unit is used to acquire at least one set of paper size ranges b suitable for cardboard cutting equipment. j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j Where d is the paper size step of the paperboard, and f is an integer greater than or equal to 0;

[0062] The fourth acquisition unit is used to acquire the quantity N and size of the prefabricated cartons;

[0063] The fifth acquisition unit is used to acquire the paper length a0 according to the dimensions.

[0064] The sixth acquisition unit is used to acquire the paper size b0 according to the stated size;

[0065] The first addition unit is used to select the paper length range a from each group. i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Each operation with the paper length a0 yields a tuple that meets the requirements [a i ,x i Add to a pre-created set A; set A is an empty set or {[a1,x1],......,[a i ,x i ]}, where i is an integer greater than or equal to 1;

[0066] The second addition unit is used to select the paper size range b from each group. j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j Each operation with the paper size b0 yields a tuple that meets the requirements [b]. j ,y j Add to a pre-created set B; set B is an empty set or {[b1,y1],......,[b j ,y j ]}, where j is an integer greater than or equal to 1;

[0067] The judgment unit is used to determine whether set A and set B are both non-empty sets;

[0068] The determination unit is used to determine the Cartesian product of sets A and B when both sets A and B are non-empty, and to define the product {[a1,x1,b1,y1],......,[a i ,x i ,b j ,y j Substituting each group into the above formula, we can obtain S. min At this time, the corresponding a i ,bj This refers to the target paperboard specification that minimizes paperboard waste.

[0069] Specifically, the first joining unit includes:

[0070] The first module is used to obtain the paper length multiples x for each group. i Multiplying each product by the paper length a0 yields the corresponding T. i ;

[0071] The first judgment module is used to determine the T corresponding to each group. i Is it greater than its corresponding paper length range a? i(min) ~a i(min) The maximum value of +c*e is a i(min) +c*e;

[0072] The first determining module is used to determine the T corresponding to each group. i Greater than its corresponding paper length range a i(min) ~a i(min) The maximum value of +c*e is a i(min) When +c*e, there is no target paper length a that meets the requirements within the range of paper lengths in this group. i ;

[0073] The second determining module is used to determine when T i Smaller than its corresponding paper length range a i(min) ~a i(min) The minimum value of +c*e is a i(min) When, the target paper length a i For a i(min) When T i It belongs to the corresponding paper length range a i(min) ~a i(min) When +c*e, the target paper length a i For range a i(min) ~a i(min) +c*e is greater than T i The minimum value;

[0074] The first module is used to add the target paper length 'a' of each group that meets the requirements. i and its corresponding x i Forming tuples [a i ,x i And add it to set A.

[0075] Specifically, the second addition unit includes:

[0076] The second obtaining module is used to obtain the paper size multiplier y for each group. j Multiplying each of these by the paper size b0 yields the corresponding W. j ;

[0077] The second judgment module is used to determine the W corresponding to each group. j Is it greater than its corresponding paper size range b? j(min) ~b j(min) The maximum value of +d*f is b j(min) +d*f;

[0078] The third determining module is used to determine the W corresponding to each group. j Greater than its corresponding paper size range b j(min) ~b j(min) The maximum value of +d*f is b j(min) When +d*f, there is no target paper size b that meets the requirements within that paper size range. j ;

[0079] The fourth determining module is used to determine when W j Less than its corresponding paper size range b j(min) ~b j(min) The minimum value of +d*f is b j(min) At that time, the target paper size b j For b j(min) When W j It belongs to its corresponding paper size range b j(min) ~b j(min) When +d*f, the target paper size b j For range b j(min) ~b j(min) +d*f is greater than W j The minimum value;

[0080] The second module is used to add the target paper size b that meets the requirements of each group. j and its corresponding y j Forming tuples [b j ,y j And add it to the set B.

[0081] On the other hand, the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the cardboard specification calculation method as described above.

[0082] In one aspect, the present invention also provides a computer-readable storage medium storing one or more computer programs that can be executed by one or more processors to implement the cardboard specification calculation method as described above.

[0083] The above-mentioned method, apparatus, computer equipment, and storage medium for calculating paperboard specifications have the following beneficial effects:

[0084] 1. Using the above method to calculate the specifications of the target cardboard, you only need to enter the quantity and size of the pre-made cartons, and the system can automatically calculate the cardboard specifications that are suitable for the cardboard cutting equipment of the carton manufacturer and minimize cardboard waste. This makes it convenient for the carton manufacturer to purchase raw cardboard that suits its actual situation.

[0085] 2. The paper length a0 of the unfolded folded cardboard of the prefabricated carton with a rectangular shape is calculated by (carton length + carton width) * 2 + paper length allowance. The paper size b0 of the unfolded folded cardboard of the prefabricated carton with a rectangular shape is calculated by carton width + carton height + paper size allowance. Based on the characteristics of different cardboard materials in the carton making process, it is ensured that the cut cardboard is more in line with the carton specifications.

[0086] 3. Use the above steps to achieve the desired paper length range a for each group. i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Each operation with the paper length a0 yields a tuple that meets the requirements [a i ,x i Add the pre-created set A, and use the steps described above to combine the paper size ranges b of each group. j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j Each operation with the paper size b0 yields a tuple that meets the requirements [b]. j ,y j Add the pre-created set B to minimize waste of the target cardboard specifications after carton manufacturing.

[0087] 4. There exist multiples of the same paper length x i Corresponding to multiple a i At that time, only the value of 'a' with the smallest value is retained. i or a i The smallest tuple such that when computing the tuple [a] meets the requirements. i ,x i This reduces the amount of computation and improves computational efficiency.

[0088] 5. The same paper size multiple y exists. i Corresponding to multiple b i At that time, only the value of b with the smallest value is retained. i or b i The smallest tuple such that when computing a tuple that meets the requirements, [b] i ,y i This reduces the amount of computation and improves computational efficiency.

[0089] The present invention will be further described below with reference to the accompanying drawings and specific embodiments. Attached Figure Description

[0090] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0091] Figure 1 A schematic flowchart illustrating a method for calculating cardboard specifications provided in an embodiment of the present invention;

[0092] Figure 2 A schematic flowchart of a paperboard specification calculation method provided in an embodiment of the present invention;

[0093] Figure 3 A schematic flowchart of a paperboard specification calculation method provided in another embodiment of the present invention;

[0094] Figure 4 A schematic flowchart of a paperboard specification calculation method provided in another embodiment of the present invention;

[0095] Figure 5 A schematic flowchart of a paperboard specification calculation method provided in an embodiment of the present invention;

[0096] Figure 6 A schematic flowchart of a paperboard specification calculation method provided in another embodiment of the present invention;

[0097] Figure 7 A schematic flowchart of a paperboard specification calculation method provided in another embodiment of the present invention;

[0098] Figure 8 A schematic block diagram of a cardboard specification calculation device provided in an embodiment of the present invention;

[0099] Figure 9 A schematic block diagram of the first input unit of a cardboard specification calculation device provided in an embodiment of the present invention;

[0100] Figure 10 A schematic block diagram of the second input unit of a cardboard specification calculation device provided in an embodiment of the present invention;

[0101] Figure 11 This is a schematic diagram of the structural composition of a computer device provided in an embodiment of the present invention. Detailed Implementation

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

[0103] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0104] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0105] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0106] Example

[0107] This application provides a method for calculating cardboard specifications for the production of cubic cardboard boxes. The method can be executed by devices such as computers and servers; this embodiment does not impose any limitations on this.

[0108] Please see Figure 1 , Figure 1 This is a schematic flowchart illustrating a method for calculating cardboard specifications according to an embodiment of the present invention. Figure 1 As shown, a method for calculating cardboard specifications specifically includes the following steps S1 to S10:

[0109] S1, obtain the formula: S min =min{a i *b j *ceil(N / (x i *y j ))-a0*b0*N};where, S min a is the minimum total wasted area of ​​cardboard. i b is the length of the target cardboard. j Let N be the paper size of the target cardboard, N be the number of prefabricated cartons in rectangular shape, and x be the paper size of the target cardboard. i y is a multiple of the length of the target cardboard.j ceil(N / (x)) represents the paper size multiple of the target cardboard, a0 is the paper length of the folded cardboard after unfolding the prefabricated carton in a cuboid shape, b0 is the paper size of the folded cardboard after unfolding the prefabricated carton in a cuboid shape, and ceil(N / (x)) i *y j )) is N / (x i *y j The result is rounded up.

[0110] S2, Obtain at least one set of paper length ranges a suitable for cardboard cutting equipment. i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Where c is the paper length step of the cardboard, and e is an integer greater than or equal to 0; in the industry, c is generally taken as 0.125 inches; the embodiments of this application adopt the industry standard, and c is taken as 0.125 inches.

[0111] Referring to Table 1 below, for illustrative purposes, this application provides four sets of paper length ranges a suitable for paperboard cutting equipment. i(min) ~a i(min) +c*e and the corresponding paper length multiple x i .

[0112] Table 1

[0113] Group number Paper length range (inches) <![CDATA[Paper length multiple (x i )]]> ① 29.00~43.00 1 ② 45.00~75.00 1 ③ 31.00~85.00 2 ④ 31.00~110.00 3

[0114] It should be noted that the embodiments in this application are only for illustrative purposes, listing four sets of paper length ranges and corresponding paper length multiples, and are not actually limited to these; the specific number of sets is determined according to the actual paper length range and corresponding paper length multiples supported by the cardboard cutting equipment of the carton manufacturer, and can be only one set or multiple sets.

[0115] S3, Obtain at least one set of paper size ranges b suitable for cardboard cutting equipment. j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j Where d is the paper size increment of the cardboard, and f is an integer greater than or equal to 0. In the embodiments of this application, d is 2 inches.

[0116] Referring to Table 2 below, for illustrative purposes, this application provides four sets of paper size ranges b applicable to paperboard cutting equipment. j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j .

[0117] Table 2

[0118]

[0119]

[0120] It should be noted that the embodiments in this application are only for illustrative purposes, listing four sets of paper size ranges and corresponding paper size multiples, and are not actually limited to these; the specific number of sets is determined according to the actual paper size range and corresponding paper size multiples supported by the cardboard cutting equipment of the carton manufacturer, and can be only one set or multiple sets.

[0121] S4, obtain the quantity N and size of the prefabricated cartons.

[0122] For illustrative purposes, in this embodiment of the application, prefabricated cardboard boxes are defined, with a quantity N of 100, and a length of 10 inches, a width of 7 inches, and a height of 5 inches.

[0123] S5, Obtain the paper length a0 according to the stated dimensions.

[0124] In this embodiment, a0 = (carton length + carton width) * 2 + paper length allowance; the paper length allowance includes at least one of paper length deformation allowance, paper length creasing allowance, and staple strip allowance; in this embodiment, the paper length allowance is 3 inches, so a0 = (10 + 7) * 2 + 3 = 37 inches.

[0125] It should be noted that in this embodiment, the 3-inch paper length allowance is an example. The paper length deformation allowance refers to reserving extra length of cardboard to prevent moisture damage during storage; this allowance is set according to actual conditions. The paper length crease allowance refers to reserving extra length because the folding and creases on the four walls of the carton will occupy a certain amount of paper; this is also set according to actual conditions. The staple strip allowance refers to the need to fix the overlapping parts of the four walls of the carton with staple strips when they are joined together, thereby securing the four walls of the carton; the paper length occupied by the overlapping parts is the staple strip allowance, which is set according to actual conditions. Therefore, in other embodiments, the paper length allowance needs to be determined based on relevant parameters such as the specific storage environment, cardboard material, the size of the prefabricated carton, the weight of the goods packed, and the size of the staple strips, to ultimately determine an appropriate value.

[0126] S6, Obtain the paper size b0 according to the stated dimensions.

[0127] In this embodiment, b0 = carton width + carton height + paper size allowance; the paper size allowance includes at least one of paper size deformation allowance and paper size creasing allowance. In this embodiment, the paper size allowance is 1 inch; therefore, b0 = 7 + 5 + 1 = 13 inches.

[0128] It should be noted that in this embodiment, the 1-inch paper size allowance is an example. The paper size deformation allowance refers to reserving extra paperboard width to prevent the cardboard from being affected by moisture during storage. The paper size deformation allowance is set according to the actual situation. The paper size crease allowance refers to reserving extra width because the crease of the carton cover will occupy a certain amount of paper size. It is also set according to the actual situation. Therefore, in other embodiments, the paper size allowance needs to be determined based on the specific storage environment, cardboard material and other relevant parameters to ultimately determine an appropriate value.

[0129] S7, the paper length range a of each group i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Each operation with the paper length a0 yields a tuple that meets the requirements [a i ,x i Add to a pre-created set A; set A is an empty set or {[a1,x1],......,[a i ,x i ]}, where i is an integer greater than or equal to 1.

[0130] See Figure 2 In this embodiment of the application, step S7 specifically includes the following steps S71 to S75:

[0131] S71, x the paper length multiples of each group i Multiplying each product by the paper length a0 yields the corresponding T. i .

[0132] The steps are explained in detail with reference to Table 1.

[0133] Multiply the four paper length multiples x1(1), x2(1), x3(2) and x4(3) in Table 1 by a0(37inch) to obtain the corresponding T1(37inch), T2(37inch), T3(74inch) and T4(111inch).

[0134] S72, determine the corresponding T for each group i Is it greater than its corresponding paper length range a? i(min) ~a i(min) The maximum value of +c*e is a i(min) +c*e.

[0135] According to Table 1, T1 (37 inches) belongs to the first group of paper length range; T2 (37 inches) is less than the minimum value of the second group of paper length range, 45.00; T3 (74 inches) belongs to the third group of paper length range; and T4 (111 inches) is greater than the maximum value of the fourth group of paper length range, 110.00 inches.

[0136] S73, if so, then there is no target paper length a that meets the requirements within the range of paper lengths in this group. i .

[0137] In this embodiment of the application, T4 (111 inch) is greater than the maximum value of 110.00 inch in the fourth group of paper length range, that is, there is no target paper length a4 that meets the requirements in the fourth group of paper length range.

[0138] S74, if not, when T i Smaller than its corresponding paper length range a i(min) ~a i(min) The minimum value of +c*e is a i(min) When, the target paper length a i For a i(min) When T i It belongs to the corresponding paper length range a i(min) ~a i(min) When +c*e, the target paper length a i For range a i(min) ~a i(min) +c*e is greater than T i The minimum value.

[0139] In this embodiment, T1 (37 inches) belongs to the paper length range of group ①, and the calculation formula for the target paper length a1 of group ① is: a i =a i(min) +ceil((T i -a i(min) ) / c)*c, where ceil((T i -a i(min) ) / c) is (T i -a i(min) Round the result of ) / c up; substitute each value into a. i The calculation formula is a1 = 29.00 + ceil((37 - 29.00) / 0.125) * 0.125 = 37.00 inch.

[0140] T2 (37 inches) is less than the minimum value of the paper length range of Group ②, which is 45.00 inches. Therefore, the target paper length a2 of Group ② is 45.00 inches.

[0141] T3 (74 inches) falls within the paper length range of group ③. Therefore, the calculation of the target paper length a3 for group ③ can be done by referring to the calculation process of a1, resulting in a3 = 31.00 + ceil((74 - 31.00) / 0.125) * 0.125 = 74.00 inches.

[0142] S75, the target paper length a of each group that meets the requirements i and its corresponding x iForming tuples [a i ,x i And add it to set A.

[0143] In this embodiment, the tuple consisting of the target paper length a1 and the corresponding multiple x1 of the first group of paper length ranges is [37.00,1]; the tuple consisting of the target paper length a2 and the corresponding multiple x2 of the second group of paper length ranges is [45.00,1]; the tuple consisting of the target paper length a3 and the corresponding multiple x3 of the third group of paper length ranges is [74.00,2]; after adding to set A, set A is: A={[37.00,1],[45.00,1],[74.00,2]}.

[0144] See Figure 3 In another embodiment, prior to step S75, a step is further included. i The optimization steps specifically include the following steps S76 and S77:

[0145] S76, Determine if there exists a multiple x of the same paper length. i Corresponding to multiple a i ;

[0146] S77, if so, then the length of the same sheet is a multiple of x. i Take the smallest value of a i .

[0147] Based on the content of step S74, for a i The optimization steps will be explained in detail.

[0148] From step S74, it is found that the first group of paper length range has a target paper length a1 (37.00 inch), and the second group of paper length range has a target paper length a2 (45.00 inch), and the multiple of the paper lengths of both is 1. At this point, when the multiple of the paper lengths is 1, only the target paper length a1 (37.00 inch) is retained; this step involves a... i Optimizations were implemented, reducing the amount of data processed.

[0149] After a i After the optimization steps, the set A obtained in step S75 is: A = {[37.00,1], [74.00,2]}.

[0150] See Figure 4 In another embodiment, after step S75, an optimization step for the set A tuple is further included, specifically including the following steps S78 and S79:

[0151] S78, Determine if there exists a multiple x of the same paper length. i Corresponding to multiple a i ;

[0152] S79, if so, then for the same multiple of paper length x in set A... i Keep a i The smallest tuple.

[0153] The optimization steps for set A are explained in detail based on step S75.

[0154] From step S75, it is found that tuples [37.00,1] and [45.00,1] in set A have the same paper length multiple "1"; at this point, among the tuples with a paper length multiple of "1", only tuple [37.00,1] is retained; this step is for the target paper length a in each paper length range. i and the corresponding paper length multiple x i The resulting tuples were optimized, reducing the amount of data processing required.

[0155] After the optimization steps of set A, set A is: A = {[37.00,1], [74.00,2]}.

[0156] S8, adjust the paper size range b for each group j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j Each operation with the paper size b0 yields a tuple that meets the requirements [b]. j ,y j Add to a pre-created set B; set B is an empty set or {[b1,y1],......,[b j ,y j ]}, where j is an integer greater than or equal to 1.

[0157] See Figure 5 In this embodiment of the application, step S8 specifically includes the following steps S81 to S85:

[0158] S81, change the paper size multiple y of each group j Multiplying each of these by the paper size b0 yields the corresponding W. j .

[0159] The steps are explained in detail in conjunction with Table 2.

[0160] Multiply the four paper size multiples y1(3), y2(3), y3(4) and y4(6) in Table 2 by b0(13 inch) to obtain the corresponding W1(39 inch), W2(39 inch), W3(42 inch) and W4(78 inch).

[0161] S82, determine the corresponding W for each group j Is it greater than its corresponding paper size range b? j(min) ~b j(min)The maximum value of +d*f is b j(min) +d*f.

[0162] According to Table 2, W1 (39 inches) belongs to the first group of paper sizes; W2 (39 inches) is less than the minimum value of the second group of paper sizes, 43.00 inches; W3 (42 inches) belongs to the third group of paper sizes; and W4 (78 inches) is greater than the maximum value of the fourth group of paper sizes, 76.00 inches.

[0163] S83, if so, then there is no target paper size b that meets the requirements within this paper size range. j .

[0164] In this embodiment of the application, W4 (78 inches) is greater than the maximum value of 76.00 inches in the fourth paper size range, meaning that there is no target paper size b4 that meets the requirements in the fourth paper size range.

[0165] S84, if not, when W j Less than its corresponding paper size range b j(min) ~b j(min) The minimum value of +d*f is b j(min) At that time, the target paper size b j For b j(min) When W j It belongs to its corresponding paper size range b j(min) ~b j(min) When +d*f, the target paper size b j For range b j(min) ~b j(min) +d*f is greater than W j The minimum value.

[0166] In this embodiment, W1 (39 inches) belongs to the first group of paper sizes. Therefore, the formula for calculating the target paper size b1 of the first group is: b j =b j(min) +ceil((W j -b j(min) ) / d)*d, where ceil((W j -b j(min) ) / d) is (W j -b j(min) Round the result of ) / d up; substitute the value into b. j The calculation formula is b1 = 12.00 + ceil((39 - 12.00) / 2) * 2 = 39.00 inch.

[0167] W2 (39 inches) is less than the minimum value of the paper size range of Group ②, which is 43.00 inches. Therefore, the target paper size b2 for Group ② is 43.00 inches.

[0168] W3 (42 inches) belongs to the paper size range of group ③. Therefore, the calculation of the target paper size b3 of group ③ can be obtained by referring to the calculation process of b1, and the result is b3 = 12.00 + ceil((42-12.00) / 2)*2 = 42.00 inch.

[0169] S85, each group of target paper sizes that meet the requirements j and its corresponding y j Forming tuples [b j ,y j And add it to the set B.

[0170] In this embodiment, the tuple consisting of the target paper size b1 and the corresponding paper size multiple y1 of the first group of paper size ranges is [39.00,2]; the tuple consisting of the target paper size b2 and the corresponding paper size multiple y2 of the second group of paper size ranges is [43.00,2]; the tuple consisting of the target paper size b31 and the corresponding paper size multiple y3 of the third group of paper size ranges is [42.00,4]; after adding set B, set B is: B={[39.00,2],[43.00,2],[42.00,4]}.

[0171] See Figure 6 In another embodiment, before step S85, step b is further included. j The optimization steps specifically include the following steps S86 and S87:

[0172] S86, Determine if the same paper size multiple y exists. j Corresponding to multiple b j ;

[0173] S87, if so, then the same paper size multiple y j Take the smallest value of b j .

[0174] Based on the content of step S84, b j The optimization steps will be explained in detail.

[0175] From step S84, it is found that the first group of paper size range has a target paper size b1 (39.00 inch), and the second group of paper size range has a target paper size b2 (43.00 inch), and the paper size multiplier for both is 2. At this point, when the paper size multiplier is 2, only the target paper size b1 (39.00 inch) is retained; this step applies to b... i Optimizations were implemented, reducing the amount of data processed.

[0176] After b j After the optimization steps, the set B obtained in step S85 is: B = {[39.00,2], [42.00,4]}.

[0177] See Figure 7 In another embodiment, after step S85, an optimization step for the set of tuples B is further included, specifically including the following steps S88 and S89:

[0178] S88, Determine if there exists a paper size multiple y. j Corresponding to multiple b j ;

[0179] S89, if so, then for the same paper size multiple y in set B j Keep b j The smallest tuple.

[0180] The optimization steps for set B are explained in detail based on the content of step S85.

[0181] From step S85, it is found that the tuples [39.00,2] and [43.00,2] in set B have the same paper size multiple "2"; at this point, among the tuples with a paper size multiple of "2", only the tuple [39.00,2] is retained; this step is for the target paper size b for each paper size range. j and the corresponding paper size multiple y j The resulting tuples were optimized, reducing the amount of data processing required.

[0182] After the optimization steps of set B, set B is: B = {[39.00,2], [42.00,4]}.

[0183] S9. Determine whether set A and set B are both non-empty sets.

[0184] In this embodiment, both set A and set B are non-empty sets; however, in other embodiments, set A may be empty, set B may be empty, or both set A and set B may be empty; for example, if the paper length range a applicable to the cardboard cutting equipment is... i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Only group ④ in Table 1 is considered empty in this case; if applicable to the paper size range b of the cardboard cutting equipment. j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j Only in group ④ of Table 2 is set B an empty set; or, applicable to the paper length range a of cardboard cutting equipment. i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Only group ④ in Table 1 applies to paper size range b for cardboard cutting equipment. j(min) ~b j(min)+d*f and the corresponding paper size multiplier y j Only in group ④ of Table 2 is both set A and set B empty. When both set A and set B are not non-empty sets, the output will be "no result," meaning that the factory's cardboard cutting equipment cannot manufacture prefabricated cartons of the aforementioned size.

[0185] S10, if so, then take the Cartesian product of set A and set B, and define the product {[a1,x1,b1,y1],......,[a i ,x i ,b j ,y j Substituting each group into the above formula, we can obtain S. min At this time, the corresponding a i ,b j This refers to the target paperboard specification that minimizes paperboard waste.

[0186] This step will be explained in detail by combining steps S7 and S8.

[0187] Taking the Cartesian product of the optimized sets A and B yields {[37.00,1,39.00,2], [37.00,1,42.00,4], [74.00,2,39.00,2], and [74.00,2,42.00,4]}. Substituting each group into the formula in step S1: S min =min{a i *b j *ceil(N / (x i *y j ))-a0*b0*N};Calculate S min =14800; At this time, the corresponding tuple is [37.00,1,42.00,4]; that is, the paper length a2 (37.00 inch) and paper size b2 (42.00 inch) are the target paperboard specifications with the least paperboard waste; at this time, the paper length multiple x2 is 1 and the paper size multiple y2 is 4, that is, one target paperboard under the current specification can be cut into 4 pre-made cardboard boxes after unfolding.

[0188] Please see Figure 8 Corresponding to the above-mentioned paperboard specification calculation method, this embodiment of the invention also proposes a paperboard specification calculation device 100, which includes: a first acquisition unit 11, a second acquisition unit 12, a third acquisition unit 13, a fourth acquisition unit 14, a fifth acquisition unit 15, a sixth acquisition unit 16, a first addition unit 17, a second addition unit 18, a judgment unit 19, and a determination unit 20.

[0189] The first acquisition unit 11 is used to acquire the formula: S min =min{ai *b j *ceil(N / (x i *y j ))-a0*b0*N};where, S min a is the minimum total wasted area of ​​cardboard. i b is the length of the target cardboard. j Let N be the paper size of the target cardboard, N be the number of prefabricated cartons in rectangular shape, and x be the paper size of the target cardboard. i y is a multiple of the length of the target cardboard. j ceil(N / (x)) represents the paper size multiple of the target cardboard, a0 is the paper length of the folded cardboard after unfolding the prefabricated carton in a cuboid shape, b0 is the paper size of the folded cardboard after unfolding the prefabricated carton in a cuboid shape, and ceil(N / (x)) i *y j )) is N / (x i *y j Round the result up.

[0190] The second acquisition unit 12 is used to acquire at least one set of paper length ranges a suitable for paperboard cutting equipment. i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Where c is the paper length step of the cardboard, and e is an integer greater than or equal to 0;

[0191] The third acquisition unit 13 is used to acquire at least one set of paper size ranges b suitable for paperboard cutting equipment. j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j Where d is the paper size step of the paperboard, and f is an integer greater than or equal to 0;

[0192] The fourth acquisition unit 14 is used to acquire the quantity N and size of the prefabricated cartons;

[0193] The fifth acquisition unit 15 is used to acquire the paper length a0 according to the dimensions.

[0194] The sixth acquisition unit 16 is used to acquire the paper size b0 according to the size;

[0195] The first adding unit 17 is used to add paper length range a for each group. i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Each operation with the paper length a0 yields a tuple that meets the requirements [a i ,x i Add to a pre-created set A; set A is an empty set or {[a1,x1],......,[a i ,x i]}, where i is an integer greater than or equal to 1;

[0196] The second input unit 18 is used to input the paper size range b of each group. j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j Each operation with the paper size b0 yields a tuple that meets the requirements [b]. j ,y j Add to a pre-created set B; set B is an empty set or {[b1,y1],......,[b j ,y j ]}, where j is an integer greater than or equal to 1;

[0197] Judgment unit 19 is used to determine whether set A and set B are both non-empty sets;

[0198] Unit 20 is used to determine the Cartesian product of sets A and B when both sets A and B are non-empty, and to define the product {[a1,x1,b1,y1],......,[a i ,x i ,b j ,y j Substituting each group into the above formula, we can obtain S. min At this time, the corresponding a i ,b j This refers to the target paperboard specification that minimizes paperboard waste.

[0199] See Figure 9 Specifically, the first adding unit 17 includes a first obtaining module 171, a first judging module 172, a first determining module 173, a second determining module 174, and a first adding module 175.

[0200] The first obtaining module 171 is used to obtain the paper length multiple x of each group. i Multiplying each product by the paper length a0 yields the corresponding T. i ;

[0201] The first judgment module 172 is used to judge the T corresponding to each group. i Is it greater than its corresponding paper length range a? i(min) ~a i(min) The maximum value of +c*e is a i(min) +c*e;

[0202] The first determining module 173 is used to determine the T corresponding to each group. i Greater than its corresponding paper length range a i(min) ~a i(min) The maximum value of +c*e is a i(min)When +c*e, there is no target paper length a that meets the requirements within the range of paper lengths in this group. i ;

[0203] The second determining module 174 is used to determine when T i Smaller than its corresponding paper length range a i(min) ~a i(min) The minimum value of +c*e is a i(min) When, the target paper length a i For a i(min) When T i It belongs to the corresponding paper length range a i(min) ~a i(min) When +c*e, the target paper length a i For range a i(min) ~a i(min) +c*e is greater than T i The minimum value;

[0204] The first module 175 is used to add the target paper length a of each group that meets the requirements. i and its corresponding x i Forming tuples [a i ,x i And add it to set A.

[0205] See Figure 10 Specifically, the second joining unit 18 includes a second obtaining module 181, a second judging module 182, a third determining module 183, a fourth determining module 184, and a second joining module 185.

[0206] The second obtaining module 181 is used to obtain the paper size multiple y of each group. j Multiplying each of these by the paper size b0 yields the corresponding W. j ;

[0207] The second judgment module 182 is used to judge the W corresponding to each group. j Is it greater than its corresponding paper size range b? j(min) ~b j(min) The maximum value of +d*f is b j(min) +d*f;

[0208] The third determining module 183 is used to determine the W corresponding to each group. j Greater than its corresponding paper size range b j(min) ~b j(min) The maximum value of +d*f is b j(min) When +d*f, there is no target paper size b that meets the requirements within that paper size range. j ;

[0209] The fourth determining module 184 is used to determine when W jLess than its corresponding paper size range b j(min) ~b j(min) The minimum value of +d*f is b j(min) At that time, the target paper size b j For b j(min) When W j It belongs to its corresponding paper size range b j(min) ~b j(min) When +d*f, the target paper size b j For range b j(min) ~b j(min) +d*f is greater than W j The minimum value;

[0210] The second module 185 is used to add the target paper size b that meets the requirements of each group. j and its corresponding y j Forming tuples [b j ,y j And add it to the set B.

[0211] The paperboard specification calculation device described above corresponds one-to-one with the paperboard specification calculation method described above. Its specific principle and process are the same as the method described in the above embodiments, and will not be repeated here.

[0212] The aforementioned cardboard specification calculation device can be implemented as a computer program, and the computer program can be used in, for example... Figure 11 It runs on the computer device shown.

[0213] Figure 11 This is a schematic diagram illustrating the structural composition of a computer device according to the present invention. The device can be a terminal or a server. The terminal can be a smartphone, tablet computer, laptop computer, or desktop computer. The server can be a standalone server or a server cluster consisting of multiple servers.

[0214] See Figure 11The computer device 500 includes a processor 502, a non-volatile storage medium 503, internal memory 504, and a network interface 505 connected via a system bus 501. The non-volatile storage medium 503 stores an operating system 5031 and a computer program 5032. When executed, the computer program 5032 causes the processor 502 to execute a method for calculating cardboard specifications. The processor 502 provides computing and control capabilities, supporting the operation of the entire computer device 500. The internal memory 504 provides an environment for the execution of the computer program 5032 in the non-volatile storage medium 503. When executed by the processor, the computer program causes the processor 502 to execute a method for calculating cardboard specifications. The network interface 505 is used for network communication. Those skilled in the art will understand that... Figure 10 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0215] The processor 502 is used to run a computer program stored in the memory 504 to implement the above-mentioned paperboard specification calculation method.

[0216] It should be understood that, in the embodiments of this application, the processor 502 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0217] The present invention also provides a computer-readable storage medium storing one or more computer programs that can be executed by one or more processors to implement the above-described method for calculating cardboard specifications.

[0218] The aforementioned storage media of this invention include various media capable of storing program code, such as magnetic disks, optical disks, and read-only memory (ROM).

[0219] The units in all embodiments of the present invention can be general-purpose integrated circuits, such as CPUs (Central Integrated Circuits).

[0220] It can be implemented as a Processing Unit (CPU) or through an ASIC (Application Specific Integrated Circuit).

[0221] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for calculating cardboard specifications, characterized in that, include: Formula for obtaining: S min =min{a i * b j * ceil(N / (x i * y j ))- a0*b0*N=; Among them, S min a is the minimum total wasted area of ​​cardboard. i b is the length of the target cardboard. j Let N be the paper size of the target cardboard, N be the number of prefabricated cartons in rectangular shape, and x be the paper size of the target cardboard. i y is a multiple of the length of the target cardboard. j ceil(N / (x)) represents the paper size multiple of the target cardboard, a0 is the paper length of the folded cardboard after unfolding the prefabricated carton in a cuboid shape, b0 is the paper size of the folded cardboard after unfolding the prefabricated carton in a cuboid shape, and ceil(N / (x)) i * y j )) is N / (x i * y j Round the result up. Obtain at least one set of paper length ranges a suitable for cardboard cutting equipment i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Where c is the paper length step of the cardboard, and e is an integer greater than or equal to 0; Obtain at least one set of paper size ranges b suitable for cardboard cutting equipment j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j Where d is the paper size step of the paperboard, and f is an integer greater than or equal to 0; Obtain the quantity N and dimensions of the prefabricated cartons; The paper length a0 is obtained according to the stated dimensions; The paper size b0 is obtained according to the stated dimensions; The paper length range a for each group i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Each operation with the paper length a0 yields a tuple that meets the requirements [a i , x i Add to a pre-created set A; set A is an empty set or {[a1, x1], ..., [a i ,x i ]}, where i is an integer greater than or equal to 1; Set the paper size range for each group as b j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j Each operation with the paper size b0 yields a tuple that meets the requirements [b]. j , y j Add to a pre-created set B; set B is either an empty set or {[b1, y1], ..., [b j ,y j ]}, where j is an integer greater than or equal to 1; Determine whether set A and set B are both nonempty sets; If so, then take the Cartesian product of set A and set B, and define the product {[a1, x1, b1, y1], ..., [a i ,x i , b j , y j Substituting each group into the above formula, we can obtain S. min At this time, the corresponding a i , b j This refers to the target paperboard specification that minimizes paperboard waste.

2. The paperboard gauge calculation method of claim 1, wherein, The a0 is calculated as (carton length + carton width) * 2 + reserved paper length.

3. The paperboard gauge calculation method of claim 1, wherein, b0 = carton width + carton height + paper size allowance.

4. The paperboard gauge calculation method according to any one of claims 1 to 3, characterized in that, The paper length range a of each group i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Each operation with the paper length a0 yields a tuple that meets the requirements [a i , x i Add to a pre-created set A, including: x the multiple of the paper length of each group i Multiplying each product by the paper length a0 yields the corresponding T. i ; Determine the corresponding T for each group i Is it greater than its corresponding paper length range a? i(min) ~a i(min) The maximum value of +c*e is a i(min) +c*e; If so, the set of paper length ranges does not have a target paper length a that meets the requirement i ; If not, when T i Smaller than its corresponding paper length range a i(min) ~a i(min) The minimum value of +c*e is a i(min) When, the target paper length a i For a i(min) When T i It belongs to the corresponding paper length range a i(min) ~a i(min) When +c*e, the target paper length a i For range a i(min) ~a i(min) +c*e is greater than T i The minimum value; The target paper length a of each group that meets the requirements i and its corresponding x i Forming tuples [a i , x i And add it to set A.

5. The paperboard gauge calculation method of claim 4, wherein, The target paper length a of each group that meets the requirements is described. i and its corresponding x i Forming tuples [a i , x i Before adding it to set A, it also includes: Determine if there exists a multiple x of the same paper length. i Corresponding to multiple a i ; If so, then the length of the same sheet of paper is a multiple of x. i Take the smallest value of a i .

6. The paperboard gauge calculation method of claim 4, wherein, The target paper length a of each group that meets the requirements is described. i and its corresponding x i Forming tuples [a i , x i After being added to set A, it also includes: determining whether the same paper length multiple x exists i corresponding to a plurality of a i ; If so, then the set A has a paper length multiple x i a is retained i The smallest tuple.

7. The paperboard gauge calculation method according to any one of claims 1 to 3, characterized in that, The paper size range b of each group j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j Each operation with the paper size b0 yields a tuple that meets the requirements [b]. j , y j Add to the pre-created set B, including: The paper degree multiple y of each group is multiplied by the paper degree b0, respectively, to obtain the corresponding W j ; and j ; determining whether each group's W j is greater than its corresponding paper degree range b j(min) ~b j(min) max b of +d*f j(min) +d*f; If yes, the set of paper degrees range does not exist a target paper degree b that meets the requirement j ; If not, when W j Smaller than its corresponding paper size range b j(min) ~b j(min) The minimum value of +d*f is b j(min) At that time, the target paper size b j For b j(min) When W j It belongs to its corresponding paper size range b j(min) ~b j(min) When +d*f, the target paper size b j For range b j(min) ~b j(min) +d*f is greater than W j The minimum value; Each group of target paper sizes that meet the requirements (b) j and its corresponding y j Forming tuples [b j , y j And add it to the set B.

8. The paperboard gauge calculation method of claim 7, wherein, The target paper size b that meets the requirements of each group is described. j and its corresponding y j Forming tuples [b j , y j Before adding it to set B, it also includes: Determine if the same paper size multiple y exists. j Corresponding to multiple b j ; If yes, the same paper degree multiple y j The lower value of b j .

9. The paperboard gauge calculation method of claim 7, wherein, The target paper size b that meets the requirements of each group is described. j and its corresponding y j Forming tuples [b j , y j After being added to set B, it also includes: determining whether there is a same paper degree multiple y j corresponding to a plurality of b j ; If so, then the same paper degree multiple y j Reserved b j Minimum tuple.

10. A cardboard specification calculation device, characterized in that, include: The first acquisition unit is used to acquire the formula: S min =min{a i * b j * ceil(N / (x i * y j ))- a0*b0*N=; Among them, S min a is the minimum total wasted area of ​​cardboard. i b is the length of the target cardboard. j Let N be the paper size of the target cardboard, N be the number of prefabricated cartons in rectangular shape, and x be the paper size of the target cardboard. i y is a multiple of the length of the target cardboard. j ceil(N / (x)) represents the paper size multiple of the target cardboard, a0 is the paper length of the folded cardboard after unfolding the prefabricated carton in a cuboid shape, b0 is the paper size of the folded cardboard after unfolding the prefabricated carton in a cuboid shape, and ceil(N / (x)) i * y j )) is N / (x i * y j Round the result up. The second acquisition unit is used to acquire at least one set of paper length ranges a suitable for cardboard cutting equipment. i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Where c is the paper length step of the cardboard, and e is an integer greater than or equal to 0; The third acquisition unit is used to acquire at least one set of paper size ranges b suitable for cardboard cutting equipment. j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j Where d is the paper size step of the paperboard, and f is an integer greater than or equal to 0; The fourth acquisition unit is used to acquire the quantity N and size of the prefabricated cartons; The fifth acquisition unit is used to acquire the paper length a0 according to the dimensions. The sixth acquisition unit is used to acquire the paper size b0 according to the stated size; The first addition unit is used to add paper length range a for each group. i(min) ~a i(min) +c*e and the corresponding paper length multiple x i Each operation with the paper length a0 yields a tuple that meets the requirements [a i , x i Add to a pre-created set A; set A is an empty set or {[a1, x1], ..., [a...]} i , x i ]}, where i is an integer greater than or equal to 1; The second addition unit is used to select each paper size range b. j(min) ~b j(min) +d*f and the corresponding paper size multiplier y j Each operation with the paper size b0 yields a tuple that meets the requirements [b]. j , y j Add to a pre-created set B; set B is either an empty set or {[b1,y1],...,[b...]} j , y j ]}, where j is an integer greater than or equal to 1; The judgment unit is used to determine whether set A and set B are both non-empty sets; The determination unit is used to determine the Cartesian product of sets A and B when both sets A and B are non-empty, and to define the product {[a1, x1, b1, y1], ..., [a...]}. i , x i , b j , y j Substituting each group into the above formula, we can obtain S. min At this time, the corresponding a i , b j This refers to the target paperboard specification that minimizes paperboard waste.

11. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the cardboard specification calculation method as described in any one of claims 1-9.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores one or more computer programs, which can be executed by one or more processors to implement the cardboard specification calculation method as described in any one of claims 1-9.