Weight control method and device for whole-box products, computer equipment and boxing system
By obtaining the actual weight of liquor packaging products, determining its deviation range and classifying and matching, the problem of weight error in the entire box of liquor is solved, and the precise weight control is achieved, and the national and export standards are met.
Patent Information
- Application Number
- CN202510423136.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-07
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2045-04-07
AI Technical Summary
During the production process of liquor, due to the weight errors in packaging elements and cans during mass production, there is a large difference between the actual weight of the whole box of liquor and the marked weight on the packaging box, which cannot meet national standards or export requirements, affecting transportation and sales.
By obtaining the actual weight of the product to be packed, determine its actual weight deviation and its actual deviation range to which it belongs, and classify and match the product to be packed according to this, and combine it according to the preset positive and negative deviation matching principle, so that the deviation between the actual weight of the whole box product and the marked weight is small or unbiased.
Weight control of the entire box of products is achieved, ensuring that the difference between the actual weight and the marked weight is less than or equal to zero, meeting national standards and export requirements, and reducing resource waste and production costs.
Smart Images

Figure CN119929281A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of packaging technology, and in particular to a weight control method, device, computer equipment and a packing system for a whole box of products. Background Art
[0002] In the production process of liquor, due to the weight errors of various packaging materials and wine cans during batch production, there is a large difference between the actual weight of the final whole box of liquor and the weight marked on the packaging box, which cannot meet national standards or export requirements, seriously affecting the transportation and sales of finished liquor. On the other hand, after the various packaging materials of liquor are fully produced in batches, they are sent to the packaging line to complete the packaging production. The product weight has been marked on the outside of the packaging box and cannot be changed. If there is a large difference between the actual weight of the whole box of liquor after assembly and the weight marked on the packaging box, the packaging boxes produced in batches will not be able to be used normally, resulting in a waste of natural resources and increasing the production costs of the enterprise. Summary of the invention
[0003] In view of this, the present invention provides a weight control method, device, computer equipment and packing system for a whole box of products to solve the problem of a large difference between the actual weight of a whole box of liquor and the marked weight on the packaging box.
[0004] In a first aspect, the present invention provides a method for controlling the weight of a whole box of products, comprising the following steps: obtaining the actual weight of the products to be packed; determining the actual weight deviation of the products to be packed and the actual deviation range to which the actual weight deviation of the products to be packed belongs according to the actual weight of the products to be packed; classifying the products to be packed according to the actual deviation range to which the actual weight deviation of the products to be packed belongs; and matching a preset number of the classified products to be packed according to a preset positive and negative deviation matching principle to obtain a whole box of products.
[0005] The weight control method for a whole box of products provided by the present invention obtains the actual weight of the products to be packed, and determines the actual weight deviation of the products to be packed and the actual deviation range to which the actual weight deviation of the products to be packed belongs according to the actual weight of the products to be packed; further, the products to be packed can be classified according to the actual deviation range to which the actual weight deviation of the products to be packed belongs, and a preset number of the classified products to be packed are matched according to a preset positive and negative deviation matching principle, so that the deviation between the actual weight of the whole box of products obtained by matching and the marked weight on the packaging box is small or even zero, thereby meeting national standard requirements or export requirements.
[0006] In an optional embodiment, determining the actual weight deviation of the products to be packed and the actual deviation interval to which the actual weight deviation of the products to be packed belongs according to the actual weight of the products to be packed includes: obtaining the theoretical weight of the products to be packed; determining the actual weight deviation of the products to be packed according to the actual weight and the theoretical weight; obtaining the theoretical weight tolerance of the products to be packed; determining multiple theoretical deviation intervals according to the theoretical weight tolerance; determining the actual deviation interval to which the actual weight deviation of the products to be packed belongs according to the actual weight deviation of the products to be packed and the maximum and minimum values of the multiple theoretical deviation intervals.
[0007] In this way, the actual deviation range to which the actual weight deviation of the product to be packed belongs can be determined quickly and accurately.
[0008] In an optional embodiment, multiple theoretical deviation intervals include a theoretical positive deviation interval set and a theoretical negative deviation interval set; the theoretical positive deviation interval set includes, in order of interval sequence number from small to large, theoretical positive deviation interval 1, theoretical positive deviation interval 2...theoretical positive deviation interval N-1, theoretical positive deviation interval N, wherein the maximum value of theoretical positive deviation interval N is equal to the minimum value of theoretical positive deviation interval N-1; wherein, N≥1; the theoretical negative deviation interval set includes, in order of interval sequence number from small to large, theoretical negative deviation interval 1, theoretical negative deviation interval 2...theoretical negative deviation interval N-1, theoretical negative deviation interval N, wherein the minimum value of theoretical negative deviation interval N is equal to the maximum value of theoretical negative deviation interval N-1; theoretical positive deviation interval 1 corresponds to theoretical negative deviation interval 1, theoretical positive deviation interval 2 corresponds to theoretical negative deviation interval 2, theoretical positive deviation interval N-1 corresponds to theoretical negative deviation interval N-1, and theoretical positive deviation interval N corresponds to theoretical negative deviation interval N.
[0009] By setting a theoretical positive deviation interval and a theoretical negative deviation interval corresponding to the theoretical positive deviation interval, the weight error of the product to be packed can be offset by pairing the positive and negative deviations, so that the weight deviation of the whole box of products obtained by matching is smaller, thus solving the problem of a large difference between the actual weight of the whole box of products and the marked weight on the packaging box.
[0010] In an optional embodiment, classifying the products to be packed according to the actual deviation range to which the actual weight deviation of the products to be packed belongs includes: determining the transportation channel of the products to be packed according to the actual deviation range to which the actual weight deviation of the products to be packed belongs, wherein each transportation channel corresponds to a theoretical deviation range.
[0011] By setting up transportation channels corresponding to theoretical deviation intervals in the packing system, the transportation channels can be used to classify the products to be packed that belong to different actual deviation intervals.
[0012] In an optional embodiment, when the preset number is an even number, the classified preset number of products to be packed are matched according to the preset positive and negative deviation matching principle to obtain a whole box of products, including: determining the transportation channel of the products to be matched according to the preset first priority, and obtaining the products to be matched in the determined transportation channel; wherein the first priority is: alternating between the theoretical positive deviation interval set and the theoretical negative deviation interval set, and the interval numbers are from small to large; when the actual deviation interval A of the product to be matched belongs to the theoretical positive deviation interval set, determining the theoretical negative deviation interval a corresponding to the actual deviation interval A, and determining the transportation channel of the paired products corresponding to the products to be matched according to the theoretical negative deviation interval a according to the preset second priority order, and obtaining the paired products in the determined transportation channel; wherein the second priority order is: theoretical negative deviation interval a, other theoretical negative deviation intervals with interval numbers greater than the theoretical negative deviation interval a, and theoretical positive deviation interval; wherein when there are multiple other theoretical negative deviation intervals, the ... theoretical negative deviation intervals, the priority order is: theoretical negative deviation interval a, other theoretical negative deviation intervals with interval numbers greater than the theoretical negative deviation interval a, and theoretical positive deviation interval; wherein when there are multiple The interval numbers are from small to large; when there are multiple theoretical positive deviation intervals, the priority order is: the interval numbers of the theoretical positive deviation intervals are from large to small; when the actual deviation interval B of the product to be matched belongs to the theoretical negative deviation interval set, the theoretical positive deviation interval b corresponding to the actual deviation interval B is determined, and the transportation channel of the paired product corresponding to the product to be matched is determined according to the theoretical positive deviation interval b according to the preset third priority order, and the paired product is obtained in the determined transportation channel; wherein the third priority order is: theoretical positive deviation interval b, other theoretical positive deviation intervals with interval numbers greater than the theoretical positive deviation interval b, and theoretical negative deviation interval; wherein when there are multiple other theoretical positive deviation intervals, the priority order is: the interval numbers of the theoretical positive deviation intervals are from small to large; when there are multiple theoretical negative deviation intervals, the priority order is: the interval numbers of the theoretical negative deviation intervals are from large to small; it is determined whether the total quantity of the product to be matched and the paired product reaches the preset quantity threshold, and when it reaches it, the product to be matched and the paired product are packed to obtain a whole box of products. Therefore, when a whole box of products includes an even number of products to be packed, the weight errors of the products to be packed can be offset by pairing positive and negative deviations, so that the weight deviation of the whole box of products is smaller, solving the problem of a large difference between the actual weight of the whole box of products and the marked weight on the packaging box.
[0013] In an optional embodiment, when the preset number is an odd number, the classified preset number of products to be packed are matched according to the preset positive and negative deviation matching principle to obtain a whole box of products, including: determining the transportation channel of the products to be matched according to the preset first priority, and obtaining the products to be matched in the determined transportation channel; wherein the first priority is: the theoretical positive deviation interval set and the theoretical negative deviation interval set are alternately performed, and the interval numbers are from small to large; when the actual deviation interval A of the product to be matched belongs to the theoretical positive deviation interval set, the theoretical negative deviation interval a corresponding to the actual deviation interval A is determined, and the transportation channel of the paired product corresponding to the product to be matched is determined according to the theoretical negative deviation interval a according to the preset second priority order, and the paired product is obtained in the determined transportation channel; wherein the second priority order is: theoretical negative deviation interval a, other theoretical negative deviation intervals with interval numbers greater than the theoretical negative deviation interval a, and theoretical positive deviation intervals; wherein when there are multiple other theoretical negative deviation intervals, the priority order is: the interval numbers of the theoretical negative deviation intervals from small to large; when there are multiple theoretical positive deviation intervals, the priority order is: the interval numbers of the theoretical positive deviation intervals from large to small; when the actual deviation interval B of the product to be matched belongs to the theoretical negative deviation interval set, determine the theoretical positive deviation interval b corresponding to the actual deviation interval B, determine the transportation channel of the paired product corresponding to the product to be matched according to the theoretical positive deviation interval b according to the preset third priority order, and obtain the paired product in the determined transportation channel; wherein the third priority order is: theoretical positive deviation interval b, other theoretical positive deviation intervals with interval numbers greater than the theoretical positive deviation interval b, and theoretical negative deviation interval; wherein when there are multiple other theoretical positive deviation intervals, the priority order is: the interval numbers of the theoretical positive deviation intervals are from small to large; when there are multiple theoretical negative deviation intervals, the priority order is: the interval numbers of the theoretical negative deviation intervals are from large to small; determine whether the total number of the product to be matched and the paired product reaches the preset quantity threshold, if not, return to the step of selecting the product to be matched in the transportation channel, and when it reaches, determine the transportation channel of the last product to be packed in the whole box of products according to the preset fourth priority order, wherein the fourth priority order is: the theoretical positive deviation interval set and the theoretical negative deviation interval set are alternated, and the interval numbers are from large to small.
[0014] Therefore, when a whole box of products includes an odd number of products to be packed, the weight errors of the products to be packed can be offset by pairing positive and negative deviations, so that the weight deviation of the whole box of products obtained by matching is smaller, solving the problem of a large difference between the actual weight of the whole box of products and the marked weight on the packaging box.
[0015] In the second aspect, the present invention also provides a weight control device for a whole box of products, including an acquisition module, an actual deviation interval determination module, a classification module and a matching module; the acquisition module is used to acquire the actual weight of the product to be packed; the actual deviation interval determination module is used to determine the actual weight deviation of the product to be packed and the actual deviation interval to which the actual weight deviation of the product to be packed belongs according to the actual weight of the product to be packed; the classification module is used to classify the products to be packed according to the actual deviation interval to which the weight deviation of the product to be packed belongs; the matching module is used to match a preset number of products to be packed after classification according to a preset positive and negative deviation matching principle to obtain a whole box of products.
[0016] In a third aspect, the present invention further provides a computer device, comprising a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method for weight control of a whole box of products according to the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0017] In a fourth aspect, the present invention further provides a packing system, comprising a weight detection device, a classification device, a plurality of transport channels and the computer equipment of the third aspect, wherein the weight detection device is used to detect the actual weight of the product to be packed; the plurality of transport channels are used to transport the product to be packed; the classification device is arranged between the weight detection device and the plurality of transport channels, and is used to move the product to be packed to the corresponding transport channel according to the classification result of the product to be packed; the computer equipment of the third aspect is communicatively connected with the weight detection device and the classification device.
[0018] In a fifth aspect, the present invention further provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for controlling the weight of a whole box of products according to the first aspect or any corresponding embodiment thereof.
[0019] The weight control method, device, computer equipment and packing system for a whole box of products provided by the present invention have the following beneficial effects: by obtaining the actual weight of the products to be packed, the actual weight deviation of the products to be packed and the actual deviation range to which the actual weight deviation of the products to be packed belong are determined according to the actual weight of the products to be packed; further, the products to be packed can be classified according to the actual deviation range to which the actual weight deviation of the products to be packed belongs, and a preset number of the classified products to be packed are matched according to a preset positive and negative deviation matching principle, so that the deviation between the actual weight of the whole box of products obtained by matching and the marked weight on the packaging box is small or even zero, meeting national standard requirements or export requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] 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.
[0021] Figure 1 is a flow chart of a method for controlling the weight of a whole box of products according to an embodiment of the present invention; Figure 2 is a flow chart of another method for controlling the weight of a whole box of products according to an embodiment of the present invention; Figure 3 is a schematic diagram of a transport channel in a packing system according to an embodiment of the present invention; Figure 4 is a flow chart of a method for controlling the weight of a whole box of products according to an embodiment of the present invention; Figure 5 is a structural block diagram of a device for controlling the weight of a whole box of products according to an embodiment of the present invention; Figure 6 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0022] 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.
[0023] According to an embodiment of the present invention, an embodiment of a method for controlling the weight of a whole box of products 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.
[0024] In this embodiment, a method for controlling the weight of a whole box of products is provided, which can be used in computer equipment. Figure 1 is a flow chart of a method for controlling the weight of a whole box of products according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps: Step S101: Obtain the actual weight of the product to be packed.
[0025] Specifically, a weight detection device may be provided in the packing system to measure the actual weight of the product to be packed. In this embodiment, the product to be packed includes but is not limited to white wine, red wine, beverages, and the like.
[0026] Step S102: determining the actual weight deviation of the product to be packed and the actual deviation interval to which the actual weight deviation of the product to be packed belongs according to the actual weight of the product to be packed.
[0027] The actual weight deviation of the product to be packed refers to the difference between the actual weight of the product to be packed and the theoretical weight of the product to be packed.
[0028] Step S103: Classify the products to be packed according to the actual deviation interval to which the actual weight deviation of the products to be packed belongs.
[0029] That is to say, multiple products to be packed with the same actual deviation range are grouped into one category.
[0030] Step S104: the classified preset number of products to be packed are matched according to the preset positive and negative deviation matching principle to obtain a whole box of products.
[0031] The preset quantity is determined according to the quantity of products to be packed contained in the whole box of products.
[0032] That is to say, different types of products to be packed are matched together. Since the actual deviation ranges of different types of products to be packed are different, after matching them according to the preset positive and negative deviation matching principle, the weight deviation of the whole box of products obtained by matching can be smaller.
[0033] It can be seen that the weight control method for the whole box of products provided in this embodiment obtains the actual weight of the products to be packed, and determines the actual weight deviation of the products to be packed and the actual deviation range to which the actual weight deviation of the products to be packed belongs according to the actual weight of the products to be packed; further, the products to be packed can be classified according to the actual deviation range to which the actual weight deviation of the products to be packed belongs, and the classified preset number of products to be packed are matched according to the preset positive and negative deviation matching principle, so that the deviation between the actual weight of the whole box of products obtained by matching and the marked weight on the packaging box is small or even zero, thereby meeting national standard requirements or export requirements.
[0034] In this embodiment, a method for controlling the weight of a whole box of products is provided, which can be used in computer equipment. Figure 2 FIG. 4 is a flow chart of another method for controlling the weight of a whole box of products according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps: Step S201: Obtain the actual weight of the product to be packed.
[0035] Step S202: determining the actual weight deviation of the product to be packed and the actual deviation interval to which the actual weight deviation of the product to be packed belongs according to the actual weight of the product to be packed.
[0036] In an optional implementation, determining the actual weight deviation of the product to be packed and the actual deviation interval to which the actual weight deviation of the product to be packed belongs according to the actual weight of the product to be packed includes the following steps: Step S2021: Obtain the theoretical weight of the product to be packed.
[0037] Specifically, the theoretical weight of the products to be packed can be pre-set in the computer device.
[0038] Step S2022: Determine the actual weight deviation of the product to be packed according to the actual weight and the theoretical weight.
[0039] Step S2023: Obtain the theoretical weight tolerance of the products to be packed.
[0040] Specifically, the theoretical weight tolerance of the products to be packed can be preset in the computer device.
[0041] For example, for boxed liquor, since the weight deviation of the whole box of liquor is mainly concentrated in the liquor body, wine bottle, gift box and bottle cap, the theoretical weight tolerance of the boxed liquor can be calculated by the following formula.
[0042]
[0043] in, is the theoretical weight tolerance of boxed liquor, is the weight of the wine, is the initial weight deviation of the wine body, is the weight of the bottle, is the initial weight deviation of the bottle, is the weight of the gift box, is the initial weight deviation of the gift box, is the weight of the bottle cap, is the initial weight deviation of the bottle cap, The weight of the wineware in the boxed liquor, excluding the wine, bottle, gift box and bottle cap. It is the initial weight deviation of other wine utensils in boxed liquor, except for the wine body, wine bottle, gift box and bottle cap. , , , , , , , , , Can be obtained or set in advance.
[0044] Step S2024: Determine multiple theoretical deviation intervals according to the theoretical weight tolerance.
[0045] Specifically, the multiple theoretical deviation intervals include a theoretical positive deviation interval set and a theoretical negative deviation interval set; the theoretical positive deviation interval set includes, in order from small to large, theoretical positive deviation interval 1, theoretical positive deviation interval 2...theoretical positive deviation interval N-1, theoretical positive deviation interval N, wherein the maximum value of the theoretical positive deviation interval N is equal to the minimum value of the theoretical positive deviation interval N-1; wherein, N≥1; the theoretical negative deviation interval set includes, in order from small to large, theoretical negative deviation interval 1, theoretical negative deviation interval 2...theoretical negative deviation interval N-1, theoretical negative deviation interval N, wherein the minimum value of the theoretical negative deviation interval N is equal to the maximum value of the theoretical negative deviation interval N-1; the theoretical positive deviation interval 1 corresponds to the theoretical negative deviation interval 1, the theoretical positive deviation interval 2 corresponds to the theoretical negative deviation interval 2, the theoretical positive deviation interval N-1 corresponds to the theoretical negative deviation interval N-1, and the theoretical positive deviation interval N corresponds to the theoretical negative deviation interval N.
[0046] For example, for boxed liquor, the multiple theoretical positive deviation intervals determined according to the theoretical weight tolerance C0 of the boxed liquor can be (50% C0, C0], (25% C0, 50% C0], and (0, 25% C0]; the theoretical negative deviation interval corresponding to (50% C0, C0] is (-C0, -50% C0], the theoretical negative deviation interval corresponding to (25% C0, 50% C0] is (-50% C0, -25% C0], and the theoretical negative deviation interval corresponding to (0, 25% C0] is (-25% C0, 0]
[0047] Step S2025: Determine the actual deviation interval to which the actual weight deviation of the product to be packed belongs according to the actual weight deviation of the product to be packed and the maximum and minimum values of multiple theoretical deviation intervals.
[0048] Step S203: Classify the products to be packed according to the actual deviation range to which the actual weight deviation of the products to be packed belongs.
[0049] In an optional embodiment, classifying the products to be packed according to the actual deviation range to which the actual weight deviation of the products to be packed belongs includes: determining the transportation channel of the products to be packed according to the actual deviation range to which the actual weight deviation of the products to be packed belongs, wherein each transportation channel corresponds to a theoretical deviation range.
[0050] By setting up transport channels corresponding to the theoretical deviation ranges in the packing system, the transport channels can be used to classify the products to be packed that belong to different actual deviation ranges. Figure 3As shown, the T1, T2, T3, T4, T5, and T6 transport channels are installed after the liquor is boxed on the production line. They are transported to the weighing meter through the same conveying channel. After the weight is dynamically measured, they are transported into the corresponding transport channel according to the set program. Each transport channel is set to a certain length according to needs. The positive and negative deviations are combined according to the number of products in each box, and then they are merged into one channel to enter the boxing production link.
[0051] As shown in Table 1, when the multiple theoretical positive deviation intervals determined according to the theoretical weight tolerance C0 of boxed liquor are (50% C0, C0], (25% C0, 50% C0], (0, 25% C0]; the multiple theoretical negative deviation intervals are (-C0, -50% C0], (-50% C0, -25% C0], (-25% C0, 0], 6 transportation channels T1, T2, T3, T4, T5, T6 corresponding to the theoretical deviation intervals are set in the packing system.
[0052] Table 1 Correspondence between theoretical deviation range and transport channel
[0053] Step S204: matching the classified preset number of products to be packed according to the preset positive and negative deviation matching principle to obtain a whole box of products, wherein the preset number is determined according to the number of products to be packed contained in the whole box of products.
[0054] In an optional implementation, when the preset number is an even number, the classified preset number of products to be packed are matched according to the preset positive and negative deviation matching principle, and the whole box of products includes: Step S2041: determining the transportation channel of the to-be-matched product according to the preset first priority, and obtaining the to-be-matched product in the determined transportation channel.
[0055] The first priority is: the theoretical positive deviation interval set and the theoretical negative deviation interval set are performed alternately, and the interval numbers are from small to large.
[0056] Step S2042: When the actual deviation interval A of the product to be matched belongs to the theoretical positive deviation interval set, determine the theoretical negative deviation interval a corresponding to the actual deviation interval A, determine the transportation channel of the paired product corresponding to the product to be matched according to the theoretical negative deviation interval a according to the preset second priority order, and obtain the paired product in the determined transportation channel.
[0057] Among them, the second priority order is: theoretical negative deviation interval a, other theoretical negative deviation intervals with interval numbers greater than the theoretical negative deviation interval a, and theoretical positive deviation interval; when there are multiple other theoretical negative deviation intervals, the priority order is: the interval numbers of the theoretical negative deviation intervals from small to large; when there are multiple theoretical positive deviation intervals, the priority order is: the interval numbers of the theoretical positive deviation intervals from large to small.
[0058] For example, if there is a product in channel T1, the even-numbered channels T2, T4 or T6 are matched in order to obtain T1T2, T1T4 or T1T6; in special cases, the odd-numbered channels T5, T3 or T1 are matched in reverse order to obtain T1T5, T1T3 or T1T1.
[0059] Step S2043: When the actual deviation interval B of the product to be matched belongs to the theoretical negative deviation interval set, determine the theoretical positive deviation interval b corresponding to the actual deviation interval B, determine the transportation channel of the paired product corresponding to the product to be matched according to the theoretical positive deviation interval b according to the preset third priority order, and obtain the paired product in the determined transportation channel.
[0060] Among them, the third priority order is: theoretical positive deviation interval b, other theoretical positive deviation intervals with interval numbers greater than the theoretical positive deviation interval b, and theoretical negative deviation interval; when there are multiple other theoretical positive deviation intervals, the priority order is: the interval numbers of the theoretical positive deviation intervals from small to large; when there are multiple theoretical negative deviation intervals, the priority order is: the interval numbers of the theoretical negative deviation intervals from large to small.
[0061] For example, if there is a product in channel T2, odd channels T3 or T5 are matched in order to obtain T2T3 or T2T5. In special cases, even channels T6, T4 or T2 are matched in reverse order to obtain T2T6, T2T4 or T2T2.
[0062] Step S2044: Determine whether the total quantity of the products to be matched and the paired products reaches a preset quantity threshold. If not, return to the step of selecting the products to be matched in the transport channel; if reached, proceed to step S2045. Step S2045: pack the products to be matched and the paired products into boxes to obtain a whole box of products.
[0063] The weight control method for a whole box of products provided in this embodiment matches a preset number of products to be packed after classification according to a preset positive and negative deviation matching principle, so that the weight deviation of the matched whole box of products can be smaller, thereby solving the problem of a large difference between the actual weight of the whole box of products and the marked weight on the packaging box.
[0064] In this embodiment, a method for controlling the weight of a whole box of products is provided, which can be used in computer equipment. Figure 4 FIG. 4 is a flow chart of another method for controlling the weight of a whole box of products according to an embodiment of the present invention. Figure 4 As shown, the process includes the following steps: Step S401: Obtain the actual weight of the product to be packed.
[0065] Step S402: determining the actual weight deviation of the product to be packed and the actual deviation interval to which the actual weight deviation of the product to be packed belongs according to the actual weight of the product to be packed.
[0066] Step S403: Classify the products to be packed according to the actual deviation range to which the actual weight deviation of the products to be packed belongs.
[0067] In an optional embodiment, classifying the products to be packed according to the actual deviation range to which the actual weight deviation of the products to be packed belongs includes: determining the transportation channel of the products to be packed according to the actual deviation range to which the actual weight deviation of the products to be packed belongs, wherein each transportation channel corresponds to a theoretical deviation range.
[0068] Step S404: the classified preset number of products to be packed are matched according to the preset positive and negative deviation matching principle to obtain a whole box of products, wherein the preset number is determined according to the number of products to be packed contained in the whole box of products.
[0069] In an optional implementation, when the preset number is an odd number, matching the classified preset number of products to be packed according to the preset positive and negative deviation matching principle to obtain a whole box of products includes the following steps: Step S4041: Determine the transportation channel of the to-be-matched product according to the preset first priority, and obtain the to-be-matched product in the determined transportation channel.
[0070] The first priority is: the theoretical positive deviation interval set and the theoretical negative deviation interval set are performed alternately, and the interval numbers are from small to large.
[0071] Step S4042: When the actual deviation interval A of the product to be matched belongs to the theoretical positive deviation interval set, determine the theoretical negative deviation interval a corresponding to the actual deviation interval A, determine the transportation channel of the paired product corresponding to the product to be matched according to the theoretical negative deviation interval a according to the preset second priority order, and obtain the paired product in the determined transportation channel.
[0072] Among them, the second priority order is: theoretical negative deviation interval a, other theoretical negative deviation intervals with interval numbers greater than the theoretical negative deviation interval a, and theoretical positive deviation interval; when there are multiple other theoretical negative deviation intervals, the priority order is: the interval numbers of the theoretical negative deviation intervals from small to large; when there are multiple theoretical positive deviation intervals, the priority order is: the interval numbers of the theoretical positive deviation intervals from large to small.
[0073] For example, if there is a product in channel T1, the even-numbered channels T2, T4 or T6 are matched in order to obtain T1T2, T1T4 or T1T6; in special cases, the odd-numbered channels T5, T3 or T1 are matched in reverse order to obtain T1T5, T1T3 or T1T1.
[0074] Step S4043: When the actual deviation interval B of the product to be matched belongs to the theoretical negative deviation interval set, determine the theoretical positive deviation interval b corresponding to the actual deviation interval B, determine the transportation channel of the paired product corresponding to the product to be matched according to the theoretical positive deviation interval b according to the preset third priority order, and obtain the paired product in the determined transportation channel.
[0075] The third priority order is: theoretical positive deviation interval b, other theoretical positive deviation intervals with interval numbers greater than the theoretical positive deviation interval b, and theoretical negative deviation interval; when there are multiple other theoretical positive deviation intervals, the priority order is: the interval numbers of the theoretical positive deviation intervals from small to large; when there are multiple theoretical negative deviation intervals, the priority order is: the interval numbers of the theoretical negative deviation intervals from large to small.
[0076] For example, if there is a product in channel T2, odd channels T3 or T5 are matched in order to obtain T2T3 or T2T5. In special cases, even channels T6, T4 or T2 are matched in reverse order to obtain T2T6, T2T4 or T2T2.
[0077] Step S4044: Determine whether the total quantity of the products to be matched and the paired products reaches a preset quantity threshold; if not, return to the step of selecting the products to be matched in the transport channel; if reached, proceed to step S4045.
[0078] Step S4045: Determine the transportation channel for the last product to be packed in the full box of products according to the preset fourth priority order.
[0079] Among them, the fourth priority order is: the theoretical positive deviation interval set and the theoretical negative deviation interval set are alternately performed, and the interval numbers are from large to small.
[0080] For example, if the number of products in a box is odd, match the last box of wine in reverse order (T6, T5...T1).
[0081] The weight control method of a whole box of products provided in this embodiment has the following beneficial effects: (1) Before the production and packaging of liquor, the weight deviation of the boxed liquor can be effectively reduced by dynamically measuring the weight of the boxed liquor and screening and combining it; (2) By reasonably controlling the weight deviation of boxed liquor, the deviation between the actual weight and the marked weight can meet domestic and international standards, reduce the risk of rework of cartons, and reduce the waste of resources; (3) By effectively controlling the weight deviation of boxed liquor, the production accuracy and difficulty of each packaging material element can be reduced as needed, the qualified product rate can be increased, and the production cost can be reduced; (4) By effectively controlling the weight deviation of boxed liquor, it can accommodate the weight errors caused by different production lines from different suppliers.
[0082] In this embodiment, a weight control device for a whole box of products is also provided, which is used to implement the above embodiments and preferred implementations, and will not be repeated here. 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.
[0083] This embodiment provides a weight control device for a whole box of products, such as Figure 5 As shown, including: The acquisition module 501 is used to acquire the actual weight of the product to be packed.
[0084] The actual deviation interval determination module 502 is used to determine the actual weight deviation of the product to be packed and the actual deviation interval to which the actual weight deviation of the product to be packed belongs according to the actual weight of the product to be packed.
[0085] The classification module 503 is used to classify the products to be packed according to the actual deviation interval to which the weight deviation of the products to be packed belongs.
[0086] The matching module 504 is used to match the classified preset number of products to be packed according to the preset positive and negative deviation matching principle to obtain a whole box of products.
[0087] In some optional implementations, the actual deviation interval determination module 502 is specifically used to: obtain the theoretical weight of the product to be packed; determine the actual weight deviation of the product to be packed based on the actual weight and the theoretical weight; obtain the theoretical weight tolerance of the product to be packed; determine multiple theoretical deviation intervals based on the theoretical weight tolerance; determine the actual deviation interval to which the actual weight deviation of the product to be packed belongs based on the actual weight deviation of the product to be packed and the maximum and minimum values of multiple theoretical deviation intervals.
[0088] In some optional embodiments, multiple theoretical deviation intervals include a theoretical positive deviation interval set and a theoretical negative deviation interval set; the theoretical positive deviation interval set includes, in order of interval sequence number from small to large, theoretical positive deviation interval 1, theoretical positive deviation interval 2...theoretical positive deviation interval N-1, theoretical positive deviation interval N, wherein the maximum value of theoretical positive deviation interval N is equal to the minimum value of theoretical positive deviation interval N-1; wherein, N≥1; the theoretical negative deviation interval set includes, in order of interval sequence number from small to large, theoretical negative deviation interval 1, theoretical negative deviation interval 2...theoretical negative deviation interval N-1, theoretical negative deviation interval N, wherein the minimum value of theoretical negative deviation interval N is equal to the maximum value of theoretical negative deviation interval N-1; theoretical positive deviation interval 1 corresponds to theoretical negative deviation interval 1, theoretical positive deviation interval 2 corresponds to theoretical negative deviation interval 2, theoretical positive deviation interval N-1 corresponds to theoretical negative deviation interval N-1, and theoretical positive deviation interval N corresponds to theoretical negative deviation interval N.
[0089] In some optional implementations, the classification module 503 is specifically used to determine the transportation channel of the products to be packed according to the actual deviation interval to which the actual weight deviation of the products to be packed belongs, wherein each transportation channel corresponds to a theoretical deviation interval.
[0090] In some optional embodiments, when the preset number is an even number, the matching module 504 is specifically used to: determine the transportation channel of the product to be matched according to a preset first priority, and obtain the product to be matched in the determined transportation channel; wherein the first priority is: the theoretical positive deviation interval set and the theoretical negative deviation interval set are alternately performed, and the interval serial numbers are from small to large; when the actual deviation interval A of the product to be matched belongs to the theoretical positive deviation interval set, determine the theoretical negative deviation interval a corresponding to the actual deviation interval A, and determine the transportation channel of the paired product corresponding to the product to be matched according to the theoretical negative deviation interval a according to the preset second priority order, and obtain the paired product in the determined transportation channel; wherein the second priority order is: theoretical negative deviation interval a, other theoretical negative deviation intervals with interval serial numbers greater than the theoretical negative deviation interval a, and theoretical positive deviation interval; wherein when there are multiple other theoretical negative deviation intervals, the priority order is: the interval serial numbers of the theoretical negative deviation intervals are from small to large; when the theoretical positive deviation intervals are multiple ... When there are multiple difference intervals, the priority order is: the interval numbers of the theoretical positive deviation intervals are from large to small; when the actual deviation interval B of the product to be matched belongs to the set of theoretical negative deviation intervals, determine the theoretical positive deviation interval b corresponding to the actual deviation interval B, and determine the transportation channel of the paired product corresponding to the product to be matched according to the theoretical positive deviation interval b according to the preset third priority order, and obtain the paired product in the determined transportation channel; wherein the third priority order is: theoretical positive deviation interval b, other theoretical positive deviation intervals with interval numbers greater than the theoretical positive deviation interval b, and theoretical negative deviation interval; wherein when there are multiple other theoretical positive deviation intervals, the priority order is: the interval numbers of the theoretical positive deviation intervals are from small to large; when there are multiple theoretical negative deviation intervals, the priority order is: the interval numbers of the theoretical negative deviation intervals are from large to small; determine whether the total quantity of the products to be matched and the paired products reaches the preset quantity threshold, and when it reaches it, pack the products to be matched and the paired products to obtain a whole box of products.
[0091] In some optional embodiments, when the preset number is an odd number, the matching module 504 is specifically used to: determine the transportation channel of the product to be matched according to the preset first priority, and obtain the product to be matched in the determined transportation channel; wherein the first priority is: the theoretical positive deviation interval set and the theoretical negative deviation interval set are alternately performed, and the interval serial numbers are from small to large; when the actual deviation interval A of the product to be matched belongs to the theoretical positive deviation interval set, determine the theoretical negative deviation interval a corresponding to the actual deviation interval A, and determine the transportation channel of the paired product corresponding to the product to be matched according to the theoretical negative deviation interval a according to the preset second priority order, and obtain the paired product in the determined transportation channel; wherein the second priority order is: theoretical negative deviation interval a, other theoretical negative deviation intervals with interval serial numbers greater than the theoretical negative deviation interval a, and theoretical positive deviation interval; wherein when there are multiple other theoretical negative deviation intervals, the priority order is: the interval serial numbers of the theoretical negative deviation intervals are from small to large; when there are multiple theoretical positive deviation intervals, the priority order is: the interval serial numbers of the theoretical positive deviation intervals are from large to small ... When the deviation interval B belongs to the theoretical negative deviation interval set, determine the theoretical positive deviation interval b corresponding to the actual deviation interval B, determine the transportation channel of the paired product corresponding to the product to be matched according to the theoretical positive deviation interval b according to the preset third priority order, and obtain the paired product in the determined transportation channel; wherein the third priority order is: theoretical positive deviation interval b, other theoretical positive deviation intervals with interval numbers greater than the theoretical positive deviation interval b, and theoretical negative deviation interval; wherein when there are multiple other theoretical positive deviation intervals, the priority order is: the interval numbers of the theoretical positive deviation intervals are from small to large; when there are multiple theoretical negative deviation intervals, the priority order is: the interval numbers of the theoretical negative deviation intervals are from large to small; determine whether the total quantity of the products to be matched and the paired products reaches the preset quantity threshold, if not, return to the step of selecting the products to be matched in the transportation channel, and if reached, determine the transportation channel of the last product to be packed in the whole box of products according to the preset fourth priority order, wherein the fourth priority order is: the theoretical positive deviation interval set and the theoretical negative deviation interval set are performed alternately, and their interval numbers are from large to small.
[0092] The weight control device for the whole box of products in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0093] 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.
[0094] The embodiment of the present invention also provides a computer device having the above Figure 5 Weight control device for the full case of product shown.
[0095] See also Figure 6 , Figure 6 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as 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 the 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 some optional embodiments, 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.
[0096] 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.
[0097] 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.
[0098] 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 by the use of a computer device based on the presentation of a small program landing page, 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 device. In some optional embodiments, 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.
[0099] 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 types of memory.
[0100] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.
[0101] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device may be a touch screen.
[0102] 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 magnetic 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 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.
[0103] 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 method for controlling the weight of a whole box of products, characterized in that: include: Get the actual weight of the product to be packed; Determine, according to the actual weight of the product to be packed, an actual weight deviation of the product to be packed and an actual deviation interval to which the actual weight deviation of the product to be packed belongs; Classifying the products to be packed according to the actual deviation interval to which the actual weight deviation of the products to be packed belongs; The classified preset quantity of the to-be-packed products are matched according to the preset positive and negative deviation matching principle to obtain a whole box of products.
2. The method according to claim 1, characterized in that Determining the actual weight deviation of the product to be packed and the actual deviation interval to which the actual weight deviation of the product to be packed belongs according to the actual weight of the product to be packed includes: Obtaining the theoretical weight of the product to be packed; Determine the actual weight deviation of the product to be packed according to the actual weight and the theoretical weight; Obtaining the theoretical weight tolerance of the product to be packed; Determining a plurality of theoretical deviation intervals according to the theoretical weight tolerance; The actual deviation interval to which the actual weight deviation of the product to be packed belongs is determined according to the actual weight deviation of the product to be packed and the maximum and minimum values of a plurality of the theoretical deviation intervals.
3. The method according to claim 2, characterized in that: The plurality of theoretical deviation intervals include a theoretical positive deviation interval set and a theoretical negative deviation interval set; The theoretical positive deviation interval set includes, in order of interval sequence number from small to large, theoretical positive deviation interval 1, theoretical positive deviation interval 2 ... theoretical positive deviation interval N-1, theoretical positive deviation interval N, wherein the maximum value of the theoretical positive deviation interval N is equal to the minimum value of the theoretical positive deviation interval N-1; wherein N≥1; The theoretical negative deviation interval set includes theoretical negative deviation interval 1, theoretical negative deviation interval 2, ... theoretical negative deviation interval N-1, theoretical negative deviation interval N according to interval sequence number from small to large, wherein the minimum value of the theoretical negative deviation interval N is equal to the maximum value of the theoretical negative deviation interval N-1; The theoretical positive deviation interval 1 corresponds to the theoretical negative deviation interval 1, the theoretical positive deviation interval 2 corresponds to the theoretical negative deviation interval 2, the theoretical positive deviation interval N-1 corresponds to the theoretical negative deviation interval N-1, and the theoretical positive deviation interval N corresponds to the theoretical negative deviation interval N.
4. The method according to claim 3, characterized in that The classifying the products to be packed according to the actual deviation interval to which the actual weight deviation of the products to be packed belongs includes: The transport channel of the products to be packed is determined according to the actual deviation interval to which the actual weight deviation of the products to be packed belongs, wherein each of the transport channels corresponds to one of the theoretical deviation intervals.
5. The method according to claim 4, characterized in that When the preset number is an even number, the classified preset number of products to be packed are matched according to the preset positive and negative deviation matching principle to obtain a whole box of products including: Determine the transportation channel of the to-be-matched product according to a preset first priority, and obtain the to-be-matched product in the determined transportation channel; wherein the first priority is: the theoretical positive deviation interval set and the theoretical negative deviation interval set are performed alternately, and the interval sequence numbers are from small to large; When the actual deviation interval A of the product to be matched belongs to the set of theoretical positive deviation intervals, determine the theoretical negative deviation interval a corresponding to the actual deviation interval A, determine the transportation channel of the paired product corresponding to the product to be matched according to the theoretical negative deviation interval a according to a preset second priority order, and obtain the paired product in the determined transportation channel; wherein the second priority order is: the theoretical negative deviation interval a, other theoretical negative deviation intervals with interval numbers greater than the theoretical negative deviation interval a, and theoretical positive deviation intervals; wherein when there are multiple other theoretical negative deviation intervals, the priority order is: the interval numbers of the theoretical negative deviation intervals are from small to large; when there are multiple theoretical positive deviation intervals, the priority order is: the interval numbers of the theoretical positive deviation intervals are from large to small; When the actual deviation interval B of the product to be matched belongs to the set of theoretical negative deviation intervals, determine the theoretical positive deviation interval b corresponding to the actual deviation interval B, determine the transportation channel of the paired product corresponding to the product to be matched according to the theoretical positive deviation interval b in accordance with a preset third priority order, and obtain the paired product in the determined transportation channel; wherein the third priority order is: the theoretical positive deviation interval b, other theoretical positive deviation intervals with interval numbers greater than the theoretical positive deviation interval b, and theoretical negative deviation intervals; wherein when there are multiple other theoretical positive deviation intervals, the priority order is: the interval numbers of the theoretical positive deviation intervals are from small to large; when there are multiple theoretical negative deviation intervals, the priority order is: the interval numbers of the theoretical negative deviation intervals are from large to small; It is determined whether the total quantity of the to-be-matched product and the paired product reaches a preset quantity threshold. If so, the to-be-matched product and the paired product are packed into a box to obtain the full box of products.
6. The method according to claim 4, characterized in that When the preset number is an odd number, the classified preset number of products to be packed are matched according to the preset positive and negative deviation matching principle to obtain a whole box of products including: Determine the transportation channel of the product to be matched according to a preset first priority, and obtain the product to be matched in the determined transportation channel; wherein the first priority is: the theoretical positive deviation interval set and the theoretical negative deviation interval set are alternately performed, and the interval serial numbers are from small to large; when the actual deviation interval A of the product to be matched belongs to the theoretical positive deviation interval set, determine the theoretical negative deviation interval a corresponding to the actual deviation interval A, and determine the transportation channel of the paired product corresponding to the product to be matched according to the theoretical negative deviation interval a according to a preset second priority order, and obtain the paired product in the determined transportation channel; wherein the second priority order is: the theoretical negative deviation interval a, other theoretical negative deviation intervals with interval serial numbers greater than the theoretical negative deviation interval a, and the theoretical positive deviation interval; wherein when there are multiple other theoretical negative deviation intervals, the priority order is: the interval serial numbers of the theoretical negative deviation intervals are from small to large; when there are multiple theoretical positive deviation intervals, the priority order is: the interval serial numbers of the theoretical positive deviation intervals are from large to small; When the actual deviation interval B of the product to be matched belongs to the set of theoretical negative deviation intervals, determine the theoretical positive deviation interval b corresponding to the actual deviation interval B, determine the transportation channel of the paired product corresponding to the product to be matched according to the theoretical positive deviation interval b in accordance with a preset third priority order, and obtain the paired product in the determined transportation channel; wherein the third priority order is: the theoretical positive deviation interval b, other theoretical positive deviation intervals with interval numbers greater than the theoretical positive deviation interval b, and theoretical negative deviation intervals; wherein when there are multiple other theoretical positive deviation intervals, the priority order is: the interval numbers of the theoretical positive deviation intervals are from small to large; when there are multiple theoretical negative deviation intervals, the priority order is: the interval numbers of the theoretical negative deviation intervals are from large to small; Determine whether the total quantity of the products to be matched and the paired products reaches a preset quantity threshold; if not, return to the step of selecting the products to be matched in the transport channel; if reached, determine the transport channel for the last product to be packed in the whole box of products according to a preset fourth priority order, wherein the fourth priority order is: the theoretical positive deviation interval set and the theoretical negative deviation interval set are alternately performed, and the interval serial numbers are from large to small.
7. A weight control device for a whole box of products, characterized in that: include: An acquisition module is used to obtain the actual weight of the product to be packed; An actual deviation interval determination module, used to determine the actual weight deviation of the product to be packed and the actual deviation interval to which the actual weight deviation of the product to be packed belongs according to the actual weight of the product to be packed; A classification module, used for classifying the products to be packed according to the actual deviation interval to which the weight deviation of the products to be packed belongs; A matching module is used to match the classified preset quantity of the to-be-packed products according to a preset positive and negative deviation matching principle to obtain a whole box of products; When the preset number is an even number, the matching module is specifically used to: determine the transportation channel of the product to be matched according to a preset first priority, and obtain the product to be matched in the determined transportation channel; wherein the first priority is: the theoretical positive deviation interval set and the theoretical negative deviation interval set are alternately performed, and the interval serial numbers are from small to large; when the actual deviation interval A of the product to be matched belongs to the theoretical positive deviation interval set, determine the theoretical negative deviation interval a corresponding to the actual deviation interval A, and determine the transportation channel of the paired product corresponding to the product to be matched according to the theoretical negative deviation interval a according to the preset second priority order, and obtain the paired product in the determined transportation channel; wherein the second priority order is: the theoretical negative deviation interval a, other theoretical negative deviation intervals with interval numbers greater than the theoretical negative deviation interval a, and the theoretical positive deviation interval; wherein when the other theoretical negative deviation intervals are multiple, the priority order is: the interval numbers of the theoretical negative deviation intervals are from small to large; when the theoretical positive deviation intervals are multiple , the priority order is: the interval number of the theoretical positive deviation interval is from large to small; when the actual deviation interval B of the product to be matched belongs to the set of theoretical negative deviation intervals, determine the theoretical positive deviation interval b corresponding to the actual deviation interval B, and determine the transportation channel of the paired product corresponding to the product to be matched according to the theoretical positive deviation interval b according to the preset third priority order, and obtain the paired product in the determined transportation channel; wherein the third priority order is: the theoretical positive deviation interval b, other theoretical positive deviation intervals with interval numbers greater than the theoretical positive deviation interval b, and theoretical negative deviation intervals; wherein when there are multiple other theoretical positive deviation intervals, the priority order is: the interval number of the theoretical positive deviation interval is from small to large; when there are multiple theoretical negative deviation intervals, the priority order is: the interval number of the theoretical negative deviation interval is from large to small; determine whether the total quantity of the product to be matched and the paired product reaches the preset quantity threshold, and when it reaches it, pack the product to be matched and the paired product to obtain the whole box of products; When the preset number is an odd number, the matching module is specifically used to: determine the transportation channel of the product to be matched according to the preset first priority, and obtain the product to be matched in the determined transportation channel; wherein the first priority is: the theoretical positive deviation interval set and the theoretical negative deviation interval set are alternately performed, and the interval serial numbers are from small to large; when the actual deviation interval A of the product to be matched belongs to the theoretical positive deviation interval set, determine the theoretical negative deviation interval a corresponding to the actual deviation interval A, and determine the transportation channel of the paired product corresponding to the product to be matched according to the theoretical negative deviation interval a according to the preset second priority order, and obtain the paired product in the determined transportation channel; wherein the second priority order is: the theoretical negative deviation interval a, other theoretical negative deviation intervals with interval serial numbers greater than the theoretical negative deviation interval a, and the theoretical positive deviation interval; wherein when the other theoretical negative deviation intervals are multiple, the priority order is: the interval serial numbers of the theoretical negative deviation intervals are from small to large; when the theoretical positive deviation intervals are multiple, the priority order is: the interval serial numbers of the theoretical positive deviation intervals are from large to small; when the actual deviation interval B of the product to be matched belongs to the theoretical When discussing the negative deviation interval set, determine the theoretical positive deviation interval b corresponding to the actual deviation interval B, determine the transportation channel of the paired product corresponding to the to-be-matched product according to the theoretical positive deviation interval b according to the preset third priority order, and obtain the paired product in the determined transportation channel; wherein the third priority order is: the theoretical positive deviation interval b, other theoretical positive deviation intervals with interval numbers greater than the theoretical positive deviation interval b, and the theoretical negative deviation interval; wherein when there are multiple other theoretical positive deviation intervals, the priority order is: the interval numbers of the theoretical positive deviation intervals are from small to large; when there are multiple theoretical negative deviation intervals, the priority order is: the interval numbers of the theoretical negative deviation intervals are from large to small; determine whether the total quantity of the to-be-matched product and the paired product reaches a preset quantity threshold, if not, return to the step of selecting the to-be-matched product in the transportation channel, and if reached, determine the transportation channel of the last to-be-packed product in the whole box of products according to the preset fourth priority order, wherein the fourth priority order is: the theoretical positive deviation interval set and the theoretical negative deviation interval set are performed alternately, and the interval numbers are from large to small.
8. 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 weight control method for a whole box of products according to any one of claims 1 to 5 by executing the computer instructions.
9. A packing system, characterized in that: include: A weight detection device, used to detect the actual weight of the product to be packed; A plurality of transport channels for transporting the products to be boxed; A classification device, disposed between the weight detection device and the plurality of transport channels, for moving the products to be boxed to corresponding transport channels according to the classification results of the products to be boxed; The computer device as described in claim 8 is communicatively connected to the weight detection device and the classification device.
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 weight control method for a whole box of products according to any one of claims 1 to 5.
Citation Information
Patent Citations
Apple counterweight equipment
CN111301763A
Method for automatically adjusting grade limit according to fruit weight distribution and terminal equipment
CN115846233A
Express packaging machine control method and express packaging machine
CN117885971A
Automatic change categorised case packer of fruit
CN207826641U
Automatic adjusting system for solar cell printing weight
CN221366207U